瀏覽代碼

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

sufan 7 月之前
父節點
當前提交
fbfe4946ac

+ 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',