From 645949ebfec21ab52abe906f27a8442609c3f8b2 Mon Sep 17 00:00:00 2001 From: wuweihua <88888888> Date: Thu, 10 Sep 2026 16:15:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bms-front/src/views/price/set/detail.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bms-front/src/views/price/set/detail.vue b/bms-front/src/views/price/set/detail.vue index 3ef3edd3..a60724f8 100644 --- a/bms-front/src/views/price/set/detail.vue +++ b/bms-front/src/views/price/set/detail.vue @@ -617,7 +617,7 @@ function removeDetail(row) { function onCustomerSelectChange(code, item) { customerForm.value.customerCode = code || undefined customerForm.value.customerName = item ? item.customerName : '' - customerForm.value.customerId = undefined + customerForm.value.customerId = item ? item.customerId : undefined } function openCustomerDialog(row) { @@ -643,6 +643,7 @@ function submitCustomer() { customerId: customerForm.value.customerId, customerCode: customerForm.value.customerCode } + console.log('submitCustomer', payload) const req = payload.customerPricesetId ? updateSetCustomer(payload) : addSetCustomer(payload) req.then(() => { proxy.$modal.msgSuccess('保存成功')