From a37fcfa0b0b1f8aa5f07b166b70ed88be7765771 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 3 Dec 2024 17:33:33 +0800 Subject: [PATCH] =?UTF-8?q?wms=E7=99=BD=E5=9D=AF=E5=8E=9F=E6=9D=90?= =?UTF-8?q?=E6=96=99=E9=87=87=E8=B4=AD=E5=8D=95=E4=BF=AE=E6=94=B9=E6=8C=89?= =?UTF-8?q?=E9=92=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/bpprocure/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wms/bpprocure/index.vue b/src/views/wms/bpprocure/index.vue index 9ddcdd2..6010f95 100644 --- a/src/views/wms/bpprocure/index.vue +++ b/src/views/wms/bpprocure/index.vue @@ -299,7 +299,7 @@ export default { // 表单重置 reset() { this.form = { - ID: null, + id: null, procureCode: null, materialCode: null, materialName: null, @@ -341,8 +341,8 @@ export default { /** 修改按钮操作 */ handleUpdate(row) { this.reset(); - const ID = row.id || this.ids - getBpprocure(ID).then(response => { + const id = row.id || this.ids + getBpprocure(id).then(response => { this.form = response.data; this.open = true; this.title = "修改白坯原材料采购单"; @@ -352,7 +352,7 @@ export default { submitForm() { this.$refs["form"].validate(valid => { if (valid) { - if (this.form.ID != null) { + if (this.form.id != null) { updateBpprocure(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false;