Commit b62d56ea authored by 我在何方's avatar 我在何方

收款单提示优化

parent 8c95c7b8
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</el-descriptions-item> </el-descriptions-item>
</el-descriptions> </el-descriptions>
</el-card> </el-card>
<el-card class="card"> <el-card class="card">
<div slot="header" class="card-title">{{ $t('收款信息') }}</div> <div slot="header" class="card-title">{{ $t('收款信息') }}</div>
<el-table :data="form.receiptAccountList" border> <el-table :data="form.receiptAccountList" border>
...@@ -802,6 +802,10 @@ export default { ...@@ -802,6 +802,10 @@ export default {
.catch(() => {}); .catch(() => {});
}, },
verificationAll() { verificationAll() {
if(!this.detailed||this.detailed.length==0){
this.$modal.msgError(this.$t('当前收款单未添加银行收款明细,无法全部核销,请添加银行收款单明细,并核销所有实收明细后再进行全部核销!'));
return
}
this.$modal this.$modal
.confirm(this.$t('您确认要全部核销吗?')) .confirm(this.$t('您确认要全部核销吗?'))
.then(() => { .then(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment