Commit d7a9fe72 by 张立顺

fix bug

1 parent ca83ff97
......@@ -71,6 +71,7 @@ page {
}
.isFullSucreen {
box-sizing: border-box;
padding-bottom: constant(safe-area-inset-bottom) !important;
padding-bottom: env(safe-area-inset-bottom) !important;
// padding-bottom: 34px !important;
......
......@@ -98,7 +98,7 @@
</block>
</view>
</gl-cell>
<gl-cell wx:if="{{ (orderInfo.payType == 2 ||orderInfo.payType ==5 )&&!orderInfo.resetOrder }}" value="{{ successDateTime }}" bind:click="toSelectDate" haveArrow="{{ true }}" placeholder="请选择时间" required="{{ true }}" requiredAfter="{{ true }}" border class="pay-type" label="门店收款时间" valueAlign="right" labelWidth="var(--fontSize200)"></gl-cell>
<gl-cell wx:if="{{ (orderInfo.payType == 2 ||orderInfo.payType ==5 )&&!orderInfo.resetOrder }}" value="{{ successDateTime }}" bind:click="toSelectDate" haveArrow="{{ true }}" placeholder="请选择时间" required="{{ true }}" requiredAfter="{{ true }}" border class="pay-type" label="{{orderInfo.payType == 2?'门店收款时间':'嘀加收款时间'}}" valueAlign="right" labelWidth="var(--fontSize200)"></gl-cell>
<view class="box">
<view class="title remarkTitle">备注</view>
<van-field type="textarea" maxlength="30" autosize class="inputBox" border="{{ false }}" data-hold-keyboard value="{{ orderInfo.notes }}" data-attrName="notes" placeholder="请输入(30字以内)" data-attrType="" bindinput="handleInput"></van-field>
......
......@@ -319,7 +319,7 @@ Page({
return wx.$util.showToast("请选择增值车损险商品");
// 非标记错误,门店收款
if (!orderInfo.pay2Time && (orderInfo.payType == 2 || orderInfo.payType == 5) && !orderInfo.resetOrder)
return wx.$util.showToast("请选择门店收款时间");
return wx.$util.showToast(orderInfo.payType == 2 ? "请选择门店收款时间" : "请选择嘀加收款时间");
// 修改权益报价逻辑
if (confirmStatus) return false;
this.setData({
......
......@@ -114,7 +114,7 @@ Page({
}
} else {
if (!successDate && !isErrorOrder && selectPayType != 0)
return wx.$util.showToast("请选择门店付款时间");
return wx.$util.showToast(selectPayType == 5 ? "请选择嘀加收款时间" : "请选择门店收款时间");
this.setData({
showPopup: true,
});
......
......@@ -2,7 +2,7 @@
<wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{flag}}">
<view class="main {{isFullSucreen&&!userInfo.isSuper && userInfo.userType == 2?'isFullSucreen':''}}">
<view class="main {{isFullSucreen&&!userInfo.isSuper && userInfo.userType == 2?'isFullSucreenCom':''}}">
<view class="status-box">
<block wx:if="{{orderInfo.selectPayType == 3 || orderInfo.selectPayType == 1 }}">
<view class="content">等待客户付款</view>
......
......@@ -26,18 +26,22 @@
.pay_value .wxpay{
display: inline-block;
width: var(--fontSize48);
height: var(--fontSize48);
margin-right: var(--fontSize12);
.pay_value .wxpay {
display: inline-block;
width: var(--fontSize48);
height: var(--fontSize48);
margin-right: var(--fontSize12);
}
.payTips {
color: #999;margin-left: var(--fontSize20);
color: #999;
margin-left: var(--fontSize20);
}
.tips-btn{
.tips-btn {
flex-direction: column;
}
.btn-box .tips {
box-sizing: border-box;
padding: 0 var(--fontSize32);
......@@ -47,6 +51,7 @@ margin-right: var(--fontSize12);
.placeholder {
color: #C3C3C3;
}
.arrow {
position: absolute;
right: var(--fontSize40);
......@@ -55,27 +60,32 @@ margin-right: var(--fontSize12);
width: var(--fontSize28);
height: var(--fontSize26);
}
.date-box{
.date-box {
display: flex;
align-items: center;
padding: var(--fontSize40);
position: relative;
}
.date-box-label{
.date-box-label {
font-weight: 400;
font-size: var(--fontSize28);
color: #999EA8;
margin-right: var(--fontSize40);
}
.date-box-value{
.date-box-value {
font-weight: 400;
font-size: var(--fontSize28);
color: #292D33;
}
.required {
color: #f00;
}
.handlerBtn{
.handlerBtn {
font-weight: 400;
font-size: 28rpx;
color: #347BFF;
......@@ -89,7 +99,7 @@ margin-right: var(--fontSize12);
background: #F7F8FA;
border: var(--fontSize1) solid #EFF0F2;
border-radius: var(--fontSize12);
margin: 0 calc(-1 * var(--fontSize20)) var(--fontSize16);
margin: 0 calc(-1 * var(--fontSize20)) var(--fontSize16);
}
.meal-hd {
......@@ -148,7 +158,7 @@ margin-right: var(--fontSize12);
.meal-bd-head .price {
font-family: "numberNor";
margin-left:auto;
margin-left: auto;
}
.meal-bd-bottom {
......@@ -157,9 +167,17 @@ margin-right: var(--fontSize12);
font-weight: 400;
font-size: var(--fontSize24);
color: #757980;
margin-left:var(--fontSize24);
margin-left: var(--fontSize24);
}
.meal-bd-bottom .count {
margin-left: var(--fontSize12);
}
.isFullSucreenCom {
padding-bottom: var(--fontSize228) !important;
}
.isFullSucreen-btn {
padding-bottom: var(--fontSize68) !important;
}
\ No newline at end of file
......@@ -174,7 +174,7 @@ Page({
},
chooseCustomerInfo(e) {
let { detail } = e;
let { outTradeNo, orderObj: { associateOrderType, associateOrderCode } } = this.data
let { outTradeNo, showPayList, orderObj: { associateOrderType, associateOrderCode } } = this.data
detail.outTradeNo = outTradeNo
console.log(detail, 'detail');
// 解决补录订单 这两个参数丢失问题
......@@ -182,6 +182,11 @@ Page({
detail.associateOrderType = associateOrderType
detail.associateOrderCode = associateOrderCode
}
// detail.selectPayType = 3
// 判断一下档案支付方式现在是否还在,在就替换,没有就去掉这个参数
if (!showPayList.some(item => { item.value == detail.selectPayType })) {
delete detail.selectPayType
}
this.onRoute(detail);
},
closeTips() {
......
......@@ -160,6 +160,10 @@ page {
/* justify-content: space-between; */
}
.error-box {
flex-wrap: wrap;
}
.payType-box .item {
white-space: nowrap;
margin-right: 4px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!