From d616123cea5eaa3ad80a5012846ad68e524bb703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Fri, 19 May 2023 19:48:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=95=86=E5=93=81=E5=92=8C=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=BA=93=E5=AD=98=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BB=93=E4=BD=8D=E8=B4=A7=E6=9E=B6=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/material/MaterialList.vue | 1 + jshERP-web/src/views/material/modules/MaterialModal.vue | 8 +++++++- jshERP-web/src/views/report/MaterialStock.vue | 5 +++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/jshERP-web/src/views/material/MaterialList.vue b/jshERP-web/src/views/material/MaterialList.vue index 126c6fd9..44c57b4a 100644 --- a/jshERP-web/src/views/material/MaterialList.vue +++ b/jshERP-web/src/views/material/MaterialList.vue @@ -269,6 +269,7 @@ {title: '零售价', dataIndex: 'commodityDecimal', width: 80}, {title: '销售价', dataIndex: 'wholesaleDecimal', width: 80}, {title: '最低售价', dataIndex: 'lowDecimal', width: 80}, + {title: '仓位货架', dataIndex: 'position', width: 80}, {title: '备注', dataIndex: 'remark', width: 80}, {title: '状态', dataIndex: 'enabled', align: "center", width: 60, scopedSlots: { customRender: 'customRenderEnabled' } diff --git a/jshERP-web/src/views/material/modules/MaterialModal.vue b/jshERP-web/src/views/material/modules/MaterialModal.vue index 73e2f1b3..99d07062 100644 --- a/jshERP-web/src/views/material/modules/MaterialModal.vue +++ b/jshERP-web/src/views/material/modules/MaterialModal.vue @@ -116,6 +116,12 @@ + + + + + @@ -461,7 +467,7 @@ } this.$nextTick(() => { this.form.setFieldsValue(pick(this.model, 'name', 'standard', 'unit', 'unitId', 'model', 'color', - 'categoryId','enableSerialNumber','enableBatchNumber','expiryNum','weight','remark','mfrs','otherField1','otherField2','otherField3')) + 'categoryId','enableSerialNumber','enableBatchNumber','position','expiryNum','weight','remark','mfrs','otherField1','otherField2','otherField3')) autoJumpNextInput('materialHeadModal') autoJumpNextInput('materialDetailModal') }); diff --git a/jshERP-web/src/views/report/MaterialStock.vue b/jshERP-web/src/views/report/MaterialStock.vue index 467ecad9..92d17db7 100644 --- a/jshERP-web/src/views/report/MaterialStock.vue +++ b/jshERP-web/src/views/report/MaterialStock.vue @@ -165,8 +165,9 @@ {title: '名称', dataIndex: 'name', width: 140, ellipsis:true}, {title: '规格', dataIndex: 'standard', width: 100, ellipsis:true}, {title: '型号', dataIndex: 'model', width: 100, ellipsis:true}, - {title: '颜色', dataIndex: 'color', width: 80, ellipsis:true}, - {title: '类别', dataIndex: 'categoryName', width: 80, ellipsis:true}, + {title: '颜色', dataIndex: 'color', width: 60, ellipsis:true}, + {title: '类别', dataIndex: 'categoryName', width: 60, ellipsis:true}, + {title: '仓位货架', dataIndex: 'position', width: 60, ellipsis:true}, {title: '单位', dataIndex: 'unitName', width: 60, ellipsis:true}, {title: '单价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60}, {title: '初始库存', dataIndex: 'initialStock', sorter: (a, b) => a.initialStock - b.initialStock, width: 60},