|
@@ -56,10 +56,11 @@
|
|
|
<view class="module-com input-line-wrap">
|
|
<view class="module-com input-line-wrap">
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" >
|
|
|
- <button v-if="ghsInfo.shopId != 4608" class="admin-button-com middle" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:170upx;" @click="changeSendType(0)">免费送货</button>
|
|
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:170upx;" @click="changeSendType(1)">到店自取</button>
|
|
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:170upx;" @click="changeSendType(2)">代叫跑腿</button>
|
|
|
|
|
- <button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:150upx;" @click="changeSendType(3)">物流</button>
|
|
|
|
|
|
|
+ <button v-if="ghsInfo.shopId != 4608" class="admin-button-com middle" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:160upx;height:100upx;line-height:30upx;" @click="changeSendType(0)">送货上门</button>
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:160upx;height:100upx;line-height:52upx;" @click="changeSendType(1)">自取</button>
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:160upx;height:100upx;line-height:52upx;" @click="changeSendType(2)">跑腿</button>
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 4 ? 'blue' : 'default']" style="width:160upx;height:100upx;line-height:52upx;" @click="changeSendType(4)">快递</button>
|
|
|
|
|
+ <button class="admin-button-com middle" :class="[form.sendType == 3 ? 'blue' : 'default']" style="width:160upx;height:100upx;line-height:52upx;" @click="changeSendType(3)">物流</button>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
@@ -87,6 +88,9 @@
|
|
|
<view v-if="form.sendType == 3">
|
|
<view v-if="form.sendType == 3">
|
|
|
<text style="color: #3385FF;width:100%;">发物流,默认到付</text>
|
|
<text style="color: #3385FF;width:100%;">发物流,默认到付</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view v-if="form.sendType == 4">
|
|
|
|
|
+ <text style="color: #3385FF;width:100%;">到付或运费另付</text>
|
|
|
|
|
+ </view>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="needAddPackCost == true">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="needAddPackCost == true">
|
|
|
<view>
|
|
<view>
|
|
@@ -280,7 +284,7 @@ export default {
|
|
|
price = price + this.form.sendCost
|
|
price = price + this.form.sendCost
|
|
|
}
|
|
}
|
|
|
this.needAddPackCost = false
|
|
this.needAddPackCost = false
|
|
|
- if(this.form.sendType == 2 || this.form.sendType == 0 || this.form.sendType == 3){
|
|
|
|
|
|
|
+ if(this.form.sendType == 4){
|
|
|
//设置了订单金额低200需要付包装费,当前只付一次
|
|
//设置了订单金额低200需要付包装费,当前只付一次
|
|
|
if(Number(this.lackExpend) > 0 && allPrice < Number(this.lackExpend)){
|
|
if(Number(this.lackExpend) > 0 && allPrice < Number(this.lackExpend)){
|
|
|
price = price + this.form.packCost
|
|
price = price + this.form.packCost
|