Commit e3f85d690310ba6abcd10d50d288384268eba79a

Authored by 陈威
1 parent 36adbb26
Exists in master

update

frontend/front/src/components/tableSlot/dailyFunds/updateInspBtn.vue
1 1 <template>
2 2 <div>
3   - <el-button @click="dialogVisible = !dialogVisible">批量复核</el-button>
  3 + <el-button @click="onPlfh">批量复核</el-button>
4 4 <el-button @click="dcVisible = !dcVisible" style="margin-left: 10px">资金日报导出</el-button>
5 5 <el-dialog title="批量复核" :visible.sync="dialogVisible" width="30%">
6 6 <el-form ref="form" label-width="120px">
... ... @@ -73,6 +73,16 @@ export default {
73 73 this.date = year + '-' + month + '-' + day;
74 74 },
75 75 methods: {
  76 + onPlfh() {
  77 + let d = this.selectRows.find(item => {
  78 + return item.wdailyfundsfinspstatusname != '待复核';
  79 + })
  80 + if (d) {
  81 + this.$message.warning("请勾选‘待复核’状态的记录进行审核!");
  82 + return false;
  83 + }
  84 + this.dialogVisible = !this.dialogVisible
  85 + },
76 86 onSubmit() {
77 87 if (!this.selectRows || this.selectRows.length == 0) {
78 88 this.$message.error('请选择数据!');
... ...