优化代码

This commit is contained in:
wuxw 2023-11-23 11:18:39 +08:00
parent 55a0ea8287
commit 57e14a947b
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@
<view class="text-gray">备注</view>
<view class="text-gray">{{item.remark}}</view>
</view>
<view class="flex margin-top-xs justify-between">
<view class="flex margin-top-xs justify-between" v-if="item.openInvoice == 'D'">
<view class="text-gray"></view>
<view class="text-gray"><button class="cu-btn sm line-blue" @click="_applyInvoice(item)">申请开票</button></view>
</view>

View File

@ -136,7 +136,8 @@
row: 15,
communityId: getCommunityId(),
ownerId: this.ownerId,
state: '1400'
state: '1400',
openInvoice:'D',
}).then(_details => {
_details.forEach(function(_item) {
_item.selected = "1";