diff --git a/src/utils/mixins.js b/src/utils/mixins.js
index b752685..a1f07aa 100644
--- a/src/utils/mixins.js
+++ b/src/utils/mixins.js
@@ -76,6 +76,10 @@ export const $showColumns = {
}
},
methods: {
+ /**
+ * 隐藏某些列
+ * @param columns
+ */
hideColumn(columns) {
if (this.columns != null) {
this.columns.filter(item => columns.includes(item.key))
@@ -84,6 +88,10 @@ export const $showColumns = {
})
}
},
+ /**
+ * 删除某些列
+ * @param columns
+ */
removeColumn(columns) {
if (columns != null) {
columns.forEach(column => {
diff --git a/src/views/system/smUser/detail.vue b/src/views/system/smUser/detail.vue
index 3bd8e1e..e6a50fb 100644
--- a/src/views/system/smUser/detail.vue
+++ b/src/views/system/smUser/detail.vue
@@ -28,6 +28,7 @@
+
diff --git a/src/views/system/smUser/index.vue b/src/views/system/smUser/index.vue
index 107fb85..7bc05ed 100644
--- a/src/views/system/smUser/index.vue
+++ b/src/views/system/smUser/index.vue
@@ -9,6 +9,14 @@
@keyup.enter.native="handleQuery"
/>
+
+
+
{{d.row.balance | money}} 元
+
+ {{d.row.waitBonusAmount | money}} 元
+
{{d.row.realServiceRate | money | defaultValue}} %
@@ -320,6 +331,7 @@ export default {
{key: 'totalIncome', visible: true, label: '收入金额', align: 'center', minWidth: null, sortable: false, width: "120"},
{key: 'withDrawlAmount', visible: true, label: '提现金额', align: 'center', minWidth: null, sortable: false, width: "120"},
{key: 'balance', visible: true, label: '余额', align: 'center', minWidth: null, sortable: true, width: null},
+ {key: 'waitBonusAmount', visible: true, label: '未入账', align: 'center', minWidth: null, sortable: false, width: null},
{key: 'realServiceRate', visible: true, label: '商户服务费', align: 'center', minWidth: null, sortable: false, width: "120"},
{key: 'agentServiceRate', visible: true, label: '代理服务费', align: 'center', minWidth: null, sortable: false, width: "120"},
{key: 'withdrawServiceRate', visible: true, label: '提现服务费', align: 'center', minWidth: null, sortable: false, width: "120"},
@@ -375,6 +387,8 @@ export default {
};
},
created() {
+ this.removeColumn(['status'])
+
this.getList();
},
methods: {