|
@@ -145,7 +145,7 @@ export default {
|
|
|
},
|
|
|
edit: {
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 'SAVE' && row.isRecheck === 'NO'
|
|
|
+ return row.flag === 'SUBMIT' && row.isRecheck === 'YES'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.addOrEdit('edit', row.purchaseId)
|
|
@@ -154,7 +154,7 @@ export default {
|
|
|
confirm: {
|
|
|
prompt: '确定审核吗?',
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 'SUBMIT' && row.isRecheck === 'NO'
|
|
|
+ return row.flag === 'SUBMIT' && row.isRecheck === 'YES'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.confirmSheet(row.purchaseId)
|
|
@@ -163,7 +163,7 @@ export default {
|
|
|
revoke: {
|
|
|
prompt: '确定撤消吗?',
|
|
|
conditions: ({ row, index, column }) => {
|
|
|
- return row.flag === 'SUBMIT' && row.isRecheck === 'NO'
|
|
|
+ return row.flag === 'SUBMIT' && row.isRecheck === 'YES'
|
|
|
},
|
|
|
click: ({ row, index, column }) => {
|
|
|
this.revokeSheet(row.purchaseId)
|