Commit c7fa0242 by yuzhenWang

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

给客户加Id

See merge request !72
parents 83cf4e8c 896b2ebf
...@@ -1506,6 +1506,7 @@ const handleFormValues = source => { ...@@ -1506,6 +1506,7 @@ const handleFormValues = source => {
} }
if (props.customerBizId && props.activeName == 'customer') { if (props.customerBizId && props.activeName == 'customer') {
submitObj['fnaBizId'] = props.idsObj.fnaBizId
editCustomer(submitObj).then(res => { editCustomer(submitObj).then(res => {
if (res.code == 200) { if (res.code == 200) {
handleEditStatus() handleEditStatus()
...@@ -1520,6 +1521,7 @@ const handleFormValues = source => { ...@@ -1520,6 +1521,7 @@ const handleFormValues = source => {
} else if (!props.customerBizId && props.activeName == 'customer') { } else if (!props.customerBizId && props.activeName == 'customer') {
addFna({ remark: '' }).then(response => { addFna({ remark: '' }).then(response => {
if (response.code == 200) { if (response.code == 200) {
submitObj['fnaBizId'] = response.data.fnaBizId
addCustomer(submitObj).then(res => { addCustomer(submitObj).then(res => {
if (res.code == 200) { if (res.code == 200) {
proxy.$message.success('客户新增成功') proxy.$message.success('客户新增成功')
......
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
:tabIndex="tabsList.findIndex(t => t.name === 'customer')" :tabIndex="tabsList.findIndex(t => t.name === 'customer')"
anchorContainer=".tabPaneBox" anchorContainer=".tabPaneBox"
tabSource="customer" tabSource="customer"
:idsObj="processInfo"
/> />
<div v-if="tab.name === 'fnaform'"> <div v-if="tab.name === 'fnaform'">
<FanForm <FanForm
......
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