Browse Source

页面展示bug处理

oyq28 3 years ago
parent
commit
6e73ac0362

+ 2 - 2
imcs-ui/src/views/zuihou/prepareProductMgr/technologyMgr/components/TechnologyTable.vue

@@ -22,14 +22,14 @@
       @selection-change="onSelectChange"
       @cell-click="cellClick"
     >
-    	<el-table-column :label='$t("common.serialNo")' width="55px" align="center">
+    	<el-table-column :label='$t("common.serialNo")'  align="center">
 	      <template slot-scope="scope">
 	        <div>
 	          {{scope.$index+(queryParams.current - 1) * queryParams.size + 1}}
 	        </div>
 	      </template>
       </el-table-column>
-      <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
+      <el-table-column align="center" type="selection"  :reserve-selection="true" />
       <el-table-column v-for="item in tableData.titleList" :key="item.id" :prop="item.field" :label='item.text' :show-overflow-tooltip="true" ></el-table-column>
     </el-table>
     

+ 1 - 1
imcs-ui/src/views/zuihou/prepareProductMgr/technologyVersion/components/TechnologyTable.vue

@@ -31,7 +31,7 @@
 	      </template>
       </el-table-column>
       <el-table-column align="center" type="selection" width="50" :reserve-selection="true" />
-      <el-table-column v-for="item in tableData.titleList" :key="item.id" :prop="item.field" :label='item.text' :show-overflow-tooltip="true" width="180px"></el-table-column>
+      <el-table-column v-for="item in tableData.titleList" :key="item.id" :prop="item.field" :label='item.text' :show-overflow-tooltip="true"></el-table-column>
       <!--<el-table-column prop="name" :label='$t("prepare.table.techno.name")' :show-overflow-tooltip="true"></el-table-column>
       <el-table-column prop="status" :label='$t("prepare.table.techno.name2")' align="center" width="90px">
       	<template slot-scope="{ row }">

+ 1 - 1
imcs-ui/src/views/zuihou/prepareProductMgr/technologyVersion/components/technologyMgr/index.vue

@@ -37,7 +37,7 @@
           		<el-input-number v-model="row.sort" :min="1" :max="100" :placeholder='$t("common.pleaseEnter")'></el-input-number>
            </template>
       	</el-table-column>
-      	<el-table-column v-for="item in tableData.titleList" :key="item.id" :prop="item.identifier" :label='item.fieldName' :show-overflow-tooltip="true" :width="item.formControlsType == 'inputNumber' ? '200px' : '180px'">
+      	<el-table-column v-for="item in tableData.titleList" :key="item.id" :prop="item.identifier" :label='item.fieldName' :show-overflow-tooltip="true" >
       		<template slot="header">			   
 			   <span>{{ item.fieldName }}</span>
 			   <span v-if="item.identifier!='remark'" class="star">*</span>