zzr99
2021-12-30 b2324d86426f7066b5acbd9880890e93849e18db
盘点记录
1个文件已添加
8个文件已修改
2476 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2047 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/index.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Gy_StockCheckItemEdit.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/InventoryAnalysis.html 127 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Sc_MouldStockBillMain_Temp.html 262 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具仓库管理/Sc_MouldProdInBillEdit.html 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/模治具管理/模治具管理/Gy_MouldFile.html 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
Diff too large
WebTM/WebTM.csproj
@@ -609,6 +609,7 @@
    <Content Include="views\基础资料\基础资料\Gy_StockCheckItemEdit.html" />
    <Content Include="views\基础资料\基础资料\Gy_StockCheckItemList.html" />
    <Content Include="views\基础资料\基础资料\InventoryAnalysis.html" />
    <Content Include="views\基础资料\基础资料\Sc_MouldStockBillMain_Temp.html" />
    <Content Include="views\基础资料\工资基础资料\Gy_ProcPriceList.html" />
    <Content Include="views\基础资料\工资基础资料\Gy_Group_Add_Edit.html" />
    <Content Include="views\基础资料\工资基础资料\Gy_ProcPrice.html" />
WebTM/layuiadmin/Scripts/webConfig.js
@@ -6,8 +6,8 @@
    //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://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/";   //凯贝奈特客户服务器外网
WebTM/views/index.html
@@ -542,6 +542,9 @@
                                        <dd><a lay-href="模治具管理/器具报表/ReportMaterialReceipt.html">物料收发明细及汇总</a></dd>
                                        <dd><a lay-href="模治具管理/器具报表/ReportInventoryAccount.html">库存台账</a></dd>
                                        <dd><a lay-href="">器具履历表n</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/Gy_StockCheckItemList.html">盘点方案列表</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/Sc_MouldStockBillMain_Temp.html">盘点记录表</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/InventoryAnalysis.html">盘点分析列表</a></dd>
                                    </dl>
                                </dd>
                            </dl>
@@ -792,8 +795,6 @@
                                        <dd><a lay-href="基础资料/工资基础资料/Gy_Group.html">生产班组列表</a></dd>
                                        <dd><a lay-href="基础资料/生产基础资料/Gy_BadReason.html">不良原因列表</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/Gy_ConkReasonList.html">故障原因列表</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/Gy_StockCheckItemList.html">盘点方案列表</a></dd>
                                        <dd><a lay-href="基础资料/基础资料/InventoryAnalysis.html">盘点分析列表</a></dd>
                                    </dl>
                                </dd>
                                <dd>
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_StockCheckItemEdit.html
@@ -267,6 +267,10 @@
                    layer.msg("请填写名称", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return false;
                }
                if ($("#HEndDate").val() == '') {
                    layer.msg("请填写截止时间", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return false;
                }
                else {
                    return true;
                }
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/InventoryAnalysis.html
@@ -17,37 +17,42 @@
</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;">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <form class="layui-form" action="" lay-filter="component-form-group">
                        <div class="layui-collapse">
                            <div class="layui-colla-item">
                                <div style="padding:20px;margin:0px 700px">
                                    <h1>盘点分析表</h1>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <label class="layui-form-label">盘点方案</label>
                                    <div class="layui-input-block">
                                        <input type="text" class="layui-input" id="HItemID">
                                        <button type="button" lay-submit="" class="layui-btn" lay-filter="HSourceInterList" style="width:40px;">
                                            <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                        </button>
                        <div class="layui-card-body">
                            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                <h1 style="text-align:center;margin-top:20px"><b>盘点分析列表</b></h1>
                                <div class="layui-tab-content">
                                    <div class="layui-tab-item layui-show">
                                        <div class="layui-form-item">
                                            <div class="layui-inline">
                                                <label class="layui-form-label">盘点方案</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="HName" id="HName" readonly class="layui-input" value="" style="float:left;width:150px;">
                                                    <input type="hidden" name="HItemID" id="HItemID" class="layui-input" value="" style="float:left;width:150px;">
                                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="HSourceInterList" style="width:40px;">
                                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                                    </button>
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch1" id="btnSearch1">
                                                    æŸ¥è¯¢
                                                </button>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch1" id="btnReSearch1">
                                                    é‡ç½®
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch1" id="btnSearch1">
                                        æŸ¥è¯¢
                                    </button>
                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch1" id="btnReSearch1">
                                        é‡ç½®
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="layui-tab layui-tab-card" style="margin-top:10px">
                            <ul class="layui-tab-title">
@@ -206,7 +211,7 @@
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            //初始化界面
             set_ClearBill();
            set_ClearBill();
            //#endregion
            //#region è§¦å‘事件:包括form.on(){}格式的所有点击事件、选择事件等
@@ -315,7 +320,7 @@
                };
            });
            //#endregion
            //查询按钮
            form.on('submit(btnSearch1)', function (data) {
                var HItemID = $("#HItemID").val();//盘点
@@ -364,7 +369,7 @@
                //页面层-自定义
                layer.open({
                    type: 2,
                    skin: 'layui-layer-rim',
                    skin: 'layui-layer-rim',
                    title: '盘点方案列表',
                    closeBtn: 1,
                    shift: 2,
@@ -380,6 +385,7 @@
                            return layer.msg('请选择数据');
                        }
                        $("#HItemID").val(checkStatus.data[0].hitemid);
                        $("#HName").val(checkStatus.data[0].盘点方案);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , btn2: function (index, layero) {
@@ -432,34 +438,33 @@
                tk_Display();
            });
            //#endregion
         //#endregion
           //#region å½“前页面加载所有方法
           // #region åˆå§‹åŒ–界面
           function set_ClearBill() {
            //#endregion
            //#region å½“前页面加载所有方法
            // #region åˆå§‹åŒ–界面
            function set_ClearBill() {
                //初始化表格(正常)
                set_InitGrid1();
                //初始化表格(调拨)
               set_InitGrid2();
               //初始化表格(出库)
               set_InitGrid3();
               //初始化表格(入库)
               set_InitGrid4();
               //初始化表格(盘盈)
               set_InitGrid5();
               //初始化表格(盘亏)
               set_InitGrid6();
               //初始化表格(退库)
               set_InitGrid7();
                set_InitGrid2();
                //初始化表格(出库)
                set_InitGrid3();
                //初始化表格(入库)
                set_InitGrid4();
                //初始化表格(盘盈)
                set_InitGrid5();
                //初始化表格(盘亏)
                set_InitGrid6();
                //初始化表格(退库)
                set_InitGrid7();
                //查询
                zc_Display();
            }
            //初始化表格(正常)
            function set_InitGrid1()
            {
            function set_InitGrid1() {
                var ajaxLoad = layer.load();
                option1 = {
                    elem: '#mainTable1'
@@ -592,9 +597,9 @@
                    }
                });
            }
            //调拨查询
            //调拨查询
            function db_Display() {
                sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and k.HCorrespondentTypeID=m.HNowSupTypeID and k.HCorrespondentTypeID=4 and k.HCorrespondentID!=m.HNowSupID";
                var sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and k.HCorrespondentTypeID=m.HNowSupTypeID and k.HCorrespondentTypeID=4 and k.HCorrespondentID!=m.HNowSupID";
                var HItemID = $("#HItemID").val();//盘点
                //进入页面显示的缓存列表
                $.ajax({
@@ -613,9 +618,9 @@
                    }
                });
            }
             //出库查询
            //出库查询
            function ck_Display() {
                sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and m.HNowSupTypeID=4 and isnull(m.HNowSupID,'')!='' and (k.HCorrespondentTypeID=1 or k.HCorrespondentTypeID=2) and isnull(k.HCorrespondentID,'')!=''";
                var sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and m.HNowSupTypeID=4 and isnull(m.HNowSupID,'')!='' and (k.HCorrespondentTypeID=1 or k.HCorrespondentTypeID=2) and isnull(k.HCorrespondentID,'')!=''";
                var HItemID = $("#HItemID").val();//单据类型
                //进入页面显示的缓存列表
                $.ajax({
@@ -634,9 +639,9 @@
                    }
                });
            }
             //入库查询
            //入库查询
            function rk_Display() {
                sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and (k.HCorrespondentTypeID=1 or k.HCorrespondentTypeID=2) and (m.HNowSupTypeID=1 or m.HNowSupTypeID=2) and k.HCorrespondentID!=m.HNowSupID";
                var sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and (k.HCorrespondentTypeID=1 or k.HCorrespondentTypeID=2) and (m.HNowSupTypeID=1 or m.HNowSupTypeID=2) and k.HCorrespondentID!=m.HNowSupID";
                var HItemID = $("#HItemID").val();//单据类型
                //进入页面显示的缓存列表
                $.ajax({
@@ -655,9 +660,9 @@
                    }
                });
            }
             //盘盈查询
            //盘盈查询
            function py_Display() {
                sWhere = "isnull(m.HNowSupID,'')='' and isnull(k.HCorrespondentID,'')!='' and k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3";
                var sWhere = "isnull(m.HNowSupID,'')='' and isnull(k.HCorrespondentID,'')!='' and k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3";
                var HItemID = $("#HItemID").val();//单据类型
                //进入页面显示的缓存列表
                $.ajax({
@@ -676,9 +681,9 @@
                    }
                });
            }
             //盘亏查询
            //盘亏查询
            function pk_Display() {
                sWhere = "isnull(m.HNowSupID,'')!='' and isnull(k.HCorrespondentID,'')='' and k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3";
                var sWhere = "isnull(m.HNowSupID,'')!='' and isnull(k.HCorrespondentID,'')='' and k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3";
                var HItemID = $("#HItemID").val();//单据类型
                //进入页面显示的缓存列表
                $.ajax({
@@ -697,9 +702,9 @@
                    }
                });
            }
             //退库查询
            //退库查询
            function tk_Display() {
                sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and k.HCorrespondentTypeID=4 and isnull(k.HCorrespondentID,'')!='' and  (m.HNowSupTypeID=1 or m.HNowSupTypeID=2)";
                var sWhere = "k.HCorrespondentTypeID!=3  and m.HNowSupTypeID!=3 and k.HCorrespondentTypeID=4 and isnull(k.HCorrespondentID,'')!='' and  (m.HNowSupTypeID=1 or m.HNowSupTypeID=2)";
                var HItemID = $("#HItemID").val();//单据类型
                //进入页面显示的缓存列表
                $.ajax({
@@ -721,7 +726,7 @@
            //#endregion
           //#region å®¡æ ¸
            //#region å®¡æ ¸
            //审核 è°ƒæ‹¨
            function set_CheckBill2() {
                var checkStatus = table.checkStatus('mainTable2')
@@ -922,7 +927,7 @@
            }
            //#endregion
            //#endregion
            //以上是layui模块
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Sc_MouldStockBillMain_Temp.html
New file
@@ -0,0 +1,262 @@
<!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>
</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-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">
                                        <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="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>
                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                                </button>
                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">重置</button>
                            </div>
                        </div>
                        <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="btn-Delete"><i class="layui-icon layui-icon-delete"></i>删除</button>
                            </div>
                        </script>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <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>
        layui.config({
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index', //主入口模块
        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
            //#region å…¬å…±å˜é‡
            var $ = layui.$
                , admin = layui.admin
                , layer = layui.layer
                , table = layui.table
                , form = layui.form
                , element = layui.element
                , laypage = layui.laypage
                , laydate = layui.laydate
            //查询条件
            var sWhere = "";
            var option = [];
            //#endregion
            //#region è¿›å…¥é¡µé¢æ—¢åŠ è½½
            //初始化界面
            set_ClearBill();
            //#endregion
            //#region è§¦å‘事件:包括form.on(){}格式的所有点击事件、选择事件等
            //头工具栏事件
            table.on('toolbar(mainTable)', function (obj) {
                var checkStatus = table.checkStatus(obj.config.id);
                switch (obj.event) {
                    //删除
                    case 'btn-Delete': set_DeleteBill();
                        break;
                };
            });
            //查询按钮
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
            });
            // é‡ç½®æŒ‰é’®
            form.on('submit(btnReSearch)', function (data) {
                set_ClearQuery();
            });
            //#endregion
            //#region æ­¤é¡µé¢æ‰€æœ‰æ–¹æ³•
            // åˆå§‹åŒ–界面
            function set_ClearBill() {
                //初始化表格
                set_InitGrid();
                //查询
                get_Display(sWhere);
            }
            //初始化表格
            function set_InitGrid() {
                option = {
                    elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , limits: [100,1000,10000,50000]
                    , limit: 20
                    , page: true
                    , cellMinWidth: 90
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'hitemid', title: 'HItemID', sort: true, hide: true }
                        , { field: '单据号', title: '单据号' }
                        , { field: '盘点方案', title: '盘点方案' }
                        , { field: '物料代码', title: '物料代码'}
                        , { field: '物料名称', title: '物料名称' }
                        , { field: '物料规格', title: '物料规格' }
                        , { field: '器具条码', title: '器具条码' }
                        , { field: '数量', title: '数量' }
                        , { field: '实际位置类型', title: '实际位置类型' }
                        , { field: '实际位置', title: '实际位置' }
                        , { field: '制单人', title: '制单人' }
                        , { field: '制单日期', title: '制单日期', templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd')}}</div>" }
                    ]]
                };
            }
            //查询
            function get_Display(sWhere) {
                var index = layer.load(0, { shade: false });
                //进入页面显示的缓存列表
                $.ajax({
                    url: GetWEBURL() + '/Gy_StockCheckItemBill/Get_MouldStockBillMainTemp',
                    type: "GET",
                    data: { "sWhere": sWhere },
                    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 });
                    }
                });
            }
            //快速查询
            function get_FastQuery() {
                var HBillNo = $("#HBillNo").val();
                var HMaterName = $("#HMaterName").val();
                var HSourceBillNo = $("#HSourceBillNo").val();
                var HMaker = $("#HMaker").val();
                if (HBillNo) {
                    sWhere += " and å•据号 like '%" + HBillNo + "%'";
                }
                if (HMaterName) {
                    sWhere += " and ç‰©æ–™åç§° like '%" + HMaterName + "%'";
                }
                if (HSourceBillNo) {
                    sWhere += " and ç›˜ç‚¹æ–¹æ¡ˆ like '%" + HSourceBillNo + "%'";
                }
                if (HMaker) {
                    sWhere += " and åˆ¶å•人 like '%" + HMaker + "%'";
                }
                $.ajax({
                    url: GetWEBURL() + '/Gy_StockCheckItemBill/Get_MouldStockBillMainTemp',
                    type: "GET",
                    data: { "sWhere": sWhere },
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
                            table.render(option);
                            layer.alert("查询成功", { icon: 1 });
                        } else {
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
                sWhere = "";//调用接口后清空sWhere缓存
            }
            //重置快速查询
            function set_ClearQuery() {
                $("#HBillNo").val("");
                $("#HMaterName").val("");
                $("#HSourceBillNo").val("");
                $("#HMaker").val("");
                $("#btnSearch").click();
            }
            //删除
            function set_DeleteBill() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HItemID = data[0].hitemid.toString();
                    //逻辑删除方法
                    layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                        $.ajax({
                            type: "GET",
                            url: GetWEBURL() + "/Gy_StockCheckItemBill/set_DeleteBill_Temp", //方法所在页面和方法名
                            data: { "HItemID": HItemID },
                            success: function (result) {
                                if (result.count == 1) {
                                    layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
                                        // å¾—到frame索引
                                        var index = layer.getFrameIndex(window.name);
                                        //关闭当前frame
                                        layer.close(index);
                                        //修改为功后刷新界面
                                        window.location.reload();
                                    });
                                } else {
                                    layer.alert(result.code + result.Message, { icon: 5 });
                                }
                            }, error: function () {
                                layer.alert("接口请求失败!", { icon: 5 });
                            }
                        });
                    })
                }
                else {
                    layer.msg('请选择一行数据删除!');
                }
            }
            //#endregion
            //以上是layui模块
        });
    </script>
</body>
</html>
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξֿ߲â¹ÜÀí/Sc_MouldProdInBillEdit.html
@@ -44,12 +44,9 @@
                            </div>
                        </div>
                        <div class="layui-card-body">
                            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                                <!--<ul class="layui-tab-title">
                                <li class="layui-this">基本信息</li>-->
                                <!--<li>其他信息</li>-->
                                <!--</ul>-->
                                <h1 style="text-align:center;"><b>器具采购入库单</b></h1>
                                <div class="layui-tab-content">
                                    <div class="layui-tab-item layui-show">
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Gy_MouldFile.html
@@ -321,27 +321,6 @@
                                                </button>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label">虚拟仓类型</label>
                                            <div class="layui-input-block">
                                                <select name="HNowSupTypeID" lay-filter="HNowSupTypeID" id="HNowSupTypeID">
                                                    <option value="1" selected="selected">供应商</option>
                                                    <option value="2">客户</option>
                                                    <option value="3">部门</option>
                                                    <option value="4">仓库</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">虚拟仓</label>
                                            <div class="layui-input-block" style="margin-left: 77px;">
                                                <input type="text" class="layui-input" name="HNowSupName" id="HNowSupName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
                                                <input type="hidden" class="layui-input" name="HNowSupID" id="HNowSupID" style="background-color:#efefef4d;width: 60%;display: inline-block;">
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HNowSupList" id="HNowSupList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i>
                                                </button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>