From fd97b4cb2c2ff9f8eca55a29cb3105a547b3c660 Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Mon, 30 Mar 2026 21:01:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionManagement/deductionPreserve/editDialog.vue | 2 +- src/views/productionManagement/deductionPreserve/index.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/productionManagement/deductionPreserve/editDialog.vue b/src/views/productionManagement/deductionPreserve/editDialog.vue index 2f667c6..c59683d 100644 --- a/src/views/productionManagement/deductionPreserve/editDialog.vue +++ b/src/views/productionManagement/deductionPreserve/editDialog.vue @@ -37,7 +37,7 @@ export default { column: [ { label: '订单号', - prop: 'woId', + prop: 'woCode', span: 12, disabled: true, }, diff --git a/src/views/productionManagement/deductionPreserve/index.vue b/src/views/productionManagement/deductionPreserve/index.vue index 3eec4df..5f6d81a 100644 --- a/src/views/productionManagement/deductionPreserve/index.vue +++ b/src/views/productionManagement/deductionPreserve/index.vue @@ -215,10 +215,14 @@ export default { this.loading = true; getWorkOrderByCardNo({ cardNo: this.cardNo }) .then(res => { - if (res.data.data) { + this.cardNo = ''; + if (Object.keys(res.data.data).length != 0) { this.rowItem = res.data.data; this.editOpen = true; this.loading = false; + } else { + this.loading = false; + this.$message.error('未找到该流程卡号!'); } }) .catch(err => {