物业费现金账户

This commit is contained in:
clefer 2023-06-12 18:18:46 +08:00
parent 4244f7d436
commit 3617941419

View File

@ -24,6 +24,7 @@
</template> </template>
<script> <script>
import context from '../../lib/java110/Java110Context.js';
import { import {
queryOwnerAccount queryOwnerAccount
} from '../../api/user/userApi.js' } from '../../api/user/userApi.js'
@ -87,19 +88,42 @@
}, },
_listOwnerAccount: function(_feeId, _communityId) { _listOwnerAccount: function(_feeId, _communityId) {
// 2023.6.12
let _that = this; let _that = this;
queryOwnerAccount({ context.getOwner(function(_ownerInfo) {
page: 1, if (_ownerInfo) {
row: 30, if(!_that.communityId){
feeId: _feeId, _that.communityId = _ownerInfo.communityId
communityId: _communityId }
}).then((data) => { queryOwnerAccount({
if(!data){ page: 1,
_that.accounts = []; row: 20,
return; idCard: _ownerInfo.idCard,
link: _ownerInfo.link,
communityId: _communityId,
acctType:'2003'
}).then((data) => {
if (!data) {
_that.accounts = [];
return;
}
_that.accounts = data;
})
} }
_that.accounts = data; });
}) // let _that = this;
// queryOwnerAccount({
// page: 1,
// row: 30,
// feeId: _feeId,
// communityId: _communityId
// }).then((data) => {
// if(!data){
// _that.accounts = [];
// return;
// }
// _that.accounts = data;
// })
}, },
_viewAccountDetail: function(_account) { _viewAccountDetail: function(_account) {