Browse Source

fix(收放款台账):资金出资方

sufan 5 months ago
parent
commit
ebebf047b8

+ 9 - 9
src/views/dataSource/receiveLendingLedger/components/CapitalInfo.vue

@@ -21,12 +21,12 @@
           <el-radio :label="0">不承险</el-radio>
           <el-radio :label="0">不承险</el-radio>
         </el-radio-group>
         </el-radio-group>
       </el-form-item>
       </el-form-item>
-      <el-form-item label="资金出资方" prop="assetInstitutionName">
+      <el-form-item label="资金出资方" prop="fundInstitutionName">
         <el-select
         <el-select
-          v-model="ruleForm.assetInstitutionName"
+          v-model="ruleForm.fundInstitutionName"
           placeholder="请选择资金出资方"
           placeholder="请选择资金出资方"
           filterable
           filterable
-          @change="assetInstitutionNameChange"
+          @change="fundInstitutionNameChange"
           :disabled="disabled"
           :disabled="disabled"
         >
         >
           <el-option
           <el-option
@@ -97,7 +97,7 @@
   const ruleForm = ref({
   const ruleForm = ref({
     occupation: '',
     occupation: '',
     risk: '',
     risk: '',
-    assetInstitutionName: '',
+    fundInstitutionName: '',
     payBackMethod: '',
     payBackMethod: '',
     financingRate: '',
     financingRate: '',
     managementFeeRatio: '',
     managementFeeRatio: '',
@@ -120,7 +120,7 @@
         trigger: ['blur', 'change']
         trigger: ['blur', 'change']
       }
       }
     ],
     ],
-    assetInstitutionName: [
+    fundInstitutionName: [
       { required: true, message: '请选择资金出资方', trigger: 'change' }
       { required: true, message: '请选择资金出资方', trigger: 'change' }
     ],
     ],
     payBackMethod: [
     payBackMethod: [
@@ -140,7 +140,7 @@
       const {
       const {
         occupation,
         occupation,
         risk,
         risk,
-        assetInstitutionName,
+        fundInstitutionName,
         payBackMethod,
         payBackMethod,
         financingRate,
         financingRate,
         managementFeeRatio,
         managementFeeRatio,
@@ -149,7 +149,7 @@
       ruleForm.value = {
       ruleForm.value = {
         occupation,
         occupation,
         risk,
         risk,
-        assetInstitutionName,
+        fundInstitutionName,
         payBackMethod,
         payBackMethod,
         financingRate,
         financingRate,
         managementFeeRatio,
         managementFeeRatio,
@@ -163,7 +163,7 @@
     }
     }
   )
   )
 
 
-  const assetInstitutionNameChange = (val) => {
+  const fundInstitutionNameChange = (val) => {
     const fundRefinancingInstitutionInfoId = codeChangeName(
     const fundRefinancingInstitutionInfoId = codeChangeName(
       constant.capitalList,
       constant.capitalList,
       val,
       val,
@@ -171,7 +171,7 @@
       'id'
       'id'
     )
     )
     if (!fundRefinancingInstitutionInfoId) {
     if (!fundRefinancingInstitutionInfoId) {
-      ruleForm.value.assetInstitutionName = ''
+      ruleForm.value.fundInstitutionName = ''
     } else {
     } else {
       ruleForm.value.fundRefinancingInstitutionInfoId =
       ruleForm.value.fundRefinancingInstitutionInfoId =
         fundRefinancingInstitutionInfoId
         fundRefinancingInstitutionInfoId