suhp 1 месяц назад
Родитель
Сommit
f450872094

+ 17 - 1
src/views/costAudit/auditInfo/auditManage/details.vue

@@ -367,7 +367,23 @@
           // 初审退回
           this.showRejectDialog = true
         } else {
-          this.executeAuditOperation()
+          // 添加确认对话框
+          this.$confirm(
+            `确定要执行"${this.currentButton.value}"操作吗?`,
+            '操作确认',
+            {
+              confirmButtonText: '确定',
+              cancelButtonText: '取消',
+              type: 'warning',
+            }
+          )
+            .then(() => {
+              this.executeAuditOperation()
+            })
+            .catch(() => {
+              // 用户取消操作
+              this.$message.info('已取消操作')
+            })
         }
       },
 

+ 3 - 2
src/views/costAudit/auditInfo/auditManage/index.vue

@@ -105,7 +105,8 @@
               <el-button
                 v-if="
                   scope.row.currentNode === 'clcs' &&
-                  scope.row.status === '审核中'
+                  (scope.row.status === '审核中' ||
+                    scope.row.status === '补充材料')
                 "
                 type="text"
                 @click="handleOpenDetails(scope.row)"
@@ -114,7 +115,7 @@
               </el-button>
               <el-button
                 v-if="
-                  (scope.row.currentNode === 'sdshenhe' ||
+                  (scope.row.currentNode === 'sdsh' ||
                     scope.row.currentNode === 'yjfk') &&
                   scope.row.status === '审核中'
                 "

+ 4 - 1
src/views/costAudit/auditInfo/auditManage/submitData.vue

@@ -85,7 +85,10 @@
           <template slot-scope="scope">
             <template v-if="scope.row.isUpload === '1'">
               <el-button
-                v-if="scope.row.auditedStatus === '0'"
+                v-if="
+                  scope.row.auditedStatus === '0' &&
+                  scope.row.currentNode === 'clcs'
+                "
                 type="text"
                 size="small"
                 @click="handleAuditMaterial(scope.row)"