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 18f60968
authored
May 25, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:解决合并分支造成的问题
1 parent
68e245c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
33 deletions
packageEquity/pages/carQuotation/index/index.js
packageEquity/pages/carQuotation/index/index.js
View file @
18f6096
...
@@ -23,30 +23,10 @@ let timeoutId;
...
@@ -23,30 +23,10 @@ let timeoutId;
const
IMG_URL2
=
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/"
;
const
IMG_URL2
=
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/"
;
import
carLifeApi
from
"../../../carEquityApi"
;
import
carLifeApi
from
"../../../carEquityApi"
;
import
commonApi
from
"~/api/api"
;
import
commonApi
from
"~/api/api"
;
getMoreBtnAPI
}
from
'../../../api'
import
{
checkDailyReport
,
checkStudyTask
,
checkAbnormalOrder
}
from
'~/store/ModalToQueueControl'
import
data
from
'../constant/data'
import
constantData
from
'../constant/data'
import
api
from
'~/api/api'
import
{
ImgUrl
as
IMG_URL
}
from
'~/config'
let
timeoutId
const
IMG_URL2
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
import
carLifeApi
from
'../../../carEquityApi'
import
commonApi
from
'~/api/api'
function
getSceneNameForQuotationItem
(
item
)
{
function
getSceneNameForQuotationItem
(
item
)
{
if
(
!
item
)
return
''
if
(
!
item
)
return
""
;
return
(
return
item
.
baseSceneName
||
item
.
sceneName
||
""
;
item
.
baseSceneName
||
item
.
sceneName
||
''
)
}
}
Component
({
Component
({
/**
/**
...
@@ -333,8 +313,8 @@ Component({
...
@@ -333,8 +313,8 @@ Component({
// })
// })
// }
// }
this
.
setData
({
this
.
setData
({
showPromptDialog
:
true
showPromptDialog
:
true
,
})
});
},
},
promptHandleConfirm
(
e
)
{
promptHandleConfirm
(
e
)
{
let
{
payFlag
,
payType
}
=
e
.
detail
;
let
{
payFlag
,
payType
}
=
e
.
detail
;
...
@@ -445,13 +425,13 @@ Component({
...
@@ -445,13 +425,13 @@ Component({
console
.
log
(
tempList
);
console
.
log
(
tempList
);
tempList
=
tempList
.
map
((
item
)
=>
{
tempList
=
tempList
.
map
((
item
)
=>
{
const
orderTypeMap
=
{
const
orderTypeMap
=
{
1
:
'正常订单'
,
1
:
"正常订单"
,
2
:
'打折策略'
,
2
:
"打折策略"
,
3
:
'买赠策略'
,
3
:
"买赠策略"
,
4
:
'冲量活动'
,
4
:
"冲量活动"
,
5
:
'组合付款'
,
5
:
"组合付款"
,
6
:
'内部结算'
6
:
"内部结算"
,
}
};
// 1: '审批中',
// 1: '审批中',
// 2: '审批中',
// 2: '审批中',
// 3: '审核通过',
// 3: '审核通过',
...
@@ -480,8 +460,8 @@ Component({
...
@@ -480,8 +460,8 @@ Component({
// );
// );
item
.
payTime
=
item
.
payTime
?.
replace
(
/-/g
,
"/"
);
item
.
payTime
=
item
.
payTime
?.
replace
(
/-/g
,
"/"
);
}
}
item
.
isTouchMove
=
false
item
.
isTouchMove
=
false
;
item
.
sceneNameForList
=
getSceneNameForQuotationItem
(
item
)
item
.
sceneNameForList
=
getSceneNameForQuotationItem
(
item
);
// onlyRepeal 战败且为超管,或者是待报价、待支付的非融合都可撤销
// onlyRepeal 战败且为超管,或者是待报价、待支付的非融合都可撤销
item
.
onlyRepeal
=
(
item
.
orderStatus
==
2
||
item
.
orderStatus
==
0
||
(
item
.
orderStatus
==
-
1
&&
wx
.
$hasPermission
?.
isSuper
?.(
this
.
data
.
userInfo
)))
&&
item
.
mode
!=
0
;
item
.
onlyRepeal
=
(
item
.
orderStatus
==
2
||
item
.
orderStatus
==
0
||
(
item
.
orderStatus
==
-
1
&&
wx
.
$hasPermission
?.
isSuper
?.(
this
.
data
.
userInfo
)))
&&
item
.
mode
!=
0
;
// 待上传的支持可撤销
// 待上传的支持可撤销
...
...
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