From 1e956703c4d2dc63d80b6bdf1dab7de55b25fc3d Mon Sep 17 00:00:00 2001 From: 王 垚 <1402714037@qq.com> Date: 星期三, 04 一月 2023 12:11:56 +0800 Subject: [PATCH] 代码上传 --- WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html index 53584b7..8b06d2c 100644 --- a/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html +++ b/WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBillList.html @@ -108,7 +108,7 @@ <div class="layui-btn-container"> <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>--> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button> - <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Audit"><i class="layui-icon layui-icon-radio"></i>瀹℃牳</button> + <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Audit"><i class="layui-icon layui-icon-radio"></i>瀹℃牳</button>--> <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button>--> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button> @@ -132,7 +132,7 @@ <script src="../../../../Scripts/webConfig.js"></script> <script> var _cur_page = 1; - var sql = " and 1=1"; + var sql = ""; var options = document.getElementById('HStatus').children; function getUrlVars() { var vars = [], hash; @@ -225,7 +225,8 @@ , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 135 } , { field: '鍖呰鏍囪瘑', title: '鍖呰鏍囪瘑', width: 135 } //, { field: '鐗╂祦鍗曞彿', title: '鐗╂祦鍗曞彿', width: 150, sort: true/*, fixed: true*/ } - //, { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120, sort: true } + , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120, sort: true } + , { field: '鏃х墿鏂欑紪鐮�', title: '鏃х墿鏂欑紪鐮�', width: 120, sort: true } , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 120, sort: true } , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 120, sort: true } , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 120, sort: true } @@ -255,7 +256,7 @@ elem: '#mainTable' , toolbar: '#toolbarDemo' , page: true - , cellMinWidth: 120 + //, cellMinWidth: 120 , totalRow: true , limit: 500 , height: 'full-50' @@ -305,7 +306,7 @@ dataCol = data1.data[0].HGridString.split(','); - for (var i = 0; i < option.cols[0].length - 2; i++) { + for (var i = 0; i < dataCol.length; i++) { var dataCols = dataCol[i].split('|'); //闅愯棌鍒� if (dataCols[1] == 1) { @@ -376,7 +377,7 @@ function get_Display(sqlWhere) { var wait = layer.load();//閬僵 $.ajax({ - type: "get", + type: "POST", url: GetWEBURL() + "GetPOInStockBill", async: false, data: { "HSupNo": sessionStorage["HUserName"], "sqlWhere": sqlWhere }, @@ -402,7 +403,7 @@ }); //鏌ヨ鏉′欢 function get_FastQuery(table, option) { - var sqlWhere = " and 1=1 "; + var sqlWhere = ""; if ($("#HStatus").val() != "") if ($("#HStatus").val() == "鏈敓鎴愭潯鐮�") { sqlWhere += " and 鏈敓鎴愭潯鐮佹暟閲� > 0"; @@ -573,12 +574,12 @@ layer.msg("璇烽�夋嫨鏁版嵁", { icon: 5 }); return; } - for (var i = 0; i < data.length; i++) { - if (data[i].鍗曟嵁鐘舵�� != "瀹℃牳") { - layer.msg("閫変腑琛屾湭瀹℃牳", { icon: 5 }); - return; - } - } + //for (var i = 0; i < data.length; i++) { + // if (data[i].鍗曟嵁鐘舵�� != "瀹℃牳") { + // layer.msg("閫変腑琛屾湭瀹℃牳", { icon: 5 }); + // return; + // } + //} layer.open({ type: 2 , area: ['50%', '50%'] -- Gitblit v1.9.1