Przeglądaj źródła

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

sufan 4 miesięcy temu
rodzic
commit
ebebf047b8

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

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