Просмотр исходного кода

天天鲜花虎门店需要默认自取

shish 2 месяцев назад
Родитель
Сommit
517b26518e
1 измененных файлов с 13 добавлено и 1 удалено
  1. 13 1
      hdApp/src/admin/billing/affirmGhs.vue

+ 13 - 1
hdApp/src/admin/billing/affirmGhs.vue

@@ -157,6 +157,14 @@
 								<button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(3)">物流</button>
 							</tui-list-cell>
 						</block>
+						<block v-else-if="ghsInfo.shopId == 91053">
+							<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
+								<button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;"  @click="changeSendType(1)">自取</button>
+								<button class="admin-button-com middle" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:32upx;"  @click="changeSendType(0)">送货上门</button>
+								<button class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(2)">跑腿</button>
+								<button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;" @click="changeSendType(3)">物流</button>
+							</tui-list-cell>
+						</block>
 						<block v-else-if="ghsInfo.shopId == 36919">
 							<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
 								<button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:115upx;height:100upx;line-height:60upx;"  @click="changeSendType(1)">自取</button>
@@ -1055,10 +1063,14 @@ export default {
 				if(that.ghsInfo.shopId && Number(that.ghsInfo.shopId) == 90985){
 					that.form.sendType = 1
 				}
+				//鼎盛花卉默认自取
 				if(that.ghsInfo.shopId && Number(that.ghsInfo.shopId) == 36919){
 					that.form.sendType = 1
 				}
-
+				//天天鲜花虎门店默认自取
+				if(that.ghsInfo.shopId && Number(that.ghsInfo.shopId) == 91053){
+					that.form.sendType = 1
+				}
 				if(res.data && res.data.shopId == 14636){
 					//花瀚鲜花供应链默认冷链
 					this.changeTransType(2)