浏览代码

fix(合同审批):否决

sufan 2 月之前
父节点
当前提交
9730a1ead5

+ 1 - 1
src/views/financingManage/components/ContractApprovalContent.vue

@@ -22,7 +22,7 @@
         <el-radio-group v-model="ruleForm.conclusion" :disabled="disabled">
           <el-radio label="pass">通过</el-radio>
           <el-radio label="back">退回</el-radio>
-          <el-radio label="vite">否决</el-radio>
+          <el-radio label="veto">否决</el-radio>
         </el-radio-group>
       </el-form-item>
       <el-form-item

+ 1 - 1
src/views/financingManage/components/ContractConclusion.vue

@@ -6,7 +6,7 @@
         <el-radio-group v-model="ruleForm.conclusion" :disabled="disabled">
           <el-radio label="pass">通过</el-radio>
           <el-radio label="back">退回</el-radio>
-          <el-radio label="vite">否决</el-radio>
+          <el-radio label="veto">否决</el-radio>
         </el-radio-group>
       </el-form-item>
       <template v-if="ruleForm.conclusion === 'pass'">

+ 5 - 4
src/views/financingManage/components/PaymentApproveContent.vue

@@ -6,6 +6,7 @@
         <el-radio-group v-model="ruleForm.approvalConclusion" :disabled="disabled">
           <el-radio label="pass">通过</el-radio>
           <el-radio label="back">退回</el-radio>
+          <el-radio label="veto">否决</el-radio>
         </el-radio-group>
       </el-form-item>
       <el-form-item
@@ -111,7 +112,7 @@
           />
         </el-form-item>
       </template>
-   
+
     </el-form>
   </div>
 </template>
@@ -206,14 +207,14 @@ export default {
           this.$refs.ruleFormFile.validate(valid => {
             if (valid) {
               const receivablesFileIds = this.$refs.receivablesFiles.getFileLists.map(item => item.id)
-             
+
               if (!receivablesFileIds.length) {
                 this.$message.warning('请上传应收账款登记附件')
                 return
               }
               let mortgageFileIds = []
               let ownershipFileIds = []
-              if(this.hasCollateralInfo) {
+              if (this.hasCollateralInfo) {
                 mortgageFileIds = this.$refs.mortgageFiles.getFileLists.map(item => item.id)
                 ownershipFileIds = this.$refs.ownershipFiles.getFileLists.map(item => item.id)
                 if (!mortgageFileIds.length) {
@@ -225,7 +226,7 @@ export default {
                   return
                 }
               }
-           
+
               const params = {
                 ...this.ruleFormFile,
                 receivablesFileIds,

+ 4 - 1
src/views/financingManage/index.vue

@@ -39,6 +39,7 @@
         </div>
         <cy-comm-table
           ref="commTable"
+          :key="tableKey"
           v-loading="loading"
           :columns="columns"
           :data="tableData"
@@ -273,7 +274,8 @@ export default {
           },
           width: 135
         }
-      ]
+      ],
+      tableKey: 1
     }
   },
   computed: {
@@ -440,6 +442,7 @@ export default {
     handleTabClick(tab) {
       this.activeName = tab.name
       this.fetchData('search')
+      this.tableKey += 1
     }
   }
 }