Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-equity
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 94e7a239
authored
Jul 12, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
fb02942e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
72 additions
and
32 deletions
src/components/d2-table/index.vue
src/components/table-tooltip/index.vue
src/views/tao/financialManagement/index.vue
src/views/tao/goods/addGoods/index.vue
src/views/tao/goods/index/index.vue
src/views/tao/order/index/index.vue
src/views/tao/sale/index/index.vue
src/components/d2-table/index.vue
View file @
94e7a23
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
@
selection-change=
"handleSelect"
@
selection-change=
"handleSelect"
size=
"medium"
size=
"medium"
:show-summary=
"tableParams.showSummary"
>
>
<el-table-column
<el-table-column
v-if=
"tableParams.mutiSelectUniqueKey && tableParams.mutiSelectName"
v-if=
"tableParams.mutiSelectUniqueKey && tableParams.mutiSelectName"
...
...
src/components/table-tooltip/index.vue
View file @
94e7a23
...
@@ -29,6 +29,9 @@ export default {
...
@@ -29,6 +29,9 @@ export default {
</
script
>
</
script
>
<
style
scope
>
<
style
scope
>
.table-tooltip
{
padding-right
:
0
!important
;
}
.table-tooltip
.el-button
{
.table-tooltip
.el-button
{
border
:
none
!important
;
border
:
none
!important
;
}
}
...
@@ -39,4 +42,7 @@ export default {
...
@@ -39,4 +42,7 @@ export default {
.table-tooltip
.el-button
:hover
{
.table-tooltip
.el-button
:hover
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
.table-tooltip
.el-button
:focus
{
color
:
initial
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/financialManagement/index.vue
View file @
94e7a23
...
@@ -108,6 +108,7 @@
...
@@ -108,6 +108,7 @@
<d2-table
<d2-table
:searchForm=
"searchObj"
:searchForm=
"searchObj"
:tableParams=
"tableParams"
:tableParams=
"tableParams"
:tableData=
"tableData"
:hasNum=
"false"
:hasNum=
"false"
>
>
<span
<span
...
@@ -123,17 +124,6 @@
...
@@ -123,17 +124,6 @@
<template
slot=
'custom'
>
<template
slot=
'custom'
>
<div
class=
"table-custom"
>
<div
class=
"table-custom"
>
<el-button
type=
"primary"
>
导出
</el-button>
<el-button
type=
"primary"
>
导出
</el-button>
<div
class=
"table-price-box"
>
<div
class=
"table-price-label"
>
合计:
</div>
<template
v-for=
"(i,index) in priceItem"
>
<div
:key=
"index"
class=
"table-price"
>
{{
i
}}
元
</div>
</
template
>
</div>
</div>
</div>
</
template
>
</
template
>
</d2-table>
</d2-table>
...
@@ -146,7 +136,6 @@ export default {
...
@@ -146,7 +136,6 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
priceItem
:
[
22.22
,
11.25
,
9527
],
searchObj
:
{
searchObj
:
{
status
:
1
status
:
1
},
},
...
@@ -164,8 +153,59 @@ export default {
...
@@ -164,8 +153,59 @@ export default {
label
:
'售后中'
,
label
:
'售后中'
,
value
:
4
value
:
4
}],
}],
tableData
:
[
{
cardNo
:
'123'
,
activationCode
:
'恒河猴22'
,
memberName
:
'SS2W'
,
sn
:
'56456456'
,
updatedDate
:
'JKHSJKSH'
,
cardNoSSS
:
'SHJJKHK'
,
AAA
:
'掉接口'
,
BBB
:
'SDS1D1擦拭'
,
CCC
:
'胜多负少的'
,
DDD
:
'试胆大会'
},
{
cardNo
:
'123'
,
activationCode
:
'恒河猴22'
,
memberName
:
'SS2W'
,
sn
:
'56456456'
,
updatedDate
:
'JKHSJKSH'
,
cardNoSSS
:
'SHJJKHK'
,
AAA
:
'掉接口'
,
BBB
:
'SDS1D1擦拭'
,
CCC
:
'胜多负少的'
,
DDD
:
'试胆大会'
},
{
cardNo
:
'123'
,
activationCode
:
'恒河猴22'
,
memberName
:
'SS2W'
,
sn
:
'56456456'
,
updatedDate
:
'JKHSJKSH'
,
cardNoSSS
:
'SHJJKHK'
,
AAA
:
'掉接口'
,
BBB
:
'SDS1D1擦拭'
,
CCC
:
'胜多负少的'
,
DDD
:
'试胆大会'
},
{
cardNo
:
'123'
,
activationCode
:
'恒河猴22'
,
memberName
:
'SS2W'
,
sn
:
'56456456'
,
updatedDate
:
'JKHSJKSH'
,
cardNoSSS
:
'SHJJKHK'
,
AAA
:
'掉接口'
,
BBB
:
'SDS1D1擦拭'
,
CCC
:
'胜多负少的'
,
DDD
:
'试胆大会'
},
],
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
// listName: 'list',
showSummary
:
true
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'订单编号'
,
label
:
'订单编号'
,
...
@@ -186,48 +226,36 @@ export default {
...
@@ -186,48 +226,36 @@ export default {
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'memberName'
,
prop
:
'memberName'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
memberCardDefine
.
memberName
}
},
},
{
{
label
:
'订单成本金额'
,
label
:
'订单成本金额'
,
prop
:
'updatedDate'
,
prop
:
'updatedDate'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
date_format
(
cellValue
.
updatedDate
)
}
},
},
{
{
label
:
'订单支付金额'
,
label
:
'订单支付金额'
,
prop
:
'cardNo'
,
prop
:
'cardNo
SSS
'
,
minWidth
:
'200'
minWidth
:
'200'
},
},
{
{
label
:
'销售差额'
,
label
:
'销售差额'
,
prop
:
'
activationCode
'
,
prop
:
'
AAA
'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
},
},
{
{
label
:
'下单渠道'
,
label
:
'下单渠道'
,
prop
:
'
sn
'
,
prop
:
'
CCC
'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
},
},
{
{
label
:
'订单状态'
,
label
:
'订单状态'
,
prop
:
'
memberName
'
,
prop
:
'
BBB
'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
memberCardDefine
.
memberName
}
},
},
{
{
label
:
'下单时间'
,
label
:
'下单时间'
,
prop
:
'
updatedDate
'
,
prop
:
'
DDD
'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
date_format
(
cellValue
.
updatedDate
)
}
},
},
]
]
}
}
...
...
src/views/tao/goods/addGoods/index.vue
View file @
94e7a23
...
@@ -234,6 +234,7 @@ export default {
...
@@ -234,6 +234,7 @@ export default {
[{
'size'
:
[
'small'
,
false
,
'large'
,
'huge'
]
}],
[{
'size'
:
[
'small'
,
false
,
'large'
,
'huge'
]
}],
[{
'color'
:
[]
},
{
'background'
:
[]
}],
[{
'color'
:
[]
},
{
'background'
:
[]
}],
[{
'align'
:
[]
}],
[{
'align'
:
[]
}],
[
'clean'
],
[
'link'
,
'image'
]
[
'link'
,
'image'
]
]
]
}
}
...
...
src/views/tao/goods/index/index.vue
View file @
94e7a23
...
@@ -145,6 +145,7 @@ export default {
...
@@ -145,6 +145,7 @@ export default {
{
{
prop
:
'mobile'
,
prop
:
'mobile'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
sortable
:
true
,
renderHeader
:
(
h
)
=>
{
renderHeader
:
(
h
)
=>
{
return
h
(
return
h
(
'div'
,
'div'
,
...
@@ -192,8 +193,9 @@ export default {
...
@@ -192,8 +193,9 @@ export default {
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
src=
"@a/css/tao.css"
></
style
>
<
style
>
<
style
>
.table-header
{
.table-header
{
display
:
flex
!important
;
display
:
inline-
flex
!important
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
0
!important
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/tao/order/index/index.vue
View file @
94e7a23
...
@@ -185,6 +185,7 @@ export default {
...
@@ -185,6 +185,7 @@ export default {
label
:
'下单时间'
,
label
:
'下单时间'
,
prop
:
'validitDate'
,
prop
:
'validitDate'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
sortable
:
true
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
}
}
},
},
...
...
src/views/tao/sale/index/index.vue
View file @
94e7a23
...
@@ -179,9 +179,10 @@ export default {
...
@@ -179,9 +179,10 @@ export default {
}
}
},
},
{
{
label
:
'
下单
时间'
,
label
:
'
售后
时间'
,
prop
:
'validitDate'
,
prop
:
'validitDate'
,
minWidth
:
'200'
,
minWidth
:
'200'
,
sortable
:
true
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
}
}
},
},
...
...
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