Commit 2f6603a3 authored by xioln's avatar xioln

返厂出库修改

parent 2fb36252
......@@ -43,7 +43,6 @@ export default {
computed: {},
created() {
// 初始化数据
console.log('this.basicData', this.basicData)
},
methods: {
searchEvent(val) {
......@@ -51,7 +50,7 @@ export default {
val.items.push({ fieldName: 'subTypeName', operator: 'EQ', value: 'Inventory' }/*, { fieldName: 'inventory.materialType', operator: 'EQ', value: materialType }*/)
val.items.push({ fieldName: 'status', operator: 'EQ', value: 'disposed' })
val.items.push({ fieldName: 'usableAmount', operator: 'GT', value: 0 })
val.items.push({ fieldName: 'disposeDes', operator: 'LIKE', value: '返厂' })
val.items.push({ fieldName: 'disposeDes', operator: 'IN', value: ['返厂', '不合格'] })
const extWorkCenterName = this.basicData.extWorkCenteName || (this.basicData.extWorkCeter && this.basicData.extWorkCeter.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