From 16c91ea58e303d05c8c42323fd02341e700402f4 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 20 Jun 2023 15:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=85=A5=E5=BA=93--=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E5=A2=9E=E5=8A=A0=E4=BA=8C=E6=AC=A1=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruzhang/ruzhangguanli/ruzhangAdd.vue | 41 +++++++++++-------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue index 8323174780..7d42591b12 100644 --- a/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/ruzhang/ruzhangguanli/ruzhangAdd.vue @@ -908,24 +908,31 @@ export default { hint1 = 0 }) } else { - this.$refs['form_obj'].validate(valid => { - if (valid) { - this.submitdisabled = true - req.confirmRZ(this.formobj).then((res) => { - if (res.success) { - this.$message({ - showClose: true, - type: 'success', - message: '提交成功' - }) - this.handleReturn('true') - } else { + const tip = '请再次确认录入信息,提交后将直接推送金蝶数据!' + this.$confirm(tip, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + this.$refs['form_obj'].validate(valid => { + if (valid) { + this.submitdisabled = true + req.confirmRZ(this.formobj).then((res) => { + if (res.success) { + this.$message({ + showClose: true, + type: 'success', + message: '提交成功' + }) + this.handleReturn('true') + } else { + this.submitdisabled = false + } + }).catch(() => { this.submitdisabled = false - } - }).catch(() => { - this.submitdisabled = false - }) - } + }) + } + }) }) } },