|
|
@@ -73,6 +73,9 @@ export default {
|
|
|
return !this.hasList
|
|
|
}
|
|
|
},
|
|
|
+ onLoad() {
|
|
|
+ this.getMyChange()
|
|
|
+ },
|
|
|
methods: {
|
|
|
formatMoney(val) {
|
|
|
const n = parseFloat(val)
|
|
|
@@ -116,10 +119,15 @@ export default {
|
|
|
shouldHideRow(item) {
|
|
|
return item.io == 0 && item.event && String(item.event).indexOf('结账') === 0
|
|
|
},
|
|
|
- async init() {
|
|
|
+ init(){
|
|
|
+
|
|
|
+ },
|
|
|
+ async getMyChange() {
|
|
|
+ let salt = this.option.salt||''
|
|
|
const res = await balanceChangeList({
|
|
|
page: this.list.page,
|
|
|
- ghsId: this.option.ghsId
|
|
|
+ ghsId: this.option.ghsId,
|
|
|
+ salt: salt
|
|
|
})
|
|
|
if (this.$util.isEmpty(res.data.list)) {
|
|
|
this.completes(res)
|