Sfoglia il codice sorgente

设备点位——批量引入优化

wyh 1 anno fa
parent
commit
d31d391110

+ 8 - 2
src/views/module_ems/tpmTag/modulesPL/TpmTagFormPL1.vue

@@ -53,19 +53,25 @@
                             :pagination="false"
                             :rowKey="(record, index) => { return index }"
                             bordered
+                            class="j-table-force-nowrap"
                             >
                                 <template slot="tagname" slot-scope="text, record,index">
                                     <!--  -->
-                                    <a-form-model-item :prop="'data.'+index+'.tagname'" :rules="validatorRules.tagname">
+                                    <a-form-model-item :prop="'data.'+index+'.tagname'" :rules="validatorRules.tagname" style="margin-bottom: 0px;">
                                         <!-- <a-input v-model="record.tagname"></a-input> -->
                                         {{ record.tagname }}
                                     </a-form-model-item>
                                 </template>
                                 <template slot="tagaddress" slot-scope="text, record,index">
-                                    <a-form-model-item :prop="'data.'+index+'.tagaddress'" :rules="validatorRules.tagaddress">
+                                    <a-form-model-item :prop="'data.'+index+'.tagaddress'" :rules="validatorRules.tagaddress" style="margin-bottom: 0px;">
                                         <a-input v-model="record.tagaddress"></a-input>
                                     </a-form-model-item>
                                 </template>
+                                <!-- <template slot="tagtype" slot-scope="text, record,index">
+                                    <a-form-model-item :prop="'data.'+index+'.tagtype'" :rules="validatorRules.tagtype" style="margin-bottom: 0px;">
+                                        <a-input v-model="record.tagtype"></a-input>
+                                    </a-form-model-item>
+                                </template> -->
                                 <template slot="operation" slot-scope="text, record">
                                     <span>
                                         <a-popconfirm title="是否要删除此行?" @confirm="remove(record.key)">

+ 1 - 1
src/views/module_ems/tpmTag/modulesPL/TpmTagModalPL.vue

@@ -23,7 +23,7 @@
     data () {
       return {
         title:'',
-        width:1400,
+        width:1700,
         visible: false,
         disableSubmit: false
       }