|
@@ -124,8 +124,8 @@
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title">收款方式</view>
|
|
<view class="tui-title">收款方式</view>
|
|
|
- <button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="form.hasPay = 4" class="admin-button-com mini-btn" :class="form.hasPay == 4 ? 'blue' : 'default'">余额</button>
|
|
|
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="form.hasPay = 0" class="admin-button-com mini-btn" :class="form.hasPay == 0 ? 'blue' : 'default'">扫码</button>
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="form.hasPay = 0" class="admin-button-com mini-btn" :class="form.hasPay == 0 ? 'blue' : 'default'">扫码</button>
|
|
|
|
|
+ <button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="form.hasPay = 4" class="admin-button-com mini-btn" :class="form.hasPay == 4 ? 'blue' : 'default'">余额</button>
|
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="form.hasPay = 1" class="admin-button-com mini-btn" :class="form.hasPay == 1 ? 'blue' : 'default'">线下</button>
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="form.hasPay = 1" class="admin-button-com mini-btn" :class="form.hasPay == 1 ? 'blue' : 'default'">线下</button>
|
|
|
<button style="margin-right:0upx;height:70upx;line-height:46upx;" @click="form.hasPay = 2" class="admin-button-com mini-btn" :class="form.hasPay == 2 ? 'blue' : 'default'">赊账</button>
|
|
<button style="margin-right:0upx;height:70upx;line-height:46upx;" @click="form.hasPay = 2" class="admin-button-com mini-btn" :class="form.hasPay == 2 ? 'blue' : 'default'">赊账</button>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
@@ -143,8 +143,8 @@
|
|
|
|
|
|
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
<tui-list-cell class="line-cell" :hover="false" :arrow="false">
|
|
|
<view class="tui-title">配送方式</view>
|
|
<view class="tui-title">配送方式</view>
|
|
|
- <button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="setSendType(0)" class="admin-button-com mini-btn" :class="form.sendType == 0 ? 'blue' : 'default'">配送</button>
|
|
|
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="setSendType(1)" class="admin-button-com mini-btn" :class="form.sendType == 1 ? 'blue' : 'default'">自取</button>
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="setSendType(1)" class="admin-button-com mini-btn" :class="form.sendType == 1 ? 'blue' : 'default'">自取</button>
|
|
|
|
|
+ <button style="margin-right:16upx;height:70upx;line-height:46upx;" @tap="setSendType(0)" class="admin-button-com mini-btn" :class="form.sendType == 0 ? 'blue' : 'default'">配送</button>
|
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="setSendType(2)" class="admin-button-com mini-btn" :class="form.sendType == 2 ? 'blue' : 'default'">跑腿</button>
|
|
<button style="margin-right:16upx;height:70upx;line-height:46upx;" @click="setSendType(2)" class="admin-button-com mini-btn" :class="form.sendType == 2 ? 'blue' : 'default'">跑腿</button>
|
|
|
<button style="margin-right:0upx;height:70upx;line-height:46upx;" @click="setSendType(3)" class="admin-button-com mini-btn" :class="form.sendType == 3 ? 'blue' : 'default'">物流</button>
|
|
<button style="margin-right:0upx;height:70upx;line-height:46upx;" @click="setSendType(3)" class="admin-button-com mini-btn" :class="form.sendType == 3 ? 'blue' : 'default'">物流</button>
|
|
|
</tui-list-cell>
|
|
</tui-list-cell>
|
|
@@ -446,7 +446,7 @@ export default {
|
|
|
receiveAddress: "",
|
|
receiveAddress: "",
|
|
|
receiveLong: "",
|
|
receiveLong: "",
|
|
|
receiveLat: "",
|
|
receiveLat: "",
|
|
|
- sendType: 0,
|
|
|
|
|
|
|
+ sendType: 1,
|
|
|
sendSide: "2",
|
|
sendSide: "2",
|
|
|
sendDate: "",
|
|
sendDate: "",
|
|
|
reachDate: "",
|
|
reachDate: "",
|
|
@@ -513,7 +513,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//默认欠款是首选项
|
|
//默认欠款是首选项
|
|
|
- this.form.hasPay = 4
|
|
|
|
|
|
|
+ this.form.hasPay = 0
|
|
|
// 初始化支付方式索引
|
|
// 初始化支付方式索引
|
|
|
this.payWayindex = 0
|
|
this.payWayindex = 0
|
|
|
// #ifdef APP-PLUS
|
|
// #ifdef APP-PLUS
|