|
@@ -494,7 +494,20 @@ import { getTcmScheduleList } from "@/api/company/tcmScheduleReport";
|
|
|
import {getCustomerListBySearch } from "@/api/crm/customer";
|
|
|
import ImageUpload from '@/components/ImageUpload'
|
|
|
import Material from '@/components/Material'
|
|
|
-import {bindCustomer,getExpress, listStoreOrder, getStoreOrder, delStoreOrder, addStoreOrder, updateStoreOrder, exportStoreOrder,uploadCredentials, getStoreOrderAddress,getUserPhone} from "@/api/hisStore/storeOrder";
|
|
|
+import {
|
|
|
+ bindCustomer,
|
|
|
+ getExpress,
|
|
|
+ listStoreOrder,
|
|
|
+ getStoreOrder,
|
|
|
+ delStoreOrder,
|
|
|
+ addStoreOrder,
|
|
|
+ updateStoreOrder,
|
|
|
+ exportStoreOrder,
|
|
|
+ uploadCredentials,
|
|
|
+ getStoreOrderAddress,
|
|
|
+ getUserPhone,
|
|
|
+ updateAddressErpFsStoreOrder
|
|
|
+} from "@/api/hisStore/storeOrder";
|
|
|
import {getCitys} from "@/api/hisStore/city";
|
|
|
import customerDetails from '../../crm/components/customerDetails.vue';
|
|
|
import addSms from '../../crm/components/addSms.vue';
|
|
@@ -907,7 +920,7 @@ export default {
|
|
|
this.$refs["editAddressForm"].validate(valid => {
|
|
|
if (valid) {
|
|
|
this.editAddressForm.userAddress=this.editAddressForm.province+" "+this.editAddressForm.city+" "+this.editAddressForm.district+" "+this.editAddressForm.detail;
|
|
|
- updateStoreOrder(this.editAddressForm).then(response => {
|
|
|
+ updateAddressErpFsStoreOrder(this.editAddressForm).then(response => {
|
|
|
if (response.code === 200) {
|
|
|
this.msgSuccess("修改成功");
|
|
|
this.editAddress.open = false;
|