From 9144349b875db3e4cf5fac5591624eb703e26178 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 21 十一月 2022 15:41:39 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/plan/plan.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/plan/plan.js b/src/main/webapp/static/js/plan/plan.js
index 05985a4..8627f43 100644
--- a/src/main/webapp/static/js/plan/plan.js
+++ b/src/main/webapp/static/js/plan/plan.js
@@ -252,6 +252,16 @@
                                                         data.field.cstmrId = cstmrSel.getValue()[0] ? cstmrSel.getValue()[0].value : null;
                                                         data.field.userId = userSel.getValue()[0] ? userSel.getValue()[0].value : null;
                                                         data.field.planNeed = planNeedSel.getValue()[0] ? planNeedSel.getValue()[0].value : null;
+                                                        if (!data.field.orderId) {
+                                                            layer.msg("璺熻釜椤圭洰涓嶈兘涓虹┖", {icon: 2});
+                                                            top.requireTip($('#orderXmlSel'));
+                                                            return false;
+                                                        }
+                                                        if (!data.field.cstmrId) {
+                                                            layer.msg("瀹㈡埛鍚嶇О涓嶈兘涓虹┖", {icon: 2});
+                                                            top.requireTip($('#cstmrXmlSel'));
+                                                            return false;
+                                                        }
                                                         var loadIndex = layer.load(2);
                                                         $.ajax({
                                                             url: baseUrl+"/plan/add/auth",

--
Gitblit v1.9.1