王 垚
2022-09-02 f34865d3b3e859e5df9be237d91ee72dc119b907
WebTM/views/É豸¹ÜÀí/Sb_EqpConkBookBillList.html
@@ -88,7 +88,7 @@
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Add"><i class="layui-icon layui-icon-add-1"></i>新增</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Edit"><i class="layui-icon layui-icon-edit"></i>编辑</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Delete"><i class="layui-icon layui-icon-delete"></i>删除</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>退出</button>
                            </div>
                        </script>
@@ -101,6 +101,7 @@
    <script src="../../layuiadmin/Scripts/json2.js"></script>
    <script src="../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
    <script src="../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../layuiadmin/PubCustom.js"></script>
    <script>
        layui.config({
            base: '../../layuiadmin/' //静态资源所在路径
@@ -125,9 +126,11 @@
                , height: 'full-50'
                , page: true
                , cellMinWidth: 90
                , limit: 50
                , limits: [50, 500, 5000, 20000]
                , cols: [[
                    { type: 'checkbox', fixed: 'left' }
                    ,{ field: 'hmainid', title: '单据ID', hide: true }
                    , { field: 'hmainid', title: 'hmainid', hide: true }
                    , { field: '日期', title: '日期', width: 160, templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>"}
                    , { field: '单据号', title: '单据号', width: 160 }
                    , { field: '单据类型', title: '单据类型', width: 160, hide: true }
@@ -165,7 +168,7 @@
                    , { field: '故障原因代码', title: '故障原因代码', width: 200 }
                    , { field: '故障原因名称', title: '故障原因名称', width: 200 }
                    , { field: '故障原因描述', title: '故障原因描述', width: 200 }
                    , { field: 'HManagerID', title: 'HManagerID', width: 115, hide: true }
                    , { field: 'HManagerID1', title: 'HManagerID1', width: 115, hide: true }
                    , { field: '表体负责人代码', title: '表体负责人代码', width: 200 }
                    , { field: '表体负责人', title: '表体负责人', width: 200 }
                    , { field: '行关闭人', title: '行关闭人', width: 200 }
@@ -246,7 +249,7 @@
                                $.ajax({
                                    type: "GET",
                                    url: GetWEBURL() + "Sb_EqpRepairWorkBill/DeltetEqpConkBookBill", //方法所在页面和方法名
                                    data: { "HInterID": InterID },
                                    data: { "HInterID": InterID, "user": sessionStorage["HUserName"]},
                                    success: function (result) {
                                        if (result.count == 1) {
                                            layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
@@ -271,6 +274,10 @@
                            layer.msg('请选择一行数据删除!');
                        }
                        break;
                    //退出
                    case 'get_Exit':
                        Pub_Close(2);
                        break;
                };
            });
@@ -279,7 +286,7 @@
                //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                url: GetWEBURL() + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
                type: "GET",
                data: { "sWhere": sWhere},
                data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                success: function (data1) {
                    if (data1.count == 1) {
                        option.data = data1.data;
@@ -322,7 +329,7 @@
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                    url: GetWEBURL() + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
                    type: "GET",
                    data: { "sWhere": sWhere},
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;