Commit 5137c026 by 乔延琦

Merge branch 'develop-yuancheng' into 'develop'

fix: 根据工作流状态设置单据是否只读

See merge request GFP/RBC/rbc-frontend!20
parents 0cd90f43 1cd74a5f
......@@ -47,6 +47,14 @@ export default {
this.templateName = newVal;
},
},
state: {
handler() {
this.init = false
this.$nextTick(() => {
this.init = true
})
}
}
},
methods: {
changeData(billId) {
......@@ -57,6 +65,11 @@ export default {
});
},
loadFinishFun(bill) {
console.log('billState', bill.getMasterData().getValue('billState'))
const workflowState = bill.getMasterData().getValue('billState')
if ([90,91,92].includes(workflowState)) {
this.state = 'readOnly'
}
let that = this;
setTimeout(() => {
that.billClass = bill;
......
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