فهرست منبع

Merge branch 'master' of http://git.keao.tech/SupplyChain/front

peixh 4 سال پیش
والد
کامیت
147e3de062
26فایلهای تغییر یافته به همراه2507 افزوده شده و 3420 حذف شده
  1. 27 7
      front-vue/src/App.vue
  2. BIN
      front-vue/src/assets/images/login/icon_account.png
  3. BIN
      front-vue/src/assets/images/login/icon_pwd.png
  4. BIN
      front-vue/src/assets/images/login/icon_verify.png
  5. BIN
      front-vue/src/assets/images/register/icon_account.png
  6. BIN
      front-vue/src/assets/images/register/icon_business.png
  7. BIN
      front-vue/src/assets/images/register/icon_mobile.png
  8. BIN
      front-vue/src/assets/images/register/icon_pwd.png
  9. BIN
      front-vue/src/assets/images/register/icon_verify.png
  10. 2 2
      front-vue/src/assets/styles/login.scss
  11. 2 1
      front-vue/src/components/SearchBar/index.vue
  12. 32 0
      front-vue/src/components/StatisticalData/index.vue
  13. 93 0
      front-vue/src/components/Table/ButtonsGroup.vue
  14. 10 1
      front-vue/src/permission.js
  15. 12 7
      front-vue/src/store/modules/permission.js
  16. 2 2
      front-vue/src/views/forgetUser.vue
  17. 7 7
      front-vue/src/views/login.vue
  18. 1 1
      front-vue/src/views/register.vue
  19. 6 6
      front-vue/src/views/registerUser.vue
  20. 3 3
      front-vue/src/views/service/bill/billAdd.vue
  21. 13 1
      front-vue/src/views/service/credit/addInformation.vue
  22. 1 1
      front-vue/src/views/service/credit/confirmationAudit.vue
  23. 2261 3378
      front-vue/src/views/service/credit/credit.vue
  24. 11 0
      front-vue/src/views/service/credit/signFor.vue
  25. 20 2
      front-vue/src/views/service/financeRecord/addFinanceRecord.vue
  26. 4 1
      front-vue/src/views/service/financeRecord/recordSeal.vue

+ 27 - 7
front-vue/src/App.vue

@@ -241,9 +241,10 @@ export default {
 .el-table .el-table__fixed-header-wrapper th {
     background-color: #F6F9FF;
 }
-.el-table .fixed-width .el-button--mini.zap-button-info, 
-.el-table .fixed-width .el-button--mini.zap-button-parimary, 
-.el-table .fixed-width .el-button--mini.zap-button-waring, 
+.el-table .fixed-width .el-button--mini.zap-button-confirmation,
+.el-table .fixed-width .el-button--mini.zap-button-info,
+.el-table .fixed-width .el-button--mini.zap-button-primary,
+.el-table .fixed-width .el-button--mini.zap-button-waring,
 .el-table .fixed-width .el-button--mini.zap-button-plain {
     min-width: 36px;
     height: 24px;
@@ -254,20 +255,39 @@ export default {
     border-radius: 4px;
     box-sizing: border-box;
 }
-.el-table .fixed-width .el-button--mini.zap-button-plain{
+
+.el-table .fixed-width .el-button--mini.zap-button-plain {
     color: #333333;
     border: 1px solid #EBEBEB;
 }
-.el-table .fixed-width .el-button--mini.zap-button-waring{
+
+.el-table .fixed-width .el-button--mini.zap-button-waring {
     color: #ffffff;
     background-color: #FFB700;
 }
-.el-table .fixed-width .el-button--mini.zap-button-parimary{
+
+.el-table .fixed-width .el-button--mini.zap-button-primary {
     color: #ffffff;
     background-color: #4280F2;
 }
-.el-table .fixed-width .el-button--mini.zap-button-info{
+
+.el-table .fixed-width .el-button--mini.zap-button-info {
     color: #999999;
     background-color: #EBEBEB;
 }
+.el-table .fixed-width .el-button--mini.zap-button-confirmation{
+    color: #ffffff;
+    background-color: #FF2F2F;
+}
+.el-button--medium.zap-button-open {
+    width: 112px;
+    height: 36px;
+    line-height: 36px;
+    padding: 0;
+    text-align: center;
+    font-size: 14px;
+    color: #ffffff;
+    background: #00B53A;
+    border-radius: 4px;
+}
 </style>

BIN
front-vue/src/assets/images/login/icon_account.png


BIN
front-vue/src/assets/images/login/icon_pwd.png


BIN
front-vue/src/assets/images/login/icon_verify.png


BIN
front-vue/src/assets/images/register/icon_account.png


BIN
front-vue/src/assets/images/register/icon_business.png


BIN
front-vue/src/assets/images/register/icon_mobile.png


BIN
front-vue/src/assets/images/register/icon_pwd.png


BIN
front-vue/src/assets/images/register/icon_verify.png


+ 2 - 2
front-vue/src/assets/styles/login.scss

@@ -69,7 +69,7 @@
             }
         }
     }
-    .input-icon {
+    .zap-login__icon {
         height: 16px;
         width: 16px;
         margin-top: 12px;
@@ -214,7 +214,7 @@
         display: flex;
         flex-direction: column;
         align-items: flex-start;
-        color: #389cf4;
+        color: #4280F2;
         cursor: pointer;
     }
     .zap-code-button{

+ 2 - 1
front-vue/src/components/SearchBar/index.vue

@@ -7,6 +7,7 @@
         <el-button type="primary" size="mini" @click="handleQuery">查询</el-button>
         <el-button type="primary" plain size="mini" @click="resetQuery">重置</el-button>
         <column-setting
+          v-if="!hiddenSetting"
           class="zap-column-setting"
           :checkList="checkList"
           :tableList="tableList"
@@ -20,7 +21,7 @@
 <script>
 import ColumnSetting from "@/components/Table/columnSetting.vue";
 export default {
-  props: ["checkList", "tableList", "selfDom", "tableId"],
+  props: ["checkList", "tableList", "selfDom", "tableId", "hiddenSetting"],
   components: {
     ColumnSetting
   },

+ 32 - 0
front-vue/src/components/StatisticalData/index.vue

@@ -0,0 +1,32 @@
+<template>
+  <div class="zap-statistical-data">
+      <slot></slot>
+  </div>
+</template>
+
+<script>
+export default {
+    name: "StatisticalData"
+}
+</script>
+
+<style lang="scss">
+.zap-statistical-data{
+    display: flex;
+    flex-wrap: wrap;
+    padding: 0 25px 25px;
+    background-color: #F7F7F7;
+    .label{
+        flex: 0 0 25%;
+        display: inline-block;
+        margin-top: 25px;
+        height: 20px;
+        line-height: 20px;
+        font-size: 14px;
+        color: #333333;
+    }
+    .value{
+        color: #FF2F2F;
+    }
+}
+</style>

+ 93 - 0
front-vue/src/components/Table/ButtonsGroup.vue

@@ -0,0 +1,93 @@
+<template>
+<div>
+    <el-button class="zap-button-plain" size="mini" type="text" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
+    <!--
+                (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
+                (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
+                (融资方)融资开立+融资审批状态/平台审批拒绝||
+              -->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
+                        (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
+                        (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
+                        ">修改</el-button>
+    <!--融信状态待确权且为核心企业
+              -->
+    <el-button class="zap-button-confirmation" size="mini" type="text" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
+    <!--原补充资料-->
+    <!--核心开立+融信状态为待签收+融资企业   判断内部,平台,审批中不可进入
+              -->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
+    <!--融资申请+融信状态待签收+融资企业
+              判断是否内部通过 审批中不可进入
+              -->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
+    <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
+                  (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
+              -->
+    <!--生效-->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
+    <!--(核心)核心开立:核心审批通过+其他状态为空||
+                (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
+                (融资方)融资开立:融资方通过+平台通过+其他为空||
+                (核心)确权:融资方通过+核心通过+平台通过+待确权
+            -->
+    <!--核心开立
+                类型为核心开立,状态为空,并且核心企业
+              -->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' ||  scope.row.zfiStatus == null)">开立融信</el-button>
+    <el-button class="zap-button-info" size="mini" type="text" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
+                        && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
+                        && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' ||  scope.row.zfiStatus == null)">作废</el-button>
+    <!--供应商开立
+                类型为供应商开立,状态为空,并且融资企业
+              -->
+    <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' ||  scope.row.zfiStatus == null)">融信开立</el-button>
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
+                        (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
+                        (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
+    <el-button class="zap-button-primary" size="mini" type="text" @click="handleFlowable(scope.row)">查看流程</el-button>
+</div>
+</template>
+
+<script>
+export default {
+    name: "ButtonsGroup",
+    props: ['scope'],
+    methods: {
+        handleDetail(row) {
+            this.$emit("handleDetail", row)
+        },
+        handleUpdate(row) {
+            this.$emit("handleUpdate", row)
+        },
+        handleApprove(row) {
+            this.$emit("handleApprove", row)
+        },
+        handleAddInformation(row) {
+            this.$emit("handleAddInformation", row)
+        },
+        handleSignFor (row) {
+            this.$emit("handleSignFor", row)
+        },
+        handleGoFinance (row) {
+            this.$emit("handleGoFinance", row)
+        },
+        seal (row) {
+            this.$emit("seal", row)
+        },
+        refuse (row) {
+            this.$emit("refuse", row)
+        },
+        handleDelete (row) {
+            this.$emit('handleDelete', row)
+        },
+        handleFlowable (row) {
+            this.$emit("handleFlowable", row)
+        }
+    }
+}
+</script>
+
+<style>
+
+</style>

+ 10 - 1
front-vue/src/permission.js

@@ -41,7 +41,16 @@ router.beforeEach((to, from, next) => {
             // 测试 默认静态页面
             // store.dispatch('permission/generateRoutes', { roles }).then(accessRoutes => {
               // 根据roles权限生成可访问的路由表
-              if (accessRoutes.length == 0) {
+              console.log(accessRoutes);
+              if("000000"== accessRoutes){
+                Message.error("用户角色更变,请重新登录!");
+                setTimeout(() => {
+                  removeToken()
+                  next({ path: '/login' })
+                  NProgress.done()
+                }, 5000);
+                
+              }else if (accessRoutes.length == 0) {
                 Message.error("用户数据异常!")
                 return;
               }

+ 12 - 7
front-vue/src/store/modules/permission.js

@@ -20,13 +20,18 @@ const permission = {
       return new Promise(resolve => {
         // 向后端请求路由数据
         getRouters().then(res => {
-          const accessedRoutes = filterAsyncRouter(res.data)
-          if (accessedRoutes.length == 0) {
-            resolve(accessedRoutes)
-          } else {
-            accessedRoutes.push({ path: '*', redirect: '/404', hidden: true })
-            commit('SET_ROUTES', accessedRoutes)
-            resolve(accessedRoutes)
+          console.log(res);
+          if("000000" == res.msg){
+            resolve(res.msg);
+          }else{
+            const accessedRoutes = filterAsyncRouter(res.data)
+            if (accessedRoutes.length == 0) {
+              resolve(accessedRoutes)
+            } else {
+              accessedRoutes.push({ path: '*', redirect: '/404', hidden: true })
+              commit('SET_ROUTES', accessedRoutes)
+              resolve(accessedRoutes)
+            }
           }
         })
       })

+ 2 - 2
front-vue/src/views/forgetUser.vue

@@ -10,12 +10,12 @@
                     <el-tab-pane label="找回密码" name="login_shortMessage">
                         <el-form-item prop="phone" v-if="!passwordUpdate">
                             <el-input v-model="loginForm.phone" type="text" auto-complete="off" placeholder="手机号" maxlength="11">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_mobile.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="shortMessageCode" v-if="!passwordUpdate">
                             <el-input v-model="loginForm.shortMessageCode" type="text"  maxlength="" auto-complete="off" placeholder="请输入验证码" class="login-code-msg" id="" onkeydown="enterHandler(event)">
-                                <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_verify.png" alt="">
                                 <el-button class="zap-code-button" slot="suffix" @click="sendMessage" :disabled="sendShortMessageBtn">{{codeBtnWord}}</el-button>
                             </el-input>
                         </el-form-item>

+ 7 - 7
front-vue/src/views/login.vue

@@ -13,12 +13,12 @@
                     <el-tab-pane label="验证码登录" name="login_shortMessage">
                         <el-form-item prop="phone">
                             <el-input v-model="loginForm.phone" type="text" auto-complete="off" placeholder="手机号">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_mobile.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="cade">
                             <el-input v-model="loginForm.shortMessageCode" type="text"  maxlength="" auto-complete="off" placeholder="请输入验证码" class="login-code-msg" id="">
-                                <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_verify.png" alt="">
                                 <el-button class="zap-code-button" slot="suffix" @click="sendMessage" :disabled="sendShortMessageBtn">{{codeBtnWord}}</el-button>
                             </el-input>
                         </el-form-item>
@@ -41,17 +41,17 @@
                     <el-tab-pane label="密码登录" name="login_password">
                         <el-form-item prop="username">
                             <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/login/icon_account.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="password">
                             <el-input v-model="loginForm.password" type="password" auto-complete="off" placeholder="密码" @keyup.enter.native="handleLogin">
-                                <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/login/icon_pwd.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="code">
                             <el-input v-model="loginForm.code" auto-complete="off" placeholder="验证码" @keyup.enter.native="handleLogin">
-                                <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/login/icon_verify.png" alt="">
                             </el-input>
                             <div class="login-code">
                                 <img :src="codeUrl" @click="getCode" class="login-code-img" />
@@ -60,7 +60,7 @@
                         <el-form-item style="width:100%;margin-bottom: 0;" >
                             <el-row type="flex" justify="space-between" style="width: 100%;">
                                 <el-checkbox v-model="loginForm.rememberMe">自动登录</el-checkbox>
-                                <el-link href="/forgetUser" style="color: #389cf4;">忘记密码?</el-link>
+                                <el-link href="/forgetUser" style="color: #4280F2;">忘记密码?</el-link>
                             </el-row>
                         </el-form-item>
                         <el-form-item style="width:100%;">
@@ -69,7 +69,7 @@
                                 <span v-else>登 录 中...</span>
                             </el-button>
                         </el-form-item>
-                        <el-link style="margin-right:50px; font-size: 16px;margin-bottom: 30px;color: #389cf4;" href="/registerUser">还没账号?立即注册</el-link>
+                        <el-link style="margin-right:50px; font-size: 16px;margin-bottom: 30px;color: #4280F2;" href="/registerUser">还没账号?立即注册</el-link>
                         <el-form-item>
                             <div class="zap-agreement">
                                 <span class="zap-agreement__text">登录视为同意并遵守</span>

+ 1 - 1
front-vue/src/views/register.vue

@@ -517,7 +517,7 @@ export default {
         display: flex;
         flex-direction: column;
         align-items: flex-start;
-        color: #389cf4;
+        color: #4280F2;
         cursor: pointer;
     }
     .zap-code-button{

+ 6 - 6
front-vue/src/views/registerUser.vue

@@ -6,33 +6,33 @@
                     <el-tab-pane label="账号注册" name="login_shortMessage">
                         <el-form-item prop="company">
                             <el-input v-model="loginForm.company" type="text" auto-complete="off" placeholder="企业名称" maxlength="15">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_business.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="username">
                             <el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="联系人" maxlength="15">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_account.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="phone">
                             <el-input v-model="loginForm.phone" type="text" auto-complete="off" placeholder="手机号" maxlength="11">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_mobile.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="shortMessageCode">
                             <el-input v-model="loginForm.shortMessageCode" type="text"  maxlength="" auto-complete="off" placeholder="请输入验证码" id="" class="login-code-msg"  onkeydown="enterHandler(event)">
-                                <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_verify.png" alt="">
                                 <el-button class="zap-code-button" slot="suffix" @click="sendMessage" :disabled="sendShortMessageBtn">{{codeBtnWord}}</el-button>
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="password">
                             <el-input v-model="loginForm.password" type="password" auto-complete="off" placeholder="密码" maxlength="12">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_pwd.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item prop="again">
                             <el-input v-model="loginForm.again" type="password" auto-complete="off" placeholder="确认密码" maxlength="12">
-                                <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+                                <img slot="prefix" class="zap-login__icon" src="../assets/images/register/icon_pwd.png" alt="">
                             </el-input>
                         </el-form-item>
                         <el-form-item>

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

@@ -979,11 +979,11 @@ 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 (Math.round(eval(strarr.join("+")) * 100) / 100).toFixed(2); //结果
         },
         // 提交
         submit() {

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

@@ -312,7 +312,7 @@
 
             <!--预览-->
             <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-                <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
+                <img :src="wordUrl" v-if="show" width='950px' height='500px'/>
                 <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
             </el-dialog>
             <el-dialog
@@ -393,6 +393,7 @@ import AddBill from "@/views/service/bill/addBill";
 import EditBill from "@/views/service/bill/editBill";
 import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
 import {contractSigning} from "@/api/service/credit/message";
+import { listCompanyHandler } from "@/api/common/companyHandler";
 import { amtformat } from "@/utils/amtCommon";
 import pdfShow from "./pdfShow";
 import pdfShows from "./showStampedPdf";
@@ -1399,6 +1400,9 @@ export default {
                         text: 'Loading',
                         background: 'rgba(0, 0, 0,0)'
                     });
+                    
+  listCompanyHandler().then((response) => {
+        if (response.data == true) {
             contractSigning(this.form).then((response) => {
                 loading.close();
                 const zfiId = this.$route.params && this.$route.params.zfiId;
@@ -1428,6 +1432,14 @@ export default {
             }).catch((response) => {
                 loading.close();
             });
+               } else {
+                 loading.close();
+             this.$message({
+                        message: "此操作需经办人权限,请确认您是否是经办人",
+                        type: 'warning'
+                    });
+        }
+      });
     },
       //去融资
     goFinance(){

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

@@ -292,7 +292,7 @@
             </el-dialog>
             <!--预览-->
             <el-dialog  :visible.sync="openFile" width="1000px" append-to-body>
-                <img :src="wordUrl" v-if="show" width='450px' height='500px'/>
+                <img :src="wordUrl" v-if="show" width='950px' height='500px'/>
                 <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid"/>
             </el-dialog>
             <el-dialog

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 2261 - 3378
front-vue/src/views/service/credit/credit.vue


+ 11 - 0
front-vue/src/views/service/credit/signFor.vue

@@ -391,6 +391,7 @@ import pdfShows from "./showStampedPdf";
 import DetailBill from "@/views/service/credit/billDetail";
 import {contractSigning} from "@/api/service/credit/message";
 import { listFinanceInf } from "@/api/common/financeInf";
+import { listCompanyHandler } from "@/api/common/companyHandler";
 import { amtformat } from "@/utils/amtCommon";
 import Cookies from 'js-cookie';
 export default {
@@ -1296,6 +1297,8 @@ export default {
                         text: 'Loading',
                         background: 'rgba(0, 0, 0,0)'
                     });
+    listCompanyHandler().then((response) => {
+        if (response.data == true) {
             contractSigning(this.form).then((response) => {
                 loading.close();
                 const zfiId = this.$route.params && this.$route.params.zfiId;
@@ -1325,6 +1328,14 @@ export default {
             }).catch((response) => {
                 loading.close();
             });
+           } else {
+                loading.close();
+             this.$message({
+                  message: "此操作需经办人权限,请确认您是否是经办人",
+                  type: 'warning'
+              });
+          }
+       });
     },
      //去融资
     goFinance(){

+ 20 - 2
front-vue/src/views/service/financeRecord/addFinanceRecord.vue

@@ -395,7 +395,7 @@
             </el-table>
         </el-row> -->
       <el-row type="flex" align="middle" justify="center" style="height: 77px">
-        <el-button type="primary" @click="submitForm" v-if="!zfrId"
+        <el-button type="primary" @click="submitForm"
           >确 定</el-button
         >
         <!-- <el-button @click="cancel">取 消</el-button> -->
@@ -842,6 +842,10 @@ export default {
                 this.$set(this.form, "zfrCollectionAccount", response.msg);
                 this.onlyRead = true;
               });
+            }else{
+               //其余类型,清空后可以手动输入
+                this.$set(this.form, "zfrCollectionAccount","");
+                this.onlyRead = false;
             }
           });
         getCreditDetail(item.zfiId).then((response) => {
@@ -881,6 +885,9 @@ export default {
             spinner: "el-icon-loading",
             background: "rgba(0, 0, 0, 0.7)",
           });
+            listCompanyHandler().then((response) => {
+        if (response.data == true) {
+
           addRecord(this.form)
             .then((response) => {
               loading.close();
@@ -893,6 +900,14 @@ export default {
             .catch((response) => {
               loading.close();
             });
+              } else {
+              loading.close();
+              this.$message({
+                message: "此操作需经办人权限,请确认您是否是经办人",
+                type: "warning",
+              });
+            }
+          });
         }
       });
     },
@@ -1277,7 +1292,10 @@ export default {
             }
           });
         } else {
-          this.$message.error("此操作需经办人权限,请确认您是否是经办人");
+               this.$message({
+                        message: "此操作需经办人权限,请确认您是否是经办人",
+                        type: 'warning'
+                    });
         }
       });
     },

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

@@ -1312,7 +1312,10 @@ export default {
             }
           });
         } else {
-          this.$message.error("此操作需经办人权限,请确认您是否是经办人");
+              this.$message({
+                        message: "此操作需经办人权限,请确认您是否是经办人",
+                        type: 'warning'
+                    });
         }
       });
     },