From 60da5bb6db72be7d2ec74c97ea5ecd8291d6ec5d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 22 十一月 2022 15:28:18 +0800
Subject: [PATCH] #

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

diff --git a/src/main/webapp/static/js/plan/plan.js b/src/main/webapp/static/js/plan/plan.js
index 15fcfe7..38a8f60 100644
--- a/src/main/webapp/static/js/plan/plan.js
+++ b/src/main/webapp/static/js/plan/plan.js
@@ -229,13 +229,17 @@
                                     method: 'GET',
                                     success: function (res0) {
                                         let planType = res0.data;
+                                        console.log(planType);
                                         if (res0.code === 200) {
                                             admin.open({
                                                 type: 1,
-                                                area: '1500px',
+                                                area: ["95%", "90%"],
+                                                offset: 'auto',
                                                 title: '娣诲姞鍞墠瑙勫垝鐢宠鍗�' + ' - ' + planType.name,
                                                 content: $('#editDialog').html(),
                                                 success: function (layero0, dIndex0) {
+                                                    $('#customizeBox').html(planType.html)
+
                                                     layer.close(loadIndex0);
                                                     let orderSel = loadOrderSel();
                                                     let cstmrSel = loadCstmrSel();
@@ -251,6 +255,9 @@
                                                         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;
+
+                                                        delete data.field.select;delete data.field.planTypeName;
+
                                                         if (!data.field.orderId) {
                                                             layer.msg("璺熻釜椤圭洰涓嶈兘涓虹┖", {icon: 2});
                                                             top.requireTip($('#orderXmlSel'));

--
Gitblit v1.9.1