Commit f052bbe7 by qiaoyanqi

90 92 状态的单据只读

parent 0c23ee37
......@@ -70,7 +70,7 @@ export default {
loadFinishFun(bill) {
console.log('billState', bill.getMasterData().getValue('billState'))
const workflowState = bill.getMasterData().getValue('billState')
if ([92].includes(workflowState)) {
if ([90,92].includes(workflowState)) {
this.state = 'readOnly'
}
let that = this;
......
......@@ -94,7 +94,11 @@ export default {
}
},
loadFinishFun(bill) {
this.curBill = bill
this.curBill = bill;
const billState = bill.getMasterData().getValue('billState')
if ([90,92].includes(billState)) {
this.state = 'readOnly'
}
setTimeout(() => {
GMS.oldBillData = bill.getBuillData();
if (!GMS.oldBillDataMap) GMS.oldBillDataMap = {}
......
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