Commit b49063ba by yuzhenWang

Merge branch 'feature-20250827wyz-写业务' into 'test'

Feature 20250827wyz 写业务

See merge request !77
parents 848979d5 63da828a
...@@ -1507,6 +1507,7 @@ const handleFormValues = source => { ...@@ -1507,6 +1507,7 @@ const handleFormValues = source => {
if (props.customerBizId && props.activeName == 'customer') { if (props.customerBizId && props.activeName == 'customer') {
submitObj['fnaBizId'] = props.idsObj.fnaBizId submitObj['fnaBizId'] = props.idsObj.fnaBizId
editCustomer(submitObj).then(res => { editCustomer(submitObj).then(res => {
if (res.code == 200) { if (res.code == 200) {
handleEditStatus() handleEditStatus()
...@@ -1606,14 +1607,15 @@ watch( ...@@ -1606,14 +1607,15 @@ watch(
editStatus.value = false editStatus.value = false
customerRightRef.value = null customerRightRef.value = null
if (newVal === 'customer') { if (newVal === 'customer') {
if (JSON.stringify(customerForm.value) != '{}') {
form.value = JSON.parse(JSON.stringify(customerForm.value))
processedCustomerData.value = JSON.parse(JSON.stringify(tempCustomerDom.value))
return
} else {
processFormData() processFormData()
} // if (JSON.stringify(customerForm.value) != '{}') {
// form.value = JSON.parse(JSON.stringify(customerForm.value))
// processedCustomerData.value = JSON.parse(JSON.stringify(tempCustomerDom.value))
// return
// } else {
// processFormData()
// }
// 因为客户资料里的编辑状态是单独控制的 // 因为客户资料里的编辑状态是单独控制的
if (props.tabSource == 'customer' && props.customerBizId) { if (props.tabSource == 'customer' && props.customerBizId) {
editStatus.value = true editStatus.value = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment