shish 9 hodín pred
rodič
commit
924d11936a

+ 10 - 2
hdApp/src/admin/ghs/balanceChange.vue

@@ -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)

+ 1 - 1
hdApp/src/admin/ghs/pay.vue

@@ -365,7 +365,7 @@
 					this.$msg('供货商信息加载中,请稍后再试')
 					return
 				}
-				this.pageTo({ url: '/admin/ghs/balanceChange?ghsId=' + this.id })
+				this.pageTo({ url: '/admin/ghs/balanceChange?ghsId=' + this.id+'&salt='+this.salt })
 			},
 			downloadImg() {
 				if (!this.imgUrl) {