duhe
2024-05-28 262cee2e43059f55330b5efda849fcd1d445efd2
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/InventoryAnalysis.html
@@ -9,6 +9,7 @@
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/soulTable.slim.js"></script>
    <style type="text/css">
        input.layui-input.layui-unselect {
            padding-right: 0;
@@ -172,7 +173,7 @@
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index', //主入口模块
        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate'], function () {
        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate','soulTable'], function () {
            // #region å…¨å±€å˜é‡
            var $ = layui.$
                , admin = layui.admin
@@ -191,6 +192,7 @@
                , laypage = layui.laypage
                , laydate = layui.laydate
                , util = layui.util
                , soulTable = layui.soulTable
            //查询条件
            var sWhere = " HRealPotType=HBookPotType and HRealPot=HBookPot";
            var option1 = [];
@@ -201,17 +203,17 @@
            var option6 = [];
            var option7 = [];
            var col = [
                { type: 'checkbox', fixed: 'left' }
                , { field: 'HItemID', title: 'HItemID', width: 200,hide: true}
                , { field: 'HBarCode', title: '器具条码', width: 200 }
                , { field: 'HMouldNo', title: '器具编号', width: 200 }
                , { field: 'HStockCheck', title: '盘点方案', width: 200 }
                , { field: 'HRealPotType', title: '实际位置类型', width: 200 }
                , { field: 'HRealPot', title: '实际位置', width: 200 }
                , { field: 'HBookPotType', title: '账面位置类型', width: 200 }
                , { field: 'HBookPot', title: '账面位置', width: 200 }
                , { field: 'HOWNERName', title: '盘点组织', width: 200 }
                , { field: 'HMakeDate', title: '盘点日期', width: 200, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd')}}</div>" }
                { type: 'checkbox', fixed: 'left', totalRowText: '合计行' }
                , { field: 'HItemID', title: 'HItemID', width: 200, hide: true, sort: true}
                , { field: 'HBarCode', title: '器具条码', width: 200, sort: true}
                , { field: 'HMouldNo', title: '器具编号', width: 200, sort: true}
                , { field: 'HStockCheck', title: '盘点方案', width: 200, sort: true}
                , { field: 'HRealPotType', title: '实际位置类型', width: 200, sort: true}
                , { field: 'HRealPot', title: '实际位置', width: 200, sort: true}
                , { field: 'HBookPotType', title: '账面位置类型', width: 200, sort: true}
                , { field: 'HBookPot', title: '账面位置', width: 200, sort: true}
                , { field: 'HOWNERName', title: '盘点组织', width: 200, sort: true}
                , { field: 'HMakeDate', title: '盘点日期', width: 200, templet: "<div>{{d.HMakeDate ==null ?'':layui.util.toDateString(d.HMakeDate, 'yyyy-MM-dd')}}</div>", sort: true }
            ];
            //#endregion
@@ -396,7 +398,7 @@
                            option1.data = data1.list[0];
                            table1.render(option1);
                        } else {
                            layer.alert(result.code + result.Message, { icon: 5 });
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("接口失效!", { icon: 5 });
@@ -543,10 +545,14 @@
                    , toolbar: '#toolbarDemo1'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
                    , cols: [col]
                    , done: function (res, curr, count) {
                        soulTable.render(this);
                    }
                };
                option1.data = [];
                table1.render(option1);
@@ -561,6 +567,7 @@
                    , toolbar: '#toolbarDemo2'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -579,6 +586,7 @@
                    , toolbar: '#toolbarDemo3'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -597,6 +605,7 @@
                    , toolbar: '#toolbarDemo4'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -615,6 +624,7 @@
                    , toolbar: '#toolbarDemo5'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -633,6 +643,7 @@
                    , toolbar: '#toolbarDemo6'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
@@ -651,6 +662,7 @@
                    , toolbar: '#toolbarDemo7'
                    , height: '550'
                    , page: true
                    , totalRow: true
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]