Explorar el Código

修改还款管理展示等bug

cuixq hace 3 años
padre
commit
5f8ba91beb

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

@@ -297,6 +297,7 @@
     </el-dialog>
 
     <!-- 去缴费 -->
+     <div v-if="accNo">
     <paying
       :payingMoney="payingMoney"
       :accNo="accNo"
@@ -307,6 +308,7 @@
       @cancelHandler="cancelHandler"
       @close="cancelHandler"
     ></paying>
+    </div>
   </div>
 </template>
 
@@ -689,10 +691,11 @@ export default {
         background: "rgba(0, 0, 0, 0.7)"
       });
       // self.paiAccno = '3115730025230000214';
+      console.log(row)
       if (row.accNo) {
         balance(row.accNo)
           .then(response => {
-            if (eval(row.zciAmount) > eval(response.data.list.row.KYAMT)) {
+            if (eval(row.zciAmount) > eval(response.data.kyamt)) {
               self.$message({
                 message:
                   "余额为" +
@@ -714,9 +717,13 @@ export default {
                   .then(response => {
                     loading.close();
                     self.msgSuccess("缴费成功");
+                    this.accNo = false;
+                    this.getList();
                     return changeZfiStatus(zciId);
                   })
                   .catch(() => {
+                    this.accNo = false;
+                    this.getList();
                     loading.close();
                   });
               } else {
@@ -727,14 +734,19 @@ export default {
                   businessId: row.zciId,
                   type: "00"
                 };
+                console.log("缴费")
                 transfer(map)
                   .then(response => {
                     loading.close();
+                    this.accNo = false;
                     self.msgSuccess("缴费成功");
+                    this.getList();
                     return changeZfiStatus(zciId);
                   })
                   .catch(() => {
+                    this.accNo = false;
                     loading.close();
+                    this.getList();
                   });
               }
             }
@@ -793,6 +805,7 @@ export default {
         for (var key in self.formApply) {
           fd.append(key, self.formApply[key]);
         }
+        console.log(valid)
         if (valid) {
           if (this.formApply.scyId != null) {
             const loading = this.$loading({

+ 1 - 1
front-vue/src/views/service/financeRecord/financeRecord.vue

@@ -287,7 +287,7 @@
                 <!--查看内部审批流程-->
                 <el-dialog title="流程进度" :visible.sync="hisTaskForm">
                     <div class="zap-form">
-                        <el-steps direction="vertical" :active="histaskList[histaskList.length-1] && histaskList[histaskList.length-1].activityType == 'endEvent' ? histaskList.length : histaskList.length-1" finish-status="success" space="60px">
+                        <el-steps direction="vertical" :active="histaskList[histaskList.length-1] && histaskList[histaskList.length-1].endTime !=null ? histaskList.length : histaskList.length-1" finish-status="success" space="60px">
                             <el-step :title="item.name" v-for="(item,index) in histaskList" :key="index">
                                 <template slot="description">
                                     <span v-if="item.activityType == 'userTask'">办理人: {{item.displayName}}</span> 节点名称: {{item.activityName}} 任务接收时间 {{parseTime(new Date(item.startTime), '{y}-{m}-{d} {h}:{i}:{s}')}}  {{item.endTime?'任务办结时间' + parseTime(new Date(item.endTime), '{y}-{m}-{d} {h}:{i}:{s}'):''}}

+ 1 - 1
front-vue/src/views/service/repayment/detailRepayment.vue

@@ -16,7 +16,7 @@
         <el-col :span="8">
             <div class="zap-form-text">
                 <span class="zap-form-text__label">最终付款方</span>
-                <div class="zap-form-text__file">{{form.zfrPayNumber}}</div>
+                <div class="zap-form-text__file">{{form.core}}</div>
             </div>
         </el-col>
         <el-col :span="8">