linwenxin 9 hónapja
szülő
commit
ddedf6faaf

+ 3 - 0
src/views/workOrder/settleAccountsManagement/engineerFeeSettlement/index.vue

@@ -79,6 +79,9 @@ export default {
     operation() {
       return this.operationBtn({
         settleAccounts: {
+          conditions: ({ row, index, column }) => {
+            return row.status == 'ING'
+          },
           click: ({ row, index, column }) => {
             recycSettleBatchSettle([row.id]).then(res => {
               this.$message({ type: 'success', message: `成功!` })

+ 3 - 0
src/views/workOrder/settleAccountsManagement/shoppingGuideCommission/index.vue

@@ -78,6 +78,9 @@ export default {
     operation() {
       return this.operationBtn({
         settleAccounts: {
+          conditions: ({ row, index, column }) => {
+            return row.status == 'ING'
+          },
           click: ({ row, index, column }) => {
             recycSettleBatchSettle([row.id]).then(res => {
               this.$message({ type: 'success', message: `成功!` })