Commit 36a92ae0 by 袁成

fix:保存审批可用

parent 07a82429
...@@ -136,9 +136,16 @@ export default { ...@@ -136,9 +136,16 @@ export default {
approveState = this.workflowState approveState = this.workflowState
} }
let disableState = val.split(';') let disableState = val.split(';')
// 配置工作流已提交未审批90状态下可用 // 配置工作流已提交未审批90, billReadOnly状态下可用
// 主要用于保存在审批状态下可用,审批还能修改··
if (btnItem && btnItem.isApprove) { if (btnItem && btnItem.isApprove) {
disableState = disableState.filter(item => item !== '90') disableState = disableState.filter(item => {
if (item === '90' || item === 'billReadOnly') {
return false
} else {
return true
}
})
} }
const getBillState = () => { const getBillState = () => {
if (this.tmpBill.state === '') { if (this.tmpBill.state === '') {
......
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