修改报工记录页面按钮重复点击的问题

yangwl
LAPTOP-R6EHHS26\86155 6 months ago
parent 6e55177872
commit 51d9b2e0cd

@ -472,7 +472,7 @@
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="cancel" v-if="optType == 'view'"></el-button>
<el-button type="primary" @click="submitConsume" v-else> </el-button>
<el-button :disabled="loading" type="primary" @click="submitConsume" v-else> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
@ -1362,7 +1362,7 @@ export default {
this.sConsumeRows = selection;
},
submitConsume() {
// this.loading = true;
this.loading = true;
this.pConsumeRows = this.pConsumeRows.concat(
this.mergedArray.filter(
(obj2) =>

Loading…
Cancel
Save