From 26efca11f8ff9f7bb358fd60d7b4e369aa61dd90 Mon Sep 17 00:00:00 2001 From: A0066811 <961502390@qq.com> Date: Mon, 10 Nov 2025 11:00:31 +0800 Subject: [PATCH] =?UTF-8?q?hgwms-2099=20fix=20=E6=8F=90=E7=A4=BA=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/config/modal/edit.vue | 14 +++++++------- src/view/config/modal/save.vue | 12 ++++++------ src/view/dataSource/modal/edit.vue | 12 ++++++------ src/view/dataSource/modal/save.vue | 12 ++++++------ src/view/post/modal/edit.vue | 6 +++--- src/view/post/modal/save.vue | 6 +++--- src/view/tenant/modal/edit.vue | 12 ++++++------ src/view/tenant/modal/save.vue | 12 ++++++------ src/view/wms/baseInfo/deliverType/modal/edit.vue | 12 ++++++------ src/view/wms/baseInfo/deliverType/modal/save.vue | 12 ++++++------ src/view/wms/warehouse/loc/modal/edit.vue | 12 ++++++------ src/view/wms/warehouse/loc/modal/save.vue | 12 ++++++------ src/view/wms/warehouse/locExit/modal/edit.vue | 12 ++++++------ src/view/wms/warehouse/locExit/modal/save.vue | 12 ++++++------ src/view/wms/warehouse/seqNum/modal/edit.vue | 12 ++++++------ src/view/wms/warehouse/seqNum/modal/save.vue | 12 ++++++------ 16 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/view/config/modal/edit.vue b/src/view/config/modal/edit.vue index bc4f8ca..8c54a24 100644 --- a/src/view/config/modal/edit.vue +++ b/src/view/config/modal/edit.vue @@ -80,14 +80,14 @@ export default defineComponent({ }); const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { - edit(toRaw(formState)).then((response) => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); + edit(toRaw(formState)).then((response) => { if (response.success) { message .success({ diff --git a/src/view/config/modal/save.vue b/src/view/config/modal/save.vue index e158a3f..0c39f2a 100644 --- a/src/view/config/modal/save.vue +++ b/src/view/config/modal/save.vue @@ -70,13 +70,13 @@ export default defineComponent({ }; const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); save(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/dataSource/modal/edit.vue b/src/view/dataSource/modal/edit.vue index e73ba7a..61eb15e 100644 --- a/src/view/dataSource/modal/edit.vue +++ b/src/view/dataSource/modal/edit.vue @@ -83,13 +83,13 @@ export default defineComponent({ }; const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message.success({ diff --git a/src/view/dataSource/modal/save.vue b/src/view/dataSource/modal/save.vue index affc03a..6257b50 100644 --- a/src/view/dataSource/modal/save.vue +++ b/src/view/dataSource/modal/save.vue @@ -69,13 +69,13 @@ export default defineComponent({ }; const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); save(toRaw(formState)).then((response) => { if (response.success) { message.success({ diff --git a/src/view/post/modal/edit.vue b/src/view/post/modal/edit.vue index 98634fd..b4e0ebb 100644 --- a/src/view/post/modal/edit.vue +++ b/src/view/post/modal/edit.vue @@ -79,10 +79,10 @@ export default defineComponent({ const editKey = "add"; const submit = (e) => { - message.loading({ content: "提交中...", key: editKey }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ content: "提交中...", key: editKey }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/post/modal/save.vue b/src/view/post/modal/save.vue index 179b8bf..5694b3d 100644 --- a/src/view/post/modal/save.vue +++ b/src/view/post/modal/save.vue @@ -70,10 +70,10 @@ export default defineComponent({ const saveKey = "save"; const submit = (e) => { - message.loading({ content: "提交中...", key: saveKey }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ content: "提交中...", key: saveKey }); save(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/tenant/modal/edit.vue b/src/view/tenant/modal/edit.vue index 20e9434..67f78f4 100644 --- a/src/view/tenant/modal/edit.vue +++ b/src/view/tenant/modal/edit.vue @@ -63,13 +63,13 @@ export default defineComponent({ }); const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/tenant/modal/save.vue b/src/view/tenant/modal/save.vue index 56ef00d..224cf34 100644 --- a/src/view/tenant/modal/save.vue +++ b/src/view/tenant/modal/save.vue @@ -78,13 +78,13 @@ export default defineComponent({ const formRules = {}; const submit = (e) => { - message.loading({ - content: "提交中...", - key, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key, + }); save({user:formState.user,tenant:formState.tenant,powerIds:state.powerIds.checked}).then((response) => { if (response.success) { message diff --git a/src/view/wms/baseInfo/deliverType/modal/edit.vue b/src/view/wms/baseInfo/deliverType/modal/edit.vue index 0c005cc..57dfff7 100644 --- a/src/view/wms/baseInfo/deliverType/modal/edit.vue +++ b/src/view/wms/baseInfo/deliverType/modal/edit.vue @@ -278,13 +278,13 @@ export default defineComponent({ var a = JSON.stringify(formState.sourceStactics); formState.sourceStactics = JSON.stringify(formState.sourceStactics); console.log("formState sourceStactics", a); - message.loading({ - content: "提交中...", - key: editKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: editKey, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/baseInfo/deliverType/modal/save.vue b/src/view/wms/baseInfo/deliverType/modal/save.vue index f3705c2..b32694c 100644 --- a/src/view/wms/baseInfo/deliverType/modal/save.vue +++ b/src/view/wms/baseInfo/deliverType/modal/save.vue @@ -195,13 +195,13 @@ export default defineComponent({ const saveKey = "save"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: saveKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: saveKey, + }); save(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/loc/modal/edit.vue b/src/view/wms/warehouse/loc/modal/edit.vue index eb0ea8f..ad663df 100644 --- a/src/view/wms/warehouse/loc/modal/edit.vue +++ b/src/view/wms/warehouse/loc/modal/edit.vue @@ -401,13 +401,13 @@ export default defineComponent({ const editKey = "add"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: editKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: editKey, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/loc/modal/save.vue b/src/view/wms/warehouse/loc/modal/save.vue index 6c94404..a43883f 100644 --- a/src/view/wms/warehouse/loc/modal/save.vue +++ b/src/view/wms/warehouse/loc/modal/save.vue @@ -378,13 +378,13 @@ export default defineComponent({ const saveKey = "save"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: saveKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: saveKey, + }); save(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/locExit/modal/edit.vue b/src/view/wms/warehouse/locExit/modal/edit.vue index 4b2c765..ff51814 100644 --- a/src/view/wms/warehouse/locExit/modal/edit.vue +++ b/src/view/wms/warehouse/locExit/modal/edit.vue @@ -305,13 +305,13 @@ export default defineComponent({ const editKey = "add"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: editKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: editKey, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/locExit/modal/save.vue b/src/view/wms/warehouse/locExit/modal/save.vue index 26c9811..d8a7a00 100644 --- a/src/view/wms/warehouse/locExit/modal/save.vue +++ b/src/view/wms/warehouse/locExit/modal/save.vue @@ -222,13 +222,13 @@ export default defineComponent({ const saveKey = "save"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: saveKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: saveKey, + }); save(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/seqNum/modal/edit.vue b/src/view/wms/warehouse/seqNum/modal/edit.vue index aa17f0b..73846e5 100644 --- a/src/view/wms/warehouse/seqNum/modal/edit.vue +++ b/src/view/wms/warehouse/seqNum/modal/edit.vue @@ -182,13 +182,13 @@ export default defineComponent({ const editKey = "add"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: editKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: editKey, + }); edit(toRaw(formState)).then((response) => { if (response.success) { message diff --git a/src/view/wms/warehouse/seqNum/modal/save.vue b/src/view/wms/warehouse/seqNum/modal/save.vue index 32acb5a..b342b7c 100644 --- a/src/view/wms/warehouse/seqNum/modal/save.vue +++ b/src/view/wms/warehouse/seqNum/modal/save.vue @@ -164,13 +164,13 @@ export default defineComponent({ const saveKey = "save"; const submit = (e) => { - message.loading({ - content: "提交中...", - key: saveKey, - }); formRef.value - .validate() - .then(() => { + .validate() + .then(() => { + message.loading({ + content: "提交中...", + key: saveKey, + }); save(toRaw(formState)).then((response) => { if (response.success) { message