瀏覽代碼

往来账款判重校验通过后取消重复提示、已办记录查询增加、跳转融信路由修改

dudm 4 年之前
父節點
當前提交
141090f426

+ 9 - 5
front-vue/src/views/home.vue

@@ -488,7 +488,7 @@
             <el-row :gutter="20">
                 <!-- 第一行 -->
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
-                    <div class="zap-card">
+                    <div class="zap-card" @click="toCredit()">
                         <div class="zap-card__title">持有融信额度</div>
                         <div class="zap-card__wrap zap-card__blue">
                             <span class="zap-card__num">{{handleInput(effectBalance)}}</span>
@@ -497,7 +497,7 @@
                     </div>
                 </el-col>
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
-                    <div class="zap-card">
+                    <div class="zap-card" @click="toFinanceRecord()">
                         <div class="zap-card__title">融资中额度</div>
                         <div class="zap-card__wrap zap-card__gold">
                             <span class="zap-card__num">{{handleInput(availableBalance)}}</span>
@@ -506,7 +506,7 @@
                     </div>
                 </el-col>
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
-                    <div class="zap-card">
+                    <div class="zap-card" @click="toFinanceRecord()">
                         <div class="zap-card__title">已融资额度</div>
                         <div class="zap-card__wrap zap-card__pink">
                             <span class="zap-card__num">{{handleInput(loanBalance)}}</span>
@@ -516,7 +516,7 @@
                 </el-col>
                 <!-- 第二行 -->
                 <el-col :xs="24" :sm="12" :md="8" :lg="8">
-                    <div class="zap-card">
+                    <div class="zap-card" @click="toRepayment()">
                         <div class="zap-card__title">即将到期融资额度(30天)</div>
                         <div class="zap-card__wrap zap-card__blue">
                             <span class="zap-card__num">{{handleInput(expiredBalance)}}</span>
@@ -1025,6 +1025,8 @@ export default {
                     this.getWorkList()
                     //查询消息
                     this.getNoticeList()
+                    //查询已办
+                    this.getOldWorkList()
                 //融资企业
                 }else if(this.company.scyType == '02'){
                     //授信总额度
@@ -1043,6 +1045,8 @@ export default {
                     this.getWorkList()
                     //查询消息
                     this.getNoticeList()
+                    //查询已办
+                    this.getOldWorkList()
                 //资方
                 }else if(this.company.scyType == '03'){
                     //授信总额度
@@ -1600,7 +1604,7 @@ export default {
         },
         //去融信
         toCredit(){
-          this.$router.push({ path: "/Bill/credit" });
+          this.$router.push({ path: "/Bill/finance/credit" });
         },
         //去授信
         toCreditLine(){

+ 2 - 2
front-vue/src/views/service/bill/addBill.vue

@@ -241,7 +241,7 @@
           >
           <el-form-item style="float: right"
             ><el-button type="primary" @click="openUpload()"
-              >上传</el-button
+              >上传/修改</el-button
             ></el-form-item
           >
         </el-form>
@@ -434,7 +434,7 @@
                   @click="invoicePictureCardPreview(invoice)"
                 ></el-image>
                 <p
-                  v-if="invoice.zbiName"
+                  v-if="invoice.zbiName && invoice.ziiCheckStt == '3'"
                   style="text-align: center; color: red"
                 >
                   发票重复,已存在名称为“{{ invoice.zbiName }}”的往来账款中!

+ 2 - 2
front-vue/src/views/service/bill/billAdd.vue

@@ -228,7 +228,7 @@
           >
           <el-form-item style="float: right"
             ><el-button type="primary" @click="openUpload()"
-              >上传</el-button
+              >上传/修改</el-button
             ></el-form-item
           >
         </el-form>
@@ -415,7 +415,7 @@
                   @click="invoicePictureCardPreview(invoice)"
                 ></el-image>
                 <p
-                  v-if="invoice.zbiName"
+                  v-if="invoice.zbiName && invoice.ziiCheckStt == '3'"
                   style="text-align: center; color: red"
                 >
                   发票重复,已存在名称为“{{ invoice.zbiName }}”的往来账款中!

+ 2 - 2
front-vue/src/views/service/bill/billEdit.vue

@@ -273,7 +273,7 @@
           >
           <el-form-item style="float: right"
             ><el-button type="primary" @click="openUpload()"
-              >上传</el-button
+              >上传/修改</el-button
             ></el-form-item
           >
         </el-form>
@@ -467,7 +467,7 @@
                   @click="invoicePictureCardPreview(invoice)"
                 ></el-image>
                 <p
-                  v-if="invoice.zbiName"
+                  v-if="invoice.zbiName && invoice.ziiCheckStt == '3'"
                   style="text-align: center; color: red"
                 >
                   发票重复,已存在名称为“{{ invoice.zbiName }}”的往来账款中!

+ 4 - 4
front-vue/src/views/service/bill/editBill.vue

@@ -277,7 +277,7 @@
           >
           <el-form-item style="float: right"
             ><el-button type="primary" @click="openUpload()"
-              >上传</el-button
+              >上传/修改</el-button
             ></el-form-item
           >
         </el-form>
@@ -471,7 +471,7 @@
                   @click="invoicePictureCardPreview(invoice)"
                 ></el-image>
                 <p
-                  v-if="invoice.zbiName"
+                  v-if="invoice.zbiName && invoice.ziiCheckStt == '3'"
                   style="text-align: center; color: red"
                 >
                   发票重复,已存在名称为“{{ invoice.zbiName }}”的往来账款中!
@@ -1311,9 +1311,9 @@ export default {
     allAmount() {
       var strarr = [0.0];
       for (let i in this.fileList) {
-        if (this.fileList[i]["ziiCheckStt"] == "1") {
+        // if (this.fileList[i]["ziiCheckStt"] == "1") {
           strarr.push(this.fileList[i]["ziiAmount"]);
-        }
+        // }
       }
       return (Math.floor(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
       // return this.handleInput(eval(strarr.join("+"))); //结果