Răsfoiți Sursa

信息变更分办退回

baichengfei 5 ani în urmă
părinte
comite
21c1ebf414

+ 24 - 21
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/_opera/auditoperation.vue

@@ -753,14 +753,14 @@
     <el-dialog title="提交申请" :visible.sync="dialogSecUnitSeparateVisible" width="520px">
       <el-form label-width="90px" :model="entityForm" ref="EntityFormref">
         <el-row>
-          <!--<el-col :span="24">-->
-          <!--  <el-form-item label="审批状态">-->
-          <!--    <el-radio-group v-model="shenheForm.SuccessStatus">-->
-          <!--      <el-radio :label="1">通过</el-radio>-->
-          <!--      <el-radio :label="0">退回</el-radio>-->
-          <!--    </el-radio-group>-->
-          <!--  </el-form-item>-->
-          <!--</el-col>-->
+          <el-col :span="24">
+            <el-form-item label="审批状态">
+              <el-radio-group v-model="shenheForm.SuccessStatus">
+                <el-radio :label="1">通过</el-radio>
+                <el-radio :label="0">退回</el-radio>
+              </el-radio-group>
+            </el-form-item>
+          </el-col>
           <el-col :span="24" v-if="shenheForm.SuccessStatus == 1">
             <el-form-item label="初审人员">
               <!--<el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择初审人">-->
@@ -1184,22 +1184,25 @@
         this.dialogSecUnitSeparateVisible = true
       },
       secUnitSeparateAuditMakeSure () {
-        if (this.auditer === '') {
-          this.$message({
-            type: 'warning',
-            message: '请选择初审人!'
-          })
-          return
-        }
-        if (this.fushenauditer === '') {
-          this.$message({
-            type: 'warning',
-            message: '请选择复审人!'
-          })
-          return
+        if (this.shenheForm.SuccessStatus === 1) {
+          if (this.auditer === '') {
+            this.$message({
+              type: 'warning',
+              message: '请选择初审人!'
+            })
+            return
+          }
+          if (this.fushenauditer === '') {
+            this.$message({
+              type: 'warning',
+              message: '请选择复审人!'
+            })
+            return
+          }
         }
         let params = {
           SuppId: parseInt(this.SuppId),
+          Result: this.shenheForm.SuccessStatus,
           FirstAudit: this.auditer,
           SecondAudit: this.fushenauditer,
           AuditRemark: this.shenheForm.AuditorRemark