|
@@ -360,7 +360,11 @@ function newTask(item: any) {
|
|
|
function editCustomerSave(flag: boolean) {
|
|
|
customerTemplateRef.value?.getData().then((res: any) => {
|
|
|
allLoading.editCustomerSaveLoading = true
|
|
|
- post(URL_EDITSAVE, { ...res }).then((_res) => {
|
|
|
+ let formVal = {
|
|
|
+ ...customerTemplateValue.value,
|
|
|
+ ...res
|
|
|
+ }
|
|
|
+ post(URL_EDITSAVE, { ...formVal }).then((_res) => {
|
|
|
allVisible.editCustomerVisible = flag
|
|
|
globalPopup?.showSuccess('保存成功')
|
|
|
if (flag) {
|