提交测试
This commit is contained in:
@@ -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('保存成功')
|
||||||
|
|||||||
Reference in New Issue
Block a user