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 3dd49c86
authored
Jan 18, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数字报价单延保协议bug修复
1 parent
acf5660b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/carQuotation/index/index.wxml
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
3dd49c8
...
@@ -308,7 +308,7 @@ Page({
...
@@ -308,7 +308,7 @@ Page({
async
handleSecondConfirm
(
e
)
{
async
handleSecondConfirm
(
e
)
{
// debugger
// debugger
let
{
orderInfo
,
outTradeNo
,
confirmStatus
,
userInfo
}
=
this
.
data
;
let
{
orderInfo
,
outTradeNo
,
confirmStatus
,
userInfo
,
carBrandList
}
=
this
.
data
;
let
staffCheck
=
await
this
.
staffDailyReportMerchantValid
(
userInfo
);
let
staffCheck
=
await
this
.
staffDailyReportMerchantValid
(
userInfo
);
if
(
staffCheck
)
return
false
;;
if
(
staffCheck
)
return
false
;;
...
@@ -396,8 +396,18 @@ Page({
...
@@ -396,8 +396,18 @@ Page({
}
else
{
}
else
{
console
.
log
(
message
);
console
.
log
(
message
);
wx
.
hideLoading
();
wx
.
hideLoading
();
// 将延保协议弹窗关闭 清空延保协议上传内容,支付凭证内容清空
let
owner
=
this
.
getOwnerInfo
();
if
(
orderInfo
.
payType
==
2
&&
carBrandList
?.
includes
(
owner
?.
carChildsBrandId
))
{
this
.
setData
({
showZyPopup
:
false
,
[
'orderInfo.zyPayUrl'
]:
''
,
[
'orderInfo.transactionNo'
]:
''
,
[
'orderInfo.paymentDocList'
]:
[]
})
}
this
.
setData
({
this
.
setData
({
confirmStatus
:
false
,
confirmStatus
:
false
});
});
wx
.
$util
.
showToast
(
message
||
"报价失败"
);
wx
.
$util
.
showToast
(
message
||
"报价失败"
);
}
}
...
@@ -485,7 +495,7 @@ Page({
...
@@ -485,7 +495,7 @@ Page({
try
{
try
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
// 当延保协议弹窗点击稍后补录会传值detail:cancel, 提交表单时不会重复弹出延保协议弹出
// 当延保协议弹窗点击稍后补录会传值detail:cancel, 提交表单时不会重复弹出延保协议弹出
if
(
orderInfo
.
payType
==
2
&&
carBrandList
?.
includes
(
orderInfo
?.
owner
?.
carChildsBrandId
)
&&
detail
!=
'cancel'
&&
!
orderInfo
?.
zyPayUrl
)
{
if
(
check
&&
orderInfo
.
payType
==
2
&&
carBrandList
?.
includes
(
orderInfo
?.
owner
?.
carChildsBrandId
)
&&
detail
!=
'cancel'
&&
!
orderInfo
?.
zyPayUrl
)
{
wx
.
hideLoading
()
wx
.
hideLoading
()
this
.
setData
({
this
.
setData
({
showPopup
:
false
showPopup
:
false
...
...
packageEquity/pages/carQuotation/index/index.wxml
View file @
3dd49c8
...
@@ -198,7 +198,6 @@
...
@@ -198,7 +198,6 @@
<block wx:if="{{ item.orderStatus != '0' }}">
<block wx:if="{{ item.orderStatus != '0' }}">
<view class="order-btn default-btn padding_20" bindtap="jumpReception" data-item="{{ item }}">接待记录</view>
<view class="order-btn default-btn padding_20" bindtap="jumpReception" data-item="{{ item }}">接待记录</view>
</block>
</block>
<view wx:if="{{ item.equityGoodsFlag == '1' }}" class="order-btn default-btn padding_20" bindtap="handleClickBtn" data-target="{{ item }}">客户签名</view>
<view class="order-btn" bindtap="handleClickBtn" data-target="{{ item }}" data-type="upload">上传协议</view>
<view class="order-btn" bindtap="handleClickBtn" data-target="{{ item }}" data-type="upload">上传协议</view>
</view>
</view>
</block>
</block>
...
...
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