Ver código fonte

盖章页面关闭

xuefy 4 anos atrás
pai
commit
1c5aa6d01b

+ 5 - 3
front-vue/src/views/service/credit/creditSeal.vue

@@ -958,12 +958,14 @@ export default {
     },
     //返回到列表页
      goParent(){
+         var self = this
         this.pdfShowDialog = false;
-        this.$store.dispatch(
+        self.$store.dispatch(
             "tagsView/delView",
-            this.$route
+            self.$route
             );
-        this.$router.go(-1);
+         //self.$router.push("/Bill/credit")
+         self.$router.push("/Bill/finance/credit")
     },
 
     

+ 12 - 8
front-vue/src/views/service/credit/pdfShow.vue

@@ -85,7 +85,7 @@
                 </div>
             </el-dialog>
             <!--授权编号的短信框-->
-            <el-dialog  :title="授权短信验证"  :visible.sync="projectIsShow" width="800px"  append-to-body :before-close = "cancelProject" center>
+            <el-dialog  title="授权短信验证"  :visible.sync="projectIsShow" width="800px"  append-to-body :before-close = "cancelProject" center>
                 <el-form ref="projectForm"  :disabled="false" :model="projectForm"  v-if="projectIsShow" label-width="150px"  class="demo-form-inline" :inline="true">
                         <el-form-item label="验证码" prop="code">
                             <el-input v-model="projectForm.code" style="width: 200px" maxlength="6"  oninput="value=value.replace(/[^\d]/g,'')"/>
@@ -197,7 +197,9 @@ export default {
             //开立方
             openName:"",
             //显示去融资框
-            goShow:false
+            goShow:false,
+            //融信类型
+            zfiCreateType:""
 
         };
     },
@@ -221,6 +223,8 @@ export default {
                 this.receiveName = response.data.receiveName;
                 //开立方
                 this.openName = response.data.openName;
+                //融信类型
+                this.zfiCreateType = response.data.financeInf.zfiCreateType;
              }
         })
         this.dialogVisible = true;
@@ -508,10 +512,10 @@ export default {
     //盖章
     contractSigning(){
             const loading = this.$loading({
-                        lock: true,
-                        text: 'Loading',
-                        background: 'rgba(0, 0, 0,0)'
-                    });
+                lock: true,
+                text: 'Loading',
+                background: 'rgba(0, 0, 0,0)'
+             });
             contractSigning(this.financeData).then((response) => {
                 loading.close();
                 if(this.zfpAuthType == '02'){
@@ -540,13 +544,13 @@ export default {
                     //融资开立盖章
                     this.msgSuccess("开立成功,待:"+this.openName+"确权;确权结果请留意待办事项与站内消息");
                     this.goParent();
-                }else if(scope.row.zfiCreateType == '1' && this.zfiSupplierStatus == '01' && this.zfiPlatformStatus == '01'){//补充资料
+                }else if(this.zfiCreateType == '1' && this.zfiSupplierStatus == '01' && this.zfiPlatformStatus == '01'){//补充资料
                      this.goShow = true;
                 }
                 
             }).catch((response) => {
                 loading.close();
-            });
+            }); 
     },
     //校验授权编号验证码
     checkProCode(){