From d191e739f3ed29c909e75fd8d461eb9c4f818a2e Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 22 六月 2022 14:52:44 +0800
Subject: [PATCH] 提料计划报表

---
 WebTM/views/生产管理/日计划报表/ReportPODemandPlanBillList_S.html |  380 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 WebTM/views/基础资料/隐藏列设置/Gy_GridView_Hide.html             |   10 +
 WebTM/views/index.html                                   |    2 
 WebTM/WebTM.csproj                                       |    2 
 4 files changed, 393 insertions(+), 1 deletions(-)

diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 006339c..9a42efc 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -703,6 +703,7 @@
     <Content Include="views\鍩虹璧勬枡\杈呭姪鍩虹璧勬枡\Sb_Add_MaintenanceMode.html" />
     <Content Include="views\鍩虹璧勬枡\閲囪喘鍩虹璧勬枡\Gy_Supplier.html" />
     <Content Include="views\鍩虹璧勬枡\閿�鍞熀纭�璧勬枡\Gy_Customer.html" />
+    <Content Include="views\鍩虹璧勬枡\闅愯棌鍒楄缃甛Gy_GridView_Hide.html" />
     <Content Include="views\宸ヨ祫绠$悊\Gy_DuSubsidyItemBillEdit.html" />
     <Content Include="views\宸ヨ祫绠$悊\Gy_DuSubsidyItemBillList.html" />
     <Content Include="views\宸ヨ祫绠$悊\Gy_WorkPayTypeBillEdit.html" />
@@ -841,6 +842,7 @@
     <Content Include="views\鐢熶骇绠$悊\鏃ヨ鍒掑熀纭�璧勬枡\JIT_NeedMaterPlanConfigBillList.html" />
     <Content Include="views\鐢熶骇绠$悊\鏃ヨ鍒掑熀纭�璧勬枡\JIT_NeedMaterPlanConfigBill_Add.html" />
     <Content Include="views\鐢熶骇绠$悊\鏃ヨ鍒掓姤琛╘ReportPODemandPlanBillList.html" />
+    <Content Include="views\鐢熶骇绠$悊\鏃ヨ鍒掓姤琛╘ReportPODemandPlanBillList_S.html" />
     <Content Include="views\鐢熶骇绠$悊\鏃ヨ鍒掓姤琛╘ReportWorkDemandPlanBillList.html" />
     <Content Include="views\鐢熶骇绠$悊\鐢熶骇涓婃枡鍗昞Sc_MaterToSourceBillList - 澶嶅埗.html" />
     <Content Include="views\鐢熶骇绠$悊\鐢熶骇涓婃枡鍗昞Sc_MaterToSourceBillList.html" />
diff --git a/WebTM/views/index.html b/WebTM/views/index.html
index 33fe838..0f298c5 100644
--- a/WebTM/views/index.html
+++ b/WebTM/views/index.html
@@ -408,7 +408,7 @@
                                             <a>鎶ヨ〃</a>
                                             <dl class="layui-nav-child">
                                                 <dd><a lay-href="鐢熶骇绠$悊/鏃ヨ鍒掓姤琛�/ReportPODemandPlanBillList.html" style="margin: 0 0 0 13px;">鎻愭枡璁″垝鎶ヨ〃(閲囪喘璁㈠崟缁村害)</a></dd>
-                                                <!--<dd><a lay-href="鐢熶骇绠$悊/鏃ヨ鍒掓姤琛�/Cg_PODemandPlanConfigBillList.html" style="margin: 0 0 0 13px;">鎻愭枡璁″垝淇℃伅鍒楄〃</a></dd>-->
+                                                <dd><a lay-href="鐢熶骇绠$悊/鏃ヨ鍒掓姤琛�/ReportPODemandPlanBillList_S.html" style="margin: 0 0 0 13px;">鎻愭枡璁″垝鎶ヨ〃</a></dd>
                                                 <dd><a lay-href="鐢熶骇绠$悊/鏃ヨ鍒掓姤琛�/ReportWorkDemandPlanBillList.html" style="margin: 0 0 0 13px;">瑕佹枡璁″垝鎶ヨ〃</a></dd>
                                             </dl>
                                         </dd>
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html"
new file mode 100644
index 0000000..125a5a8
--- /dev/null
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\232\220\350\227\217\345\210\227\350\256\276\347\275\256/Gy_GridView_Hide.html"
@@ -0,0 +1,10 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8" />
+    <title></title>
+</head>
+<body>
+
+</body>
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList_S.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList_S.html"
new file mode 100644
index 0000000..81da310
--- /dev/null
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\346\212\245\350\241\250/ReportPODemandPlanBillList_S.html"
@@ -0,0 +1,380 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8" />
+    <title>鎻愭枡璁″垝鎶ヨ〃</title>
+    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/zgqCustom/zgqCustom.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>
+</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" style="width: 85px;">缁勭粐</label>
+                                    <div class="layui-input-block" style="margin-left: 120px; width: 185px;">
+                                        <select name="HORGID" id="HORGID" lay-verify="HORGID">
+                                            <!--鍔ㄦ�佹覆鏌撶粍缁�-->
+                                        </select>
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label" style="width: 85px;">鎻愭枡鏃ユ湡</label>
+                                    <div class="layui-input-block" style="margin-left: 120px;">
+                                        <input type="date" class="layui-input" lay-verify="HBEGINDATE" name="HBEGINDATE" id="HBEGINDATE" style="padding-left: 78px;">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label" style="width: 85px;">鑷�:</label>
+                                    <div class="layui-input-block" style="margin-left: 120px;">
+                                        <input type="date" class="layui-input" lay-verify="HENDDATE" name="HENDDATE" id="HENDDATE" style="padding-left: 78px;">
+                                    </div>
+                                </div>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">鏌ヨ</button>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch">閲嶇疆</button>
+                                <div class="layui-colla-content" style="padding: 0px; margin-left: 6%;">
+                                    <div class="layui-row" style="margin-top:10px;">
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">浜у搧缂栫爜</label>
+                                            <div class="layui-input-block" style="margin-left: 77px;">
+                                                <input type="hidden" class="layui-input" lay-verify="HMATERIALID" name="HMATERIALID" id="HMATERIALID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+                                                <input type="text" class="layui-input" lay-verify="HMATERIALNAME" name="HMATERIALNAME" id="HMATERIALNAME" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMATERIALID" id="btnHMATERIALID" style="padding: 0 10px;float: right;margin-right: 3px;">
+                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                                </button>
+                                            </div>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">渚涘簲鍟�</label>
+                                            <div class="layui-input-block" style="margin-left: 77px;">
+                                                <input type="hidden" class="layui-input" lay-verify="HSUPPLIERID" name="HSUPPLIERID" id="HSUPPLIERID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+                                                <input type="text" class="layui-input" lay-verify="HSUPPLIERNAME" name="HSUPPLIERNAME" id="HSUPPLIERNAME" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
+                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSUPPLIERID" id="btnHSUPPLIERID" style="padding: 0 10px;float: right;margin-right: 3px;">
+                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                                </button>
+                                            </div>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label" style="width: 85px;">闇�姹傚崟鍙�</label>
+                                            <div class="layui-input-block" style="margin-left: 120px;">
+                                                <input type="text" class="layui-input" name="HXQD" id="HXQD">
+                                            </div>
+                                        </div>
+                                    </div>
+                                    <div class="layui-row" style="margin: 10px 0 10px;">
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label" style="width: 85px;">閲囪喘璁㈠崟鍙�</label>
+                                            <div class="layui-input-block" style="margin-left: 120px;">
+                                                <input type="text" class="layui-input" name="HPURORDERNO" id="HPURORDERNO">
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div>
+                            </div>
+                        </div>
+                        <table class="" id="mainTable" lay-filter="mainTable"></table>
+                    </form>
+                </div>
+            </div>
+        </div>
+    </div>
+</body>
+</html>
+<script>
+    var treeCkData = { id: 0 };
+    var TagId = "";
+    var TagParentId = "";
+    layui.config({
+        base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+    }).extend({
+        index: 'lib/index', //涓诲叆鍙fā鍧�
+    }).use(['tree', 'index', 'form', 'table', 'element', 'laypage', 'laydate', 'util'], 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
+            , tree = layui.tree
+            , util = layui.util
+        var sWhere = " where 1=1 ";
+        var option = [];
+        //#endregion
+
+        //#region 杩涘叆椤甸潰鍗冲姞杞�
+
+        //鍒濆鍖栫晫闈�
+        set_ClearBill();
+
+        //#endregion
+
+        //#region 瑙﹀彂浜嬩欢锛氬寘鎷琭orm.on(){}鏍煎紡鐨勬墍鏈夌偣鍑讳簨浠躲�侀�夋嫨浜嬩欢绛�
+
+        //#region 浜у搧缂栫爜
+        form.on('submit(btnHMATERIALID)', function (data) {
+            btnHMATERIALID();
+        });
+        //#endregion
+
+        //#region 渚涘簲鍟�
+        form.on('submit(btnHSUPPLIERID)', function (data) {
+            btnHSUPPLIERID();
+        });
+        //#endregion
+
+        //#region 閲嶇疆鎸夐挳
+        form.on('submit(btnReSearch)', function (data) {
+            set_ClearQuery();
+        });
+        //#endregion
+
+        //#region 鏌ヨ鎸夐挳
+        form.on('submit(btnSearch)', function (data) {
+            get_FastQuery(2);
+        });
+        //#endregion
+
+        //#endregion
+
+        //#region 鏈〉闈㈣璋冪敤鐨勬墍鏈夋柟娉�
+
+        //#region 鍒濆鍖栫晫闈�
+        function set_ClearBill() {
+            //鍒濆鍖栨棩鏈�
+            $("#HBEGINDATE").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
+            $("#HENDDATE").val(Format(new Date(), "yyyy-MM-dd"));
+            //鐢熶骇缁勭粐鍔犺浇
+            Organ();
+            //鍒濆鍖栬〃鏍�
+            set_InitGrid();
+            //蹇�熻繃婊�
+            get_FastQuery(1);
+        }
+        //#endregion
+
+        //#region 鍒濆鍖栬〃鏍兼柟娉�
+        function set_InitGrid() {
+            var columns = [];
+            var myDate = new Date();
+            var yyyy = myDate.getFullYear();
+            var MM = myDate.getMonth() + 1;
+            var dd = myDate.getDate();
+            var SumMonth = 31; //鍔ㄦ�佷袱鏈堜箣宸� new Date(yyyy, MM, 0).getDate()
+            var MonthCount = new Date(yyyy, MM-1, 0).getDate();
+
+            columns.push({ type: 'checkbox', fixed: 'left' });
+            columns.push({ field: '缁勭粐', title: '閲囪喘缁勭粐' });
+            columns.push({ field: 'FMATERIALNAME', title: '鐗╂枡鍚嶇О' });
+            columns.push({ field: 'FSPECIFICATION', title: '鐗╂枡瑙勬牸' });
+            columns.push({ field: 'FNAME', title: '渚涘簲鍟�' });
+            columns.push({ field: 'FSUMQTY', title: '鍚堣' });
+            columns.push({ field: 'HPOOrderBillNo', title: '閲囪喘璁㈠崟鍙�' });
+            columns.push({ field: 'HSeOrderBillNo', title: '闇�姹傚崟鍙�' });
+            //columns.push({ field: 'HPOOrderBillRemark', title: '鎽樿' });
+            //columns.push({ field: 'HPOOrderBillNote', title: '澶囨敞' });
+            //columns.push({ field: '閲囪喘鍛�', title: '閲囪喘鍛�' });
+            columns.push({ field: 'FNUMBER', title: '鐗╂枡缂栫爜' });
+            columns.push({ field: '璁¢噺鍗曚綅鍚嶇О', title: '璁¢噺鍗曚綅' });
+            columns.push({ field: 'TQSUM', title: '鎻愭枡鎷栨湡鏁伴噺' });
+            for (var i = 1; i <= (MonthCount - dd); i++) {
+                columns.push({ field: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'yyyy-MM-dd'), title: Format(yyyy + '/' + (MM - 1) + '/' + (dd + i), 'MM.dd'), width: 70 })//0
+            }
+            for (var i = 1; i <= (SumMonth - MonthCount + dd); i++) {
+                columns.push({ field: Format(yyyy + '/' + MM + '/' + i, 'yyyy-MM-dd'), title: Format(yyyy + '/' + MM + '/' + i, 'MM.dd'), width: 70 })//0
+            }
+            columns.push({ field: '', title: '鎻愭枡璁″垝鍚堣' });
+
+            option = {
+                elem: '#mainTable'
+                , toolbar: '#toolbarDemo'
+                , height: 'full-50'
+                , page: true
+                , cellMinWidth: 90
+                , limit: 50
+                , limits: [50, 500, 5000, 20000]
+                , loading: false
+                , cols: [columns]
+            };
+        }
+        //#endregion
+
+        //鑾峰彇缁勭粐
+        function Organ() {
+            //鑾峰彇鐧诲綍椤电粍缁囧垪
+            var Organization = '';
+            $.ajax({
+                type: "get",
+                url: GetWEBURL() + "/Web/GetOrganizations",
+                success: function (result) {
+                    if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                        var data = result.data;
+                        for (var i = 0; i < data.length; i++) {
+                            Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
+                        }
+                        $("#HORGID").append(Organization);
+                        $("#HORGID").val(sessionStorage["OrganizationID"])
+                        form.render('select');
+                    }
+                    layer.closeAll("loading");
+                }
+            })
+        }
+
+        //#region 鏌ヨ
+        function get_Display(sWhere) {
+            var ajaxLoad = layer.load();
+            $.ajax({
+                url: GetWEBURL() + '/JIT_Cg_PODemandPlanBill/ReportPODemandPlanBillList_S',
+                type: "GET",
+                data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
+                success: function (result) {
+                    if (result.count == 1) {
+                        option.data = result.data;
+                        table.render(option);
+                        layer.close(ajaxLoad);
+                        //layer.alert("鏌ヨ鎴愬姛", { icon: 1 });
+                    } else {
+                        layer.close(ajaxLoad);
+                        layer.alert(result.code + result.Message, { icon: 5 });
+                    }
+                }, error: function () {
+                    layer.close(ajaxLoad);
+                    layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                }
+            });
+        }
+
+        //#endregion
+
+        //#region 蹇�熻繃婊�
+        function get_FastQuery(number) {
+            var HORGID = "";
+            if (number == 1) {
+                HORGID = sessionStorage["OrganizationID"];
+            }
+            else {
+                HORGID = $("#HORGID").val();//缁勭粐
+            }
+            var HBEGINDATE = $("#HBEGINDATE").val();//鎻愭枡鏃ユ湡
+            var HENDDATE = $("#HENDDATE").val();//鑷�
+            var HMATERIALID = $("#HMATERIALID").val();//鐗╂枡/浜у搧
+            var HSUPPLIERID = $("#HSUPPLIERID").val();//渚涘簲鍟�
+            var HXQD = $("#HXQD").val();//闇�姹傚崟鍙�
+            var HPURORDERNO = $("#HPURORDERNO").val();//閲囪喘璁㈠崟鍙�
+
+            if (HORGID != "") {
+                sWhere += " and a.HPURCHASEORGID= " + HORGID+" ";
+            }
+
+            if (HBEGINDATE != null && HENDDATE != null) {
+                sWhere += " and HDate between ''" + HBEGINDATE + "'' and ''" + HENDDATE + "'' ";
+            }
+            if (HMATERIALID!=0) {
+                sWhere += " and B.HMaterID= " + HMATERIALID+" ";
+            }
+            if (HSUPPLIERID!=0) {
+                sWhere += " and A.HSupplierID= " + HSUPPLIERID + " ";
+            }
+            if (HXQD) {
+                sWhere += " and HSeOrderBillNo like''% " + HXQD + "%'' ";
+            }
+            if (HPURORDERNO) {
+                sWhere += " and HPOOrderBillNo like''%" + HPURORDERNO + "%'' ";
+            }
+
+            get_Display(sWhere);
+            sWhere = " where 1=1 ";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
+        }
+        //#endregion
+
+        //#region 閲嶇疆杩囨护鏉′欢鏂规硶
+        function set_ClearQuery() {
+            $("#HORGID").val(sessionStorage["OrganizationID"]);//缁勭粐
+            $("#HBEGINDATE").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));//鎻愭枡鏃ユ湡
+            $("#HENDDATE").val(Format(new Date(), "yyyy-MM-dd"));//鑷�
+            $("#HMATERIALID").val("");//鐗╂枡/浜у搧
+            $("#HMATERIALNAME").val("");
+            $("#HSUPPLIERID").val("");//渚涘簲鍟�
+            $("#HSUPPLIERNAME").val("");
+            $("#HXQD").val("");//闇�姹傚崟鍙�
+            $("#HPURORDERNO").val("");//閲囪喘璁㈠崟鍙�
+            form.render('select');
+            sWhere = " where 1=1 ";
+        }
+        //#endregion
+
+        //鐗╂枡鍒楄〃
+        function btnHMATERIALID() {
+            layer.open({
+                type: 2 //绫诲瀷
+                , skin: 'layui-layer-rim'//鍔犱笂杈规
+                , area: ['90%', '90%']//澶у皬
+                , title: '鐗╂枡鍒楄〃'//鏍囬
+                , shift: 2//寮瑰嚭鍔ㄧ敾
+                , content: ['../../Baseset/鍩虹璧勬枡/Gy_MaterialList.html', 'yes']
+                , btn: ['纭畾', '鍙栨秷']
+                , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
+                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
+                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
+                    if (checkStatus.data.length === 0) {
+                        return layer.msg('璇烽�夋嫨鏁版嵁');
+                    }
+                    //鑾峰彇鏁版嵁
+                    $("#HMATERIALID").val(checkStatus.data[0].HItemID);
+                    $("#HMATERIALNAME").val(checkStatus.data[0].HName);
+                    layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+                }
+                , btn2: function (index, layero) { }
+            })
+        }
+
+        //渚涘簲鍟�
+        function btnHSUPPLIERID() {
+            layer.open({
+                type: 2 //绫诲瀷
+                , skin: 'layui-layer-rim'//鍔犱笂杈规
+                , area: ['90%', '90%']//澶у皬
+                , title: '渚涘簲鍟嗗垪琛�'//鏍囬
+                , shift: 2//寮瑰嚭鍔ㄧ敾
+                , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+                , btn: ['纭畾', '鍙栨秷']
+                , btn1: function (index, layero) {//鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
+                    var iframeWindow = window['layui-layer-iframe' + index]  //鑾峰彇寮规椤甸潰
+                    var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//鑾峰彇table鐨別lem:"#test"
+                    if (checkStatus.data.length === 0) {
+                        return layer.msg('璇烽�夋嫨鏁版嵁');
+                    }
+                    //鑾峰彇鏁版嵁
+                    $("#HSUPPLIERID").val(checkStatus.data[0].HItemID);
+                    $("#HSUPPLIERNAME").val(checkStatus.data[0].HName);
+                    layer.close(index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
+                }
+                , btn2: function (index, layero) { }
+            })
+        }
+
+
+
+        //#endregion
+        //浠ヤ笂鏄痩ayui妯″潡
+    });
+</script>
\ No newline at end of file

--
Gitblit v1.9.1