|
|
@ -437,7 +437,7 @@ export default { |
|
|
|
], |
|
|
|
}, |
|
|
|
billState: [ |
|
|
|
{ id: 2, name: "已匹配" }, |
|
|
|
{ id: 2, name: "未打印" }, |
|
|
|
{ id: 3, name: "已打印" }, |
|
|
|
], |
|
|
|
valueSelect: "", |
|
|
@ -494,6 +494,7 @@ export default { |
|
|
|
ProductLine: undefined, |
|
|
|
BillStatus: undefined, |
|
|
|
CanNotPrint: false, |
|
|
|
ZHBBillStatus:undefined, |
|
|
|
}, |
|
|
|
listExportQuery: { |
|
|
|
erpAssemblyCode: undefined, |
|
|
@ -631,6 +632,12 @@ export default { |
|
|
|
width: 120, |
|
|
|
}); |
|
|
|
|
|
|
|
tempsTabs.push({ |
|
|
|
label: "柱护板状态", |
|
|
|
prop: "billStatus", |
|
|
|
width: 120, |
|
|
|
}); |
|
|
|
|
|
|
|
tempsTabs.push({ |
|
|
|
label: "备注", |
|
|
|
prop: "remark", |
|
|
@ -876,7 +883,7 @@ export default { |
|
|
|
/** 格式化字段 */ |
|
|
|
fieldFormatter(row, column) { |
|
|
|
if (column.property === "billStatus") { |
|
|
|
return { 1: "未匹配", 2: "已匹配", 3: "已打印" }[row[column.property]]; |
|
|
|
return { 1: "未匹配", 2: "未打印", 3: "已打印" }[row[column.property]]; |
|
|
|
} |
|
|
|
if (column.property == "onlineTime" || column.property == "receiveTime") { |
|
|
|
var date = row[column.property]; |
|
|
@ -897,6 +904,16 @@ export default { |
|
|
|
} else { |
|
|
|
this.listQueryList.SkipCount = (this.page - 1) * 15; |
|
|
|
} |
|
|
|
if (this.listQuery.productType === 2) { |
|
|
|
this.listQueryList.ZHBBillStatus = 2; |
|
|
|
} else { |
|
|
|
this.listQueryList.ZHBBillStatus = 0; |
|
|
|
} |
|
|
|
if (this.listQuery.productType === 2) { |
|
|
|
this.listQuery.ZHBBillStatus = 2; |
|
|
|
} else { |
|
|
|
this.listQuery.ZHBBillStatus = 0; |
|
|
|
} |
|
|
|
this.listQueryList.BillStatus = 2; //状态 |
|
|
|
this.listQueryList.ProductLine = this.listQuery.productLine; //产线 |
|
|
|
this.listQueryList.CanNotPrint = false; //不可打印 |
|
|
@ -2019,6 +2036,13 @@ export default { |
|
|
|
this.listQuery.state = []; |
|
|
|
this.isShowState = false; |
|
|
|
} |
|
|
|
if (this.listQuery.productType === 2) { |
|
|
|
this.listQueryList.ZHBBillStatus = 2; |
|
|
|
|
|
|
|
} else { |
|
|
|
this.listQueryList.ZHBBillStatus = 0; |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
/*单据状态变更 */ |
|
|
|
checkedListChange(index) { |
|
|
|