|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
localCharge: "",
|
|
|
|
|
|
entryTime: "",
|
|
|
- supplierId: null
|
|
|
+ ghsId: null
|
|
|
},
|
|
|
showCustomer: false,
|
|
|
detailsInfo: {}
|
|
|
@@ -280,7 +280,7 @@ export default {
|
|
|
changeCustomerFn(e) {
|
|
|
console.log("changeCustomerFn", e);
|
|
|
this.supplier = e;
|
|
|
- this.form.supplierId = e.id;
|
|
|
+ this.form.ghsId = e.id;
|
|
|
// this.form.address = e.address;
|
|
|
// this.form.lat = e.location.lat;
|
|
|
// this.form.long = e.location.lng;
|
|
|
@@ -312,7 +312,7 @@ export default {
|
|
|
if (!this.getMerchantInfo) {
|
|
|
await this.initMerchantInfo();
|
|
|
}
|
|
|
- // formData.supplierId = this.getMerchantInfo.id;
|
|
|
+ // formData.ghsId = this.getMerchantInfo.id;
|
|
|
await createPurchaseOrderApi(formData);
|
|
|
this.$msg("确认成功!");
|
|
|
|