Переглянути джерело

fix(融资管理):额度支用

sufan 7 місяців тому
батько
коміт
4d88cc3519

+ 2 - 2
src/views/financialManagement/indexTable.js

@@ -4,8 +4,8 @@ export default {
     return {
       loading: false,
       tableOptions: {
-        maxHeight: 'calc(100vh - 406px)',
-        height: 'calc(100vh - 406px)'
+        maxHeight: 'calc(100vh - 336px)',
+        height: 'calc(100vh - 336px)'
       },
       columns: [
         {

+ 7 - 6
src/views/financingManage/limitExpenditure/components/FinancingInfo.vue

@@ -94,6 +94,7 @@
             v-model="ruleForm.disburseExpiryDate"
             placeholder="请选择支用到期日"
             :disabled="disabled"
+            clearable
           >
             <el-option
               v-for="item in disburseExpiryDate"
@@ -277,9 +278,9 @@ export default {
         accountName: [
           { required: true, message: '请输入账号名称', trigger: 'blur' }
         ],
-        disburseExpiryDate: [
-          { required: true, message: '请选择支用到期日', trigger: 'change' }
-        ],
+        // disburseExpiryDate: [
+        //   { required: true, message: '请选择支用到期日', trigger: 'change' }
+        // ],
         startingDateType: [
           { required: true, message: '请选择起算日', trigger: 'change' }
         ],
@@ -475,7 +476,7 @@ export default {
       this.getExpirationList(params)
     },
     getExpirationList(params) {
-      if(this.ruleForm.institutionName === '长银集团自有资金') return 
+      if (this.ruleForm.institutionName === '长银集团自有资金') return
       getExpiration(params).then(({ data }) => {
         this.disburseExpiryDate = data
       })
@@ -483,9 +484,9 @@ export default {
 
     getParams(type) {
       return new Promise((resolve, reject) => {
-        if(type === 'temp') {
+        if (type === 'temp') {
           resolve(this.ruleForm)
-        }else {
+        } else {
           this.$refs.ruleForm.validate(valid => {
             if (valid) {
               resolve(this.ruleForm)