Commit 3efe1d6d by 袁成

fix: 暂存保存状态

parent bdaa7e57
......@@ -157,14 +157,16 @@ export default {
}
}
switch (approveState) {
case 90:
return disableState.includes('90')
case 91:
case 90: // 待审批
return disableState.includes('90')
case 91: // 被驳回
return disableState.includes('91') || getBillState()
case 92:
return disableState.includes('92')
case 1:
return disableState.includes('1') || getBillState()
case 92: // 审批完成
return disableState.includes('92')
case 1: // 已暂存
return disableState.includes('1') || getBillState()
case 2: // 已保存
return disableState.includes('2') || getBillState()
default:
return getBillState()
}
......
......@@ -1585,7 +1585,7 @@ export default {
"description": "",
"title": "财务_暂存[CW_tempSave]",
"value": "CW_tempSave",
"btnDisable": "billReadOnly;90;91;92"
"btnDisable": "billReadOnly;90;92;1;2"
},
{
"discard": false,
......@@ -1602,7 +1602,7 @@ export default {
"description": "",
"title": "财务_保存[CW_saveAction]",
"value": "CW_saveAction",
"btnDisable": "billReadOnly;90;92"
"btnDisable": "billReadOnly;90;92;1;2"
},
{
"discard": false,
......
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