From aac8325e040609fce28a8897a22f0857ca6e5de1 Mon Sep 17 00:00:00 2001 From: 18516761980 <56479841@qq.com> Date: 星期二, 21 六月 2022 18:01:21 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/luxiaotao1123/zy-asrs into hylyasrs --- src/main/webapp/views/pakStore/locDetlQuery.html | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/views/pakStore/locDetlQuery.html b/src/main/webapp/views/pakStore/locDetlQuery.html index a35e39f..35b9f09 100644 --- a/src/main/webapp/views/pakStore/locDetlQuery.html +++ b/src/main/webapp/views/pakStore/locDetlQuery.html @@ -47,6 +47,17 @@ <!-- 鎼滅储鏍� --> <div id="search-box" class="layui-form layui-card-header"> <div class="layui-inline"> + <div class="layui-input-inline cool-auto-complete"> + <input id="crnNo" class="layui-input" name="crnNo" type="text" placeholder="璇疯緭鍏�" autocomplete="off" style="display: none"> + <input id="crnNo$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="鍫嗗灈鏈哄彿" onfocus=this.blur()> + <div class="cool-auto-complete-window"> + <input class="cool-auto-complete-window-input" data-key="basCrnpQueryBycrnNo" onkeyup="autoLoad(this.getAttribute('data-key'))"> + <select class="cool-auto-complete-window-select" data-key="basCrnpQueryBycrnNoSelect" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple"> + </select> + </div> + </div> + </div> + <div class="layui-inline"> <div class="layui-input-inline"> <input class="layui-input" type="text" name="loc_no" placeholder="搴撲綅鍙�" autocomplete="off"> </div> @@ -95,8 +106,9 @@ function getCol() { var cols = [ - {type: 'checkbox'} - ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} + {type: 'checkbox', merge: ['locNo']} + ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�', merge: true, style: 'font-weight: bold'} + // ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} ]; cols.push.apply(cols, detlCols); cols.push({field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide: true} @@ -106,13 +118,14 @@ layui.config({ base: baseUrl + "/static/layui/lay/modules/" - }).use(['table','laydate', 'form', 'admin'], function() { + }).use(['table','laydate', 'form', 'admin', 'tableMerge'], function() { var table = layui.table; var $ = layui.jquery; var layer = layui.layer; var layDate = layui.laydate; var form = layui.form; var admin = layui.admin; + var tableMerge = layui.tableMerge; // 鏁版嵁娓叉煋 locDetlTableIns = table.render({ @@ -142,6 +155,7 @@ statusCode: 200 }, done: function(res, curr, count) { + tableMerge.render(this); if (res.code === 403) { top.location.href = baseUrl+"/"; } -- Gitblit v1.9.1