Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-appreciation
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8ee94ae1
authored
Apr 17, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.51.1-0415' into 'master'
上线合并 See merge request
!26
2 parents
e9af8d2d
ed03fc2c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
6 deletions
src/api/modules/beforeSale.js
src/views/beforeSale/equityList.vue
src/api/modules/beforeSale.js
View file @
8ee94ae
...
@@ -440,4 +440,15 @@ const saveWriteOff = params => {
...
@@ -440,4 +440,15 @@ const saveWriteOff = params => {
})
})
}
}
export
default
{
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
,
getWriteOffList
,
exportWriteOffData
,
getWriteOffService
,
getWriteOffDetail
,
saveWriteOff
,
getNewPackageListApi
}
// 获取产品名称 (权益订单列表查询条件)
const
getProductListApi
=
params
=>
{
params
.
method
=
'scrm.api.equity.service.spu.select.get'
return
http
({
url
:
'rop-scrm-equity/router'
,
method
:
'GET'
,
data
:
params
,
sign
:
true
})
}
export
default
{
getUserInfoApi
,
getCountNoDataApi
,
getListApi
,
getMerchantApi
,
getExportApi
,
getPriteApi
,
getCarBrandListApi
,
getCarChildListApi
,
getCarTypeListApi
,
getCarSeriesListApi
,
getHotlineApi
,
getDefaultCarbrandApi
,
updateHotlineApi
,
updateCarBrandApi
,
getProListApi
,
getPackageListApi
,
getEquityApi
,
updateEquityApi
,
createCodeApi
,
getOrderAttrApi
,
getAllOrderValueApi
,
verifyOrderApi
,
checkOrderApi
,
updateOrderApi
,
uploadImgApi
,
backOrderApi
,
aduitOrderApi
,
judgeSetting
,
spaAgressData
,
merchantInfo
,
dateBycarNo
,
activeCodeList
,
updateActiveCode
,
getWriteOffList
,
exportWriteOffData
,
getWriteOffService
,
getWriteOffDetail
,
saveWriteOff
,
getNewPackageListApi
,
getProductListApi
}
src/views/beforeSale/equityList.vue
View file @
8ee94ae
...
@@ -186,6 +186,7 @@ export default {
...
@@ -186,6 +186,7 @@ export default {
queryText
:
''
,
queryText
:
''
,
orderStatus
:
''
,
orderStatus
:
''
,
packageCodeList
:
[],
packageCodeList
:
[],
spuNameList
:
[],
merchantId
:
''
,
merchantId
:
''
,
dqtId
:
''
,
dqtId
:
''
,
pqId
:
''
,
pqId
:
''
,
...
@@ -256,11 +257,11 @@ export default {
...
@@ -256,11 +257,11 @@ export default {
},
},
{
{
label
:
'产品名称'
,
label
:
'产品名称'
,
name
:
'
packageCod
eList'
,
name
:
'
spuNam
eList'
,
type
:
'select'
,
type
:
'select'
,
optionList
:
[],
optionList
:
[],
optionId
:
'
packag
eCode'
,
optionId
:
'
spuNam
eCode'
,
optionLabel
:
'
package
Name'
,
optionLabel
:
'
spu
Name'
,
optionsName
:
'goodsStatusList'
,
optionsName
:
'goodsStatusList'
,
multiple
:
true
multiple
:
true
},
},
...
@@ -454,6 +455,14 @@ export default {
...
@@ -454,6 +455,14 @@ export default {
},
},
{
{
label
:
'产品名称'
,
label
:
'产品名称'
,
prop
:
'spuName'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
return
cellValue
.
spuName
||
'-'
}
},
{
label
:
'商品名称'
,
prop
:
'packageName'
,
prop
:
'packageName'
,
width
:
'200px'
,
width
:
'200px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
...
@@ -649,9 +658,10 @@ export default {
...
@@ -649,9 +658,10 @@ export default {
// )
// )
// }
// }
this
.
$refs
.
equityRef
.
page
.
pageSize
=
5
this
.
$refs
.
equityRef
.
page
.
pageSize
=
5
this
.
$apis
.
beforeSale
.
getProListApi
({}).
then
(
res
=>
{
this
.
$apis
.
beforeSale
.
getProductListApi
({}).
then
(
res
=>
{
res
?.
forEach
(
v
=>
v
.
spuNameCode
=
v
.
spuName
)
this
.
baseData
.
goodsStatusList
=
res
this
.
baseData
.
goodsStatusList
=
res
this
.
getOptionsList
(
'searchFormData'
,
false
,
'
packageCod
eList'
)
this
.
getOptionsList
(
'searchFormData'
,
false
,
'
spuNam
eList'
)
})
})
//服务状态
//服务状态
this
.
getOptionsList
(
'searchFormData'
,
true
,
'orderStatus'
)
this
.
getOptionsList
(
'searchFormData'
,
true
,
'orderStatus'
)
...
@@ -1134,4 +1144,12 @@ export default {
...
@@ -1134,4 +1144,12 @@ export default {
.tips-dialog
.el-dialog__body
{
.tips-dialog
.el-dialog__body
{
padding
:
10px
15px
20px
!important
;
padding
:
10px
15px
20px
!important
;
}
}
.before-sale
{
::v-deep
.el-select
.el-tag{
max-width
:
60%
;
}
::v-deep
.el-select__input
{
margin-left
:
5px
;
}
}
</
style
>
</
style
>
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