From 49ec348948532b568c3cb134e8a7003b4290ee4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yinjinlu-pc=5C=E5=B0=B9=E9=87=91=E8=B7=AF?= <411641505@qq.com> Date: Thu, 16 Jan 2025 17:51:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E5=8D=95=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E4=BB=8ECONFIRMED=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?FINISHED=EF=BC=9B=E4=BA=A7=E5=93=81=E5=85=A5=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9F=A5=E7=9C=8B=E9=A1=B5=E9=9D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/qc/ipqc/index.vue | 2 +- src/views/mes/wm/productrecpt/index.vue | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/views/mes/qc/ipqc/index.vue b/src/views/mes/qc/ipqc/index.vue index 934e161..68aacdf 100644 --- a/src/views/mes/qc/ipqc/index.vue +++ b/src/views/mes/qc/ipqc/index.vue @@ -639,7 +639,7 @@ export default { this.$refs["form"].validate(valid => { if (valid) { this.$modal.confirm('是否完成检验单编制?【完成后将不能更改】').then(function(){ - that.form.status = 'CONFIRMED'; + that.form.status = 'FINISHED'; that.submitForm(); that.open = false; }); diff --git a/src/views/mes/wm/productrecpt/index.vue b/src/views/mes/wm/productrecpt/index.vue index 0834df5..b4bc749 100644 --- a/src/views/mes/wm/productrecpt/index.vue +++ b/src/views/mes/wm/productrecpt/index.vue @@ -87,7 +87,15 @@ - + + + @@ -389,6 +397,7 @@ export default { this.reset(); this.open = true; this.title = "添加产品入库单"; + this.optType = 'add' }, /** 修改按钮操作 */ handleUpdate(row) { @@ -398,6 +407,18 @@ export default { this.form = response.data; this.open = true; this.title = "修改产品入库单"; + this.optType = 'edit' + }); + }, + /** 查看单据 */ + handleView(row) { + this.reset(); + const recptId = row.recptId || this.ids + getProductrecpt(recptId).then(response => { + this.form = response.data; + this.open = true; + this.title = "查看产品入库单"; + this.optType = 'view' }); }, //执行入库