|
|
@@ -10,7 +10,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<button
|
|
|
- v-if="id"
|
|
|
+ v-if="showGatheringBtn"
|
|
|
class="admin-button-com middle pay-header-btn"
|
|
|
:disabled="ghsDataLoading"
|
|
|
@click="goGathering">
|
|
|
@@ -133,6 +133,17 @@
|
|
|
},
|
|
|
hasOutstanding() {
|
|
|
return this.outstandingAmount > 0
|
|
|
+ },
|
|
|
+ // 净 balance 为负时才展示待结明细入口
|
|
|
+ showGatheringBtn() {
|
|
|
+ if (!this.id || this.ghsDataLoading || this.loadError) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ const info = this.customInfo
|
|
|
+ if (!info || this.$util.isEmpty(info)) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ return parseFloat(info.balance || 0) < 0
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -525,8 +536,8 @@
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- padding-top: 32upx;
|
|
|
- padding-bottom: 32upx;
|
|
|
+ padding-top: 34upx;
|
|
|
+ padding-bottom: 34upx;
|
|
|
line-height: 32upx;
|
|
|
box-sizing: border-box;
|
|
|
}
|