Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d7a9fe72
authored
Nov 27, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
ca83ff97
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
46 additions
and
18 deletions
app.sass
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
tabWorkOrder/pages/confirmOrder/confirmOrder.js
tabWorkOrder/pages/confirmOrder/confirmOrder.wxml
tabWorkOrder/pages/confirmOrder/confirmOrder.wxss
tabWorkOrder/pages/createOrder/createOrder.js
tabWorkOrder/pages/createOrder/createOrder.sass
tabWorkOrder/pages/createOrder/createOrder.wxml
app.sass
View file @
d7a9fe7
...
@@ -71,6 +71,7 @@ page {
...
@@ -71,6 +71,7 @@ page {
}
}
.isFullSucreen
{
.isFullSucreen
{
box-sizing
:
border-box
;
padding-bottom
:
constant
(
safe-area-inset-bottom
)
!
important
;
padding-bottom
:
constant
(
safe-area-inset-bottom
)
!
important
;
padding-bottom
:
env
(
safe-area-inset-bottom
)
!
important
;
padding-bottom
:
env
(
safe-area-inset-bottom
)
!
important
;
// padding-bottom: 34px !important;
// padding-bottom: 34px !important;
...
...
packageEquity/pages/carQuotation/components/SecondStepSimple/SecondStep.wxml
View file @
d7a9fe7
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
</block>
</block>
</view>
</view>
</gl-cell>
</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="box">
<view class="title remarkTitle">备注</view>
<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>
<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>
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
d7a9fe7
...
@@ -319,7 +319,7 @@ Page({
...
@@ -319,7 +319,7 @@ Page({
return
wx
.
$util
.
showToast
(
"请选择增值车损险商品"
);
return
wx
.
$util
.
showToast
(
"请选择增值车损险商品"
);
// 非标记错误,门店收款
// 非标记错误,门店收款
if
(
!
orderInfo
.
pay2Time
&&
(
orderInfo
.
payType
==
2
||
orderInfo
.
payType
==
5
)
&&
!
orderInfo
.
resetOrder
)
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
;
if
(
confirmStatus
)
return
false
;
this
.
setData
({
this
.
setData
({
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.js
View file @
d7a9fe7
...
@@ -114,7 +114,7 @@ Page({
...
@@ -114,7 +114,7 @@ Page({
}
}
}
else
{
}
else
{
if
(
!
successDate
&&
!
isErrorOrder
&&
selectPayType
!=
0
)
if
(
!
successDate
&&
!
isErrorOrder
&&
selectPayType
!=
0
)
return
wx
.
$util
.
showToast
(
"请选择门店付
款时间"
);
return
wx
.
$util
.
showToast
(
selectPayType
==
5
?
"请选择嘀加收款时间"
:
"请选择门店收
款时间"
);
this
.
setData
({
this
.
setData
({
showPopup
:
true
,
showPopup
:
true
,
});
});
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.wxml
View file @
d7a9fe7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<wxs src="../../index.wxs" module="filter" />
<wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{flag}}">
<block wx:if="{{flag}}">
<view class="main {{isFullSucreen&&!userInfo.isSuper && userInfo.userType == 2?'isFullSucreen':''}}">
<view class="main {{isFullSucreen&&!userInfo.isSuper && userInfo.userType == 2?'isFullSucreen
Com
':''}}">
<view class="status-box">
<view class="status-box">
<block wx:if="{{orderInfo.selectPayType == 3 || orderInfo.selectPayType == 1 }}">
<block wx:if="{{orderInfo.selectPayType == 3 || orderInfo.selectPayType == 1 }}">
<view class="content">等待客户付款</view>
<view class="content">等待客户付款</view>
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.wxss
View file @
d7a9fe7
...
@@ -26,18 +26,22 @@
...
@@ -26,18 +26,22 @@
.pay_value .wxpay{
.pay_value .wxpay
{
display: inline-block;
display: inline-block;
width: var(--fontSize48);
width: var(--fontSize48);
height: var(--fontSize48);
height: var(--fontSize48);
margin-right: var(--fontSize12);
margin-right: var(--fontSize12);
}
}
.payTips {
.payTips {
color: #999;margin-left: var(--fontSize20);
color: #999;
margin-left: var(--fontSize20);
}
}
.tips-btn{
.tips-btn {
flex-direction: column;
flex-direction: column;
}
}
.btn-box .tips {
.btn-box .tips {
box-sizing: border-box;
box-sizing: border-box;
padding: 0 var(--fontSize32);
padding: 0 var(--fontSize32);
...
@@ -47,6 +51,7 @@ margin-right: var(--fontSize12);
...
@@ -47,6 +51,7 @@ margin-right: var(--fontSize12);
.placeholder {
.placeholder {
color: #C3C3C3;
color: #C3C3C3;
}
}
.arrow {
.arrow {
position: absolute;
position: absolute;
right: var(--fontSize40);
right: var(--fontSize40);
...
@@ -55,27 +60,32 @@ margin-right: var(--fontSize12);
...
@@ -55,27 +60,32 @@ margin-right: var(--fontSize12);
width: var(--fontSize28);
width: var(--fontSize28);
height: var(--fontSize26);
height: var(--fontSize26);
}
}
.date-box{
.date-box {
display: flex;
display: flex;
align-items: center;
align-items: center;
padding: var(--fontSize40);
padding: var(--fontSize40);
position: relative;
position: relative;
}
}
.date-box-label{
.date-box-label {
font-weight: 400;
font-weight: 400;
font-size: var(--fontSize28);
font-size: var(--fontSize28);
color: #999EA8;
color: #999EA8;
margin-right: var(--fontSize40);
margin-right: var(--fontSize40);
}
}
.date-box-value{
.date-box-value {
font-weight: 400;
font-weight: 400;
font-size: var(--fontSize28);
font-size: var(--fontSize28);
color: #292D33;
color: #292D33;
}
}
.required {
.required {
color: #f00;
color: #f00;
}
}
.handlerBtn{
.handlerBtn {
font-weight: 400;
font-weight: 400;
font-size: 28rpx;
font-size: 28rpx;
color: #347BFF;
color: #347BFF;
...
@@ -148,7 +158,7 @@ margin-right: var(--fontSize12);
...
@@ -148,7 +158,7 @@ margin-right: var(--fontSize12);
.meal-bd-head .price {
.meal-bd-head .price {
font-family: "numberNor";
font-family: "numberNor";
margin-left:auto;
margin-left:
auto;
}
}
.meal-bd-bottom {
.meal-bd-bottom {
...
@@ -157,9 +167,17 @@ margin-right: var(--fontSize12);
...
@@ -157,9 +167,17 @@ margin-right: var(--fontSize12);
font-weight: 400;
font-weight: 400;
font-size: var(--fontSize24);
font-size: var(--fontSize24);
color: #757980;
color: #757980;
margin-left:var(--fontSize24);
margin-left:
var(--fontSize24);
}
}
.meal-bd-bottom .count {
.meal-bd-bottom .count {
margin-left: var(--fontSize12);
margin-left: var(--fontSize12);
}
}
.isFullSucreenCom {
padding-bottom: var(--fontSize228) !important;
}
.isFullSucreen-btn {
padding-bottom: var(--fontSize68) !important;
}
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/pages/createOrder/createOrder.js
View file @
d7a9fe7
...
@@ -174,7 +174,7 @@ Page({
...
@@ -174,7 +174,7 @@ Page({
},
},
chooseCustomerInfo
(
e
)
{
chooseCustomerInfo
(
e
)
{
let
{
detail
}
=
e
;
let
{
detail
}
=
e
;
let
{
outTradeNo
,
orderObj
:
{
associateOrderType
,
associateOrderCode
}
}
=
this
.
data
let
{
outTradeNo
,
showPayList
,
orderObj
:
{
associateOrderType
,
associateOrderCode
}
}
=
this
.
data
detail
.
outTradeNo
=
outTradeNo
detail
.
outTradeNo
=
outTradeNo
console
.
log
(
detail
,
'detail'
);
console
.
log
(
detail
,
'detail'
);
// 解决补录订单 这两个参数丢失问题
// 解决补录订单 这两个参数丢失问题
...
@@ -182,6 +182,11 @@ Page({
...
@@ -182,6 +182,11 @@ Page({
detail
.
associateOrderType
=
associateOrderType
detail
.
associateOrderType
=
associateOrderType
detail
.
associateOrderCode
=
associateOrderCode
detail
.
associateOrderCode
=
associateOrderCode
}
}
// detail.selectPayType = 3
// 判断一下档案支付方式现在是否还在,在就替换,没有就去掉这个参数
if
(
!
showPayList
.
some
(
item
=>
{
item
.
value
==
detail
.
selectPayType
}))
{
delete
detail
.
selectPayType
}
this
.
onRoute
(
detail
);
this
.
onRoute
(
detail
);
},
},
closeTips
()
{
closeTips
()
{
...
...
tabWorkOrder/pages/createOrder/createOrder.sass
View file @
d7a9fe7
...
@@ -160,6 +160,10 @@ page {
...
@@ -160,6 +160,10 @@ page {
/* justify-content: space-between; */
/* justify-content: space-between; */
}
}
.error-box
{
flex-wrap
:
wrap
;
}
.payType-box
.item
{
.payType-box
.item
{
white-space
:
nowrap
;
white-space
:
nowrap
;
margin-right
:
4px
;
margin-right
:
4px
;
...
...
tabWorkOrder/pages/createOrder/createOrder.wxml
View file @
d7a9fe7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment