Browse Source

数据采集:录入、查看弹窗,添加“单位”字段

hezhihong 1 year ago
parent
commit
81aed96ded
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/GATHER/index.vue

+ 4 - 4
src/views/GATHER/index.vue

@@ -187,7 +187,7 @@
         <el-tab-pane v-for="(item, index) in tabList" :key="index + 'tabs'" :label="item.normName" :name="item.normName">
           <el-form v-for="(listItem, listIndex) in form.feeLists" :key="index + listIndex + listItem.normId" :rules="validatorList(listItem.normfeeName)" :model="listItem" :ref="'form' + listIndex">
             <!-- :rules="rules" ref="form" -->
-            <el-form-item :key="listItem.normfeeId" :label="listItem.normfeeName" v-if="listItem.normId == item.normId" prop="collCalue">
+            <el-form-item :key="listItem.normfeeId" :label="listItem.normfeeName + '('+ listItem.funit_dictText +')'" v-if="listItem.normId == item.normId" prop="collCalue">
               <!-- 这里科研失败!想动态绑定校验规则的 -->
               <!-- :prop="listItem.normfeeId" -->
               <!-- :rules="rules.listItem.normfeeId" -->
@@ -213,7 +213,7 @@
       <template v-else-if="this.form.type == 1">
         <el-form v-for="(listItem, listIndex) in form.feeLists" :model="listItem" :ref="'form' + listIndex" :rules="rules">
           <!-- :rules="rules" ref="form" -->
-          <el-form-item :key="listItem.normfeeId" :label="listItem.normfeeName" prop="collCalue">
+          <el-form-item :key="listItem.normfeeId" :label="listItem.normfeeName + '('+ listItem.funit_dictText +')'" prop="collCalue">
             <!-- 这里科研失败!想动态绑定校验规则的 -->
             <!-- :prop="listItem.normfeeId" -->
             <!-- :rules="rules.listItem.normfeeId" -->
@@ -234,7 +234,7 @@
         <el-tab-pane v-for="(item, index) in tabList" :key="index + 'tabs'" :label="item.normName" :name="item.normName">
           <el-form v-for="(listItem, listIndex) in form.feeLists" :model="listItem" :ref="'form' + listIndex" :rules="rules">
             <!-- :rules="rules" ref="form" -->
-            <el-form-item prop="collCalue" :key="listItem.normfeeId" :label="listItem.normfeeName" v-if="listItem.normId == item.normId">
+            <el-form-item prop="collCalue" :key="listItem.normfeeId" :label="listItem.normfeeName + '('+ listItem.funit_dictText +')'" v-if="listItem.normId == item.normId">
               <!-- 这里科研失败!想动态绑定校验规则的 -->
               <!-- :prop="listItem.normfeeId" -->
               <!-- :rules="rules.listItem.normfeeId" -->
@@ -260,7 +260,7 @@
 
       <el-form :model="form" v-else-if="this.form.type == 1">
         <!-- :rules="rules" ref="form" -->
-        <el-form-item v-for="(listItem, listIndex) in form.feeLists" :key="listItem.normfeeId" :label="listItem.normfeeName">
+        <el-form-item v-for="(listItem, listIndex) in form.feeLists" :key="listItem.normfeeId" :label="listItem.normfeeName + '('+ listItem.funit_dictText +')'">
           <!-- 这里科研失败!想动态绑定校验规则的 -->
           <!-- :prop="listItem.normfeeId" -->
           <!-- :rules="rules.listItem.normfeeId" -->