|
@@ -57,18 +57,18 @@
|
|
|
</block>
|
|
</block>
|
|
|
</tui-list-cell>
|
|
</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>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="form.sendType == 1">
|
|
|
|
|
- <text v-if="account == 4805" style="color: #3385FF;width:100%;">
|
|
|
|
|
- 需要送货上门,运费另付,下单后请联系客服
|
|
|
|
|
- </text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </tui-list-cell>
|
|
|
|
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="form.sendType == 0 || form.sendType == 1">
|
|
|
|
|
+ <view v-if="form.sendType == 0">
|
|
|
|
|
+ <text style="color: #3385FF;width:100%;">
|
|
|
|
|
+ 在本店配送范围的,免配送货上门(楼下)。首次下单,请联系客服确认是否在配送范围
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view v-if="form.sendType == 1">
|
|
|
|
|
+ <text v-if="account == 4805" style="color: #3385FF;width:100%;">
|
|
|
|
|
+ 需要送货上门,运费另付,下单后请联系客服
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </tui-list-cell>
|
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="form.sendType == 2 || form.sendType == 0">
|
|
<tui-list-cell class="line-cell" :hover="false" v-if="form.sendType == 2 || form.sendType == 0">
|
|
|
<div class="tui-title">收花人姓名</div>
|
|
<div class="tui-title">收花人姓名</div>
|
|
|
<input v-model="form.receiveUserName" placeholder-class="phcolor" placeholder-style="color:#ccc" @blur="onInputBlur" class="tui-input" name="receiveUserName" placeholder="请填写姓名" />
|
|
<input v-model="form.receiveUserName" placeholder-class="phcolor" placeholder-style="color:#ccc" @blur="onInputBlur" class="tui-input" name="receiveUserName" placeholder="请填写姓名" />
|
|
@@ -295,7 +295,9 @@ export default {
|
|
|
packCost:0,
|
|
packCost:0,
|
|
|
sendCost:0,
|
|
sendCost:0,
|
|
|
showAddress:'',
|
|
showAddress:'',
|
|
|
- openIntraCity:0 // 是否支持跑腿送: 0不支持 1支持 2暂不可用
|
|
|
|
|
|
|
+ openIntraCity:0, // 是否支持跑腿送: 0不支持 1支持 2暂不可用
|
|
|
|
|
+ receiveUserName:'',
|
|
|
|
|
+ receiveMobile:''
|
|
|
},
|
|
},
|
|
|
userInfo:{},
|
|
userInfo:{},
|
|
|
shopInfo:{},
|
|
shopInfo:{},
|
|
@@ -675,6 +677,16 @@ export default {
|
|
|
console.log('selectDelivery -- isFreeDelivery: ',isFreeDelivery)
|
|
console.log('selectDelivery -- isFreeDelivery: ',isFreeDelivery)
|
|
|
},
|
|
},
|
|
|
confirmForm(){
|
|
confirmForm(){
|
|
|
|
|
+ if(this.form.sendType == 0 || this.form.sendType == 2){
|
|
|
|
|
+ if(this.$util.isEmpty(this.form.receiveMobile)){
|
|
|
|
|
+ this.$msg('请填写收花人手机号')
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ if(this.$util.isEmpty(this.form.receiveUserName)){
|
|
|
|
|
+ this.$msg('请填写收花人名称')
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
this.$util.confirmModal({content:'确认提交?'},() => {
|
|
this.$util.confirmModal({content:'确认提交?'},() => {
|
|
|
this.submitMyForm()
|
|
this.submitMyForm()
|
|
|
})
|
|
})
|
|
@@ -917,7 +929,7 @@ export default {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
padding: 20upx;
|
|
padding: 20upx;
|
|
|
background-color: #f0f2f6;
|
|
background-color: #f0f2f6;
|
|
|
- margin-bottom:90upx;
|
|
|
|
|
|
|
+ margin-bottom:120upx;
|
|
|
.commodity-view {
|
|
.commodity-view {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|