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},