diff --git a/pages/home/index.vue b/pages/home/index.vue index 089d60e..ba58a68 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -13,7 +13,7 @@ - + diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue index 33c9cd6..638aace 100644 --- a/pages/order/OrderSubmission/index.vue +++ b/pages/order/OrderSubmission/index.vue @@ -522,6 +522,7 @@ export default { if (this.$deviceType == "app") { from.from = "app"; } + console.log(this.storeItems, this.systemStore); createOrder(this.orderGroupInfo.orderKey, { realName: this.contacts, phone: this.contactsTel, @@ -536,7 +537,7 @@ export default { from: this.from, mark: this.mark || "", shippingType: parseInt(shipping_type) + 1, - storeId: this.storeItems.id || this.systemStore.id, + storeId: this.storeItems ? this.storeItems.id : this.systemStore.id, ...from }) .then(res => {