Commit 896b2ebf by yuzhenWang

给客户加Id

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