Przeglądaj źródła

核心确权不提示去融资

xuefy 4 lat temu
rodzic
commit
928950ee31

+ 7 - 35
front-vue/src/views/service/credit/confirmationAudit.vue

@@ -277,15 +277,6 @@
                 <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent">
                 </pdf-show>
             </el-dialog>
-             <!--去融资-->
-            <el-dialog  :visible.sync="goShow" width="300px"  append-to-body :before-close = "cancelGo" center>
-                    <p>恭喜您成功签收一笔融信</p>
-                    <div slot="footer" class="dialog-footer">
-                        <el-button type="primary" @click="goFinance">去融资</el-button>
-                        <el-button @click="cancelGo">取 消</el-button>
-                    </div>    
-            </el-dialog>
-           
         </el-tab-pane>
         <!-- 签署合同-->
         <el-tab-pane label="签署合同">
@@ -327,7 +318,6 @@ import {accAdd} from "@/utils/calculation";
 import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
 import {getToken} from "@/utils/auth";
 import pdfShow from "./pdfShow";
-import Cookies from 'js-cookie';
 export default {
     name: "addCredit",
     components: {pdfShow},
@@ -457,8 +447,6 @@ export default {
             pdfFileList : [],
             pdfShowDialog : false,
             parent : this,
-            //显示去融资框
-            goShow:false
         };
     },
     watch:{
@@ -1151,34 +1139,18 @@ export default {
                     );
                     this.$router.go(-1);
                 }else if(this.zfiCreateType == '2'){//供应商开立,盖章后改为已生效
-                        this.goShow = true;
+                    this.msgSuccess("确权成功,融信已生效");
+                    this.$store.dispatch(
+                        "tagsView/delView",
+                        this.$route
+                    );
+                    this.$router.go(-1);
                 }
             }).catch((response) => {
                 loading.close();
             });
     },
-    //回到父页
-    cancelGo(){
-        this.goShow = false;
-        this.$store.dispatch(
-            "tagsView/delView",
-            this.$route
-        );
-        this.$router.go(-1);
-    },
-    //去融资
-    goFinance(){
-        //关闭当前页
-         this.$store.dispatch(
-            "tagsView/delView",
-            this.$route
-        );
-        //关闭弹框
-        this.goShow = false;
-        Cookies.set("/credit/goFinance/"+this.zfiId + "/", this.$route.fullPath)
-        this.$router.push({ path: "/credit/goFinance/"+this.zfiId + "/" });
-    }
-       
+
     }
 };
 </script>

+ 2 - 1
front-vue/src/views/service/credit/pdfShow.vue

@@ -533,7 +533,8 @@ export default {
                          this.msgSuccess("确权成功,融信已提交,"+this.receiveName+"签收");
                          this.goParent();
                     }else if(this.zfiCreateType == '2'){//供应商开立
-                          this.goShow = true;
+                        this.msgSuccess("确权成功,融信已生效");
+                        this.goParent();
                     }
                 }else if(this.zfiStatus == '01' && this.zfiCreateType == '0'){//签收
                      this.goShow = true;