|
|
@ -835,7 +835,8 @@ |
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-footer style="height:40px; margin-top: 10px; text-align:center"> |
|
|
<el-footer style="height:40px; margin-top: 10px; text-align:center"> |
|
|
<el-button type="primary" @click="updateCustomerInfo()">保存</el-button> |
|
|
|
|
|
|
|
|
<el-button type="primary" @click="updateCustomerInfo('')">仅保存客户信息</el-button> |
|
|
|
|
|
<el-button type="primary" @click="updateCustomerInfo(customerInfoModel.templateNo)">保存并修改模版</el-button> |
|
|
<el-button @click="customerInfoDialogFlag = false">关闭</el-button> |
|
|
<el-button @click="customerInfoDialogFlag = false">关闭</el-button> |
|
|
</el-footer> |
|
|
</el-footer> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
@ -3018,6 +3019,7 @@ |
|
|
overseasAddress: this.currentRow.overseasAddress || '', |
|
|
overseasAddress: this.currentRow.overseasAddress || '', |
|
|
salesArea: this.currentRow.salesArea || '', |
|
|
salesArea: this.currentRow.salesArea || '', |
|
|
cnative: this.currentRow.cnative || '', |
|
|
cnative: this.currentRow.cnative || '', |
|
|
|
|
|
templateNo: this.currentRow.templateNo || '', |
|
|
templateName: '' |
|
|
templateName: '' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -3027,7 +3029,7 @@ |
|
|
/** |
|
|
/** |
|
|
* 更新客户信息 |
|
|
* 更新客户信息 |
|
|
*/ |
|
|
*/ |
|
|
updateCustomerInfo() { |
|
|
|
|
|
|
|
|
updateCustomerInfo(templateNo) { |
|
|
// 验证必填字段 |
|
|
// 验证必填字段 |
|
|
if (!this.customerInfoModel.customerName) { |
|
|
if (!this.customerInfoModel.customerName) { |
|
|
this.$message.warning('请填写客户名称') |
|
|
this.$message.warning('请填写客户名称') |
|
|
@ -3038,6 +3040,7 @@ |
|
|
const updateData = { |
|
|
const updateData = { |
|
|
site: this.currentRow.site, |
|
|
site: this.currentRow.site, |
|
|
delNo: this.currentRow.delNo, |
|
|
delNo: this.currentRow.delNo, |
|
|
|
|
|
templateNo : templateNo, |
|
|
customerName: this.customerInfoModel.customerName, |
|
|
customerName: this.customerInfoModel.customerName, |
|
|
localShipAddress: this.customerInfoModel.localShipAddress, |
|
|
localShipAddress: this.customerInfoModel.localShipAddress, |
|
|
overseasShipper: this.customerInfoModel.overseasShipper, |
|
|
overseasShipper: this.customerInfoModel.overseasShipper, |
|
|
|