From d46b0b2b0cc4f3ec9906e6b055b516a9dbd73f96 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Wed, 10 Jan 2024 12:41:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=8D=95=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E7=95=8C=E9=9D=A2=E5=BA=8F=E5=88=97=E5=8F=B7=E8=BF=87?= =?UTF-8?q?=E9=95=BF=E5=AF=BC=E8=87=B4=E5=8F=98=E5=BD=A2=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bill/dialog/BillDetail.vue | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/jshERP-web/src/views/bill/dialog/BillDetail.vue b/jshERP-web/src/views/bill/dialog/BillDetail.vue index d776e47c..777b50ae 100644 --- a/jshERP-web/src/views/bill/dialog/BillDetail.vue +++ b/jshERP-web/src/views/bill/dialog/BillDetail.vue @@ -1190,7 +1190,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1210,7 +1210,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1249,7 +1249,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1273,7 +1273,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1316,7 +1316,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1340,7 +1340,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1364,7 +1364,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1384,7 +1384,7 @@ { title: '扩展信息', dataIndex: 'materialOther'}, { title: '库存', dataIndex: 'stock'}, { title: '单位', dataIndex: 'unit'}, - { title: '序列号', dataIndex: 'snList'}, + { title: '序列号', dataIndex: 'snList', width:300}, { title: '批号', dataIndex: 'batchNumber'}, { title: '有效期', dataIndex: 'expirationDate'}, { title: '多属性', dataIndex: 'sku'}, @@ -1533,6 +1533,9 @@ let info = {} info.title = this.defColumns[i].title info.dataIndex = this.defColumns[i].dataIndex + if(this.defColumns[i].width) { + info.width = this.defColumns[i].width + } if(this.defColumns[i].dataIndex === 'finishNumber') { info.title = '已采购' } @@ -1551,6 +1554,9 @@ let info = {} info.title = this.defColumns[i].title info.dataIndex = this.defColumns[i].dataIndex + if(this.defColumns[i].width) { + info.width = this.defColumns[i].width + } if(this.defColumns[i].dataIndex === 'barCode') { info.scopedSlots = { customRender: 'customBarCode' } } @@ -1561,6 +1567,9 @@ let info = {} info.title = this.defColumns[i].title info.dataIndex = this.defColumns[i].dataIndex + if(this.defColumns[i].width) { + info.width = this.defColumns[i].width + } currentCol.push(info) } }