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 df07e2dc
authored
May 21, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:战败
1 parent
78038adb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
8 deletions
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
packageEquity/pages/createDeafeatOrder/createDeafeatOrder.js
packageEquity/pages/carQuotation/components/FirstStep/FirstStep.js
View file @
df07e2d
...
@@ -100,6 +100,13 @@ Component({
...
@@ -100,6 +100,13 @@ Component({
lifetimes
:
{
lifetimes
:
{
async
attached
()
{
async
attached
()
{
// 会员权益简版 mode=1:observer 只在 mode!=1 时注入 first/formRule,这里补上否则校验规则为空、客户来源等不生效
if
(
this
.
properties
.
mode
==
1
)
{
this
.
setData
({
first
:
data
.
firstObjSimple
,
formRule
:
data
.
formRuleSimple
})
}
this
.
getEmployee
()
this
.
getEmployee
()
this
.
getShopMerchantPointConfig
()
this
.
getShopMerchantPointConfig
()
await
this
.
prefillRecentScene
()
await
this
.
prefillRecentScene
()
...
...
packageEquity/pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple.js
View file @
df07e2d
...
@@ -64,6 +64,8 @@ Page({
...
@@ -64,6 +64,8 @@ Page({
carSeriesId
:
""
,
carSeriesId
:
""
,
carSeriesName
:
""
,
carSeriesName
:
""
,
salesType
:
0
,
salesType
:
0
,
// GLForm 客户来源展示用 labelName;仅有 salesType 无 label 时会显示「请选择」
salesTypeLabel
:
constantList
.
salesTypeList
[
0
].
optionLabel
,
},
},
mode
:
1
,
mode
:
1
,
quotationGoodsList
:
[],
//权益商品列表
quotationGoodsList
:
[],
//权益商品列表
...
@@ -1977,6 +1979,15 @@ Page({
...
@@ -1977,6 +1979,15 @@ Page({
if
([
0
,
1
,
2
].
includes
(
salesTypeNum
))
{
if
([
0
,
1
,
2
].
includes
(
salesTypeNum
))
{
owner
.
salesType
=
salesTypeNum
;
owner
.
salesType
=
salesTypeNum
;
}
}
const
st
=
Number
(
owner
.
salesType
);
const
sid
=
[
0
,
1
,
2
].
includes
(
st
)
?
st
:
0
;
const
salesMatch
=
constantList
.
salesTypeList
.
find
(
(
item
)
=>
item
.
optionId
===
sid
);
owner
.
salesType
=
sid
;
owner
.
salesTypeLabel
=
(
salesMatch
&&
salesMatch
.
optionLabel
)
||
constantList
.
salesTypeList
[
0
].
optionLabel
;
this
.
setData
({
this
.
setData
({
owner
,
owner
,
orderInfo
,
orderInfo
,
...
...
packageEquity/pages/createDeafeatOrder/createDeafeatOrder.js
View file @
df07e2d
import
{
ImgUrl
}
from
'~/config'
import
{
ImgUrl
}
from
'~/config'
import
{
getSelectOrderGoodsList
,
defeatOrderCreate
}
from
'../../api'
import
{
getSelectOrderGoodsList
,
quotationGoodsList
,
defeatOrderCreate
}
from
'../../api'
import
commonApi
from
'~/api/api'
import
commonApi
from
'~/api/api'
import
NP
from
'number-precision'
import
NP
from
'number-precision'
import
{
checkStudyTask
,
checkAbnormalOrder
}
from
'~/store/ModalToQueueControl'
import
{
checkStudyTask
,
checkAbnormalOrder
}
from
'~/store/ModalToQueueControl'
...
@@ -297,13 +297,11 @@ Page({
...
@@ -297,13 +297,11 @@ Page({
return
return
}
}
wx
.
showLoading
({
title
:
'加载中...'
})
wx
.
showLoading
({
title
:
'加载中...'
})
getSelectOrderGoodsList
({
quotationGoodsList
({
merchantId
:
default4SStoreInfo
.
merchantId
,
merchantId
:
default4SStoreInfo
.
merchantId
,
suitCarPrice
:
''
,
suitCarPrice
:
''
,
seriesId
:
''
,
baseSceneCode
sceneType
:
0
,
})
baseSceneCode
})
.
then
(
result
=>
{
.
then
(
result
=>
{
wx
.
hideLoading
()
wx
.
hideLoading
()
let
{
code
,
data
,
message
}
=
result
let
{
code
,
data
,
message
}
=
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