Browse Source

申请融资查询融信.提交不关闭页面,费用列表去融资状态校验

peixh 3 years ago
parent
commit
53d7951864

+ 1 - 1
front-vue/src/views/service/cost/userCostManage.vue

@@ -190,7 +190,7 @@
               v-hasPermi="['service:cost:update']"
             >发票</el-button>
             <el-button
-              v-if="scope.row.zciStatus == '00' || scope.row.zciStatus == '05'"
+              v-if="scope.row.zfrStatus != '02' && (scope.row.zciStatus == '00' || scope.row.zciStatus == '05')"
               size="mini"
               type="text"
               @click="handlePay(scope.row)"

+ 3 - 0
front-vue/src/views/service/financeRecord/addFinanceRecord.vue

@@ -566,6 +566,7 @@ export default {
         /** 查询融信编号 */
         getFinanceInf() {
             this.loading = true;
+            this.financeInfList = [];
             listFinanceInf().then(response => {
                 this.financeInfList = response.data;
                 this.loading = false;
@@ -921,6 +922,8 @@ export default {
                 if(true == result){
                 this.msgSuccess("已提交内部审批,请内部审批通过后签署融资协议");
                 this.cancel();
+                this.$store.dispatch("tagsView/delView", this.$route);
+                this.$router.go(-1);
                 }else{//无融资内部审批,显示融资合同预览页面
                 // this.zfrId = '2c83a92dc238468aabd9cd3261748ae0'
                 getRecord(this.zfrId).then(response => {

+ 4 - 2
front-vue/src/views/service/financeRecord/approvalRecordDetail.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="app-container">
     <!-- 添加或修改融资记录对话框 -->
-    <span style="float: right; margin-right: 125px;">创建人{{ user }}</span>
+    <span style="float: right; margin-right: 125px;">创建人:{{ user }}</span>
         <span style="float: right; margin-right: 125px;">创建时间:{{ time }}</span>
         <span style="float: right; margin-right: 125px;">融资编号:{{ number }}</span>
       <el-form ref="form" label-position="top" :model="form" :rules="rules" label-width="80px">
@@ -252,7 +252,9 @@ export default {
       }).then(() =>{ 
         this.form = response.data;
         this.$set(this.form, "zfrRepaymentDate", this.parseTime(new Date(response.data.zfrRepaymentDate),'{y}-{m}-{d}'));
-        this.getRecordSealFile()
+        setTimeout(() => {
+            this.getRecordSealFile();
+            }, 500);
       })
       
     });