From f0c73d72fe7f939be2d3fdf5fc90889971a67fe5 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 11 六月 2024 17:18:25 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/order/order.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js index d24c3ab..771480f 100644 --- a/src/main/webapp/static/js/order/order.js +++ b/src/main/webapp/static/js/order/order.js @@ -197,6 +197,7 @@ content: $('#editDialog').html(), area: '1600px', success: function (layero, dIndex) { + console.log(expTpe) $(layero).children('.layui-layer-content').css('overflow', 'visible'); var isExpAdd = !expTpe; // 鍥炴樉鏁版嵁 @@ -272,7 +273,7 @@ {field: 'deadTime', title: '閿�鍞鍗曡鍙�(淇敼)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, {field: 'processSts', title: '宸ュ簭', templet: function (d) { console.log(d) - var select = `<select class="layui-select" name="processSts" lay-filter="processStsSelect" data-value=${d.processSts} id=${d.id}> + var select = `<select class="layui-select" name="processSts" data-state=${d.processSts} lay-filter="processStsSelect" data-value=${d.processSts} id=${d.id}> <option value="">閫夋嫨鐘舵��</option> <option value="1">寰呭姞宸�</option> <option value="2">宸插姞宸�</option> @@ -295,9 +296,11 @@ var tableElem = this.elem.next('.layui-table-view'); count || tableElem.find('.layui-table-header').css('overflow', 'auto'); layui.each(tableElem.find('select[name="processSts"]'), function (index, item) { + console.log(item) var elem = $(item); elem.val(elem.data('state')).parents('div.layui-table-cell').css('overflow', 'visible'); }); + form.render();//鍒锋柊琛ㄥ崟 }, size: '' -- Gitblit v1.9.1