浏览代码

融信状态修改;融信加状态页;作废按钮挪到列表页;审批判断提示语优化

sqg 4 年之前
父节点
当前提交
fb52d5ebd2

+ 9 - 1
front-vue/src/views/service/credit/addInformation.vue

@@ -1237,7 +1237,15 @@ export default {
                             _this.form.ticketList = _this.ticketList;
                             addInfor(_this.form).then(response => {
                                 loading.close();
-                                _this.msgSuccess("平台正在审核资料,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请平台审批通过后,再次签署");
+                                //查询有无平台审批
+                                var platParam = {};
+                                platParam.menuId = "1000000004";
+                                isOpenApproval(platParam).then((response) => {
+                                var platResult = response.data.isOpen;
+                                    if (platResult == true) {
+                                        _this.msgSuccess("平台正在审核资料,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请平台审批通过后,再次签署");
+                                    }
+                                })
                                 _this.$store.dispatch("tagsView/delView", _this.$route);
                                 _this.$router.go(-1);
                             }).catch((response)=>{

文件差异内容过多而无法显示
+ 700 - 16
front-vue/src/views/service/credit/credit.vue


+ 1 - 1
front-vue/src/views/service/credit/creditSeal.vue

@@ -186,7 +186,7 @@
         <div class="footer" style="float: right;
             margin-bottom:2px;">
            <!--  <el-button type="success" @click="getContractFile">预览文件</el-button> -->
-            <el-button type="info" @click="refuse">作废</el-button>
+            <!-- <el-button type="info" @click="refuse">作废</el-button> -->
             <!-- <el-button type="primary" @click="selectType">合同签署</el-button> -->
             <el-button type="success" @click="getContractFile(false)">签署</el-button>
             <el-button @click="cancel">取消</el-button>

+ 32 - 0
front-vue/src/views/service/financeRecord/financeRecord.vue

@@ -491,6 +491,13 @@
                   <el-button
                     size="mini"
                     type="text"
+                    icon="el-icon-edit"
+                    @click="cancelFtp(scope.row)"
+                    v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'"
+                  >作废</el-button>
+                  <el-button
+                    size="mini"
+                    type="text"
                     icon="el-icon-info"
                     @click="handleFlowable(scope.row)"
                     v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'"
@@ -1083,6 +1090,7 @@ import {
   delRecord,
   addRecord,
   updateRecord,
+  cancelContract,
   examineApprove
 } from "@/api/service/financeRecord/record";
 import { uploadFileNew } from "@/api/common/file";
@@ -1866,6 +1874,30 @@ export default {
         path: "/financeRecord/recordSeal/" + zfrId + "/"
       });
     },
+    //作废
+    cancelFtp(row) {
+      let form = {};
+      form.zfrId = row.zfrId;
+      this.$confirm('该笔融资将作废', "作废", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      }).then(function() {
+        return cancelContract(form);
+      }).then(() => {
+        this.getList();
+        this.getIngList();
+        this.getEndList();
+        this.getLoseList();
+        this.msgSuccess("作废成功");
+      }).catch(() => {
+        this.$message({
+          type: "warning",
+          message: "作废已取消",
+
+        });
+      });
+    },
     /** 提交审批 */
     handleApprove(row) {
       this.$confirm("确认要提交审批吗?", {

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

@@ -396,7 +396,7 @@
             </el-table>
         </el-row> -->
       <el-row type="flex" align="middle" justify="center" style="height: 77px">
-        <el-button type="success" @click="cancelFtp">作废</el-button>
+        <!-- <el-button type="success" @click="cancelFtp">作废</el-button> -->
         <el-button type="primary" @click="selectPayment">合同签署</el-button>
         <el-button type="primary" plain="" @click="cancel">取消</el-button>
         <!-- <el-button @click="cancel">取 消</el-button> -->