Ver Fonte

供货商

shish há 3 anos atrás
pai
commit
8befd929e9
1 ficheiros alterados com 13 adições e 5 exclusões
  1. 13 5
      mallApp/src/pages/billing/affirmGhs.vue

+ 13 - 5
mallApp/src/pages/billing/affirmGhs.vue

@@ -38,17 +38,18 @@
 				<view class="module-com input-line-wrap">
 
 					<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
-						<button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;border:none;" @click="changeSendType(2)">跑腿送</button>
+						<button v-if="account != 4805" class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;border:none;" @click="changeSendType(2)">跑腿送</button>
 						<button class="admin-button-com big" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:180upx;border:none;"  @click="changeSendType(1)">到店自取</button>
-						<button class="admin-button-com big" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:180upx;border:none;"  @click="changeSendType(0)">免费送货</button>
+						<button v-if="account != 4805" class="admin-button-com big" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:180upx;border:none;"  @click="changeSendType(0)">免费送货</button>
 					</tui-list-cell>
 
 					<tui-list-cell class="line-cell" :hover="false" :arrow="false">
 						<view v-if="form.sendType == 0">
-							<text style="color: #3385FF;width:100%;">在本店配送范围的,免配送货上门。</text>
+							<text style="color: #3385FF;width:100%;">在本店配送范围的,免配送货上门。首次下单,请联系客服确认是否在配送范围</text>
 						</view>				
 						<view v-if="form.sendType == 1">
-							<text style="color: #3385FF;width:100%;">到店取货,没有配送费</text>
+							<text v-if="account == 4805" style="color: #3385FF;width:100%;">需要送货上门,运费另付,下单后请联系客服</text>
+							<text v-else style="color: #3385FF;width:100%;">到店取货,没有配送费</text>
 						</view>
 						<view v-if="form.sendType == 2">
 							<text style="color: #3385FF;width:100%;">请跑腿送货,有配送费</text>
@@ -159,7 +160,8 @@ export default {
       		timeOptions: [
 				['00', '01', '02','03','04','05','06','07','08','09','10','11','12','13', '14','15','16','17','18','19','20','21','22','23'],
 				['00', '05', '10','15','20','25','30','35','40','45','50','55']
-		  	]
+		  	],
+			account:0
 		};
 	},
 	onShow() {
@@ -212,6 +214,12 @@ export default {
 			this.form.reachPeriod = timeOptions[0][before]+':'+timeOptions[1][after]
 		},
 		init(){
+			if(this.option.account){
+				this.account = this.option.account
+				if(this.account == 4805){
+					this.form.sendType = 1
+				}
+			}
 			this.getUserInfo()
 		},
 		getUserInfo(){