From a29ed519245c178cbc3c2db6f9a47451add87257 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 03 四月 2025 16:21:30 +0800 Subject: [PATCH] 对象零件号绑定修改 --- src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue | 4 ++-- src/views/business/materialOrder/customsInspection.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue index 148f25b..a5e3baa 100644 --- a/src/views/business/materialOrder/customsInspection.vue +++ b/src/views/business/materialOrder/customsInspection.vue @@ -1462,6 +1462,7 @@ this.sample.insulating = null this.sample.sheath = null this.sample.quantity = 1 + console.log(2222, codeLevel, data) if (codeLevel === '[5]') { this.sample.model = this.addObj.sample } else if (codeLevel === '[4]') { diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue index 8d13703..20a857f 100644 --- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue +++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/bindPartDialog.vue @@ -142,7 +142,7 @@ type: "warning", }) .then(() => { - productPartReview({ id: row.id }).then((res) => { + productPartReview({ id: row.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧' }).then((res) => { if (res.code == 200) { this.$message.success("澶嶆牳閫氳繃"); this.getList(); @@ -268,7 +268,7 @@ }, getEditList() { this.tableLoading0 = true - productPartLogList({ id: this.currentPart.id, ...this.editPage }).then(res => { + productPartLogList({ id: this.currentPart.id, type: this.type == 0 ? '瀵硅薄' : '浜у搧', ...this.editPage }).then(res => { this.tableLoading0 = false if (res.code == 200) { this.editList = res.data.records -- Gitblit v1.9.3