zzr99
2022-04-01 dd21b4c86ce5e0ae38306835cbe86852ab1f4bb5
已上传单据搜索功能页签
13个文件已修改
3288 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2164 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_FastList.html 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/InventoryAnalysis.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Sc_MouldStockBillMain_Temp.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_FastList.html 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill_FastList.html 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBill_FastList.html 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/产品入库/Kf_ProductInBill_FastList.html 582 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_OtherInBill_FastList.html 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Kf_POStockInBill_FastList.html 86 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_FastList.html 85 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
Diff too large
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>JFTM</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\智云MES\Lay-Ui\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <ProjectView>ShowAllFiles</ProjectView>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
WebTM/layuiadmin/Scripts/webConfig.js
@@ -6,14 +6,14 @@
    //var WEBURL = "http://localhost:8080/API/";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/lubao";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨露本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //章紫柔本地配置
    var WEBURL = "http://localhost:8082/LuBaoAPI/";    //章紫柔本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
    //var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://183.129.128.86:9090/API/";   //凯贝奈特客户服务器外网
    //var WEBURL = "http://192.168.1.253:8080/API/";   //凯贝奈特客户服务器内网
    //var WEBURL = "http://220.189.218.154:8092/API/";   //丸井四维尔服务器
    var WEBURL = "http://192.168.0.214/API/";   //瑞与祺服务器
    //var WEBURL = "http://192.168.0.214/API/";   //瑞与祺服务器
    //var WEBURL = "http://localhost/API/";
    return WEBURL
}
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -99,7 +122,7 @@
        , form = layui.form
        , element = layui.element;
        //清空界面  new
        var sBillType = '1207'
        //动态加载源单类型列表 new
        //加载源单类型
@@ -295,10 +318,33 @@
            }
            
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo },
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
       
        
        var sBillType = '1207'
                table.render({
                    elem: '#dj-table'
                    , url: GetWEBURL() + '/Web/chanpinruk'
@@ -347,6 +393,26 @@
                layer.closeAll("loading");
            }
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
            elem: '#mx-table' 
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/InventoryAnalysis.html
@@ -207,6 +207,7 @@
                , { field: 'HRealPot', title: '实际位置', width: 200 }
                , { field: 'HBookPotType', title: '账面位置类型', width: 200 }
                , { field: 'HBookPot', title: '账面位置', width: 200 }
                , { field: 'HOWNERName', title: '盘点组织', width: 200 }
            ];
            //#endregion
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Sc_MouldStockBillMain_Temp.html
@@ -147,7 +147,7 @@
                        , { field: '物料规格', title: '物料规格' }
                        , { field: '器具条码', title: '器具条码' }
                        , { field: '数量', title: '数量' }
                        , { field: '盘点单位', title: '盘点单位' }
                        , { field: '盘点单位', title: '盘点组织' }
                        , { field: '实际位置类型', title: '实际位置类型' }
                        , { field: '实际位置', title: '实际位置' }
                        , { field: '制单人', title: '制单人' }
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Kf_OtherOutBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -277,6 +300,30 @@
                layer.msg('请选择一行数据删除!');
            }
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo},
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        table.render({
            elem: '#dj-table'
@@ -325,6 +372,25 @@
            }
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -99,7 +122,7 @@
        , form = layui.form
        , element = layui.element;
        //清空界面  new
        var sBillType = '1205'
        //动态加载源单类型列表 new
        //加载源单类型
@@ -178,9 +201,6 @@
                    }
                })
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
            var checkStatus = table.checkStatus('yd-table')
@@ -220,10 +240,8 @@
                    }
                });
        });
        form.on('submit(cmdDelete)', function () {//删除
        //删除
        form.on('submit(cmdDelete)', function () {
            var checkStatus = table.checkStatus('dj-table')
                , data = checkStatus.data;
            if (checkStatus.data.length === 1) {
@@ -269,11 +287,34 @@
            }
            
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo },
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        
       
        
        var sBillType = '1205'
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
@@ -320,6 +361,27 @@
                    layer.closeAll("loading");
                }
            })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
            elem: '#mx-table'
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -100,6 +123,8 @@
        , element = layui.element;
        //清空界面  new
        var sBillType = '1204'
        //动态加载源单类型列表 new
        //加载源单类型
@@ -178,7 +203,30 @@
                    }
                })
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo },
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
@@ -268,8 +316,6 @@
        });
        
       
        var sBillType = '1204'
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
@@ -317,6 +363,25 @@
            }
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBill_FastList.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <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">
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -87,139 +110,280 @@
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script>
    layui.config({
        base: '../../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
        var $ = layui.$
            , admin = layui.admin
            , layer = layui.layer
            , table = layui.table
            , form = layui.form
            , element = layui.element;
        //清空界面  new
        layui.config({
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'form', 'laydate', 'table', 'element'], function () {
            var $ = layui.$
                , admin = layui.admin
                , layer = layui.layer
                , table = layui.table
                , form = layui.form
                , element = layui.element;
            //清空界面  new
        //动态加载源单类型列表 new
            var sBillType = '1202'
            //动态加载源单类型列表 new
        //加载源单类型
            //加载源单类型
        //读取单据列表
        //
            //读取单据列表
            //
        form.on('submit(Cancel)', function () {
            parent.location.href = "../../../views/index.html"
            //window.close();//关闭当前页
        })
        //form.on('submit(cmdModify)', function () {//编辑
        //    var sSubStr = table.cache['dj-table'];
        //    //if (AllowLoadData(sSubStr) != false) {//非空验证
        //  //  var checkStatus = table.checkStatus('dj-table')
        //  //, data = checkStatus.data;
        //    layer.open({
        //        type: 2
        //        , area: ['100%', '100%']
        //        , title: '产品入库'
        //        , shade: 0.6 //遮罩透明度
        //        , maxmin: true //允许全屏最小化
        //        , anim: 0 //0-6的动画形式,-1不开启
        //        , content: ['../../../views/验收入库/产品入库/Kf_ProductInBill_Fast.html?table=' + JSON.stringify(sSubStr), 'yes']
        //        , resize: false
        //        , cancel: function () {
        //            //$(".layui-btn").removeClass("layui-btn-disabled");
        //        }
        //    })
        //    // }
        //});
        form.on('submit(cmdModify)', function () {
            //var checkStatus = table.checkStatus('dj-table')
            //    , data = checkStatus.data;
            //var sInterID = data[0].HInterID
            //var sBillNo = data[0].HBillNo
            //var sBillType = '1202'
            //$.ajax({
            //    url: GetWEBURL() + "/ProductIn/ProductInTempList_Modify",
            //    type: "GET",
            //    data: { "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType },
            //    success: function (result) {
            //        if (result.count == 1) {
            //            layer.open({
            //                type: 2
            //                , area: ['100%', '100%']
            //                , title: '产品入库单'
            //                , shade: 0.6 //遮罩透明度
            //                , maxmin: false //允许全屏最小化
            //                , anim: 0 //0-6的动画形式,-1不开启
            //                , content: ['../../验收入库/产品入库/Kf_ProductInBill_Fast.html?linterid=' + data[0].HInterID, 'yes']
            //                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + JSON.stringify(data), 'yes']
            //                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + rows, 'yes']
            //                , resize: false
            //                , cancel: function () {
            //                    $(".layui-btn").removeClass("layui-btn-disabled");
            //                }
            //            })
            //        }
            //        else {
            //            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
            //        }
            //    }
            //        })
            //      }
            ////ajaxLabelData = data;
            ////layer.alert(rows);
            var checkStatus = table.checkStatus('dj-table')
                , data = checkStatus.data;
            //ajaxLabelData = data;
            //layer.alert(rows);
            layer.open({
                type: 2
                , area: ['100%', '100%']
                , title: '产品入库单'
                , shade: 0.6 //遮罩透明度
                , maxmin: false //允许全屏最小化
                , anim: 0 //0-6的动画形式,-1不开启
                , content: ['../../验收入库/产品入库/Kf_ProductInBill_Fast.html?linterid=' + data[0].HInterID, 'yes']
                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + JSON.stringify(data), 'yes']
                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + rows, 'yes']
                , resize: false
                , cancel: function () {
                    $(".layui-btn").removeClass("layui-btn-disabled");
                }
            form.on('submit(Cancel)', function () {
                parent.location.href = "../../../views/index.html"
                //window.close();//关闭当前页
            })
        });
        var option = {
            elem: '#dj-table'
            //, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Json'
            , toolbar: '#toolbarDemo'
            , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
            , 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
            , done: function () {
                layer.closeAll("loading");
            form.on('submit(cmdModify)', function () {
                //var checkStatus = table.checkStatus('dj-table')
                //    , data = checkStatus.data;
                //var sInterID = data[0].HInterID
                //var sBillNo = data[0].HBillNo
                //var sBillType = '1202'
                //$.ajax({
                //    url: GetWEBURL() + "/ProductIn/ProductInTempList_Modify",
                //    type: "GET",
                //    data: { "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType },
                //    success: function (result) {
                //        if (result.count == 1) {
                //            layer.open({
                //                type: 2
                //                , area: ['100%', '100%']
                //                , title: '产品入库单'
                //                , shade: 0.6 //遮罩透明度
                //                , maxmin: false //允许全屏最小化
                //                , anim: 0 //0-6的动画形式,-1不开启
                //                , content: ['../../验收入库/产品入库/Kf_ProductInBill_Fast.html?linterid=' + data[0].HInterID, 'yes']
                //                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + JSON.stringify(data), 'yes']
                //                // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + rows, 'yes']
                //                , resize: false
                //                , cancel: function () {
                //                    $(".layui-btn").removeClass("layui-btn-disabled");
                //                }
                //            })
                //        }
                //        else {
                //            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                //        }
                //    }
                //        })
                //      }
                ////ajaxLabelData = data;
                ////layer.alert(rows);
                var checkStatus = table.checkStatus('dj-table')
                    , data = checkStatus.data;
                //ajaxLabelData = data;
                //layer.alert(rows);
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
                    , title: '产品入库单'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: false //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../验收入库/产品入库/Kf_ProductInBill_Fast.html?linterid=' + data[0].HInterID, 'yes']
                    // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + JSON.stringify(data), 'yes']
                    // , content: ['../../views/WarM/KF_POInStockBill.html?linterid=' + rows, 'yes']
                    , resize: false
                    , cancel: function () {
                        $(".layui-btn").removeClass("layui-btn-disabled");
                    }
                })
            });
            var option = {
                elem: '#dj-table'
                //, url: GetWEBURL() + '/ProductIn/DisBillEntryList_Json'
                , toolbar: '#toolbarDemo'
                , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , 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
                , done: function () {
                    layer.closeAll("loading");
                }
            }
        }
        // url: GetWEBURL() + '/Web/chanpinruk',
        form.on('submit(cmdRefresh)', function () {//刷新
            // url: GetWEBURL() + '/Web/chanpinruk',
            form.on('submit(cmdRefresh)', function () {//刷新
                table.render({
                    elem: '#dj-table'
                    , url: GetWEBURL() + '/Web/chanpinruk'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                    , 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
                    , done: function () {
                        layer.closeAll("loading");
                    }
                }),
                    table.render({
                        elem: '#yd-table'
                        , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                        , toolbar: '#toolbarDemo'
                        , defaultToolbar: []
                        , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                        , cols: [[
                            { type: 'radio' }
                            , { field: 'HInterID', title: '单据内码', width: 80 }
                            , { field: 'HBillNo', title: '单据号', width: 80 }
                            , { field: 'HMaker', title: '制单人', width: 100 }
                            , { field: 'HMakeDate', title: '制单日期', width: 100 }
                            , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                            , { field: 'HMaterName', title: '物料名称', width: 100 }
                            , { field: 'HMaterModel', title: '规格型号', width: 100 }
                            , { field: 'HQty', title: '数量', width: 100 }
                            , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                            , { field: 'HOrgID', title: '组织', width: 100 }
                        ]]
                        , height: 500
                        , done: function () {
                            layer.closeAll("loading");
                        }
                    })
            });
            //撤销功能
            form.on('submit(cmdRescind)', function () {
                var checkStatus = table.checkStatus('yd-table')
                    , data = checkStatus.data;
                var sInterID = data[0].HInterID
                var sBillNo = data[0].HBillNo
                var sBillType = '1202'
                $.ajax(
                    {
                        type: "Get",
                        url: GetWEBURL() + "/Web/Rescind_Json",
                        async: true,
                        data: { "sHInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType },
                        dataType: "json",
                        success: function (data) {
                            if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                    // å¾—到frame索引
                                    var index = layer.getFrameIndex(window.name);
                                    //关闭当前frame
                                    layer.close(index);
                                    //修改为功后刷新界面
                                    window.location.reload();
                                });
                            }
                            else {
                                layer.msg(data.Message, { icon: 2 });
                            }
                        },
                        error: function (err) {
                            layer.msg('错误' + err, {
                                icon: 5,
                                time: 20000
                            }, function () {
                                //do something
                            });
                        }
                    });
            });
            form.on('submit(cmdDelete)', function () {//删除
                var checkStatus = table.checkStatus('dj-table')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var sInterID = data[0].HInterID
                    //逻辑删除方法
                    layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                        $.ajax(
                            {
                                type: "Get",
                                url: GetWEBURL() + "/ProductInBillList/Delete_Json",
                                async: true,
                                data: { "sHInterID": sInterID },
                                dataType: "json",
                                success: function (data) {
                                    if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†,
                                        layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                            // å¾—到frame索引
                                            var index = layer.getFrameIndex(window.name);
                                            //关闭当前frame
                                            layer.close(index);
                                            //修改为功后刷新界面
                                            window.location.reload();
                                        });
                                    }
                                    else {
                                        layer.msg(data.Message, { icon: 2 });
                                    }
                                },
                                error: function (err) {
                                    layer.msg('错误' + err, {
                                        icon: 5,
                                        time: 20000
                                    }, function () {
                                        //do something
                                    });
                                }
                            });
                    })
                }
                else {
                    layer.msg('请选择一行数据删除!');
                }
            });
            //查询
            form.on('submit(cmdQuery)', function () {
                var HBillNo = $("#HBillNo").val();
                var HSourceBillNo = $("#HSourceBillNo").val();
                //进入页面显示的缓存列表
                $.ajax({
                    url: GetWEBURL() + '/Gy_Mould/list1',
                    type: "GET",
                    data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo },
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
                            table.render(option);
                            layer.close(index);
                        } else {
                            layer.close(index);
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.close(index);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            });
            table.render({
                elem: '#dj-table'
                ,url: GetWEBURL() + '/Web/chanpinruk'
                , url: GetWEBURL() + '/Web/chanpinruk'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
@@ -238,7 +402,10 @@
                , done: function () {
                    layer.closeAll("loading");
                }
            }),
            })
            //已上传列表
            table.render({
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
@@ -263,134 +430,13 @@
                    layer.closeAll("loading");
                }
            })
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
            var checkStatus = table.checkStatus('yd-table')
                , data = checkStatus.data;
            var sInterID = data[0].HInterID
            var sBillNo = data[0].HBillNo
            var sBillType = '1202'
            $.ajax(
                {
                    type: "Get",
                    url: GetWEBURL() + "/Web/Rescind_Json",
                    async: true,
                    data: { "sHInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType },
                    dataType: "json",
                    success: function (data) {
                        if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                // å¾—到frame索引
                                var index = layer.getFrameIndex(window.name);
                                //关闭当前frame
                                layer.close(index);
                                //修改为功后刷新界面
                                window.location.reload();
                            });
                        }
                       else {
                            layer.msg(data.Message, { icon: 2 });
                        }
                    },
                    error: function (err) {
                        layer.msg('错误' + err, {
                            icon: 5,
                            time: 20000
                        }, function () {
                            //do something
                        });
                    }
                });
        });
        form.on('submit(cmdDelete)', function () {//删除
            var checkStatus = table.checkStatus('dj-table')
                , data = checkStatus.data;
            if (checkStatus.data.length === 1) {
                var sInterID = data[0].HInterID
                //逻辑删除方法
                layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                    $.ajax(
                        {
                            type: "Get",
                            url: GetWEBURL() + "/ProductInBillList/Delete_Json",
                            async: true,
                            data: { "sHInterID": sInterID },
                            dataType: "json",
                            success: function (data) {
                                if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†,
                                    layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                        // å¾—到frame索引
                                        var index = layer.getFrameIndex(window.name);
                                        //关闭当前frame
                                        layer.close(index);
                                        //修改为功后刷新界面
                                        window.location.reload();
                                    });
                                }
                                else {
                                    layer.msg(data.Message, { icon: 2 });
                                }
                            },
                            error: function (err) {
                                layer.msg('错误' + err, {
                                    icon: 5,
                                    time: 20000
                                }, function () {
                                    //do something
                                });
                            }
                        });
                })
            }
            else {
                layer.msg('请选择一行数据删除!');
            }
        });
        var sBillType = '1202'
                table.render({
                    elem: '#dj-table'
                    , url: GetWEBURL() + '/Web/chanpinruk'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"]}
                    , 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
                      , done: function () {
                          layer.closeAll("loading");
                      }
                })
        //已上传列表
            //已上传查询
            table.render({
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                elem: '#sy-table'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                      { type: 'radio' }
                    { type: 'radio' }
                    , { field: 'HInterID', title: '单据内码', width: 80 }
                    , { field: 'HBillNo', title: '单据号', width: 80 }
                    , { field: 'HMaker', title: '制单人', width: 100 }
@@ -403,26 +449,24 @@
                    , { field: 'HOrgID', title: '组织', width: 100 }
                ]]
                , height: 500
                , done: function () {
                    layer.closeAll("loading");
                }
            })
        //刷新明细页签
        table.render({
            elem: '#mx-table'
            // , url: 'http://localhost:8083/POStockInBill/GetHBarCodeShowBillSub'
            //, toolbar: '#toolbarDemo'
            // , where: { sMsg: linterid, sMsg2: lentryid }
         , cols: [[
           , { field: 'HMaterID', title: '物料ID', width: 100, hide: true }
         ]]
         , page: true
         , height: 500
         , done: function () {
         }
            //刷新明细页签
            table.render({
                elem: '#mx-table'
                // , url: 'http://localhost:8083/POStockInBill/GetHBarCodeShowBillSub'
                //, toolbar: '#toolbarDemo'
                // , where: { sMsg: linterid, sMsg2: lentryid }
                , cols: [[
                    , { field: 'HMaterID', title: '物料ID', width: 100, hide: true }
                ]]
                , page: true
                , height: 500
                , done: function () {
                }
            });
        });
    });
    //清空表头
        //清空表头
    </script>
</body>
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_OtherInBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -100,6 +123,7 @@
        , element = layui.element;
        //清空界面  new
        var sBillType = '1203'
        //动态加载源单类型列表 new
        //加载源单类型
@@ -280,11 +304,33 @@
                layer.msg('请选择一行数据删除!');
            }
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo},
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        
       
        
        var sBillType = '1203'
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
@@ -332,6 +378,27 @@
                layer.closeAll("loading");
            }
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
            elem: '#mx-table'
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBill_FastList.html
@@ -38,8 +38,10 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
@@ -51,6 +53,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -98,6 +122,7 @@
        , table = layui.table
        , form = layui.form
        , element = layui.element;
        var sBillType = '1201'
        //清空界面  new
        //动态加载源单类型列表 new
@@ -105,13 +130,13 @@
        //加载源单类型
        //读取单据列表
        //
        //退出
        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;
@@ -131,7 +156,7 @@
                }
            })
        });
        //刷新
        form.on('submit(cmdRefresh)', function () {//
            var sBillType = '1201'
            table.render({
@@ -156,8 +181,6 @@
                      }
            });
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
            var checkStatus = table.checkStatus('yd-table')
@@ -197,7 +220,6 @@
                    }
                });
        });
        //删除
        form.on('submit(cmdDelete)', function () {
            var checkStatus = table.checkStatus('dj-table')
@@ -244,10 +266,33 @@
            }
           
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Web/QueryBillUpdateLoad_Json',
                type: "GET",
                data: { "BillType":sBillType,"HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo},
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        
        
        var sBillType = '1201'
        //缓存列表
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
@@ -271,7 +316,7 @@
        })
        //已上传列表
            table.render({
        table.render({
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                , toolbar: '#toolbarDemo'
@@ -293,7 +338,28 @@
                , done: function () {
                    layer.closeAll("loading");
                }
            })
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
            elem: '#mx-table'
WebTM/views/ÑéÊÕÈë¿â/ίÍâÈë¿â/Kf_EntrustInBill_FastList.html
@@ -38,6 +38,7 @@
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                            <li lay-id="3">已上传查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -51,6 +52,28 @@
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="yd-table" lay-filter="yd-table"></table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-tab-item">
                                <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">
                                    </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">
                                    </div>
                                </div>
                                <div class="layui-col-xs2">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdQuery">查询</button>
                                </div>
                                <div class="layui-row">
                                    <div class="layui-col-xs12">
                                        <table class="layui-hide" id="sy-table" lay-filter="sy-table"></table>
                                    </div>
                                </div>
                            </div>
@@ -99,7 +122,7 @@
        , form = layui.form
        , element = layui.element;
        //清空界面  new
        var sBillType = '1210'
        //动态加载源单类型列表 new
        //加载源单类型
@@ -107,11 +130,13 @@
        //读取单据列表
        //
        //退出
        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;
@@ -131,7 +156,7 @@
                }
            })
        });
         //刷新
        form.on('submit(cmdRefresh)', function () {//
            table.render({
                elem: '#dj-table'
@@ -178,8 +203,6 @@
                    }
                })
        });
        //撤销功能
        form.on('submit(cmdRescind)', function () {
            var checkStatus = table.checkStatus('yd-table')
@@ -219,9 +242,7 @@
                    }
                });
        });
        //删除
        form.on('submit(cmdDelete)', function () {//删除
            var checkStatus = table.checkStatus('dj-table')
                , data = checkStatus.data;
@@ -266,10 +287,35 @@
            }
            
        });
        //查询
        form.on('submit(cmdQuery)', function () {
            var HBillNo = $("#HBillNo").val();
            var HSourceBillNo = $("#HSourceBillNo").val();
            //进入页面显示的缓存列表
            $.ajax({
                url: GetWEBURL() + '/Gy_Mould/list1',
                type: "GET",
                data: { "BillType": sBillType, "HBillNo": HBillNo, "HSourceBillNo": HSourceBillNo },
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
                        table.render(option);
                        layer.close(index);
                    } else {
                        layer.close(index);
                        layer.alert(data1.code + data1.Message, { icon: 5 });
                    }
                }, error: function () {
                    layer.close(index);
                    layer.alert("接口请求失败!", { icon: 5 });
                }
            });
        });
        var sBillType = '1210'
        table.render({
            elem: '#dj-table'
            , url: GetWEBURL() + '/Web/chanpinruk'
@@ -317,6 +363,27 @@
                layer.closeAll("loading");
            }
        })
        //已上传查询
        table.render({
            elem: '#sy-table'
            , toolbar: '#toolbarDemo'
            , cols: [[
                { type: 'radio' }
                , { field: 'HInterID', title: '单据内码', width: 80 }
                , { field: 'HBillNo', title: '单据号', width: 80 }
                , { field: 'HMaker', title: '制单人', width: 100 }
                , { field: 'HMakeDate', title: '制单日期', width: 100 }
                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                , { field: 'HMaterName', title: '物料名称', width: 100 }
                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                , { field: 'HQty', title: '数量', width: 100 }
                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                , { field: 'HOrgID', title: '组织', width: 100 }
            ]]
            , height: 500
        })
        //刷新明细页签
        table.render({
            elem: '#mx-table'