ソースを参照

fix(验收单):验收单流程

sufan 5 ヶ月 前
コミット
fbfe4946ac
共有2 個のファイルを変更した3 個の追加4 個の削除を含む
  1. 2 2
      src/views/myTrade/acceptanceManagement/index.vue
  2. 1 2
      src/views/myTrade/acceptanceManagement/indexTable.js

+ 2 - 2
src/views/myTrade/acceptanceManagement/index.vue

@@ -207,8 +207,8 @@ export default {
 
     // 确认申请
     applySure() {
-      const { id, taskId } = this.applyId
-      applyApproval({ id, taskId }).then(res => {
+      const { id, taskId } = this.applyRow
+      applyApproval({ Loading: true, id, taskId }).then(res => {
         if (res.success) {
           this.$message.success('申请成功')
           this.$refs.receiveDialog.show = false

+ 1 - 2
src/views/myTrade/acceptanceManagement/indexTable.js

@@ -108,8 +108,7 @@ export default {
                   icon: 'iconfont icon-orange icon-a-Group8151',
                   category: 'apply'
                 })
-              }
-              if ((row.stage === '录入验收单' || row.stage === '签署确认') && !row.businessApprovalStatus) {
+              } else if (row.stage === '录入验收单' || row.stage === '签署确认') {
                 btnList.push({
                   msg: '处理',
                   icon: 'iconfont icon-orange icon-a-Group8151',