소스 검색

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