From 487754376a1eb675d430a64b7a4aa9e7ffeb405b Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 25 八月 2023 09:54:15 +0800
Subject: [PATCH] 调整

---
 src/views/mdc/base/modules/mdcPassRate/mdcPassRateModal.vue |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/views/mdc/base/modules/mdcPassRate/mdcPassRateModal.vue b/src/views/mdc/base/modules/mdcPassRate/mdcPassRateModal.vue
index 70b2c9d..09d01ed 100644
--- a/src/views/mdc/base/modules/mdcPassRate/mdcPassRateModal.vue
+++ b/src/views/mdc/base/modules/mdcPassRate/mdcPassRateModal.vue
@@ -227,7 +227,11 @@
             let stat = formData.processQuantity
             let end = formData.unqualifiedQuantity
             if(end>stat){
-              that.$message.warning("涓嶅悎鏍兼暟閲忓繀椤诲皬浜庣瓑浜庡姞宸ユ暟閲�");
+              // that.$message.warning("涓嶅悎鏍兼暟閲忓繀椤诲皬浜庣瓑浜庡姞宸ユ暟閲�");
+              that.$notification.warning({
+                message:'娑堟伅',
+                description:"涓嶅悎鏍兼暟閲忓繀椤诲皬浜庣瓑浜庡姞宸ユ暟閲�"
+              });
               that.confirmLoading = false
             }else{
               let obj
@@ -240,11 +244,19 @@
               }
               obj.then((res) => {
                 if (res.success) {
-                  that.$message.success("娣诲姞鎴愬姛")
+                  // that.$message.success("娣诲姞鎴愬姛")
+                  that.$notification.success({
+                    message:'娑堟伅',
+                    description:"娣诲姞鎴愬姛"
+                  });
                   // that.$message.success(res.message)
                   that.$emit('ok', res.result)
                 } else {
-                  that.$message.warning(res.message)
+                  // that.$message.warning(res.message)
+                  that.$notification.warning({
+                    message:'娑堟伅',
+                    description:res.message
+                  });
                 }
               }).finally(() => {
                 that.confirmLoading = false

--
Gitblit v1.9.3