|
|
@@ -42,16 +42,16 @@
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(1)">到店自取</button>
|
|
|
</block>
|
|
|
<block v-else-if="account == 4609">
|
|
|
- <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">代叫跑腿</button>
|
|
|
+ <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">请跑腿送</button>
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(1)">到店自取</button>
|
|
|
</block>
|
|
|
<block v-else-if="account == 27829">
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(0)">送货上门</button>
|
|
|
- <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">代叫跑腿</button>
|
|
|
+ <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">请跑腿送</button>
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(1)">到店自取</button>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">代叫跑腿</button>
|
|
|
+ <button class="admin-button-com big" :class="[form.sendType == 2 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(2)">请跑腿送</button>
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 1 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(1)">到店自取</button>
|
|
|
<button class="admin-button-com big" :class="[form.sendType == 0 ? 'blue' : 'default']" style="width:180upx;" @click="changeSendType(0)">送货上门</button>
|
|
|
</block>
|
|
|
@@ -70,7 +70,7 @@
|
|
|
<text v-else style="color: #3385FF;width:100%;">到店取货,没有配送费</text>
|
|
|
</view>
|
|
|
<view v-if="form.sendType == 2">
|
|
|
- <text style="color: #3385FF;width:100%;">代叫跑腿送货,有配送费</text>
|
|
|
+ <text style="color: #3385FF;width:100%;">请跑腿送送货,有配送费</text>
|
|
|
</view>
|
|
|
</tui-list-cell>
|
|
|
|
|
|
@@ -321,11 +321,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if(this.form.sendType == 2 && this.form.sendCost <= 0) {
|
|
|
- this.$msg('选择代叫跑腿,必须获取运费')
|
|
|
+ this.$msg('选择请跑腿送,必须获取运费')
|
|
|
return false
|
|
|
}
|
|
|
if(this.form.sendType == 2 && this.form.hasMap == 0) {
|
|
|
- this.$msg('由于地图定位服务停用,无法使用代叫跑腿')
|
|
|
+ this.$msg('由于地图定位服务停用,无法使用请跑腿送')
|
|
|
return false
|
|
|
}
|
|
|
uni.showLoading({mask:true})
|
|
|
@@ -334,7 +334,7 @@ export default {
|
|
|
if(res.code && res.code == 1){
|
|
|
let account = this.option.account ? this.option.account : 0
|
|
|
let totalPrice = Number(res.data.totalPrice)
|
|
|
- if (this.form.sendType == 2) { // 当是代叫跑腿时,总价格得加上运费
|
|
|
+ if (this.form.sendType == 2) { // 当是请跑腿送时,总价格得加上运费
|
|
|
totalPrice =+ Number(this.form.sendCost)
|
|
|
}
|
|
|
|