Commit a13ffbf2 authored by jingnan's avatar jingnan 👀

返厂出库新增明细查询修改

parent 2a65275d
......@@ -41,6 +41,20 @@ export default {
}
},
computed: {},
watch: {
basicData: {
immediate: true,
deep: true,
handler() {
setTimeout(() => {
this.searchEvent({
items: [],
operator: 'AND'
})
}, 1000)
}
}
},
created() {
// 初始化数据
},
......@@ -51,7 +65,7 @@ export default {
val.items.push({ fieldName: 'status', operator: 'EQ', value: 'disposed' })
val.items.push({ fieldName: 'usableAmount', operator: 'GT', value: 0 })
val.items.push({ fieldName: 'disposeDes', operator: 'IN', value: ['返厂', '不合格'] })
const extWorkCenterName = this.basicData.extWorkCenteName || (this.basicData.extWorkCeter && this.basicData.extWorkCeter.extname)
const extWorkCenterName = this.basicData.extWorkCenteName || (this.basicData.extWorkCenter && this.basicData.extWorkCenter.extname)
if (extWorkCenterName) {
val.items.push({ fieldName: 'workcenter', operator: 'EQ', value: extWorkCenterName })
}
......
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