From 52a3d2b51c7ca58abcb0e31783671af98d526aef Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 22 十二月 2023 12:17:23 +0800
Subject: [PATCH] #检料盘点工作档更新
---
src/main/webapp/views/console1.html | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/console1.html b/src/main/webapp/views/console1.html
index 8fc40bb..ae94ed5 100644
--- a/src/main/webapp/views/console1.html
+++ b/src/main/webapp/views/console1.html
@@ -655,10 +655,17 @@
data:{},
method:'get',
success:function (res) {
- that.$message({
- message: that.currentLev + '灞傚湴鍥鹃噸缃畬鎴�',
- type: 'success'
- });
+ if (res.code === 200) {
+ that.$message({
+ message: that.currentLev + '灞傚湴鍥鹃噸缃畬鎴�',
+ type: 'success'
+ });
+ }else {
+ that.$message({
+ message: res.msg,
+ type: 'error'
+ });
+ }
}
})
},
--
Gitblit v1.9.1