|
|
@@ -79,12 +79,12 @@
|
|
|
<view>
|
|
|
<block v-if="detailInfo.onlinePay == 2">
|
|
|
<text :class="[detailInfo.payWay==3 && detailInfo.clearId == 0 ? 'red-mind' : 'normal-mind']">
|
|
|
- {{ detailInfo.payWay==0?'微信':detailInfo.payWay==1?'支付宝':detailInfo.payWay==2?'余额':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':detailInfo.payWay==3?'欠款':'--' }}
|
|
|
+ {{ detailInfo.payWay==0?'微信':detailInfo.payWay==1?'支付宝':detailInfo.payWay==2?'余额':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':detailInfo.payWay==3?'赊账':'--' }}
|
|
|
</text>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
<text :class="[detailInfo.payWay==3 && detailInfo.clearId == 0 ? 'red-mind' : 'normal-mind']">
|
|
|
- {{ detailInfo.payWay==0?'线下微信':detailInfo.payWay==1?'线下支付宝':detailInfo.payWay==2?'余额':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':detailInfo.payWay==3?'欠款':'--' }}
|
|
|
+ {{ detailInfo.payWay==0?'线下微信':detailInfo.payWay==1?'线下支付宝':detailInfo.payWay==2?'余额':detailInfo.payWay==4?'现金':detailInfo.payWay==5?'银行卡':detailInfo.payWay==3?'赊账':'--' }}
|
|
|
</text>
|
|
|
</block>
|
|
|
<text v-if="Number(detailInfo.clearId)>0" style="color:#3385ff;font-weight:bold;">(已结清)</text>
|
|
|
@@ -93,7 +93,7 @@
|
|
|
<button @click="pageTo({url: '/admin/clear/customInfo',query: {id: detailInfo.clearId}})" class="admin-button-com">查看结账单</button>
|
|
|
</view>
|
|
|
<view class="price" v-if="detailInfo.debt == 1">
|
|
|
- <button @click='pageTo({url:"/pagesArrears/details",query: {id: detailInfo.customId}})' class="admin-button-com" style="border:1upx solid red;color:red;">全部欠款</button>
|
|
|
+ <button @click='pageTo({url:"/pagesArrears/details",query: {id: detailInfo.customId}})' class="admin-button-com" style="border:1upx solid red;color:red;">全部赊账</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
|
@@ -594,14 +594,14 @@ export default {
|
|
|
}else if(s.type == 'confirm'){
|
|
|
let self = this;
|
|
|
uni.showActionSheet({
|
|
|
- itemList: ['结算方式:', '欠款', '已收款'],
|
|
|
+ itemList: ['结算方式:', '赊账', '已收款'],
|
|
|
success: function (res) {
|
|
|
if(res.tapIndex == 0){
|
|
|
return false
|
|
|
}
|
|
|
let payWay = 0
|
|
|
- let title = res.tapIndex == 1 ? '确认客户欠款?' : '确认已收款?'
|
|
|
- //1欠款 2已收款
|
|
|
+ let title = res.tapIndex == 1 ? '确认客户赊账?' : '确认已收款?'
|
|
|
+ //1赊账 2已收款
|
|
|
let clearType = res.tapIndex == 1 ? 1 : 2;
|
|
|
//选择的已收款,还需要选择收款方式
|
|
|
if(clearType == 2){
|