From df5410dc4211570d16843d613cb0a07e7375c149 Mon Sep 17 00:00:00 2001 From: shijing Date: Wed, 30 Jul 2025 15:54:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=87=BA=E5=85=A5=E5=BA=93=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=B7=BB=E5=8A=A0=E9=80=80=E8=BF=98=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/inm_record.vue | 16 +- src/views/wpm_gx/inm_record_form.vue | 517 ++++++++++++++++++--------- 2 files changed, 355 insertions(+), 178 deletions(-) diff --git a/src/views/wpm_gx/inm_record.vue b/src/views/wpm_gx/inm_record.vue index 7aa10c22..546bf113 100644 --- a/src/views/wpm_gx/inm_record.vue +++ b/src/views/wpm_gx/inm_record.vue @@ -135,8 +135,9 @@ icon="el-icon-plus" @click="table_add" > - + - + - + @@ -337,7 +338,12 @@ export default { mio_user: "", }, stateDict: {10: "创建中",20: "已提交",}, - typeDict:{'do_in':'生产入库','do_out':'生产领料'}, + typeDict:{ + 'do_in':'生产入库', + 'do_out':'生产领料', + 'borrow_out': "领用出库", + 'return_in': "退还入库" + }, apiworkerObj: null, materials: [], apiObj: null, @@ -362,6 +368,7 @@ export default { }; }, mounted() { + this.active = 0; this.isSaveing = false; this.form.mgroup = this.mgroupId; this.form.type = this.cate; @@ -413,6 +420,7 @@ export default { //车间人员 getDeptUsers() { let that = this; + that.userList = []; let userInfo = that.$TOOL.data.get("USER_INFO"); that.$API.system.user.list.req({ depts: that.deptId, page: 0 }).then((res) => { that.userOptions = res; diff --git a/src/views/wpm_gx/inm_record_form.vue b/src/views/wpm_gx/inm_record_form.vue index 54cc9fe2..e8ba3213 100644 --- a/src/views/wpm_gx/inm_record_form.vue +++ b/src/views/wpm_gx/inm_record_form.vue @@ -12,182 +12,273 @@ :rules="rules" label-width="120px" > - - - + + - {{ item.full_name }} - - - - - - - - {{item.material_.name}}|{{ item.batch }} - {{ item.defect_name }} - {{ item.count }} - - - - - - - - - - - {{ item.batch }} - {{ item.count }} -- {{ item.warehouse_name }} - - - - - - -