|
|
@@ -78,7 +78,8 @@
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
<view v-else class="empty-quotes-view">
|
|
|
- <text style="font-size:12upx;">正在获取运费...</text>
|
|
|
+ <text style="font-size:12upx;color:red;" v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)">请先完善客户地址</text>
|
|
|
+ <text style="font-size:12upx;" v-else>正在获取运费...</text>
|
|
|
</view>
|
|
|
|
|
|
<view class="select-item_box">
|
|
|
@@ -562,11 +563,12 @@ export default {
|
|
|
this.form.sendType = val
|
|
|
if (val !== 2) {
|
|
|
this.$util.hitVoice()
|
|
|
-
|
|
|
this.clearDeliveryList();
|
|
|
} else {
|
|
|
if (this.openIntraCity == 1) {
|
|
|
- this.getDeliveryQuotes();
|
|
|
+ //将上次的跑腿选项清掉
|
|
|
+ this.deliveryQuotes = []
|
|
|
+ this.getDeliveryQuotes()
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -653,11 +655,9 @@ export default {
|
|
|
getDeliveryQuotes() {
|
|
|
console.log('getDeliveryQuotes', Number(this.customId));
|
|
|
if(Number(this.customId) === 0){
|
|
|
- //this.$msg('请先选择客户');
|
|
|
return false;
|
|
|
}
|
|
|
if (this.isAddressInvalid) {
|
|
|
- //this.$msg('客户地址不完善,无法发跑腿');
|
|
|
return false;
|
|
|
}
|
|
|
|