Compare commits

...

4 Commits

4 changed files with 34 additions and 16 deletions

View File

@ -37,8 +37,8 @@
<ul> <ul>
<li><a href="/#/pages/property/reportProficient">报表专家</a></li> <li><a href="/#/pages/property/reportProficient">报表专家</a></li>
<li><a href="/#/pages/property/reportFeeSummary">费用汇总</a></li> <li><a href="/#/pages/property/reportFeeSummary">费用汇总</a></li>
<li><a href="/#/pages/property/reportFloorUnitFeeSummary">楼栋费用</a></li> <li><a href="/#/pages/report/dataReport">费用统计</a></li>
<li><a href="/#/pages/property/reportFeeBreakdown">费用分项</a></li> <li><a href="/#/pages/property/reportOweFeeDetail">欠费明细</a></li>
</ul> </ul>
</div> </div>
<h1 class="tith1 fl" id="community"></h1> <h1 class="tith1 fl" id="community"></h1>

View File

@ -260,7 +260,7 @@ export default {
} }
await editOwner(params) await editOwner(params)
this.$message.success(this.$t('listOwner.updateSuccess')) this.$message.success(this.$t('common.submitSuccess'))
this.visible = false this.visible = false
this.$emit('success') this.$emit('success')
} catch (error) { } catch (error) {

View File

@ -18,10 +18,10 @@
{{ $t('common.audit') }} {{ $t('common.audit') }}
</el-button> </el-button>
<el-button size="mini" @click="_deleteAppUserBindingOwnerModel(scope.row)"> <el-button size="mini" @click="_deleteAppUserBindingOwnerModel(scope.row)">
{{ $t('ownerDetailAppUser.unbind') }} {{ $t('common.delete') }}
</el-button> </el-button>
<el-button size="mini" @click="_resetUserPwdModel(scope.row)"> <el-button size="mini" @click="_resetUserPwdModel(scope.row)">
{{ $t('ownerDetailAppUser.resetPwd') }} {{ $t('auditAuthOwner.resetPwd') }}
</el-button> </el-button>
</el-button-group> </el-button-group>
</template> </template>

View File

@ -75,7 +75,14 @@
</div> </div>
<el-table :data="feeDetails" border style="width: 100%"> <el-table :data="feeDetails" border style="width: 100%">
<el-table-column type="selection" width="55" align="center" @select-all="handleFeeSelectAll" /> <el-table-column width="55" align="center">
<template slot-scope="scope">
<el-checkbox
:checked="formData.detailIds.includes(scope.row.detailId)"
@change="handleFeeCheckboxChange(scope.row.detailId, $event)">
</el-checkbox>
</template>
</el-table-column>
<el-table-column prop="feeName" :label="$t('ownerApplyInvoice.feeName')" align="center" /> <el-table-column prop="feeName" :label="$t('ownerApplyInvoice.feeName')" align="center" />
<el-table-column prop="payerObjName" :label="$t('ownerApplyInvoice.payer')" align="center" /> <el-table-column prop="payerObjName" :label="$t('ownerApplyInvoice.payer')" align="center" />
<el-table-column :label="$t('ownerApplyInvoice.receivablePaid')" align="center"> <el-table-column :label="$t('ownerApplyInvoice.receivablePaid')" align="center">
@ -108,7 +115,14 @@
</div> </div>
<el-table :data="acctDetails" border style="width: 100%"> <el-table :data="acctDetails" border style="width: 100%">
<el-table-column type="selection" width="55" align="center" @select-all="handleAcctSelectAll" /> <el-table-column width="55" align="center">
<template slot-scope="scope">
<el-checkbox
:checked="formData.arIds.includes(scope.row.arId)"
@change="handleAcctCheckboxChange(scope.row.arId, $event)">
</el-checkbox>
</template>
</el-table-column>
<el-table-column prop="acctName" :label="$t('ownerApplyInvoice.accountName')" align="center" /> <el-table-column prop="acctName" :label="$t('ownerApplyInvoice.accountName')" align="center" />
<el-table-column prop="acctTypeName" :label="$t('ownerApplyInvoice.accountType')" align="center" /> <el-table-column prop="acctTypeName" :label="$t('ownerApplyInvoice.accountType')" align="center" />
<el-table-column prop="ownerName" :label="$t('ownerApplyInvoice.owner')" align="center" /> <el-table-column prop="ownerName" :label="$t('ownerApplyInvoice.owner')" align="center" />
@ -231,21 +245,25 @@ export default {
this.loadAcctDetails() this.loadAcctDetails()
} }
}, },
handleFeeSelectAll(selection) { handleFeeCheckboxChange(detailId, checked) {
this.formData.detailIds = selection.length if (checked) {
? this.feeDetails.map(item => item.detailId) this.formData.detailIds.push(detailId)
: [] } else {
this.formData.detailIds = this.formData.detailIds.filter(id => id !== detailId)
}
}, },
handleAcctSelectAll(selection) { handleAcctCheckboxChange(arId, checked) {
this.formData.arIds = selection.length if (checked) {
? this.acctDetails.map(item => item.arId) this.formData.arIds.push(arId)
: [] } else {
this.formData.arIds = this.formData.arIds.filter(id => id !== arId)
}
}, },
async handleSubmit() { async handleSubmit() {
try { try {
// //
if (!this.formData.ownerId) { if (!this.formData.ownerId) {
this.$message.warning(this.$t('ownerApplyInvoice.chooseContent')) this.$message.warning(this.$t('ownerApplyInvoice.chooseOwner'))
return return
} }