yangle
2022-07-11 cc60441578ce0c1fcb4a344a11c2e8616a9b13ec
Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
26个文件已修改
1个文件已添加
981 ■■■■ 已修改文件
WebTM/WebTM.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/index.html 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/index_Mobile.html 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockOutBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/条码出入库记录表/KF_PonderationBillList_Query.html 401 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/工资结算单(个人)/Pay_SingleBalBillEdit.html 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/工资结算单(个人)/Pay_SingleBalBillList.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Gy_MouldFile.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产拆箱单/Sc_PackSplitBill_Fast.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产汇报单/Sc_ICMOReportBill_FastNew.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Check.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Fast.html 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBackBill_Fast.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBackBill_Fast.html 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBill_Fast.html 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/产品入库/Kf_ProductInBackBill.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_OtherInBill_Fast.html 70 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_OtherInBill_FastList.html 230 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_RedOtherInBill_Fast.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Kf_POStockInBackBill.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj
@@ -150,6 +150,7 @@
    <Content Include="views\仓存管理\委外用料单\WW_PPBomBillList.html" />
    <Content Include="views\仓存管理\扫码异常记录表\KF_PonderationBillList.html" />
    <Content Include="views\仓存管理\条码出入库记录表\Kf_ICStockBillSubList.html" />
    <Content Include="views\仓存管理\条码出入库记录表\KF_PonderationBillList_Query.html" />
    <Content Include="views\仓存管理\条码库存\KF_ICInventoryByMaterID.html" />
    <Content Include="views\仓存管理\条码库存\KF_ICInventoryList_WMS.html" />
    <Content Include="views\仓存管理\条码生成\Gy_BarCodeBill.html" />
WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\智云MES\Lay-Ui\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>JFTM</NameOfLastUsedPublishProfile>
    <ProjectView>ShowAllFiles</ProjectView>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
WebTM/views/index.html
@@ -83,7 +83,6 @@
                        <dl class="layui-nav-child">
                            <dd><a lay-href="set/user/info.html">基本资料</a></dd>
                            <dd><a lay-href="set/user/password.html">修改密码</a></dd>
                            <hr>
                            <dd layadmin-event="logout" style="text-align: center;"><a>退出</a></dd>
                        </dl>
                    </li>
@@ -236,12 +235,22 @@
                                    </dl>
                                </dd>
                                <dd>
                                    <a>缓存列表</a>
                                    <dl class="layui-nav-child">
                                        <dd><a lay-href="验收入库/其他入库/Kf_OtherInBill_FastList.html">其他入库单缓存列表</a></dd>
                                        <dd><a lay-href="领料发货/其他出库/Kf_OtherOutBill_FastList.html">其他出库单缓存列表</a></dd>
                                        <dd><a lay-href="仓存管理/仓库调拨/Kf_MoveStockBill_FastList.html">调拨单缓存列表</a></dd>
                                        <dd><a lay-href="领料发货/销售出库/Kf_SellOutBill_FastList.html">销售出库缓存列表</a></dd>
                                    </dl>
                                </dd>
                                <dd>
                                    <a>仓库报表</a>
                                    <dl class="layui-nav-child">
                                        <dd><a lay-href="仓存管理/扫码异常记录表/KF_PonderationBillList.html">扫码异常记录查询</a></dd>
                                        <dd><a lay-href="仓存管理/条码出入库记录表/Kf_ICStockBillSubList.html">条码出入库记录表</a></dd>
                                        <dd><a lay-href="仓存管理/条码库存/KF_ICInventoryList_WMS.html">条码库存查询</a></dd>
                                        <dd><a lay-href="仓存管理/条码库存/KF_PonderationBillMain_Temp.html">条码出入库缓存列表</a></dd>
                                        <dd><a lay-href="仓存管理/条码出入库记录表/KF_PonderationBillList_Query.html">扫码记录缓存报表</a></dd>
                                    </dl>
                                </dd>
                            </dl>
@@ -373,8 +382,8 @@
                                            <a>日计划工单</a>
                                            <dl class="layui-nav-child">
                                                <dd><a lay-href="生产管理/生产日计划工单/JIT_DayPlanBillList.html" style="margin: 0 0 0 13px;">日计划工单列表</a></dd>
                                                <!--<dd><a lay-href="生产管理/生产日计划工单/JIT_DayPlanBillEdit.html" style="margin: 0 0 0 13px;">日计划工单</a></dd>-->
                                            </dl>
                                                <dd><a lay-href="生产管理/生产日计划工单/JIT_DayPlanBillEdit.html" style="margin: 0 0 0 13px;">日计划工单</a></dd>-->
                                             </dl>
                                        </dd>
                                        <dd>
                                            <a>要料计划</a>
@@ -415,7 +424,7 @@
                                    </dl>
                                </dd>
                            </dl>
                        </li>
                        </li>-->
                        <!-- è½¦é—´ç®¡ç† -->
                        <li data-name="set" class="layui-nav-item">
                            <a><i class="layui-icon layui-icon-set"></i><cite>车间管理</cite></a>
@@ -547,7 +556,7 @@
                                </dd>
                            </dl>
                        </li>
                        <!-- å™¨å…·ç®¡ç† -->
                         å™¨å…·ç®¡ç†
                        <li data-name="set" class="layui-nav-item">
                            <a><i class="layui-icon layui-icon-set"></i><cite>器具管理</cite></a>
                            <dl class="layui-nav-child">
@@ -640,7 +649,7 @@
                                </dd>
                            </dl>
                        </li>
                        <!-- è®¾å¤‡ç®¡ç† -->
                         è®¾å¤‡ç®¡ç†
                        <li data-name="set" class="layui-nav-item">
                            <a><i class="layui-icon layui-icon-set"></i><cite>设备管理</cite></a>
                            <dl class="layui-nav-child">
@@ -690,7 +699,7 @@
                                </dd>
                            </dl>
                        </li>
                        <!-- å·¥èµ„管理 -->
                         å·¥èµ„管理
                        <li data-name="set" class="layui-nav-item">
                            <a><i class="layui-icon layui-icon-set"></i><cite>工资管理</cite></a>
                            <dl class="layui-nav-child">
@@ -764,7 +773,7 @@
                            </dl>
                        </li>
                        <!-- å¯è§†åŒ–看板 -->
                        <li data-name="template" class="layui-nav-item">
                        <!--<li data-name="template" class="layui-nav-item">
                            <a href="javascript:;" lay-tips="可视化看板" lay-direction="2">
                                <i class="layui-icon layui-icon-chart-screen"></i>
                                <cite>可视化看板</cite>
@@ -856,8 +865,8 @@
                                    </a>
                                </dd>
                            </dl>
                        </li>
                        <!-- åŸºç¡€å»ºæ¨¡ -->
                        </li>-->
                         <!--基础建模-->
                        <li data-name="set" class="layui-nav-item">
                            <a><i class="layui-icon layui-icon-set"></i><cite>基础建模</cite></a>
                            <dl class="layui-nav-child">
WebTM/views/index_Mobile.html
@@ -77,7 +77,7 @@
          </div>
          <ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu" style="width:260p                                                                             x;">
              <!-- è½¦é—´ç®¡ç† -->
              <li data-name="set" class="layui-nav-item">
              <!--<li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/车间管理.svg" alt="车间管理" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>车间管理</cite>
@@ -156,9 +156,9 @@
                          </a>
                      </dd>
                  </dl>
              </li>
              </li>-->
              <!-- æ¨¡æ²»å…·ç®¡ç† -->
              <li data-name="set" class="layui-nav-item">
              <!--<li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/车间管理.svg" alt="车间管理" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>模治具管理</cite>
@@ -279,7 +279,7 @@
                          </a>
                      </dd>
                  </dl>
              </li>
              </li>-->
              <!-- ä»“储条码管理 -->
              <li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
@@ -432,7 +432,7 @@
                  </dl>
              </li>
              <!-- è®¾å¤‡ç®¡ç† -->
              <li data-name="set" class="layui-nav-item">
              <!--<li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
                      <img src="../layuiadmin/myicon/车间管理.svg" alt="车间管理" style="width:25px;height:25px;margin-right: 5px;" />
                      <cite>设备管理</cite>
@@ -463,7 +463,7 @@
                          </a>
                      </dd>
                  </dl>
              </li>
              </li>-->
              <!-- ç¼“存列表 -->
              <li data-name="set" class="layui-nav-item">
                  <a style="padding-left:20px;">
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockBill_Fast.html
@@ -495,7 +495,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1207' },
                    success: function (d) {
@@ -870,7 +870,7 @@
                            dataType: "json",
                            success: function (data) {
                                if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†
                                    layer.confirm("生成调拨单" + data.Message + $("#HBillNo").val(), {
                                    layer.confirm(data.Message , {
                                        icon: 1, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['新增'],
                                        btn2: function () {
                                            //parent.layui.admin.events.closeThisTabs();关闭页签
@@ -1066,12 +1066,13 @@
                                        elem: '#wl-table'
                                        , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , totalRow: true
                                        , defaultToolbar: []
                                        , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
                                            , { field: 'HQty', title: '数量', width: 150 }
                                            , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                            , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                            , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                            , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                            , { field: 'HMaterName', title: '物料名称', width: 150 }
                                            , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -1259,12 +1260,13 @@
                                elem: '#wl-table'
                                , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , defaultToolbar: []
                                , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockOutBill_Fast.html
@@ -446,7 +446,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1250' },
                    success: function (d) {
@@ -992,12 +992,13 @@
                                        elem: '#wl-table'
                                        , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , totalRow: true
                                        , defaultToolbar: []
                                        , where: { HBillID: sInterID, HBillType: '1250', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
                                            , { field: 'HQty', title: '数量', width: 150 }
                                            , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                            , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                            , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                            , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                            , { field: 'HMaterName', title: '物料名称', width: 150 }
                                            , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -1159,12 +1160,13 @@
                                elem: '#wl-table'
                                , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , defaultToolbar: []
                                , where: { HBillID: sInterID, HBillType: '1250', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/²Ö´æ¹ÜÀí/ÌõÂë³öÈë¿â¼Ç¼±í/KF_PonderationBillList_Query.html
New file
@@ -0,0 +1,401 @@
<!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/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>
    <style type="text/css">
        input.layui-input.layui-unselect {
            padding-right: 0;
        }
    </style>
</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" name="HBillNo" id="HBillNo" style="width:190px;">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">提交标记</label>
                                    <div class="layui-input-block">
                                        <select name="HRelationInterID" id="HRelationInterID" lay-verify="required" lay-search class="layui-input">
                                            <option value="0" selected>全部</option>
                                            <option value="未提交">未提交</option>
                                            <option value="已提交">已提交</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">物料代码</label>
                                    <div class="layui-input-block">
                                        <input type="text" class="layui-input" name="HMaterNum" id="HMaterNum" style="width:190px;">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">物料名称</label>
                                    <div class="layui-input-block">
                                        <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="width:190px;">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">规格型号</label>
                                    <div class="layui-input-block">
                                        <input type="text" class="layui-input" name="HModel" id="HModel" 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 class="layui-colla-content">
                                    <div class="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" name="HWhName" id="HWhName" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">仓位</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HStockPlaceName" id="HStockPlaceName" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">调出仓库</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HSCWHName" id="HSCWHName" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">调出仓位</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HOutStockPlaceName" id="HOutStockPlaceName" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">条形码</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HBarCode" id="HBarCode" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">托条码</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HBarCode_Pack" id="HBarCode_Pack" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">批次</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HBatchNo" id="HBatchNo" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">MTO号</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HMTONo" id="HMTONo" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">源单号</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HSourceBillNo" id="HSourceBillNo" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">制单人</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HMaker" id="HMaker" style="width:190px;">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">库存组织</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HStockOrgName" id="HStockOrgName" style="width:190px;">
                                        </div>
                                    </div>
                                </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>
        layui.config({
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index', //主入口模块
        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
            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 = [];
            //初始化界面
            set_ClearBill();
            //#endregion
            //#region é‡ç½®æŒ‰é’®
            form.on('submit(btnReSearch)', function (data) {
                //清空过滤条件
                set_ClearQuery();
            });
            //#endregion
            //#region æŸ¥è¯¢æŒ‰é’®
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery(table, option);
            });
            //#endregion
            //#region åˆå§‹åŒ–界面
            function set_ClearBill() {
                //初始化表格
                set_InitGrid();
                //查询
                get_Display(sWhere);
            }
            //#endregion
            //#region åˆå§‹åŒ–表格方法
            function set_InitGrid() {
                option = {
                    elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , cellMinWidth: 90
                    , limits: [50, 500, 5000, 20000]
                    ,limit: 50
                    , cols: [[
                         { type: 'checkbox', fixed: 'left' }
                        , { field: 'HInterID', title: '单据ID', hide: true }
                        , { field: '单据号', title: '单据号', width: 195 }
                        , { field: '单据类型', title: '单据类型', width: 110 }
                        , { field: '物料代码', title: '物料代码', width: 110 }
                        , { field: '物料名称', title: '物料名称', width: 110 }
                        , { field: '规格型号', title: '规格型号', width: 110 }
                        , { field: '辅助数量', title: '辅助数量', width: 110 }
                        , { field: '应发数量', title: '应发数量', width: 110 }
                        , { field: '实发数量', title: '实发数量', width: 110 }
                        , { field: '仓库', title: '仓库', width: 125 }
                        , { field: '仓位', title: '仓位', width: 125 }
                        , { field: '调出仓库', title: '调出仓库', width: 125 }
                        , { field: '调出仓位', title: '调出仓位', width: 125 }
                        , { field: '条形码', title: '条形码', width: 125 }
                        , { field: '托条码', title: '托条码', width: 125 }
                        , { field: '批次', title: '批次', width: 125 }
                        , { field: 'MTO号', title: 'MTO号', width: 125 }
                        , { field: '源单主内码', title: '源单主内码', width: 200, hide: true }
                        , { field: '源单子内码', title: '源单子内码', width: 200, hide: true }
                        , { field: '源单号', title: '源单号', width: 125 }
                        , { field: '源单类型', title: '源单类型', width: 125, hide: true }
                        , { field: '工序', title: '工序', width: 125 }
                        , { field: '班组', title: '班组', width: 125 }
                        , { field: '制单人', title: '制单人', width: 125 }
                        , { field: '制单日期', title: '制单日期', width: 200, templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '提交标记', title: '提交标记', width: 125 }
                        , { field: '红蓝字标记', title: '红蓝字标记', width: 125 }
                        , { field: '库存组织', title: '库存组织', width: 125 }
                        , { field: '货主', title: '货主', width: 125 }
                        , { field: '其他组织', title: '其他组织', width: 125 }
                        , { field: '客户标签', title: '客户标签', width: 125 }
                    ]]
                };
            }
            //进入页面显示的缓存列表
            function get_Display(sWhere) {
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/Kf_ICStockInOutBill/GetKF_PonderationBillMain_Temp',
                    type: "GET",
                    data: { "sWhere": sWhere},
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
                            table.render(option);
                            layer.close(ajaxLoad);
                        } else {
                            layer.close(ajaxLoad);
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            }
            //头工具栏事件
            table.on('toolbar(mainTable)', function (obj) {
                var checkStatus = table.checkStatus(obj.config.id);
                switch (obj.event) {
                    //刷新
                    case 'get_Refresh': get_Refresh();
                        break;
                    //退出按钮
                    case 'get_Exit': Pub_Close(2);
                        break;
                };
            });
            //#region å¿«é€Ÿè¿‡æ»¤
            function get_FastQuery(table, option) {
                var HBillNo = $("#HBillNo").val();//单据号
                var HMaterNum = $("#HMaterNum").val();//物料代码
                var HMaterName = $("#HMaterName").val();//物料名称
                var HModel = $("#HModel").val();//规格型号
                var HWhName = $("#HWhName").val();//仓库
                var HStockPlaceName = $("#HStockPlaceName").val();//仓位
                var HSCWHName = $("#HSCWHName").val();//调出仓库
                var HOutStockPlaceName = $("#HOutStockPlaceName").val();//调出仓位
                var HBarCode = $("#HBarCode").val();//条形码
                var HBarCode_Pack = $("#HBarCode_Pack").val();//托条码
                var HBatchNo = $("#HBatchNo").val();//批号
                var HMTONo = $("#HMTONo").val();//MTO
                var HSourceBillNo = $("#HSourceBillNo").val();//源单号
                var HMaker = $("#HMaker").val();//制单人
                var HStockOrgName = $("#HStockOrgName").val();//库存组织
                var HRelationInterID = $("#HRelationInterID").val();//库存组织
                if (HBillNo) {
                    sWhere += " and å•据号 like '%" + HBillNo + "%'";
                }
                if (HMaterNum) {
                    sWhere += " and ç‰©æ–™ä»£ç  like '%" + HMaterNum + "%'";
                }
                if (HMaterName) {
                    sWhere += " and ç‰©æ–™åç§° like '%" + HMaterName + "%'";
                }
                if (HModel) {
                    sWhere += " and è§„格型号 like '%" + HModel + "%'";
                }
                if (HWhName) {
                    sWhere += " and ä»“库 like '%" + HWhName + "%'";
                }
                if (HStockPlaceName) {
                    sWhere += " and ä»“位 like '%" + HStockPlaceName + "%'";
                }
                if (HSCWHName) {
                    sWhere += " and è°ƒå‡ºä»“库 like '%" + HSCWHName + "%'";
                }
                if (HOutStockPlaceName) {
                    sWhere += " and è°ƒå‡ºä»“位 like '%" + HOutStockPlaceName + "%'";
                }
                if (HBarCode) {
                    sWhere += " and æ¡å½¢ç  like '%" + HBarCode + "%'";
                }
                if (HBarCode_Pack) {
                    sWhere += " and æ‰˜æ¡ç  like '%" + HBarCode_Pack + "%'";
                }
                if (HBatchNo) {
                    sWhere += " and æ‰¹æ¬¡ like '%" + HBatchNo + "%'";
                }
                if (HMTONo) {
                    sWhere += " and MTO号 like '%" + HMTONo + "%'";
                }
                if (HSourceBillNo) {
                    sWhere += " and æºå•号 like '%" + HSourceBillNo + "%'";
                }
                if (HMaker) {
                    sWhere += " and åˆ¶å•人 like '%" + HMaker + "%'";
                }
                if (HStockOrgName) {
                    sWhere += " and åº“存组织 like '%" + HStockOrgName + "%'";
                }
                if (HRelationInterID && HRelationInterID != 0) {
                    sWhere += " and æäº¤æ ‡è®° like '%" + HRelationInterID + "%'";
                }
                get_Display(sWhere);
                sWhere = "";
            }
            //#endregion
            //#region é‡ç½®è¿‡æ»¤æ¡ä»¶
            function set_ClearQuery() {
                $("#HBillNo").val("");//单据类型
                $("#HMaterNum").val("");//条码
                $("#HMaterName").val("");//单据号
                $("#HModel").val("");//单据号
                $("#HWhName").val("");//单据号
                $("#HStockPlaceName").val("");//单据号
                $("#HOutStockPlaceName").val("");//单据号
                $("#HBarCode").val("");//单据号
                $("#HBarCode_Pack").val("");//单据号
                $("#HBatchNo").val("");//单据号
                $("#HMTONo").val("");//单据号
                $("#HSourceBillNo").val("");//单据号
                $("#HMaker").val("");//单据号
                $("#HStockOrgName").val("");//单据号
                $('#HRelationInterID').val("");
                sWhere = "";
                get_Display(sWhere);
            }
            //#endregion
            //#region åˆ·æ–°
            function get_Refresh() {
                set_ClearQuery();
                get_Display(sWhere);
            }
            //#endregion
        });
    </script>
</body>
</html>
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(¸öÈË)/Pay_SingleBalBillEdit.html
@@ -102,7 +102,7 @@
                                            </div>
                                        </div>
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">主管</label>
                                            <label class="layui-form-label">职员</label>
                                            <div class="layui-input-inline">
                                                <input type="text" name="HEmpName" id="HEmpName" readonly class="layui-input" value="" style="float:left;width:150px;">
                                                <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value="" style="float:left;width:150px;">
@@ -113,27 +113,27 @@
                                        </div>
                                    </div>
                                    <!--<div class="layui-row">
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">源单类型</label>
                                            <div class="layui-input-inline">
                                                <select name="HSourceBillType" lay-filter="aihao" id="HSourceBillType">
                                                    <option value="产品入库单">产品入库单</option>
                                                    <option value="产品入库单(红单)">产品入库单(红单)</option>
                                                    <option value="调拨单">调拨单</option>
                                                    <option value="生产任务单">生产任务单</option>
                                                    <option value="工序汇报单">工序汇报单</option>
                                                    <option value="生产汇报单">生产汇报单</option>
                                                    <option value="手工录入">手工录入</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">选单号</label>
                                            <div class="layui-input-inline">
                                                <input class="layui-input" name="Box2" id="Box2" autocomplete="off">
                                            </div>
                                        </div>
                                    </div>-->
        <div class="layui-col-xs4 layui-inline">
            <label class="layui-form-label">源单类型</label>
            <div class="layui-input-inline">
                <select name="HSourceBillType" lay-filter="aihao" id="HSourceBillType">
                    <option value="产品入库单">产品入库单</option>
                    <option value="产品入库单(红单)">产品入库单(红单)</option>
                    <option value="调拨单">调拨单</option>
                    <option value="生产任务单">生产任务单</option>
                    <option value="工序汇报单">工序汇报单</option>
                    <option value="生产汇报单">生产汇报单</option>
                    <option value="手工录入">手工录入</option>
                </select>
            </div>
        </div>
        <div class="layui-col-xs4 layui-inline">
            <label class="layui-form-label">选单号</label>
            <div class="layui-input-inline">
                <input class="layui-input" name="Box2" id="Box2" autocomplete="off">
            </div>
        </div>
    </div>-->
                                    <div class="layui-row">
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">工资类型</label>
@@ -157,6 +157,15 @@
                                                <textarea placeholder="请输入维备注" class="layui-textarea" name="HRemark" id="HRemark"></textarea>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="layui-row">
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">总金额</label>
                                            <div class="layui-input-inline">
                                                <input type="text" name="HSumMoney" id="HSumMoney" readonly class="layui-input" value="" style="float:left;width:150px;">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--制单信息-->
@@ -722,6 +731,7 @@
                                , "HCloseDate": data.关闭日期
                                , "HUpDateDate": data.修改日期
                                , "HDeleteDate": data.作废日期
                                , "HSumMoney": data.总金额
                            });
                        } else {
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(¸öÈË)/Pay_SingleBalBillList.html
@@ -159,6 +159,7 @@
                        , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true }
                        , { field: 'HEmpNumber', title: '职员代码', width: 180 }
                        , { field: 'HEmpName', title: '职员', width: 125 }
                        , { field: '总金额', title: '总金额', width: 125 }
                        , { field: 'HPayID', title: 'HPayID', width: 200, hide: true }
                        //, { field: '工资代码', title: '工资代码', width: 180 }
                        , { field: '工资类型', title: '工资类型', width: 125 }
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Gy_MouldFile.html
@@ -1168,6 +1168,7 @@
                        //$("#HSPGroupID").val(d.data[0].HSPGroupID);
                        $("#HSPID").val(d.data[0].HSPID);
                        $("#HSPName").val(d.data[0].默认仓位);
                        $("#HBarCode").var(d.data[0].条码编号);
                        //$("#HInitDesignLife").val(d.data[0].HInitDesignLife);
                        //$("#HInitModel").val(d.data[0].HInitModel);
                        $("#HDesignLife").val(d.data[0].初始设计寿命);
WebTM/views/Éú²ú¹ÜÀí/Éú²ú²ðÏäµ¥/Sc_PackSplitBill_Fast.html
@@ -305,7 +305,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val(""); 
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '3784' },
                    success: function (d) {
WebTM/views/Éú²ú¹ÜÀí/Éú²ú»ã±¨µ¥/Sc_ICMOReportBill_FastNew.html
@@ -366,7 +366,7 @@
            $("#HInterID").val("");
            $("#HBillNo").val("");
            $.ajax({
                url: GetWEBURL() + "/Web/GetMAXNum",
                url: GetWEBURL() + "/Web/GetMAXNumPDA",
                type: "GET",
                data: { "HBillType": '3711' },
                success: function (d) {
@@ -816,11 +816,12 @@
                                                    elem: '#wl-table'
                                                , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
                                                  , where: { HBillID: sInterID, HBillType: '3711', sWhere: '' }
                                                  , cellMinWidth : 115
                                                , cellMinWidth: 115
                                                , totalRow: true
                                                  , cols: [[
                                                      { type: 'radio' }
                                                    , { field: 'HQty', title: '数量', sort: true }
                                                    , { field: 'HQtyMust', title: '应收数量', sort: true  }
                                                      , { field: 'HQty', title: '数量', sort: true, totalRow: true}
                                                      , { field: 'HQtyMust', title: '应收数量', sort: true, totalRow: true}
                                                    , { field: 'HMaterNumber', title: '物料代码', sort: true }
                                                    , { field: 'HMaterName', title: '物料名称', sort: true }
                                                    , { field: 'HMaterModel', title: '规格型号', sort: true }
@@ -881,14 +882,15 @@
                            table.render({
                                elem: '#wl-table'
                                , cellMinWidth: 80
                                , totalRow: true
                              //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
                              //, toolbar: '#toolbarDemo'
                              , where: { HBillID: sInterID, HBillType: '3711', sWhere: '' }
                              , cols: [[
                                  { type: 'radio' }
                                , { field: 'HQty', title: '数量', sort: true }
                                , { field: 'HQtyMust', title: '应收数量', sort: true }
                                  , { field: 'HQty', title: '数量', sort: true, totalRow: true}
                                  , { field: 'HQtyMust', title: '应收数量', sort: true, totalRow: true}
                                , { field: 'HMaterNumber', title: '物料代码', sort: true }
                                , { field: 'HMaterName', title: '物料名称', sort: true }
                                , { field: 'HMaterModel', title: '规格型号', sort: true }
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Kf_OtherOutBill_Check.html
@@ -290,7 +290,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    //url: GetWEBURL() + "/Web/UpdatePOInStockBillPrintQty", //方法所在页面和方法名
                    type: "GET",
                    data: { "HBillType": '1201' },
@@ -848,12 +848,13 @@
            var listOption = {
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , totalRow: true
                , cellMinWidth: 90
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HSNO', title: '序号', width: 60 }
                    , { field: 'HQty', title: '数量', width: 80 }
                    , { field: 'HQtyMust', title: '应发数量', width: 80 }
                    , { field: 'HQty', title: '数量', width: 80, totalRow: true}
                    , { field: 'HQtyMust', title: '应发数量', width: 80, totalRow: true }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -901,14 +902,15 @@
                            table.render({
                                elem: '#wl-table'
                                , cellMinWidth: 80
                                , totalRow: true
                                //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
                                //, toolbar: '#toolbarDemo'
                                , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', sort: true, width: 100 }
                                    , { field: 'HQtyMust', title: '应收数量', sort: true, width: 100 }
                                    , { field: 'HQty', title: '数量', sort: true, width: 100, totalRow: true}
                                    , { field: 'HQtyMust', title: '应收数量', sort: true, width: 100, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', sort: true, width: 200 }
                                    , { field: 'HMaterName', title: '物料名称', sort: true, width: 200 }
                                    , { field: 'HMaterModel', title: '规格型号', sort: true, width: 200 }
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Kf_OtherOutBill_Fast.html
@@ -287,8 +287,8 @@
                    , where: { HBillID: linterid, HBillType: '1206', sWhere: '' }
                    , cols: [[
                        { type: 'radio' }
                        , { field: 'HQty', title: '数量', width: 150 }
                        , { field: 'HQtyMust', title: '应收数量', width: 150 }
                        , { field: 'HQty', title: '重量', width: 150 }
                        , { field: 'HAuxQty', title: '箱数', width: 150, totalRow: true }
                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                        , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -318,7 +318,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1206' },
                    success: function (d) {
@@ -560,8 +560,8 @@
                                    , where: { HBillID: sInterID, HBillType: '1206', sWhere: '' }
                                    , cols: [[
                                        { type: 'radio' }
                                        , { field: 'HQty', title: '数量', width: 80 }
                                        , { field: 'HQtyMust', title: '应收数量', width: 80 }
                                        , { field: 'HQty', title: '重量', width: 150 }
                                        , { field: 'HAuxQty', title: '箱数', width: 150, totalRow: true }
                                        , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                                        , { field: 'HMaterModel', title: '规格型号', width: 100 }
@@ -608,7 +608,7 @@
                            dataType: "json",
                            success: function (data) {
                                if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                    layer.msg(data.Message + $("#HBillNo").val(), { icon: 1 });
                                    layer.msg(data.Message, { icon: 1 });
                                }
                                else {
                                    layer.msg(data.Message, { icon: 5 });
@@ -848,9 +848,11 @@
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , cellMinWidth: 90
                , totalRow: true
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HQty', title: '数量', width: 150 }
                    , { field: 'HQty', title: '重量', width: 150, totalRow: true }
                    , { field: 'HAuxQty', title: '箱数', width: 150, totalRow: true }
                    , { field: 'HQtyMust', title: '应发数量', width: 150 }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
@@ -921,10 +923,12 @@
                                // , url: 'http://61.130.49.162:9090/WMSAPI///OtherOutBill/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json1'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , where: { HBillID: sInterID, HBillNo: sBillNo, HBillType: '1206', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQty', title: '重量', width: 150, totalRow: true}
                                    , { field: 'HAuxQty', title: '箱数', width: 150, totalRow: true }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
WebTM/views/ÁìÁÏ·¢»õ/ίÍâ³ö¿â/Kf_EntrustOutBill_Fast.html
@@ -467,7 +467,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1211' },
                    success: function (d) {
@@ -862,12 +862,13 @@
                                elem: '#wl-table'
                                , url: GetWEBURL() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , where: { HBillID: sInterID, HBillType: '1211', sWhere: '' }
                                , cellMinWidth: 90
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应发数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                    , { field: 'HQtyMust', title: '应发数量', width: 150, totalRow: true }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -950,11 +951,12 @@
                                // , url: 'http://61.130.49.162:9090/WMSAPI///EntrustOut/DisBillEntryList_Entrust_Webs_Json'
                                , url: GetWEBURL() + '/EntrustOut/DisBillEntryList_Entrust_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , where: { HBillID: sInterID, HBillType: '1211', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应发数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                    , { field: 'HQtyMust', title: '应发数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBackBill_Fast.html
@@ -380,7 +380,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val(""); 
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1247' },
                    success: function (d) {
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill_Fast.html
@@ -443,6 +443,8 @@
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HBillType").val(d.data[0].HSourceBillType);
                        $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
                        $("#HDeptID").val(result.data[0].HDeptID);
                        $("#HDeptName").val(result.data[0].HDeptName);
                        $("#HSourceBillNo").attr("disabled", "true");
                        HSourceFlag = true;
                        //$("#HWHID").val(d.data[0].HWhID);
@@ -538,7 +540,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val(""); 
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1205' },
                    success: function (d) {
@@ -897,7 +899,7 @@
                    dataType: "json",
                    success: function (data) {
                        if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†
                            layer.confirm(data.Message + $("#HBillNo").val(), {
                            layer.confirm(data.Message , {
                                icon: 1, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['新增'],
                                btn2: function () {
                                    //parent.layui.admin.events.closeThisTabs();关闭页签
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBackBill_Fast.html
@@ -502,7 +502,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1244' },
                    success: function (d) {
@@ -1078,13 +1078,14 @@
                , toolbar: '#toolbarDemo'
                , cellMinWidth: 90
                , limit: 50
                , totalRow: true
                , limits: [50, 500, 5000, 20000]
                , page: true
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HSNO', title: '序号', width: 60 }
                    , { field: 'HQty', title: '数量', width: 80 }
                    , { field: 'HQtyMust', title: '应发数量', width: 80 }
                    , { field: 'HQty', title: '数量', width: 80, totalRow: true}
                    , { field: 'HQtyMust', title: '应发数量', width: 80, totalRow: true }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBill_Fast.html
@@ -503,7 +503,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1204' },
                    success: function (d) {
@@ -1140,14 +1140,15 @@
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , cellMinWidth: 90
                , totalRow: true
                , limit: 50
                , limits: [50, 500, 5000, 20000]
                , page: true
                    , cols: [[
                        { type: 'radio' }
                        , { field: 'HSNO', title: '序号', width: 60 }
                        , { field: 'HQty', title: '数量', width: 80 }
                        , { field: 'HQtyMust', title: '应发数量', width: 80 }
                        , { field: 'HQty', title: '数量', width: 80, totalRow: true}
                        , { field: 'HQtyMust', title: '应发数量', width: 80, totalRow: true}
                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                        , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBackBill.html
@@ -323,7 +323,7 @@
            $("#HInterID").val("");
            $("#HBillNo").val(""); 
            $.ajax({ 
                url: GetWEBURL() + "/Web/GetMAXNum",
                url: GetWEBURL() + "/Web/GetMAXNumPDA",
                type: "GET",
                data: { "HBillType": '1245' },
                success: function (d) {
@@ -704,12 +704,13 @@
                            table.render({
                                elem: '#wl-table'
                                  , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                                  , toolbar: '#toolbarDemo'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                  , where: { HBillID: sInterID, HBillType: '1245', sWhere: '' }
                                  , cols: [[
                                        { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                      , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                      , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -757,14 +758,15 @@
                            element.tabChange('tab-ProductlnBackBill', '2');
                            table.render({
                                elem: '#wl-table'
                                , totalRow: true
                                //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                              , url: GetWEBURL() + '/ProductInBackBill/DisBillEntryList_Webs_Json'
                              , toolbar: '#toolbarDemo'
                              , where: { HBillID: sInterID, HBillType: '1245', sWhere: '' }
                              , cols: [[
                                  { type: 'radio' }
                                , { field: 'HQty', title: '数量', width: 150 }
                                , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                  , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                  , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                , { field: 'HMaterName', title: '物料名称', width: 150 }
                                , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBill_Fast.html
@@ -517,7 +517,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1202' },
                    success: function (d) {
@@ -1358,11 +1358,12 @@
            var listOption = {
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , totalRow: true
                , cellMinWidth: 90
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HQty', title: '数量', width: 150 }
                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                    , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -1439,12 +1440,13 @@
                                //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , defaultToolbar: []
                                , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_OtherInBill_Fast.html
@@ -337,7 +337,7 @@
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1203' },
                    success: function (d) {
@@ -757,45 +757,36 @@
                var sMain = sMainStr;
                var sSubStr = table.cache['wl-table'];
                var sSourceType = $("#HBillType").val();
                if (AllowLoadData(sSubStr) != false)//非空验证
                {
                    layer.load(3);
                    $.ajax(
                        {
                            type: "POST",
                            url: GetWEBURL() + "/OtherInStockBill/set_SaveOtherInStockBill_Json",
                            //url: "http://localhost:12761/OtherInStockBill/set_SaveOtherInStockBill_Json", //方法所在页面和方法名
                            async: true,
                            data: { "oMain": sMain },
                            dataType: "json",
                            success: function (data) {
                                if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                    layer.msg(data.Message + $("#HBillNo").val(), { icon: 1 });
                                    //
                                    //Sub_ClearBill();
                                    //
                                    //灰度提交按钮Saver
                                    document.getElementById("Saver").disabled = false;
                                }
                                else {
                                    layer.msg(data.Message, { icon: 5 });
                                    //灰度提交按钮Saver
                                    document.getElementById("Saver").disabled = false;
                                }
                                layer.closeAll("loading");
                            },
                            error: function (err) {
                                layer.msg("错误:" + err, { icon: 5 });
                $.ajax(
                    {
                        type: "POST",
                        url: GetWEBURL() + "/OtherInStockBill/set_SaveOtherInStockBill_Json",
                        //url: "http://localhost:12761/OtherInStockBill/set_SaveOtherInStockBill_Json", //方法所在页面和方法名
                        async: true,
                        data: { "oMain": sMain },
                        dataType: "json",
                        success: function (data) {
                            if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                layer.msg(data.Message , { icon: 1 });
                                //
                                //Sub_ClearBill();
                                //
                                //灰度提交按钮Saver
                                document.getElementById("Saver").disabled = false;
                            }
                        });
                }
                else {
                    layer.msg("数据不完整,不允许提交:", { icon: 5 });
                    //灰度提交按钮Saver
                    document.getElementById("Saver").disabled = false;
                }
                            else {
                                layer.msg(data.Message, { icon: 5 });
                                //灰度提交按钮Saver
                                document.getElementById("Saver").disabled = false;
                            }
                            layer.closeAll("loading");
                        },
                        error: function (err) {
                            layer.msg("错误:" + err, { icon: 5 });
                            //灰度提交按钮Saver
                            document.getElementById("Saver").disabled = false;
                        }
                    });
            });
@@ -1057,9 +1048,12 @@
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , cellMinWidth: 90
                ,limit:3000
                , totalRow: true
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HQty', title: '数量', width: 150 }
                    , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                    , { field: 'HAuxQty', title: '箱数', width: 150, totalRow: true }
                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_OtherInBill_FastList.html
@@ -123,19 +123,69 @@
        , element = layui.element;
        //清空界面  new
        var sBillType = '1203'
        var sBillType = '1203';
        var col = [];
        //动态加载源单类型列表 new
        //加载源单类型
        set_ClearBill();
        //初始化界面
        function set_ClearBill() {
            get_Display();
            //已上传列表
            table.render({
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                , toolbar: '#toolbarDemo'
                , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , page: true  // å¼€å¯åˆ†é¡µ
                , limits: [20, 40, 80, 100]
                , limit: 20
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HInterID', title: '单据内码', width: 120 }
                    , { field: 'HBillNo', title: '单据号', width: 150 }
                    , { field: 'HMaker', title: '制单人', width: 120 }
                    , { field: 'HMakeDate', title: '制单日期', width: 150 }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                    , { field: 'HQty', title: '数量', width: 100 }
                    , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                    , { field: 'HOrgID', title: '组织', width: 120 }
                ]]
                , height: 500
                , done: function () {
                    layer.closeAll("loading");
                }
            })
            //已上传查询
            table.render({
                elem: '#sy-table'
                , toolbar: '#toolbarDemo'
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HInterID', title: '单据内码', width: 120 }
                    , { field: 'HBillNo', title: '单据号', width: 150 }
                    , { field: 'HMaker', title: '制单人', width: 120 }
                    , { field: 'HMakeDate', title: '制单日期', width: 150 }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                    , { field: 'HQty', title: '数量', width: 100 }
                    , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                    , { field: 'HOrgID', title: '组织', width: 120 }
                ]]
                , height: 500
            })
        }
        //读取单据列表
        //
        //退出
        form.on('submit(Cancel)', function () {
            parent.location.href = "../../../views/index.html"
            //window.close();//关闭当前页
        })
        //编辑
        form.on('submit(cmdModify)', function () {
            var checkStatus = table.checkStatus('dj-table')
                     , data = checkStatus.data;
@@ -156,30 +206,10 @@
            })
        });
        form.on('submit(cmdRefresh)', function () {//刷新
        //刷新
        form.on('submit(cmdRefresh)', function () {
            get_Display();
            table.render({
                elem: '#dj-table'
                , url: GetWEBURL() + '/Web/chanpinruk'
                , toolbar: '#toolbarDemo'
                , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HInterID', title: '单据内码', width: 120 }
                    , { field: 'HBillNo', title: '单据号', width: 150 }
                    , { field: 'HMaker', title: '制单人', width: 120 }
                    , { field: 'HMakeDate', title: '制单日期', width: 150 }
                    , { field: 'HQty', title: '数量', width: 100 }
                    , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                    , { field: 'HRedBlueFlag', title: '红蓝字', width: 120 }
                    , { field: 'HSourceBillType', title: '源单类型', width: 100 }
                ]]
                , height: 500
                , done: function () {
                    layer.closeAll("loading");
                }
            }),
                table.render({
                    elem: '#yd-table'
                    , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                    , toolbar: '#toolbarDemo'
@@ -206,8 +236,7 @@
                    }
                })
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
            var checkStatus = table.checkStatus('yd-table')
@@ -267,26 +296,7 @@
                            dataType: "json",
                            success: function (data) {
                                if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                    //layer.msg(data.Message, { icon: 1 });
                                    table.render({
                                        elem: '#dj-table'
                                        , url: GetWEBURL() + '/Web/DisBillEntryList_Mate_Webs_Json'
                                        , cellMinWidth: 80
                                        , toolbar: '#toolbarDemo'
                                        , where: { HBillType: '1203', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
                                            , { field: 'HInterID', title: '单据内码', width: 80 }
                                            , { field: 'HBillNo', title: '单据号', width: 80 }
                                            , { field: 'HMaker', title: '制单人', width: 100 }
                                            , { field: 'HMakeDate', title: '制单日期', width: 100 }
                                            , { field: 'HQty', title: '数量', width: 100 }
                                            , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                                            , { field: 'HRedBlueFlag', title: '红蓝字', width: 100 }
                                            , { field: 'HSourceBillType', title: '源单类型', width: 100 }
                                        ]]
                                        , height: 500
                                    })
                                    get_Display();
                                }
                                else {
                                    layer.msg(data.Message, { icon: 2 });
@@ -333,77 +343,61 @@
        });
        
       
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
            , toolbar: '#toolbarDemo'
            , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 120 }
                , { field: 'HBillNo', title: '单据号', width: 150 }
                , { field: 'HMaker', title: '制单人', width: 120 }
                , { field: 'HMakeDate', title: '制单日期', width: 150 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                , { field: 'HRedBlueFlag', title: '红蓝字', width: 120 }
                , { field: 'HSourceBillType', title: '源单类型', width: 100 }
            ]]
            , height: 500
            , done: function () {
                layer.closeAll("loading");
            }
        })
        //加载缓存列表数据
        function get_Display() {
            var ajaxLoad = layer.load();
            $.ajax({
                url: GetWEBURL() + '/Web/GetOtherInBillMain_TempList_New',
                type: "GET",
                data: { "HBillType": sBillType, "sHMaker": sessionStorage["HUserName"], "HOrgID": sessionStorage["OrganizationID"]},
                success: function (data1) {
                    if (data1.count == 1) {
                        var data = [];
                        //给空的数组赋值
                        for (var key in data1.list) {
                            data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                        }
                        for (var i = 0; i < data.length; i++) {
                            if (data[i].name == '单据内码' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                            }
                            else {
                                switch (data[i].Type) {
                                    //int
                                    case 'DateTime':
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 });
                                        break;
                                    default:
                                        col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                }
                            }
                        }
        //已上传列表
        table.render({
            elem: '#yd-table'
            , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
            , toolbar: '#toolbarDemo'
            , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
            , page: true  // å¼€å¯åˆ†é¡µ
            , limits: [20, 40, 80, 100]
            , limit: 20
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 120 }
                , { field: 'HBillNo', title: '单据号', width: 150 }
                , { field: 'HMaker', title: '制单人', width: 120 }
                , { field: 'HMakeDate', title: '制单日期', width: 150 }
                , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                , { field: 'HMaterName', title: '物料名称', width: 150 }
                , { field: 'HMaterModel', title: '规格型号', width: 150 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                , { field: 'HOrgID', title: '组织', width: 120 }
            ]]
            , height: 500
            , done: function () {
                layer.closeAll("loading");
            }
        })
                        //动态显示列名
                        table.render({
                            elem: '#dj-table'
                            , cols: [col]
                            , data: data1.data
                            , height: 550
                            , page: true
                            , cellMinWidth: 90
                            , limit: 50
                            , limits: [50, 500, 5000, 20000]
                        });
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 120 }
                , { field: 'HBillNo', title: '单据号', width: 150 }
                , { field: 'HMaker', title: '制单人', width: 120 }
                , { field: 'HMakeDate', title: '制单日期', width: 150 }
                , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                , { field: 'HMaterName', title: '物料名称', width: 150 }
                , { field: 'HMaterModel', title: '规格型号', width: 150 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                , { field: 'HOrgID', title: '组织', width: 120 }
            ]]
            , height: 500
        })
                        layer.close(ajaxLoad);
                        //layer.alert("查询成功", { icon: 1 });
                    } else {
                        layer.close(ajaxLoad);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(ajaxLoad);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        }
        //刷新明细页签
        table.render({
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_RedOtherInBill_Fast.html
@@ -256,7 +256,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1203' },
                    success: function (d) {
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBackBill.html
@@ -413,7 +413,7 @@
            $("#HBillNo").val(""); 
            $.ajax({
                url: GetWEBURL() + "/Web/GetMAXNum",
                url: GetWEBURL() + "/Web/GetMAXNumPDA",
                type: "GET",
                data: { "HBillType": '1239' },
                success: function (d) {
@@ -860,12 +860,13 @@
                                            table.render({
                                                    elem: '#wl-table' 
                                                  , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json'
                                                  , toolbar: '#toolbarDemo'
                                                , toolbar: '#toolbarDemo'
                                                , totalRow: true
                                                  , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' }
                                                  , cols: [[
                                                      { type: 'radio' }
                                                     , { field: 'HQty', title: '数量', width: 150 }
                                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                                      , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                                      , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true }
                                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -923,14 +924,15 @@
                            element.tabChange('tab-POStockInBackBill', '2');
                            table.render({
                                elem: '#wl-table'
                                , totalRow: true
                                //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBackBill/DisBillEntryList_Webs_Json'
                               , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json'
                                //, toolbar: '#toolbarDemo'
                              , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' }
                              , cols: [[
                                  { type: 'radio' }
                                , { field: 'HQty', title: '数量', width: 80 }
                                , { field: 'HQtyMust', title: '应收数量', width: 80 }
                                  , { field: 'HQty', title: '数量', width: 80, totalRow: true}
                                  , { field: 'HQtyMust', title: '应收数量', width: 80, totalRow: true }
                                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                                , { field: 'HMaterName', title: '物料名称', width: 100 }
                                , { field: 'HMaterModel', title: '规格型号', width: 100 }
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBill_Fast.html
@@ -514,7 +514,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    //url: GetWEBURL() + "/Web/UpdatePOInStockBillPrintQty", //方法所在页面和方法名
                    type: "GET",
                    data: { "HBillType": '1201' },
@@ -971,7 +971,7 @@
                    url: GetWEBURL() + "/POStockInBill/get_CheckTypeByBarCode_Json",
                    type: "GET",
                    async: false,
                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                    success: function (result) {
                        if (result.count == 1) {
                            playSound1();
@@ -1027,8 +1027,8 @@
                                    $("#HSupID").val(result.data.hSupIDField);
                                    //$("#HDeptName").val(result.data.HDept);
                                    //$("#HDeptID").val(result.data.HDeptID);
                                    $("#HSourceBillNo").val(result.data.hSourceBillNoField);
                                    $("#HBillType").val(result.data.hSourceBillTypeField)
                                    //$("#HSourceBillNo").val(result.data.hSourceBillNoField);
                                    //$("#HBillType").val(result.data.hSourceBillTypeField)
                                    HSourceFlag = true;
                                    //获取源单类型、源单单号
                                    if (result.data.hSourceBillTypeField == "1102") {
@@ -1104,12 +1104,13 @@
            var listOption = {
                elem: '#wl-table'
                , toolbar: '#toolbarDemo'
                , totalRow: true
                , cellMinWidth: 90
                , cols: [[
                    { type: 'radio' }
                    , { field: 'HSNO', title: '序号', width: 60 }
                    , { field: 'HQty', title: '数量', width: 80 }
                    , { field: 'HQtyMust', title: '应发数量', width: 80 }
                    , { field: 'HQty', title: '数量', width: 80, totalRow: true }
                    , { field: 'HQtyMust', title: '应发数量', width: 80, totalRow: true}
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -1159,14 +1160,15 @@
                            table.render({
                                elem: '#wl-table'
                                , cellMinWidth: 80
                                , totalRow: true
                                //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBill/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/POStockInBill/DisBillEntryList_Webs_Json'
                                //, toolbar: '#toolbarDemo'
                                , where: { HBillID: sInterID, HBillType: '1201', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', sort: true, width: 100 }
                                    , { field: 'HQtyMust', title: '应收数量', sort: true, width: 100 }
                                    , { field: 'HQty', title: '数量', sort: true, width: 100, totalRow: true}
                                    , { field: 'HQtyMust', title: '应收数量', sort: true, width: 100, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', sort: true, width: 200 }
                                    , { field: 'HMaterName', title: '物料名称', sort: true, width: 200 }
                                    , { field: 'HMaterModel', title: '规格型号', sort: true, width: 200 }
WebTM/views/ÑéÊÕÈë¿â/ίÍâÈë¿â/Kf_EntrustInBill_Fast.html
@@ -384,7 +384,7 @@
                $("#HInterID").val("");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    url: GetWEBURL() + "/Web/GetMAXNumPDA",
                    type: "GET",
                    data: { "HBillType": '1210' },
                    success: function (d) {
@@ -858,12 +858,13 @@
                                elem: '#wl-table'
                                , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , where: { HBillID: sInterID, HBillType: '1210', sWhere: '' }
                                , cellMinWidth: 90
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true}
                                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true}
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -932,11 +933,12 @@
                                //, url: 'http://61.130.49.162:9090/WMSAPI///Kf_EntrustInBill/DisBillEntryList_Webs_Json'
                                , url: GetWEBURL() + '/Kf_EntrustInBill/DisBillEntryList_Webs_Json'
                                , toolbar: '#toolbarDemo'
                                , totalRow: true
                                , where: { HBillID: sInterID, HBillType: '1210', sWhere: '' }
                                , cols: [[
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }