From 1698b1fd8abf7288f05e7883b47a5a21fdaf20f7 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, 29 Oct 2021 19:52:38 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=89=E5=85=A8=E5=BA=93?=
=?UTF-8?q?=E5=AD=98=EF=BC=8C=E8=B0=83=E6=95=B4=E4=B8=BA=E6=AF=8F=E4=B8=AA?=
=?UTF-8?q?=E4=BB=93=E5=BA=93=E7=9A=84=E5=AE=89=E5=85=A8=E5=BA=93=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/material/MaterialList.vue | 2 +-
.../views/material/modules/MaterialModal.vue | 24 ++++++++++++-------
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/jshERP-web/src/views/material/MaterialList.vue b/jshERP-web/src/views/material/MaterialList.vue
index 7bfbc9424..caec786bb 100644
--- a/jshERP-web/src/views/material/MaterialList.vue
+++ b/jshERP-web/src/views/material/MaterialList.vue
@@ -168,7 +168,7 @@
{title: '单位', dataIndex: 'unit', width: '6%',
scopedSlots: { customRender: 'customRenderUnit' }
},
- {title: '安全存量', dataIndex: 'safetyStock', width: '5%'},
+ {title: '保质期', dataIndex: 'expiryNum', width: '4%'},
{title: '库存', dataIndex: 'stock', width: '5%'},
{title: '采购价', dataIndex: 'purchaseDecimal', width: '5%'},
{title: '零售价', dataIndex: 'commodityDecimal', width: '5%'},
diff --git a/jshERP-web/src/views/material/modules/MaterialModal.vue b/jshERP-web/src/views/material/modules/MaterialModal.vue
index 7f1cd91ab..3659f26d3 100644
--- a/jshERP-web/src/views/material/modules/MaterialModal.vue
+++ b/jshERP-web/src/views/material/modules/MaterialModal.vue
@@ -67,15 +67,15 @@
-
-
+
+
-
-
+
+
@@ -227,7 +227,7 @@
-
+
{
this.form.setFieldsValue(pick(this.model, 'name', 'standard', 'unit', 'unitId', 'model', 'color',
- 'categoryId','enableSerialNumber','enableBatchNumber','expiryNum','safetyStock','remark','mfrs','otherField1','otherField2','otherField3'))
+ 'categoryId','enableSerialNumber','enableBatchNumber','expiryNum','weight','remark','mfrs','otherField1','otherField2','otherField3'))
autoJumpNextInput('materialHeadModal')
autoJumpNextInput('materialDetailModal')
});