|
|
@@ -444,7 +444,7 @@ export default {
|
|
|
*/
|
|
|
displaySendCost(){
|
|
|
if(this.form.sendType == 2){
|
|
|
- if(this.ghsInfo.openIntraCity==0){
|
|
|
+ if(this.ghsInfo.openIntraCity == 0){
|
|
|
return false
|
|
|
}else{
|
|
|
return true
|
|
|
@@ -604,10 +604,11 @@ export default {
|
|
|
this.form.sendType = num
|
|
|
if(num == 2){
|
|
|
//计算运费
|
|
|
- //this.calcFreight()
|
|
|
-
|
|
|
- //各跑腿平台报价
|
|
|
- this.getDeliveryQuotes()
|
|
|
+ //this.calcFreight() //废弃
|
|
|
+
|
|
|
+ if(this.displaySendCost){
|
|
|
+ this.getDeliveryQuotes()//各跑腿平台报价
|
|
|
+ }
|
|
|
} else {
|
|
|
// 切换到其他配送方式时清空报价数据
|
|
|
this.deliveryQuotes = []
|