diff --git a/src/views/modules/customerIssue/customerIssuePDA.vue b/src/views/modules/customerIssue/customerIssuePDA.vue index 58f444a..e62e8a7 100644 --- a/src/views/modules/customerIssue/customerIssuePDA.vue +++ b/src/views/modules/customerIssue/customerIssuePDA.vue @@ -164,6 +164,11 @@ export default { // 基于申请单发料相关方法 async loadIssueRequestMaterials() { + if (this.loading) { + console.log("正在加载中,防重复提交"); + + return; + } if (!this.requestIssueForm.requestNo) { this.showMessage('请输入发料申请单号', 'error') return diff --git a/src/views/modules/outsourcing-return/outsourcingReturn.vue b/src/views/modules/outsourcing-return/outsourcingReturn.vue index 9949efd..13e5097 100644 --- a/src/views/modules/outsourcing-return/outsourcingReturn.vue +++ b/src/views/modules/outsourcing-return/outsourcingReturn.vue @@ -170,6 +170,11 @@ export default { } }, handleSearch() { + if (this.loading) { + console.log("正在加载中,防重复提交"); + + return; + } if (!this.searchValue.trim()) { this.$message.warning('请输入搜索内容'); return;