|
@@ -253,6 +253,9 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
execute: {
|
|
execute: {
|
|
|
|
+ conditions: ({ row, index, column }) => {
|
|
|
|
+ return row.doStatus == '2'
|
|
|
|
+ },
|
|
prompt: '确定执行吗?',
|
|
prompt: '确定执行吗?',
|
|
click: ({ row, index, column }) => {
|
|
click: ({ row, index, column }) => {
|
|
dailySummaryReduceCountDo({ importBatchNos: row.importBatchNo }).then(res => {
|
|
dailySummaryReduceCountDo({ importBatchNos: row.importBatchNo }).then(res => {
|
|
@@ -297,6 +300,10 @@ export default {
|
|
operation2() {
|
|
operation2() {
|
|
return this.operationBtn({
|
|
return this.operationBtn({
|
|
execute2: {
|
|
execute2: {
|
|
|
|
+ conditions: ({ row, index, column }) => {
|
|
|
|
+ return row.doStatus == '2'
|
|
|
|
+ },
|
|
|
|
+ prompt: '确定执行吗?',
|
|
click: ({ row, index, column }) => {
|
|
click: ({ row, index, column }) => {
|
|
dailySummaryReduceBatchDo({ ids: row.id }).then(res => {
|
|
dailySummaryReduceBatchDo({ ids: row.id }).then(res => {
|
|
this.$message({ type: 'success', message: '设置成功!' })
|
|
this.$message({ type: 'success', message: '设置成功!' })
|