lucw 8 ماه پیش
والد
کامیت
437aefcd60

+ 4 - 1
src/views/batchRecord/components/editModal.vue

@@ -299,11 +299,14 @@
               <template slot-scope="scope">
               <template slot-scope="scope">
                 <div>
                 <div>
                   <el-input
                   <el-input
-                    type="textarea"
+                    type="text"
                     :rows="1"
                     :rows="1"
                     placeholder="请输入"
                     placeholder="请输入"
                     v-model="scope.row.errorMsg"
                     v-model="scope.row.errorMsg"
                   >
                   >
+                    <template v-if="scope.row.unitName" slot="append">
+                      <div>{{ scope.row.unitName }}</div>
+                    </template>
                   </el-input>
                   </el-input>
                 </div>
                 </div>
               </template>
               </template>

+ 4 - 1
src/views/produce/components/prenatalExamination/releaseRulesDialog.vue

@@ -162,11 +162,14 @@
         <template slot-scope="scope">
         <template slot-scope="scope">
           <div>
           <div>
             <el-input
             <el-input
-              type="textarea"
+              type="text"
               :rows="1"
               :rows="1"
               placeholder="请输入"
               placeholder="请输入"
               v-model="scope.row.errorMsg"
               v-model="scope.row.errorMsg"
             >
             >
+              <template v-if="scope.row.unitName" slot="append">
+                <div>{{ scope.row.unitName }}</div>
+              </template>
             </el-input>
             </el-input>
           </div>
           </div>
         </template>
         </template>