|
|
@@ -95,9 +95,9 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box_9">
|
|
|
- <view class="tag_2" @click="pageTo({ url: '/admin/ghs/debtChange?ghsId=' + ghsInfo.id })">
|
|
|
+ <view class="tag_2" @click="balanceChange(ghsInfo)">
|
|
|
<image class="tag-icon" :src="iconSrc('stock-debt-change')" mode="aspectFit" />
|
|
|
- <text>挂账变动</text>
|
|
|
+ <text>余额变动</text>
|
|
|
</view>
|
|
|
<view class="tag_2" @click="pageTo({ url: '/admin/clear/list?ghsId=' + ghsInfo.id })">
|
|
|
<image class="tag-icon" :src="iconSrc('stock-checkout-record')" mode="aspectFit" />
|
|
|
@@ -210,7 +210,7 @@
|
|
|
<uni-popup ref="toShowMore" background-color="#fff" type="center" :animation="true" class="class-popup-style">
|
|
|
<view class="more-popup-list">
|
|
|
<view class="more-popup-item"><button @click="rechargeChange()">充值记录</button></view>
|
|
|
- <view class="more-popup-item"><button @click="balanceChange()">余额变动</button></view>
|
|
|
+ <view class="more-popup-item"><button @click="goDebtChange()">挂账变动</button></view>
|
|
|
<view class="more-popup-item"><button @click="bpSj()">删除</button></view>
|
|
|
<view class="more-popup-item more-popup-item--cancel"><button @click="closeToShow()">取消</button></view>
|
|
|
</view>
|
|
|
@@ -446,13 +446,16 @@ export default {
|
|
|
getMall(){
|
|
|
this.$util.pageTo({ url: '/pagesPurchase/open' })
|
|
|
},
|
|
|
+ goDebtChange(){
|
|
|
+ this.closeToShow()
|
|
|
+ this.pageTo({ url: '/admin/ghs/debtChange?ghsId=' + this.currentGhs.id })
|
|
|
+ },
|
|
|
rechargeChange() {
|
|
|
this.closeToShow()
|
|
|
this.pageTo({ url: '/admin/ghs/rechargeChange?ghsId=' + this.currentGhs.id })
|
|
|
},
|
|
|
- balanceChange() {
|
|
|
- this.closeToShow()
|
|
|
- this.pageTo({ url: '/admin/ghs/balanceChange?ghsId=' + this.currentGhs.id })
|
|
|
+ balanceChange(ghsInfo) {
|
|
|
+ this.pageTo({ url: '/admin/ghs/balanceChange?ghsId=' + ghsInfo.id })
|
|
|
},
|
|
|
bpSj() {
|
|
|
let that = this
|
|
|
@@ -634,7 +637,7 @@ export default {
|
|
|
|
|
|
.more-popup-item {
|
|
|
width: 100vw;
|
|
|
- margin-top: 8upx;
|
|
|
+ margin-top:20upx;
|
|
|
}
|
|
|
|
|
|
.more-popup-item--cancel {
|