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 feb24696
authored
Feb 19, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 商品功能适配
1 parent
f8851b1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
config.js
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
config.js
View file @
feb2469
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
2
;
let
index
=
1
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
...
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
View file @
feb2469
...
@@ -263,6 +263,10 @@ Component({
...
@@ -263,6 +263,10 @@ Component({
[
dataAttrName
+
'.'
+
'carSeriesId'
]:
carSeriesId
,
[
dataAttrName
+
'.'
+
'carSeriesId'
]:
carSeriesId
,
[
dataAttrName
+
'.'
+
'carSeriesName'
]:
carSeriesName
[
dataAttrName
+
'.'
+
'carSeriesName'
]:
carSeriesName
})
})
// 是车价就重新筛选商品列表
if
(
carSeriesId
)
{
thisPage
.
resetGoods
&&
thisPage
.
resetGoods
()
}
},
},
/**获取园区配置 */
/**获取园区配置 */
async
getYqStoreConfig
()
{
async
getYqStoreConfig
()
{
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
feb2469
...
@@ -499,14 +499,14 @@ Page({
...
@@ -499,14 +499,14 @@ Page({
if
(
check
&&
orderInfo
.
payType
==
2
&&
carBrandList
?.
includes
(
orderInfo
?.
owner
?.
carChildsBrandId
)
&&
detail
!=
'cancel'
&&
!
orderInfo
?.
zyPayUrl
&&
!
orderInfo
.
resetOrder
)
{
if
(
check
&&
orderInfo
.
payType
==
2
&&
carBrandList
?.
includes
(
orderInfo
?.
owner
?.
carChildsBrandId
)
&&
detail
!=
'cancel'
&&
!
orderInfo
?.
zyPayUrl
&&
!
orderInfo
.
resetOrder
)
{
// 添加流水号校验
// 添加流水号校验
wx
.
hideLoading
()
wx
.
hideLoading
()
let
result
=
await
checkRecord
({
transactionNo
:
orderInfo
.
transactionNo
})
let
result
=
await
checkRecord
({
transactionNo
:
orderInfo
.
transactionNo
})
let
{
code
,
message
}
=
result
let
{
code
,
message
}
=
result
if
(
code
==
0
)
{
if
(
code
==
0
)
{
this
.
setData
({
this
.
setData
({
showPopup
:
false
showPopup
:
false
})
})
reject
()
reject
()
return
this
.
setData
({
showZyPopup
:
true
})
return
this
.
setData
({
showZyPopup
:
true
})
}
else
{
}
else
{
reject
()
reject
()
this
.
setData
({
this
.
setData
({
...
@@ -790,7 +790,7 @@ Page({
...
@@ -790,7 +790,7 @@ Page({
getQuotationInfo
(
getOrderInfo
,
timeNum
=
0
)
{
getQuotationInfo
(
getOrderInfo
,
timeNum
=
0
)
{
let
{
default4SStoreInfo
}
=
wx
.
$util
.
getUserInfo
();
let
{
default4SStoreInfo
}
=
wx
.
$util
.
getUserInfo
();
let
{
let
{
owner
:
{
price
},
owner
:
{
price
,
carSeriesId
},
orderInfo
,
orderInfo
,
id
,
id
,
}
=
this
.
data
;
}
=
this
.
data
;
...
@@ -802,6 +802,7 @@ Page({
...
@@ -802,6 +802,7 @@ Page({
quotationGoodsList
({
quotationGoodsList
({
merchantId
:
default4SStoreInfo
.
merchantId
,
merchantId
:
default4SStoreInfo
.
merchantId
,
suitCarPrice
:
price
?
parseFloat
((
price
/
10000
).
toFixed
(
4
))
:
""
,
suitCarPrice
:
price
?
parseFloat
((
price
/
10000
).
toFixed
(
4
))
:
""
,
seriesId
:
carSeriesId
})
})
.
then
((
result
)
=>
{
.
then
((
result
)
=>
{
...
...
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