From 1275962d9821ed611e8170e40e1167150a1c39cd Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 28 七月 2022 10:07:13 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI

---
 WebTM/views/工资管理/工资报表/ReportList2.html        |  351 +++++++++++++++++++++++
 WebTM/views/采购管理/采购订单/Cg_POOrderBillList.html |  192 ++++++-----
 WebTM/views/工资管理/工资报表/ReportList.html         |  349 +++++++++++++++++++++++
 WebTM/views/index.html                        |    2 
 WebTM/WebTM.csproj                            |    2 
 5 files changed, 807 insertions(+), 89 deletions(-)

diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 2f9c029..59400e1 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -713,6 +713,8 @@
     <Content Include="views\宸ヨ祫绠$悊\Gy_WorkPayTypeBillList.html" />
     <Content Include="views\宸ヨ祫绠$悊\Gy_WorkTypeBillEdit.html" />
     <Content Include="views\宸ヨ祫绠$悊\Gy_WorkTypeBillList.html" />
+    <Content Include="views\宸ヨ祫绠$悊\宸ヨ祫鎶ヨ〃\ReportList2.html" />
+    <Content Include="views\宸ヨ祫绠$悊\宸ヨ祫鎶ヨ〃\ReportList.html" />
     <Content Include="views\宸ヨ祫绠$悊\宸ヨ祫缁撶畻鍗�%28涓汉%29\Pay_SingleBalBillEdit.html" />
     <Content Include="views\宸ヨ祫绠$悊\宸ヨ祫缁撶畻鍗�%28涓汉%29\Pay_SingleBalBillList.html" />
     <Content Include="views\宸ヨ祫绠$悊\宸ヨ祫缁撶畻鍗�%28鍏朵粬%29\Pay_OtherBalBillEdit.html" />
diff --git a/WebTM/views/index.html b/WebTM/views/index.html
index f17b386..d0cc592 100644
--- a/WebTM/views/index.html
+++ b/WebTM/views/index.html
@@ -760,6 +760,8 @@
                                         <dd><a lay-href="宸ヨ祫绠$悊/鑰冨嫟姹囨姤鍗�/Pay_WorkTimesBillList_yqn.html">鑰冨嫟姹囨姤鍗曠淮鎶�</a></dd>
                                     </dl>
                                 </dd>
+                                <dd><a lay-href="宸ヨ祫绠$悊/宸ヨ祫鎶ヨ〃/ReportList.html">璁′欢宸ヨ祫鎶ヨ〃</a></dd>
+                                <dd><a lay-href="宸ヨ祫绠$悊/宸ヨ祫鎶ヨ〃/ReportList2.html">鏈堝害宸ヨ祫鎶ヨ〃</a></dd>
                                 <dd>
                                     <a>鎵hˉ璧勬枡</a>
                                     <dl class="layui-nav-child">
diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList.html"
new file mode 100644
index 0000000..879848c
--- /dev/null
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList.html"
@@ -0,0 +1,349 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>璁′欢宸ヨ祫鎶ヨ〃</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script src="../../../layuiadmin/PubCustom.js"></script>
+    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-col-md12">
+            <div class="layui-card" style="padding: 1px">
+                <div class="layui-card-body" style="padding: 1px;">
+                    <form class="layui-form" action="" lay-filter="component-form-group">
+                        <div class="layui-collapse">
+                            <div class="layui-colla-item">
+                                <div class="layui-colla-title layui-inline">
+                                    <div class="layui-inline">
+                                        <span>鏇村</span>
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鏃ユ湡</label>
+                                    <div class="layui-input-block">
+                                        <input type="date" class="layui-input" id="HBeginDate" style="width:190px;">
+                                    </div>
+                                </div>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                </button>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>
+                                </div>
+                            </div>
+                        </div>
+                        <table class="" id="mainTable" lay-filter="mainTable"></table>
+                        <script type="text/html" id="toolbarDemo">
+                            <div class="layui-btn-container">
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>鍒锋柊</button>
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
+                            </div>
+                        </script>
+                    </form>
+                </div>
+            </div>
+        </div>
+    </div>
+    <script type="text/javascript">
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index', //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
+            //#region 鍏叡鍙橀噺
+            var $ = layui.$
+                , admin = layui.admin
+                , layer = layui.layer
+                , table = layui.table
+                , form = layui.form
+                , element = layui.element
+                , laypage = layui.laypage
+                , laydate = layui.laydate
+                , util = layui.util
+          
+
+            //鏌ヨ鏉′欢
+            var sWhere = "";
+            var option = []; var columns = [];
+            var Name = "MouldProdInHouseCellWidth";
+            //#endregion
+          
+            //#region 杩涘叆椤甸潰鏃㈠姞杞�
+            set_ClearBill();
+            //#endregion
+            //#region 鐐瑰嚮浜嬩欢鍖呮嫭on form浜嬩欢绛�
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                switch (obj.event) {
+                    //鏂板鎸夐挳
+                    case 'btn-Add': set_AddNew();
+                        break;
+                    //缂栬緫鎸夐挳
+                    case 'btn-Edit': set_ShowBill();
+                        break;
+                    //鍒犻櫎鎸夐挳
+                    case 'btn-Delete': set_DeleteBill();
+                        break;
+                    //娴忚
+                    case 'btn-view': get_ViewReport();
+                        break;
+                    //鎵撳嵃
+                    case 'btn-print': get_PrintReport();
+                        break;
+                    //鍒锋柊
+                    case 'get_Refresh': set_Refresh();
+                        break;
+
+                    //閫�鍑�
+                    case 'get_Exit': Pub_Close(2);
+                        break;
+                    //鍒嗛厤
+                    case 'btn-fp': set_Distribut();
+                        break;
+                    //鍙戝竷
+                    case 'btn-fb': set_Release();
+                        break;
+                    //浼樺厛绾�
+                    case 'btn-yxj': set_Yxj();
+                        break;
+                    case 'btn-back': set_Back();
+                        break;
+                };
+            });
+            //閲嶇疆鎸夐挳
+            form.on('submit(btnReSearch)', function (data) {
+                set_ClearQuery();
+            });
+            //鏌ヨ鎸夐挳
+            form.on('submit(btnSearch)', function (data) {
+                get_FastQuery(table, option);
+            });
+            //#endregion
+            //#region 姝ら〉闈㈡墍鏈夋柟娉�
+            function set_ClearBill() {
+                //鍒濆鍖栬〃鏍�
+                set_InitGrid();
+                //鐩存帴鎵ц鍒楄〃绛涢�� 鍔犺浇鏁版嵁鍒扮綉鏍�
+                get_FastQuery(table, option)
+            }
+            //鍒濆鍖栬〃鏍�
+            function set_InitGrid() {
+                $("#HBeginDate").val(Format(new Date(), "yyyy-MM-dd"));
+                $.ajax({
+                    url: GetWEBURL() + '/Pay_PieceRateWageReport/list2',
+                    type: "GET",
+                    async: false,
+                    data: { "sWhere": Format(new Date(), "yyyy-MM-dd")},
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            columns = data1.data;
+                            columns.unshift({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' });
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function () {
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+                option = {
+                    elem: '#mainTable'
+                    , toolbar: '#toolbarDemo'
+                    , page: true
+                    , cellMinWidth: 120
+                    , totalRow: true
+                    , limit: 500
+                    , height: 'full-50'
+                    , cols: [columns]
+                    , limits: [500, 5000, 20000]
+                    , done: function (res, curr, count) {
+
+                    }
+                };
+                ////璁剧疆鍒楀
+                //var colWidth = getColumnsWidth();
+                //if (colWidth == "" || colWidth == []) {
+
+                //}
+                //else {
+                //    $.each(columns, function (x, m) {
+                //        m["width"] = colWidth[x];
+                //    });
+                //}
+            }
+            //鍔犺浇缃戞牸
+            function get_Display(sWhere) {
+                var wait = layer.load();//閬僵
+                $.ajax({
+                    url: GetWEBURL() + '/Pay_PieceRateWageReport/list',
+                    type: "GET",
+                    data: { "sWhere": sWhere},
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            DataList = data1.data;
+                            option.data = data1.data;
+                            table.render(option);
+                            layer.close(wait);
+                        } else {
+                            layer.close(wait);
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function () {
+                        layer.close(wait);
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            }
+            //鑾峰彇鍒楀
+            function getColumnsWidth() {
+                var result = [];
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                //鑾峰彇鍒楀
+                $.ajax({
+                    url: GetWEBURL() + '/Cg_POOrderBill/list',
+                    async: false,
+                    type: "Get",
+                    dataType: "json",
+                    data: { "colNum": colNum, "Name": Name },
+                    success: function (data1) {
+                        if (data1.code == 1) {
+                            result = data1.data;
+                        }
+                        else if (data1.code == -1) {
+
+                        }
+                        else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+
+                return result;
+            }
+            //淇濆瓨鍒楀
+            function set_SaveGridColWidth() {
+                var arr = [];
+                // 鍒楁暟
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                for (var i = 0; i <= colNum; i++) {
+                    var colName = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).text();
+                    var colWidth = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).width();
+                    if (colName != "" && colName != null) {
+                        arr.push(colWidth == -1 ? 200 : colWidth);
+                    }
+                }
+                arr.unshift(40); //棣栦綅杩藉姞
+                $.ajax({
+                    url: GetWEBURL() + '/tb_CellWidth/GetMouldScrapInHouseCellWidth',
+                    async: false,
+                    type: "POST",
+                    dataType: "json",
+                    data: { "myMap": JSON.stringify(arr), "Name": Name },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            layer.alert(data1.Message, { icon: 1 });
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+                //璁剧疆璧嬪�煎垪瀹�
+                var colWidth = getColumnsWidth();
+                if (colWidth == "" || colWidth == []) {
+
+                }
+                else {
+                    $.each(columns, function (x, m) {
+                        m["width"] = colWidth[x];
+                    });
+                }
+                get_FastQuery(table, option);
+            }
+            //榛樿鍒楀
+            function set_DefaultGridColWidth() {
+                var arr = [];
+                // 鍒楁暟
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                for (var i = 0; i <= colNum; i++) {
+                    var colName = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).text();
+                    if (colName != "" && colName != null) {
+                        arr.push(200);   //榛樿瀹藉害200
+                    }
+                }
+                arr.unshift(40); //棣栦綅杩藉姞
+                $.ajax({
+                    url: GetWEBURL() + '/tb_CellWidth/GetMouldScrapInHouseCellWidth',
+                    async: false,
+                    type: "POST",
+                    dataType: "json",
+                    data: { "myMap": JSON.stringify(arr), "Name": Name },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            layer.alert(data1.Message, { icon: 1 });
+
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+                //璁剧疆璧嬪�煎垪瀹�
+                var colWidth = getColumnsWidth();
+                if (colWidth == "" || colWidth == []) {
+
+                }
+                else {
+                    $.each(columns, function (x, m) {
+                        m["width"] = colWidth[x];
+                    });
+                }
+                get_FastQuery(table, option);
+            }
+            //蹇�熻繃婊�
+            function get_FastQuery(table, option) {
+                var HBeginDate = $("#HBeginDate").val();//寮�濮嬫棩鏈�
+                if (HBeginDate) {
+                    sWhere = HBeginDate;
+                }
+                var index = layer.load(0);
+                get_Display(sWhere);
+                //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
+                sWhere = "";
+            }
+            //閲嶇疆杩囨护鏉′欢
+            function set_ClearQuery() {
+                $('#HStatus').find("option[value='-1']").attr("selected", true);
+                $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
+                $("#HBeginDate").val(Format(new Date(), "yyyy-MM-dd"));
+                $("#HBillNo").val("");
+                $("#HEmpName").val("");
+                $("#HMaterNumber").val("");
+                $("#HMaterName").val("");
+                $("#HSupName").val("");
+                $("select[name='HFeedback']").val("");
+                sWhere = Format(new Date(), "yyyy-MM-dd");
+                get_Display(sWhere);
+            }
+            //鍒锋柊
+            function set_Refresh() {
+                $("#btnSearch").click();
+            }
+            //浠ヤ笂鏄痩ayui妯″潡
+        });
+    </script>
+</body>
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList2.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList2.html"
new file mode 100644
index 0000000..a67940a
--- /dev/null
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\345\267\245\350\265\204\346\212\245\350\241\250/ReportList2.html"
@@ -0,0 +1,351 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>鏈堝害宸ヨ祫鎶ヨ〃</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script src="../../../layuiadmin/PubCustom.js"></script>
+    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-col-md12">
+            <div class="layui-card" style="padding: 1px">
+                <div class="layui-card-body" style="padding: 1px;">
+                    <form class="layui-form" action="" lay-filter="component-form-group">
+                        <div class="layui-collapse">
+                            <div class="layui-colla-item">
+                                <div class="layui-colla-title layui-inline">
+                                    <div class="layui-inline">
+                                        <span>鏇村</span>
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鏃ユ湡</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" id="HBeginDate" style="width:190px;">
+                                    </div>
+                                </div>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                </button>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>
+                                </div>
+                            </div>
+                        </div>
+                        <table class="" id="mainTable" lay-filter="mainTable"></table>
+                        <script type="text/html" id="toolbarDemo">
+                            <div class="layui-btn-container">
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>鍒锋柊</button>
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
+                            </div>
+                        </script>
+                    </form>
+                </div>
+            </div>
+        </div>
+    </div>
+    <script type="text/javascript">
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index', //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
+            //#region 鍏叡鍙橀噺
+            var $ = layui.$
+                , admin = layui.admin
+                , layer = layui.layer
+                , table = layui.table
+                , form = layui.form
+                , element = layui.element
+                , laypage = layui.laypage
+                , laydate = layui.laydate
+                , util = layui.util
+            //鏌ヨ鏉′欢
+            var sWhere = "";
+            var option = []; var columns = [];
+            var Name = "MouldProdInHouseCellWidth";
+            //#endregion
+            //骞存湀閫夋嫨鍣�
+            laydate.render({
+                elem: '#HBeginDate'
+                , type: 'month'
+            });
+            //#region 杩涘叆椤甸潰鏃㈠姞杞�
+            set_ClearBill();
+            //#endregion
+            //#region 鐐瑰嚮浜嬩欢鍖呮嫭on form浜嬩欢绛�
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                switch (obj.event) {
+                    //鏂板鎸夐挳
+                    case 'btn-Add': set_AddNew();
+                        break;
+                    //缂栬緫鎸夐挳
+                    case 'btn-Edit': set_ShowBill();
+                        break;
+                    //鍒犻櫎鎸夐挳
+                    case 'btn-Delete': set_DeleteBill();
+                        break;
+                    //娴忚
+                    case 'btn-view': get_ViewReport();
+                        break;
+                    //鎵撳嵃
+                    case 'btn-print': get_PrintReport();
+                        break;
+                    //鍒锋柊
+                    case 'get_Refresh': set_Refresh();
+                        break;
+
+                    //閫�鍑�
+                    case 'get_Exit': Pub_Close(2);
+                        break;
+                    //鍒嗛厤
+                    case 'btn-fp': set_Distribut();
+                        break;
+                    //鍙戝竷
+                    case 'btn-fb': set_Release();
+                        break;
+                    //浼樺厛绾�
+                    case 'btn-yxj': set_Yxj();
+                        break;
+                    case 'btn-back': set_Back();
+                        break;
+                };
+            });
+            //閲嶇疆鎸夐挳
+            form.on('submit(btnReSearch)', function (data) {
+                set_ClearQuery();
+            });
+            //鏌ヨ鎸夐挳
+            form.on('submit(btnSearch)', function (data) {
+                get_FastQuery(table, option);
+            });
+            //#endregion
+            //#region 姝ら〉闈㈡墍鏈夋柟娉�
+            function set_ClearBill() {
+                //鍒濆鍖栬〃鏍�
+                //set_InitGrid();
+                $("#HBeginDate").val(Format(new Date(), "yyyy-MM"));
+                //鐩存帴鎵ц鍒楄〃绛涢�� 鍔犺浇鏁版嵁鍒扮綉鏍�
+                get_FastQuery(table, option)
+            }
+            //鍒濆鍖栬〃鏍�
+            function set_InitGrid() {
+                $.ajax({
+                    url: GetWEBURL() + '/Pay_MonthlySalaryReport/list2',
+                    type: "GET",
+                    async: false,
+                    data: { "sWhere": $("#HBeginDate").val()},
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            columns = data1.data;
+                            columns.unshift({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' });
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function () {
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+                option = {
+                    elem: '#mainTable'
+                    , toolbar: '#toolbarDemo'
+                    , page: true
+                    , cellMinWidth: 120
+                    , totalRow: true
+                    , limit: 500
+                    , height: 'full-50'
+                    , cols: [columns]
+                    , limits: [500, 5000, 20000]
+                    , done: function (res, curr, count) {
+
+                    }
+                };
+                ////璁剧疆鍒楀
+                //var colWidth = getColumnsWidth();
+                //if (colWidth == "" || colWidth == []) {
+
+                //}
+                //else {
+                //    $.each(columns, function (x, m) {
+                //        m["width"] = colWidth[x];
+                //    });
+                //}
+            }
+            //鍔犺浇缃戞牸
+            function get_Display(sWhere) {
+                set_InitGrid();
+                var wait = layer.load();//閬僵
+                $.ajax({
+                    url: GetWEBURL() + '/Pay_MonthlySalaryReport/list',
+                    type: "GET",
+                    data: { "sWhere": sWhere},
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            DataList = data1.data;
+                            option.data = data1.data;
+                            table.render(option);
+                            layer.close(wait);
+                        } else {
+                            layer.close(wait);
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function () {
+                        layer.close(wait);
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            }
+            //鑾峰彇鍒楀
+            function getColumnsWidth() {
+                var result = [];
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                //鑾峰彇鍒楀
+                $.ajax({
+                    url: GetWEBURL() + '/Cg_POOrderBill/list',
+                    async: false,
+                    type: "Get",
+                    dataType: "json",
+                    data: { "colNum": colNum, "Name": Name },
+                    success: function (data1) {
+                        if (data1.code == 1) {
+                            result = data1.data;
+                        }
+                        else if (data1.code == -1) {
+
+                        }
+                        else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+
+                return result;
+            }
+            //淇濆瓨鍒楀
+            function set_SaveGridColWidth() {
+                var arr = [];
+                // 鍒楁暟
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                for (var i = 0; i <= colNum; i++) {
+                    var colName = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).text();
+                    var colWidth = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).width();
+                    if (colName != "" && colName != null) {
+                        arr.push(colWidth == -1 ? 200 : colWidth);
+                    }
+                }
+                arr.unshift(40); //棣栦綅杩藉姞
+                $.ajax({
+                    url: GetWEBURL() + '/tb_CellWidth/GetMouldScrapInHouseCellWidth',
+                    async: false,
+                    type: "POST",
+                    dataType: "json",
+                    data: { "myMap": JSON.stringify(arr), "Name": Name },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            layer.alert(data1.Message, { icon: 1 });
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+                //璁剧疆璧嬪�煎垪瀹�
+                var colWidth = getColumnsWidth();
+                if (colWidth == "" || colWidth == []) {
+
+                }
+                else {
+                    $.each(columns, function (x, m) {
+                        m["width"] = colWidth[x];
+                    });
+                }
+                get_FastQuery(table, option);
+            }
+            //榛樿鍒楀
+            function set_DefaultGridColWidth() {
+                var arr = [];
+                // 鍒楁暟
+                var colNum = $(".layui-table-header").find("tr").eq(0).find("th").length;
+                for (var i = 0; i <= colNum; i++) {
+                    var colName = $(".layui-table-header").find("tr").eq(0).find("th").eq(i).text();
+                    if (colName != "" && colName != null) {
+                        arr.push(200);   //榛樿瀹藉害200
+                    }
+                }
+                arr.unshift(40); //棣栦綅杩藉姞
+                $.ajax({
+                    url: GetWEBURL() + '/tb_CellWidth/GetMouldScrapInHouseCellWidth',
+                    async: false,
+                    type: "POST",
+                    dataType: "json",
+                    data: { "myMap": JSON.stringify(arr), "Name": Name },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            layer.alert(data1.Message, { icon: 1 });
+
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function (e) {
+                        layer.alert(e.Message, { icon: 5 });
+                    }
+                });
+                //璁剧疆璧嬪�煎垪瀹�
+                var colWidth = getColumnsWidth();
+                if (colWidth == "" || colWidth == []) {
+
+                }
+                else {
+                    $.each(columns, function (x, m) {
+                        m["width"] = colWidth[x];
+                    });
+                }
+                get_FastQuery(table, option);
+            }
+            //蹇�熻繃婊�
+            function get_FastQuery(table, option) {
+                var HBeginDate = $("#HBeginDate").val();//寮�濮嬫棩鏈�
+                if (HBeginDate) {
+                    sWhere = HBeginDate;
+                }
+                var index = layer.load(0);
+                get_Display(sWhere);
+                //璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
+                sWhere = "";
+            }
+            //閲嶇疆杩囨护鏉′欢
+            function set_ClearQuery() {
+                $('#HStatus').find("option[value='-1']").attr("selected", true);
+                $("#HBeginDate").val(Format(new Date(), "yyyy-MM"));
+                $("#HBillNo").val("");
+                $("#HEmpName").val("");
+                $("#HMaterNumber").val("");
+                $("#HMaterName").val("");
+                $("#HSupName").val("");
+                $("select[name='HFeedback']").val("");
+                sWhere = Format(new Date(), "yyyy-MM");
+                get_Display(sWhere);
+            }
+            //鍒锋柊
+            function set_Refresh() {
+                $("#btnSearch").click();
+            }
+            //浠ヤ笂鏄痩ayui妯″潡
+        });
+    </script>
+</body>
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html" "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
index 144a74b..deb3112 100644
--- "a/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
+++ "b/WebTM/views/\351\207\207\350\264\255\347\256\241\347\220\206/\351\207\207\350\264\255\350\256\242\345\215\225/Cg_POOrderBillList.html"
@@ -76,8 +76,6 @@
                                     </div>
                                 </div>
                                 <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnResCnz" id="btnReSearch" style="padding:0 5px">閲嶆柊鍚屾</button>-->
-
-
                                 <div class="layui-colla-content">
                                     <div class="layui-inline">
                                         <label class="layui-form-label">鍗曟嵁鍙�</label>
@@ -103,11 +101,11 @@
                                         </div>
                                     </div>
                                     <!--<div class="layui-inline">
-        <label class="layui-form-label">鍙嶉鐘舵��</label>
-        <div class="layui-input-block">
-            <input type="text" class="layui-input" name="HXTFKStatus" id="HXTFKStatus" style="width:190px;">
-        </div>
-    </div>-->
+                                        <label class="layui-form-label">鍙嶉鐘舵��</label>
+                                        <div class="layui-input-block">
+                                            <input type="text" class="layui-input" name="HXTFKStatus" id="HXTFKStatus" style="width:190px;">
+                                        </div>
+                                    </div>-->
                                     <div class="layui-inline">
                                         <label class="layui-form-label">鐗╂枡缂栫爜</label>
                                         <div class="layui-input-block">
@@ -196,7 +194,7 @@
                 , util = layui.util
             //鏌ヨ鏉′欢
             var sWhere = "";
-            var option = [];
+            var option = []; var columns = [];
             var Name = "MouldProdInHouseCellWidth";
             //#endregion
 
@@ -298,7 +296,6 @@
             });
             //#endregion
 
-
             //#region 姝ら〉闈㈡墍鏈夋柟娉�
             function set_ClearBill() {
                 //鍒濆鍖栬〃鏍�
@@ -308,87 +305,103 @@
                 //鍔犺浇涓氬姟鍛�
                 get_HEmpName();
             }
+
             //鍒濆鍖栬〃鏍�
             function set_InitGrid() {
                 $("#HBeginDate").val("2022-03-14");
                 $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
-                var columns = [
-                    { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' }
-                    ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true }
-                    , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 150 }
-                    , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 150 }
-                    , { field: '涓氬姟鍛�', title: '涓氬姟鍛�', width: 100 }
-                    , { field: 'HBillType', title: 'HBillType', hide: true }
-                    , { field: 'HSupID', title: 'HSupID', hide: true }
-                    , { field: '涓氬姟鐘舵��', title: '涓氬姟鐘舵��', width: 100, hide: true }
-                    , { field: '鍒嗛厤鐘舵��', title: '鍒嗛厤鐘舵��', width: 100 }
-                    , { field: '鍙戝竷鐘舵��', title: '鍙戝竷鐘舵��', width: 100 }
-                    , { field: '渚涘簲鍟嗗崗鍚岀姸鎬�', title: '渚涘簲鍟嗗崗鍚岀姸鎬�', width: 135 }/*鐗╂枡浠g爜锛岀墿鏂欏悕绉帮紝瑙勬牸鍨嬪彿锛屾壒鍙凤紝鏁伴噺锛屽崟浣嶏紝婧愬崟鍗曞彿*/
-                    , { field: '鍙嶉鐘舵��', title: '渚涘簲鍟嗗弽棣堢姸鎬�', width: 135 }
-                    , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120 }
-                    , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 200 }
-                    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 130 }
-                    , { field: '鏁伴噺', title: '璁㈠崟鏁伴噺', width: 100 }
-                    , { field: '鎵撳嵃鏉$爜鏁伴噺', title: '鎵撳嵃鏉$爜鏁伴噺', width: 120 }
-                    , { field: '鍏宠仈鏁伴噺', title: '宸插彂璐ф暟閲�', width: 120 }
-                    , { field: '鏈叧鑱旀暟閲�', title: '鏈凡鍙戣揣鏁伴噺', width: 120 }
-                    , { field: '瀹屾垚鐘舵��', title: '瀹屾垚鐘舵��', width: 100 }
-                    , { field: 'HUnitID', title: 'HUnitID', hide: true }
-                    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 100 }
-                    , { field: 'HUnitID', title: 'HUnitID', hide: true }
-                    , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 120 }
-                    , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 100 }
-                    , { field: '鎵瑰彿', title: '鎵瑰彿', width: 100 }
-                    , { field: '鏁伴噺', title: '鏁伴噺', width: 100 }
-                    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 100 }
-                    , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�', width: 120, hide: true}
-                    , { field: '涓氬姟鍛樹唬鐮�', title: '涓氬姟鍛樹唬鐮�', width: 100, hide: true}
-                    , { field: 'HPriority', title: 'HPriority', width: 100, hide: true }
-                    , { field: '浼樺厛绾�', title: '浼樺厛绾�', width: 100 }
-                    , { field: '浜よ揣鍦扮偣', title: '浜よ揣鍦扮偣', width: 100}
-                    , { field: 'HPSStyleID', title: 'HPSStyleID', hide: true }
-                    , { field: '閲囪喘鏂瑰紡浠g爜', title: '閲囪喘鏂瑰紡浠g爜', width: 120}
-                    , { field: '閲囪喘鏂瑰紡', title: '閲囪喘鏂瑰紡', width: 100}
-                    , { field: 'HSSID', title: 'HSSID', hide: true }
-                    , { field: '缁撶畻鏂瑰紡浠g爜', title: '缁撶畻鏂瑰紡浠g爜', width: 120}
-                    , { field: '缁撶畻鏂瑰紡', title: '缁撶畻鏂瑰紡', width: 100}
-                    , { field: '缁撶畻鏃ユ湡', title: '缁撶畻鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.缁撶畻鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: 'HCurID', title: 'HCurID', hide: true }
-                    , { field: '甯佸埆浠g爜', title: '甯佸埆浠g爜', width: 100}
-                    , { field: '甯佸埆', title: '甯佸埆', width: 100}
-                    , { field: '姹囩巼', title: '姹囩巼', width: 100}
-                    , { field: 'HDeptID', title: 'HDeptID', hide: true }
-                    , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜', width: 100}
-                    , { field: '閮ㄩ棬', title: '閮ㄩ棬', width: 100}
-                    , { field: 'HManagerID', title: 'HManagerID', hide: true }
-                    , { field: '涓荤浠g爜', title: '涓荤浠g爜', width: 100}
-                    , { field: '涓荤', title: '涓荤', width: 100}
-                    , { field: 'HEmpID', title: 'HEmpID', hide: true }
-                    , { field: '鎽樿', title: '鎽樿', width: 100}
-                    , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 100}
-                    , { field: 'hsubid', title: 'hsubid', hide: true }
-                    , { field: 'HMaterID', title: 'HMaterID', hide: true }
-                    , { field: '鍗曚环', title: '鍗曚环', width: 100}
-                    , { field: '閲戦', title: '閲戦', width: 100}
-                    , { field: '绋庣巼', title: '绋庣巼', width: 100}
-                    , { field: '绋庨', title: '绋庨', width: 100}
-                    , { field: '浠风◣鍚堣', title: '浠风◣鍚堣', width: 100}
-                    , { field: '浜よ揣鏃ユ湡', title: '浜よ揣鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.浜よ揣鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '璁″垝璺熻釜鍙�', title: '璁″垝璺熻釜鍙�', width: 100}
-                    , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 100}
-                    , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 100}
-                    , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 100}
-                    , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.瀹℃牳鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '淇敼浜�', title: '淇敼浜�', width: 100}
-                    , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.淇敼鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 100}
-                    , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍏抽棴鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-                    , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 100}
-                    , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.浣滃簾鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
-
-                ];
+                //columns = [
+                //     { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' }
+                //    ,{ field: 'hmainid', title: 'hmainid', sort: true, hide: true }
+                //    , { field: '鏃ユ湡', title: '鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 150 }
+                //    , { field: '渚涘簲鍟�', title: '渚涘簲鍟�', width: 150 }
+                //    , { field: '涓氬姟鍛�', title: '涓氬姟鍛�', width: 100 }
+                //    , { field: 'HBillType', title: 'HBillType', hide: true }
+                //    , { field: 'HSupID', title: 'HSupID', hide: true }
+                //    , { field: '涓氬姟鐘舵��', title: '涓氬姟鐘舵��', width: 100, hide: true }
+                //    , { field: '鍒嗛厤鐘舵��', title: '鍒嗛厤鐘舵��', width: 100 }
+                //    , { field: '鍙戝竷鐘舵��', title: '鍙戝竷鐘舵��', width: 100 }
+                //    , { field: '渚涘簲鍟嗗崗鍚岀姸鎬�', title: '渚涘簲鍟嗗崗鍚岀姸鎬�', width: 135 }/*鐗╂枡浠g爜锛岀墿鏂欏悕绉帮紝瑙勬牸鍨嬪彿锛屾壒鍙凤紝鏁伴噺锛屽崟浣嶏紝婧愬崟鍗曞彿*/
+                //    , { field: '鍙嶉鐘舵��', title: '渚涘簲鍟嗗弽棣堢姸鎬�', width: 135 }
+                //    , { field: '鐗╂枡缂栫爜', title: '鐗╂枡缂栫爜', width: 120 }
+                //    , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜', width: 200 }
+                //    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 130 }
+                //    , { field: '鏁伴噺', title: '璁㈠崟鏁伴噺', width: 100 }
+                //    , { field: '鎵撳嵃鏉$爜鏁伴噺', title: '鎵撳嵃鏉$爜鏁伴噺', width: 120 }
+                //    , { field: '鍏宠仈鏁伴噺', title: '宸插彂璐ф暟閲�', width: 120 }
+                //    , { field: '鏈叧鑱旀暟閲�', title: '鏈凡鍙戣揣鏁伴噺', width: 120 }
+                //    , { field: '瀹屾垚鐘舵��', title: '瀹屾垚鐘舵��', width: 100 }
+                //    , { field: 'HUnitID', title: 'HUnitID', hide: true }
+                //    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 100 }
+                //    , { field: 'HUnitID', title: 'HUnitID', hide: true }
+                //    , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 120 }
+                //    , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 100 }
+                //    , { field: '鎵瑰彿', title: '鎵瑰彿', width: 100 }
+                //    , { field: '鏁伴噺', title: '鏁伴噺', width: 100 }
+                //    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', width: 100 }
+                //    , { field: '渚涘簲鍟嗕唬鐮�', title: '渚涘簲鍟嗕唬鐮�', width: 120, hide: true}
+                //    , { field: '涓氬姟鍛樹唬鐮�', title: '涓氬姟鍛樹唬鐮�', width: 100, hide: true}
+                //    , { field: 'HPriority', title: 'HPriority', width: 100, hide: true }
+                //    , { field: '浼樺厛绾�', title: '浼樺厛绾�', width: 100 }
+                //    , { field: '浜よ揣鍦扮偣', title: '浜よ揣鍦扮偣', width: 100}
+                //    , { field: 'HPSStyleID', title: 'HPSStyleID', hide: true }
+                //    , { field: '閲囪喘鏂瑰紡浠g爜', title: '閲囪喘鏂瑰紡浠g爜', width: 120}
+                //    , { field: '閲囪喘鏂瑰紡', title: '閲囪喘鏂瑰紡', width: 100}
+                //    , { field: 'HSSID', title: 'HSSID', hide: true }
+                //    , { field: '缁撶畻鏂瑰紡浠g爜', title: '缁撶畻鏂瑰紡浠g爜', width: 120}
+                //    , { field: '缁撶畻鏂瑰紡', title: '缁撶畻鏂瑰紡', width: 100}
+                //    , { field: '缁撶畻鏃ユ湡', title: '缁撶畻鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.缁撶畻鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: 'HCurID', title: 'HCurID', hide: true }
+                //    , { field: '甯佸埆浠g爜', title: '甯佸埆浠g爜', width: 100}
+                //    , { field: '甯佸埆', title: '甯佸埆', width: 100}
+                //    , { field: '姹囩巼', title: '姹囩巼', width: 100}
+                //    , { field: 'HDeptID', title: 'HDeptID', hide: true }
+                //    , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜', width: 100}
+                //    , { field: '閮ㄩ棬', title: '閮ㄩ棬', width: 100}
+                //    , { field: 'HManagerID', title: 'HManagerID', hide: true }
+                //    , { field: '涓荤浠g爜', title: '涓荤浠g爜', width: 100}
+                //    , { field: '涓荤', title: '涓荤', width: 100}
+                //    , { field: 'HEmpID', title: 'HEmpID', hide: true }
+                //    , { field: '鎽樿', title: '鎽樿', width: 100}
+                //    , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', width: 100}
+                //    , { field: 'hsubid', title: 'hsubid', hide: true }
+                //    , { field: 'HMaterID', title: 'HMaterID', hide: true }
+                //    , { field: '鍗曚环', title: '鍗曚环', width: 100}
+                //    , { field: '閲戦', title: '閲戦', width: 100}
+                //    , { field: '绋庣巼', title: '绋庣巼', width: 100}
+                //    , { field: '绋庨', title: '绋庨', width: 100}
+                //    , { field: '浠风◣鍚堣', title: '浠风◣鍚堣', width: 100}
+                //    , { field: '浜よ揣鏃ユ湡', title: '浜よ揣鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.浜よ揣鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '璁″垝璺熻釜鍙�', title: '璁″垝璺熻釜鍙�', width: 100}
+                //    , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞', width: 100}
+                //    , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', width: 100}
+                //    , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', width: 100}
+                //    , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.瀹℃牳鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '淇敼浜�', title: '淇敼浜�', width: 100}
+                //    , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.淇敼鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', width: 100}
+                //    , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍏抽棴鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //    , { field: '浣滃簾浜�', title: '浣滃簾浜�', width: 100}
+                //    , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', width: 120, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.浣滃簾鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
+                //];
+                $.ajax({
+                    url: GetWEBURL() + '/Cg_POOrderBill/list2',
+                    type: "GET",
+                    async: false,
+                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            columns = data1.data;
+                            columns.unshift({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' });
+                        } else {
+                            layer.alert(data1.Message, { icon: 5 });
+                        }
+                    }, error: function () {
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
                 option = {
                     elem: '#mainTable'
                     , toolbar: '#toolbarDemo'
@@ -414,6 +427,7 @@
                 //    });
                 //}
             }
+
             //鍔犺浇缃戞牸
             function get_Display(sWhere) {
                 var wait = layer.load();//閬僵
@@ -536,7 +550,7 @@
                         , title: '鎵撳嵃妯$増閫夋嫨'
                         , shade: 0.6 //閬僵閫忔槑搴�
                         , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
-                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�  
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
                         , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + data[0].hmainid.toString() + '&MyMsg=' + data[0].hmainid.toString() + '&Type=HMouldProdInBill', 'yes']
                         , resize: false
                     })
@@ -1005,8 +1019,8 @@
 
             //蹇�熻繃婊�
             function get_FastQuery(table, option) {
-                var HStatus = $("select[name='HStatus']").val();// 
-                var HStatus2 = $("select[name='HStatus2']").val();// 
+                var HStatus = $("select[name='HStatus']").val();//
+                var HStatus2 = $("select[name='HStatus2']").val();//
                 var HBeginDate = $("#HBeginDate").val();//寮�濮嬫棩鏈�
                 var HEndDate = $("#HEndDate").val();//缁撴潫鏃ユ湡
                 var HBillNo = $("#HBillNo").val(); //鍗曟嵁鍙�

--
Gitblit v1.9.1