提交测试

This commit is contained in:
wuweihua
2026-09-10 16:15:29 +08:00
parent e69a6845f5
commit 645949ebfe
+2 -1
View File
@@ -617,7 +617,7 @@ function removeDetail(row) {
function onCustomerSelectChange(code, item) { function onCustomerSelectChange(code, item) {
customerForm.value.customerCode = code || undefined customerForm.value.customerCode = code || undefined
customerForm.value.customerName = item ? item.customerName : '' customerForm.value.customerName = item ? item.customerName : ''
customerForm.value.customerId = undefined customerForm.value.customerId = item ? item.customerId : undefined
} }
function openCustomerDialog(row) { function openCustomerDialog(row) {
@@ -643,6 +643,7 @@ function submitCustomer() {
customerId: customerForm.value.customerId, customerId: customerForm.value.customerId,
customerCode: customerForm.value.customerCode customerCode: customerForm.value.customerCode
} }
console.log('submitCustomer', payload)
const req = payload.customerPricesetId ? updateSetCustomer(payload) : addSetCustomer(payload) const req = payload.customerPricesetId ? updateSetCustomer(payload) : addSetCustomer(payload)
req.then(() => { req.then(() => {
proxy.$modal.msgSuccess('保存成功') proxy.$modal.msgSuccess('保存成功')