Ver Fonte

当openIntraCity=0时,还是会请求跑腿询价接口的bug修复

shizhongqi há 8 meses atrás
pai
commit
80c924c153
1 ficheiros alterados com 6 adições e 5 exclusões
  1. 6 5
      hdApp/src/admin/billing/affirmGhs.vue

+ 6 - 5
hdApp/src/admin/billing/affirmGhs.vue

@@ -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 = []