Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-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 b47715cc
authored
Aug 22, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:修复表格样式
1 parent
b4cce47b
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
53 additions
and
34 deletions
package-lock.json
package.json
src/components/table-tooltip/index.vue
src/mixins/carMixin.js
src/mixins/goodsMixin.js
src/views/eManagement/index.vue
src/views/financial/index.vue
src/views/gas/index.vue
src/views/goods/index.vue
src/views/rightsCard/index.vue
package-lock.json
View file @
b47715c
...
...
@@ -6408,9 +6408,9 @@
}
},
"glsx-components"
:
{
"version"
:
"1.5.
1
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.
1
.tgz"
,
"integrity"
:
"sha512-
oH3TsANYngsVdDvi7XIqym48sbOuOYoVXV1m8FUoFBC7vI0gCPMgV9iMQosBGKSCPZ70m9XFgQTA0411CpZS9
g=="
,
"version"
:
"1.5.
2
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.5.
2
.tgz"
,
"integrity"
:
"sha512-
5/LaPu0B1uT7Kzl6oyIqyFT/NXIz2w7HNstiRtHaUQN1waSrPPPtzRRwywJg6CSSL+p994NaqPRnX696NAYzK
g=="
,
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
...
...
package.json
View file @
b47715c
...
...
@@ -14,7 +14,7 @@
"el-tree-transfer"
:
"^2.4.7"
,
"element-ui"
:
"^2.15.6"
,
"glsx-common"
:
"^1.4.9"
,
"glsx-components"
:
"^1.5.
1
"
,
"glsx-components"
:
"^1.5.
2
"
,
"glsx-vue-components"
:
"^1.0.15"
,
"jquery"
:
"^3.6.0"
,
"vue"
:
"^2.6.14"
,
...
...
src/components/table-tooltip/index.vue
View file @
b47715c
...
...
@@ -8,7 +8,7 @@
>
<el-button
slot=
"reference"
icon=
"
el-icon
-question"
icon=
"
gl-icon-circle
-question"
circle
></el-button>
</el-popover>
...
...
@@ -31,6 +31,7 @@ export default {
<
style
scope
>
.table-tooltip
{
padding-right
:
0
!important
;
padding-left
:
4px
!important
;
}
.table-tooltip
.el-button
{
border
:
none
!important
;
...
...
src/mixins/carMixin.js
View file @
b47715c
...
...
@@ -6,9 +6,9 @@ export default {
carTableData
:
[],
carTableParams
:
{
listName
:
'data.list'
,
rowStyle
:
({
row
,
rowIndex
})
=>
{
return
row
.
status
==
0
?
{
opacity
:
0.5
}
:
''
},
//
rowStyle: ({ row, rowIndex }) => {
//
return row.status == 0 ? {opacity:0.5} : ''
//
},
tableColumns
:
[{
label
:
'权益名称'
,
prop
:
'equityName'
,
...
...
src/mixins/goodsMixin.js
View file @
b47715c
...
...
@@ -9,9 +9,9 @@ export default {
tags
:
[],
goodsTableData
:
[],
goodsTableParams
:
{
rowStyle
:
({
row
,
rowIndex
})
=>
{
return
row
.
status
==
0
?
{
opacity
:
0.5
}
:
''
},
//
rowStyle: ({ row, rowIndex }) => {
//
return row.status == 0 ? {opacity:0.5} : ''
//
},
tableColumns
:
[{
label
:
'权益名称'
,
prop
:
'equityName'
,
...
...
src/views/eManagement/index.vue
View file @
b47715c
...
...
@@ -109,14 +109,20 @@ export default {
}
},
{
label
:
'实付金额'
,
label
:
'实付金额
/元
'
,
prop
:
'price'
,
align
:
'right'
align
:
'right'
,
formatter
(
cell
){
return
cell
.
price
.
toFixed
(
2
)
}
},
{
label
:
'订单总额'
,
label
:
'订单总额
/元
'
,
prop
:
'income'
,
align
:
'right'
align
:
'right'
,
formatter
(
cell
){
return
cell
.
income
.
toFixed
(
2
)
}
},
{
label
:
'订单号'
,
...
...
src/views/financial/index.vue
View file @
b47715c
...
...
@@ -194,22 +194,31 @@ export default {
}
},
{
label
:
'订单成本金额'
,
label
:
'订单成本金额
/元
'
,
prop
:
'costPrices'
,
width
:
150
,
align
:
'right'
align
:
'right'
,
formatter
(
cell
){
return
cell
.
costPrices
.
toFixed
(
2
)
}
},
{
label
:
'订单支付金额'
,
label
:
'订单支付金额
/元
'
,
prop
:
'orderPrices'
,
width
:
150
,
align
:
'right'
align
:
'right'
,
formatter
(
cell
){
return
cell
.
orderPrices
.
toFixed
(
2
)
}
},
{
label
:
'销售差额'
,
label
:
'销售差额
/元
'
,
prop
:
'discount'
,
width
:
150
,
align
:
'right'
align
:
'right'
,
formatter
(
cell
){
return
cell
.
discount
.
toFixed
(
2
)
}
},
{
label
:
'下单渠道'
,
...
...
src/views/gas/index.vue
View file @
b47715c
...
...
@@ -184,26 +184,26 @@ export default {
prop
:
'oilName'
},
{
label
:
'加油升数
(L)
'
,
label
:
'加油升数
/L
'
,
prop
:
'litre'
,
width
:
'150'
},
{
label
:
'实付金额'
,
label
:
'实付金额
/元
'
,
prop
:
'amountPay'
,
width
:
'100'
,
width
:
120
,
align
:
'right'
},
{
label
:
'订单总额'
,
label
:
'订单总额
/元
'
,
prop
:
'amountGun'
,
width
:
'100'
,
width
:
120
,
align
:
'right'
},
{
label
:
'优惠金额'
,
label
:
'优惠金额
/元
'
,
prop
:
'amountDiscounts'
,
width
:
'100'
,
width
:
120
,
align
:
'right'
},
{
...
...
src/views/goods/index.vue
View file @
b47715c
...
...
@@ -213,13 +213,16 @@ export default {
}
},
{
label
:
'会员价
(元)
'
,
label
:
'会员价
/元
'
,
width
:
150
,
prop
:
'salesPrice'
align
:
'right'
,
prop
:
'salesPrice'
,
formatter
(
cell
){
return
parseFloat
(
cell
.
salesPrice
).
toFixed
(
2
)
}
},
{
prop
:
'sales'
,
sortable
:
true
,
label
:
'销量'
,
width
:
110
...
...
src/views/rightsCard/index.vue
View file @
b47715c
...
...
@@ -294,14 +294,14 @@ export default {
}
},
{
label
:
'售价'
,
label
:
'售价
/元
'
,
prop
:
'price'
,
align
:
'right'
,
formatter
:
cellValue
=>
{
if
(
cellValue
.
price
==
null
)
{
return
'39.9'
+
'元'
return
'39.9'
}
else
{
return
cellValue
.
price
+
'元'
return
parseFloat
(
cellValue
.
price
).
toFixed
(
2
)
}
}
},
...
...
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