|
|
@@ -52,9 +52,7 @@
|
|
|
<el-button type="primary" @click="printOrderFn(index)"
|
|
|
>有配送单</el-button
|
|
|
>
|
|
|
- <el-button type="primary" @click="fillFormFn"
|
|
|
- >填单</el-button
|
|
|
- >
|
|
|
+ <el-button type="primary" @click="fillFormFn">填单</el-button>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
<!-- <span>配送用户信息</span> -->
|
|
|
@@ -579,9 +577,9 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
addressFn(item) {
|
|
|
- console.log(item);
|
|
|
this.orderForm.latitude = item.location.lat;
|
|
|
this.orderForm.longitude = item.location.lng;
|
|
|
+ this.orderForm.receiveAddress = item.title;
|
|
|
},
|
|
|
submitOrderFn() {
|
|
|
this.$service.order
|
|
|
@@ -636,6 +634,8 @@ export default {
|
|
|
// 填单
|
|
|
fillFormFn() {
|
|
|
this.orderDialog = true;
|
|
|
+ const { shopProvince, shopCity } = this.relateData.merchant;
|
|
|
+ this.addressArr = [shopProvince, shopCity];
|
|
|
},
|
|
|
// 发货
|
|
|
sendShipFn() {
|