Browse Source

修改bug

chenrui 2 months ago
parent
commit
20dd1edd50

+ 6 - 6
src/views/productManagement/foreignTradeGoods/chooseImportModal.vue

@@ -19,7 +19,7 @@
         :columns="nowColumns"
         :dataSource="loadData"
         :loading="loading"
-        :scroll="{ y: 600 }"
+        :scroll="{ y: 500 }"
         :pagination="false"
         bordered>
       </a-table>
@@ -69,8 +69,8 @@ export default {
     return {
       isShow: this.openModal, //  是否打开弹框
       nowColumns: [
-        { title: '序号', dataIndex: 'no', width: '8%', align: 'center' },
-        { title: '查询码', dataIndex: 'queryCode', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '序号', dataIndex: 'no', width: '6%', align: 'center' },
+        { title: '查询码', dataIndex: 'queryCode', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: 'OE码', dataIndex: 'oeCode', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '大厂码',
           children: [
@@ -94,9 +94,9 @@ export default {
         { title: '产品名称', dataIndex: 'productEntity.name', align: 'left', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '产品编码', dataIndex: 'productEntity.code', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '原厂编码', dataIndex: 'productEntity.origCode', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品一级分类', dataIndex: 'productEntity.productTypeName1', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品二级分类', dataIndex: 'productEntity.productTypeName2', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品三级分类', dataIndex: 'productEntity.productTypeName3', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品一级分类', dataIndex: 'productEntity.productTypeName1', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品二级分类', dataIndex: 'productEntity.productTypeName2', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品三级分类', dataIndex: 'productEntity.productTypeName3', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '主材料', dataIndex: 'material', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '含盒报价', dataIndex: 'priceFreeBox', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '无盒报价', dataIndex: 'priceWithBox', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }