add:单据回传,流程实例搜索条件
This commit is contained in:
@@ -31,6 +31,17 @@
|
|||||||
class="filter-item"
|
class="filter-item"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="子流程ID">
|
||||||
|
<el-input
|
||||||
|
v-model="query.child_id"
|
||||||
|
clearable
|
||||||
|
style="width: 250px"
|
||||||
|
size="mini"
|
||||||
|
placeholder="请输入子流程ID"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
class="filter-item"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<rrOperation />
|
<rrOperation />
|
||||||
</el-form>
|
</el-form>
|
||||||
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
<!--如果想在工具栏加入更多按钮,可以使用插槽方式, slot = 'left' or 'right'-->
|
||||||
@@ -203,6 +214,7 @@ import ViewDialog from '@/views/wms/flow_manage/act/execution/ViewDialog.vue'
|
|||||||
|
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
proc_inst_id: null,
|
proc_inst_id: null,
|
||||||
|
child_id: null,
|
||||||
parent_id: null,
|
parent_id: null,
|
||||||
deployment_id: null,
|
deployment_id: null,
|
||||||
activity_id: null,
|
activity_id: null,
|
||||||
|
|||||||
@@ -45,6 +45,27 @@
|
|||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="物料编码">
|
||||||
|
<el-input
|
||||||
|
v-model="query.mater"
|
||||||
|
clearable
|
||||||
|
style="width: 250px"
|
||||||
|
size="mini"
|
||||||
|
placeholder="请输入物料编码"
|
||||||
|
prefix-icon="el-icon-search"
|
||||||
|
class="filter-item"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="单据日期" prop="analyseData">
|
||||||
|
<el-date-picker
|
||||||
|
v-model="query.datepick"
|
||||||
|
type="daterange"
|
||||||
|
value-format="yyyy-MM-dd"
|
||||||
|
range-separator="至"
|
||||||
|
start-placeholder="开始日期"
|
||||||
|
end-placeholder="结束日期"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<template v-for="(col,index) in cols" v-if="hideShowDialog">
|
<template v-for="(col,index) in cols" v-if="hideShowDialog">
|
||||||
<el-form-item label="col.lable">
|
<el-form-item label="col.lable">
|
||||||
<label slot="label">{{ col.lable }}:</label>
|
<label slot="label">{{ col.lable }}:</label>
|
||||||
@@ -213,6 +234,7 @@ const defaultForm = {
|
|||||||
biz_date: null,
|
biz_date: null,
|
||||||
form_type: null,
|
form_type: null,
|
||||||
status: null,
|
status: null,
|
||||||
|
mater: null,
|
||||||
create_time: null,
|
create_time: null,
|
||||||
create_name: null,
|
create_name: null,
|
||||||
material_id: null,
|
material_id: null,
|
||||||
@@ -282,6 +304,15 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
[CRUD.HOOK.beforeRefresh]() {
|
||||||
|
if (this.query.datepick) {
|
||||||
|
this.query.start_time = this.query.datepick[0]
|
||||||
|
if (this.query.datepick.length > 1) {
|
||||||
|
this.query.end_time = this.query.datepick[1]
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.query.start_time = ''
|
||||||
|
this.query.end_time = ''
|
||||||
|
}
|
||||||
if (this.fromTypes.length > 0) {
|
if (this.fromTypes.length > 0) {
|
||||||
formstruc.getHeader(this.query.form_type).then(res => {
|
formstruc.getHeader(this.query.form_type).then(res => {
|
||||||
this.cols = res
|
this.cols = res
|
||||||
|
|||||||
Reference in New Issue
Block a user