|
|
@@ -96,13 +96,14 @@
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title">配送方式</view>
|
|
|
- <button @tap="setSendType(2)" class="admin-button-com middle" :class="form.sendType == 2 ? 'blue' : 'default'">自取</button>
|
|
|
- <button @click="setSendType(1)" class="admin-button-com middle" :class="form.sendType == 1 ? 'blue' : 'default'">配送</button>
|
|
|
+ <button @tap="setSendType(0)" class="admin-button-com middle" :class="form.sendType == 0 ? 'blue' : 'default'">出车</button>
|
|
|
+ <button @tap="setSendType(1)" class="admin-button-com middle" :class="form.sendType == 1 ? 'blue' : 'default'">客户自取</button>
|
|
|
+ <button @click="setSendType(2)" class="admin-button-com middle" :class="form.sendType == 2 ? 'blue' : 'default'">发快递</button>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
- <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-show="form.sendType == 1" >
|
|
|
+ <tui-list-cell class="line-cell" :hover="false" :arrow="false" v-show="form.sendType == 2" >
|
|
|
<view class="tui-title">运费</view>
|
|
|
- <input type="number" placeholder="请填写,留空免运费" v-model="form.sendCost" placeholder-class="tui-placeholder"/>
|
|
|
+ <input type="number" placeholder="请填写运费,留空免运费" v-model="form.sendCost" placeholder-class="tui-placeholder"/>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
@@ -229,7 +230,7 @@ export default {
|
|
|
receiveAddress: "",
|
|
|
receiveLong: "",
|
|
|
receiveLat: "",
|
|
|
- sendType: 2,
|
|
|
+ sendType: 0,
|
|
|
sendSide: "2",
|
|
|
sendDate: "",
|
|
|
sendTimeWant: "",
|
|
|
@@ -266,8 +267,8 @@ export default {
|
|
|
uni.setNavigationBarTitle({ title: this.getMerchantInfo.name, })
|
|
|
}
|
|
|
|
|
|
- //默认自取
|
|
|
- this.setSendType(2);
|
|
|
+ //默认出车
|
|
|
+ this.setSendType(0)
|
|
|
|
|
|
if(Number(option.customId) > 0){
|
|
|
this.form.customId = option.customId
|