Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-ordermanage
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 1becf1f1
authored
Aug 20, 2024
by
王琦琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.43.1-0819' into 'develop'
上线合并 See merge request
!21
2 parents
fcd1f139
245f98b2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
src/views/orderManage/components/order.vue
src/views/orderManage/components/order.vue
View file @
1becf1f
...
@@ -31,6 +31,13 @@
...
@@ -31,6 +31,13 @@
<span
v-show=
"scope.scope.carChildsBrandName"
>
-
{{
scope
.
scope
.
carChildsBrandName
}}
</span>
<span
v-show=
"scope.scope.carChildsBrandName"
>
-
{{
scope
.
scope
.
carChildsBrandName
}}
</span>
<span
v-show=
"scope.scope.carSeriesName"
>
-
{{
scope
.
scope
.
carSeriesName
}}
</span>
<span
v-show=
"scope.scope.carSeriesName"
>
-
{{
scope
.
scope
.
carSeriesName
}}
</span>
</
template
>
</
template
>
<
template
slot=
"packageGoods"
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.scope.packageGoodsList"
:key=
"index"
>
<p>
{{
item
.
packageName
}}
</p>
</span>
</
template
>
<
template
slot=
"upgradeGoodsNames"
<
template
slot=
"upgradeGoodsNames"
slot-scope=
"scope"
>
slot-scope=
"scope"
>
<span
v-for=
"(item, index) in scope.scope.subOrderList"
<span
v-for=
"(item, index) in scope.scope.subOrderList"
...
@@ -102,8 +109,7 @@
...
@@ -102,8 +109,7 @@
:key=
"index"
:key=
"index"
:label=
"item.code"
:label=
"item.code"
:disabled=
"item.required"
:disabled=
"item.required"
class=
"region-list-item"
>
{{
class=
"region-list-item"
>
{{ item.name }}
</el-checkbox>
item.name }}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -384,6 +390,12 @@ export default {
...
@@ -384,6 +390,12 @@ export default {
}
}
},
},
{
{
label
:
'套餐名称'
,
prop
:
'packageGoods'
,
addHtml
:
'packageGoods'
,
minWidth
:
150
},
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'upgradeGoodsNames'
,
prop
:
'upgradeGoodsNames'
,
addHtml
:
'upgradeGoodsNames'
,
addHtml
:
'upgradeGoodsNames'
,
...
@@ -479,8 +491,8 @@ export default {
...
@@ -479,8 +491,8 @@ export default {
subShopMerchanShowHide
:
true
,
subShopMerchanShowHide
:
true
,
chooseFieldVisible
:
false
,
chooseFieldVisible
:
false
,
infoForm
:
{
infoForm
:
{
fields
:
[]
,
fields
:
[]
}
,
}
}
}
},
},
...
@@ -624,7 +636,7 @@ export default {
...
@@ -624,7 +636,7 @@ export default {
this
.
$apis
.
order
.
exportHeadTemplate
({}).
then
(
res
=>
{
this
.
$apis
.
order
.
exportHeadTemplate
({}).
then
(
res
=>
{
this
.
baseData
.
fieldList
=
res
this
.
baseData
.
fieldList
=
res
this
.
chooseFieldVisible
=
true
this
.
chooseFieldVisible
=
true
console
.
log
(
this
.
baseData
.
fieldList
)
;
console
.
log
(
this
.
baseData
.
fieldList
)
this
.
infoForm
.
fields
=
[]
this
.
infoForm
.
fields
=
[]
this
.
baseData
.
fieldList
.
forEach
(
item
=>
{
this
.
baseData
.
fieldList
.
forEach
(
item
=>
{
if
(
item
.
selected
)
{
if
(
item
.
selected
)
{
...
@@ -637,20 +649,20 @@ export default {
...
@@ -637,20 +649,20 @@ export default {
exportExcel_handleConfirm
()
{
exportExcel_handleConfirm
()
{
let
fields
=
this
.
infoForm
.
fields
let
fields
=
this
.
infoForm
.
fields
this
.
baseData
.
fieldList
=
this
.
baseData
.
fieldList
.
map
(
item
=>
{
this
.
baseData
.
fieldList
=
this
.
baseData
.
fieldList
.
map
(
item
=>
{
if
(
fields
.
find
(
code
=>
(
code
==
item
.
code
)
))
{
if
(
fields
.
find
(
code
=>
code
==
item
.
code
))
{
item
.
selected
=
true
item
.
selected
=
true
}
else
{
}
else
{
item
.
selected
=
false
item
.
selected
=
false
}
}
return
item
return
item
})
})
console
.
log
(
this
.
baseData
.
fieldList
)
;
console
.
log
(
this
.
baseData
.
fieldList
)
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
params
.
pageNum
=
1
params
.
pageNum
=
1
params
.
fieldList
=
this
.
baseData
.
fieldList
params
.
fieldList
=
this
.
baseData
.
fieldList
this
.
$apis
.
order
.
exportOrderApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
order
.
exportOrderApi
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
;
console
.
log
(
res
)
downLoadFile
(
res
)
downLoadFile
(
res
)
this
.
chooseFieldVisible
=
false
this
.
chooseFieldVisible
=
false
})
})
...
...
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