Commit 516068eb authored by jingnan's avatar jingnan 👀

配套出库确认增加计划开始时间查询

parent 5974eae0
......@@ -5,7 +5,7 @@
ref="form"
:model="form"
size="small"
label-width="68px"
label-width="100px"
>
<el-form-item label="架次">
<el-input
......@@ -23,6 +23,17 @@
placeholder="请输入"
/>
</el-form-item>
<el-form-item label="计划开始时间">
<el-date-picker
v-model="form.scheduledStart"
type="daterange"
size="mini"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="searchForm()">查询</el-button>
<el-button @click="resetForm()">重置</el-button>
......@@ -118,6 +129,16 @@ export default {
init() {
// const searchData = obtainedParams.searchFormData ? obtainedParams.searchFormData.items : []
// const extraItems = obtainedParams.extraBaseParams || []
const items = []
if (this.form.scheduledStart) {
items.push({
fieldName: 'extSupporting.extProcessPlan.joExecutePlan.scheduledStart',
operator: 'BTWN',
searchItemType: 'Date',
value: this.form.scheduledStart[0] + ' 00:00:00',
value1: this.form.scheduledStart[1] + ' 23:59:59'
})
}
const params = {
'pageFrom': 1,
'pageSize': 9999,
......@@ -133,7 +154,8 @@ export default {
'fieldName': 'sorties',
'operator': 'LIKE',
'value': this.form.sorties || ''
}
},
...items
],
'operator': 'AND'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment