From a9d255e5fa3743e0038ec81384291dfe7c2fdeec Mon Sep 17 00:00:00 2001 From: zhangxuanming <2260476558@qq.com> Date: Fri, 20 Dec 2024 17:13:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=BF=87=E7=A8=8B=E6=A3=80?= =?UTF-8?q?=E9=AA=8C=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/qc/ipqc/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/mes/qc/ipqc/index.vue b/src/views/mes/qc/ipqc/index.vue index 48a9327..53f8e85 100644 --- a/src/views/mes/qc/ipqc/index.vue +++ b/src/views/mes/qc/ipqc/index.vue @@ -610,19 +610,23 @@ export default { }, /** 提交按钮 */ submitForm() { + console.log('测试新增') this.$refs["form"].validate(valid => { if (valid) { + console.log('------111----') if (this.form.ipqcId != null) { + console.log('----22222-----') updateIpqc(this.form).then(response => { this.$modal.msgSuccess("修改成功"); - //this.open = false; + this.open = false; this.getList(); }); } else { + console.log('-----3333-----') addIpqc(this.form).then(response => { this.$modal.msgSuccess("新增成功"); this.form.ipqcId = response.data; //将返回的ID保存 - //this.open = false; + this.open = false; this.getList(); }); } @@ -660,7 +664,7 @@ export default { }, /** 导出按钮操作 */ handleExport() { - this.download('qc/ipqc/export', { + this.download('mes/qc/ipqc/export', { ...this.queryParams }, `ipqc_${new Date().getTime()}.xlsx`) },