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 e85da47d
authored
Jan 08, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 屏蔽字段
1 parent
20967669
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
src/views/inSale/upgradeOrder.vue
src/views/inSale/upgradeOrder.vue
View file @
e85da47
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<el-select
class=
"myfindWidth"
size=
"small"
collapse-tags
multiple
@
removeTag=
"removeTag"
v-model=
"tableCoulumList"
@
change=
"changTableCoulum"
placeholder=
"请选择要展示的字段"
>
<el-select
class=
"myfindWidth"
size=
"small"
collapse-tags
multiple
@
removeTag=
"removeTag"
v-model=
"tableCoulumList"
@
change=
"changTableCoulum"
placeholder=
"请选择要展示的字段"
>
<el-option
v-for=
"item in fieldList"
:disabled=
"item.disabled"
:key=
"item.value"
:label=
"item.label"
:value=
"item"
></el-option>
<el-option
v-for=
"item in fieldList"
:disabled=
"item.disabled"
:key=
"item.value"
:label=
"item.label"
:value=
"item"
></el-option>
</el-select>
</el-select>
<GLButton
style=
"margin-left: 8px
;
"
size=
"small"
fn=
"导出精品升级订单"
@
click=
"toExport"
>
导出数据
</GLButton>
<GLButton
style=
"margin-left: 8px"
size=
"small"
fn=
"导出精品升级订单"
@
click=
"toExport"
>
导出数据
</GLButton>
</div>
</div>
</div>
</div>
<!-- :span-method="objectSpanMethod" -->
<!-- :span-method="objectSpanMethod" -->
...
@@ -442,15 +442,15 @@ export default {
...
@@ -442,15 +442,15 @@ export default {
enumId
:
'upgradeGoodsCommodityCode'
,
enumId
:
'upgradeGoodsCommodityCode'
,
disabled
:
false
disabled
:
false
},
},
{
//
{
value
:
'goodsCost'
,
//
value: 'goodsCost',
label
:
'商品成本'
,
//
label: '商品成本',
level
:
1
,
//
level: 1,
enumId
:
'goodsCost'
,
//
enumId: 'goodsCost',
width
:
'110'
,
//
width: '110',
align
:
'right'
,
//
align: 'right',
disabled
:
false
//
disabled: false
},
//
},
{
{
value
:
'customerName'
,
value
:
'customerName'
,
label
:
'客户姓名'
,
label
:
'客户姓名'
,
...
@@ -628,12 +628,12 @@ export default {
...
@@ -628,12 +628,12 @@ export default {
prop
:
'upgradeGoodsCommodityCode'
,
prop
:
'upgradeGoodsCommodityCode'
,
width
:
'200'
width
:
'200'
},
},
{
//
{
label
:
'商品成本'
,
//
label: '商品成本',
prop
:
'goodsCost'
,
//
prop: 'goodsCost',
width
:
'110'
,
//
width: '110',
align
:
'right'
//
align: 'right'
},
//
},
{
{
label
:
'客户姓名'
,
label
:
'客户姓名'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
...
@@ -755,7 +755,7 @@ export default {
...
@@ -755,7 +755,7 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
tableCoulumList
:
function
(
newvalue
,
oldvalue
)
{
tableCoulumList
:
function
(
newvalue
,
oldvalue
)
{
this
.
handlerNewTableCoulum
(
newvalue
)
this
.
handlerNewTableCoulum
(
newvalue
)
}
}
},
},
...
@@ -1143,7 +1143,7 @@ export default {
...
@@ -1143,7 +1143,7 @@ export default {
converterApi
(
para
).
then
(
res
=>
{
converterApi
(
para
).
then
(
res
=>
{
res
.
list
=
res
&&
res
.
list
?
res
.
list
:
[]
res
.
list
=
res
&&
res
.
list
?
res
.
list
:
[]
let
tableData
=
[]
let
tableData
=
[]
const
TYPELIST
=
{
0
:
'--'
,
1
:
'毛利'
,
2
:
'收入'
,
3
:
'固定'
,
4
:
"(产值-流量成本)"
,
5
:
"(产值-流量成本-其他费用不包含产品成本)"
,
6
:
"(产值-流量成本-其他费用包含产品成本)"
,
8
:
'(收入-自定义其他费用)'
,
9
:
'(收入-其他费用)'
,
10
:
'按固定金额*购买数量'
}
const
TYPELIST
=
{
0
:
'--'
,
1
:
'毛利'
,
2
:
'收入'
,
3
:
'固定'
,
4
:
'(产值-流量成本)'
,
5
:
'(产值-流量成本-其他费用不包含产品成本)'
,
6
:
'(产值-流量成本-其他费用包含产品成本)'
,
8
:
'(收入-自定义其他费用)'
,
9
:
'(收入-其他费用)'
,
10
:
'按固定金额*购买数量'
}
res
.
list
.
forEach
((
item
,
_idx
)
=>
{
res
.
list
.
forEach
((
item
,
_idx
)
=>
{
const
packageOrderList
=
item
.
packageOrderList
||
[]
const
packageOrderList
=
item
.
packageOrderList
||
[]
const
orderRuleObj
=
item
.
mainProfitAllocation
||
{}
// 整单规则取值对象
const
orderRuleObj
=
item
.
mainProfitAllocation
||
{}
// 整单规则取值对象
...
...
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