From 75a0dc33ced05bb55263730dedece0a041ceb08a Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 24 Jul 2024 15:01:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=B0=8F=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mtm/routepack_form.vue | 3 +- src/views/pum/supplier.vue | 282 ++++++++++++++++++------------- src/views/wpm_gx/mlog_detail.vue | 2 + src/views/wpm_gx/mlog_form.vue | 27 +++ src/views/wpm_gx/mlogb_form.vue | 23 ++- 5 files changed, 219 insertions(+), 118 deletions(-) diff --git a/src/views/mtm/routepack_form.vue b/src/views/mtm/routepack_form.vue index f226d646..ae72997c 100644 --- a/src/views/mtm/routepack_form.vue +++ b/src/views/mtm/routepack_form.vue @@ -48,11 +48,12 @@ diff --git a/src/views/pum/supplier.vue b/src/views/pum/supplier.vue index e571a1af..29f6984d 100644 --- a/src/views/pum/supplier.vue +++ b/src/views/pum/supplier.vue @@ -1,121 +1,175 @@ \ No newline at end of file + diff --git a/src/views/wpm_gx/mlog_detail.vue b/src/views/wpm_gx/mlog_detail.vue index cb21d9a8..5e5da294 100644 --- a/src/views/wpm_gx/mlog_detail.vue +++ b/src/views/wpm_gx/mlog_detail.vue @@ -188,6 +188,7 @@ ref="saveDialog" :mlog="mlogId" :mgroup="mgroup" + :materialIn="materialIn" @success="handleSaveSuccess" @closed="dialog.save = false" > @@ -330,6 +331,7 @@ export default { that.$API.wpm.mlog.item.req(that.mlogId).then((res) => { that.mlogItem = res; that.mgroup = res.mgroup; + that.materialIn = res.material_in; that.belongDeptId = res.belong_dept; }); }, diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index 4f96810c..18dcb787 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -130,6 +130,26 @@ + + + + + + + + - {{ item.material_out_name }} + @@ -46,6 +46,15 @@ :label="item.batch" :value="item.id" > +
+ {{ item.batch }}{{ item.count }} +
@@ -86,6 +95,10 @@ export default { type: String, default: "", }, + materialIn: { + type: String, + default: "", + }, }, emits: ["success", "closed"], data() { @@ -142,7 +155,11 @@ export default { getMaterial() { let that = this; this.$API.wpm.wmaterial.list - .req({ mgroupx: that.mgroup, page: 0 }) + .req({ + mgroupx: that.mgroup, + material: that.materialIn, + page: 0, + }) .then((res) => { that.materialOptions = res; });