@@ -93,7 +93,7 @@ Page({
for (const key in obj) {
showList.push({
name: obj[key] + '(元)',
- value: CNY(res.data[0][key])
+ value: res.data[0][key] >= 10000 ? (CNY(res.data[0][key] / 10000) + '万') : res.data[0][key]
})
}
} else {
@@ -139,7 +139,7 @@ Page({
if (e.detail.value == 0) {
this.data.table[0] = {
title: '部门',
- width: 330,
+ width: 230,
key: 'depname',
fun: 'toDetail'
@@ -67,7 +67,8 @@ page {
padding-top: 10rpx;
background-color: #fff;
margin-top: 8rpx;
- text-align: center;
+ box-sizing: border-box;
+ // text-align: center;
.table-head {
position: sticky;
@@ -81,6 +82,8 @@ page {
view {
flex-shrink: 0;
background-color: #F2F2F2;
+ padding: 0 10rpx;