yangle
2023-11-01 dbcc87f39f85b6ec81d53e6dc66e9f51cd34b5d8
WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛÍË»õµ¥/Kf_ICStockBillMainList.html
@@ -13,6 +13,7 @@
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script src="../../../layuiadmin/HideButton.js"></script>
    <script src="../../../layuiadmin/soulTable.slim.js"></script>
    <style type="text/css">
        input.layui-input.layui-unselect {
@@ -135,7 +136,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
@@ -146,6 +147,8 @@
                , laypage = layui.laypage
                , laydate = layui.laydate
                , util = layui.util
                , soulTable = layui.soulTable
            //查询条件
            var sWhere = "";
            var option = [];
@@ -247,48 +250,51 @@
                    , cellMinWidth: 90
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
                    , done: function (res, curr, count) {
                        soulTable.render(this);
                    }
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'hmainid', title: 'hmainid', sort: true, hide: true }
                        , { field: '单据号', title: '单据号', hide: true }
                        , { field: '日期', title: '日期', width: 200, templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>" }
                        , { field: '源单单号', title: '源单单号', width: 160 }
                        , { field: '红蓝单标记', title: '红蓝单标记', width: 160 }
                        , { field: '发货仓库', title: '发货仓库', width: 160 }
                        , { field: 'hsupid', title: 'hsupid', width: 200, hide: true }
                        , { field: '客户', title: '客户', width: 200 }
                        , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true }
                        , { field: '业务员', title: '业务员', width: 200 }
                        , { field: 'hmanagerid', title: 'hmanagerid', width: 200, hide: true }
                        , { field: '主管', title: '主管', width: 200 }
                        , { field: 'hsecmanagerid', title: 'hsecmanagerid', width: 160, hide: true }
                        , { field: '发货人', title: '发货人', width: 160 }
                        , { field: 'hkeeperid', title: 'hkeeperid', width: 160, hide: true }
                        , { field: '保管员', title: '保管员', width: 200 }
                        , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true }
                        , { field: '部门', title: '部门', width: 200 }
                        , { field: '销售方式', title: '销售方式', width: 200 }
                        , { field: 'hsubid', title: 'hsubid', width: 200, hide: true }
                        , { field: 'hmaterid', title: 'hmaterid', width: 200, hide: true }
                        , { field: '物料代码', title: '物料代码', width: 200 }
                        , { field: '物料名称', title: '物料名称', width: 115 }
                        , { field: '规格型号', title: '规格型号', width: 115 }
                        , { field: 'hunitid', title: 'hunitid', width: 200, hide: true }
                        , { field: '计量单位代码', title: '计量单位代码', width: 200 }
                        , { field: '计量单位', title: '计量单位', width: 115 }
                        , { field: '数量', title: '数量', width: 200 }
                        , { field: '单价', title: '单价', width: 200 }
                        , { field: '金额', title: '金额', width: 200 }
                        , { field: '制单人', title: '制单人', width: 125 }
                        , { field: '制单日期', title: '制单日期', width: 200, templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '审核人', title: '审核人', width: 125 }
                        , { field: '审核日期', title: '审核日期', width: 200, templet: "<div>{{d.审核日期 ==null ?'':layui.util.toDateString(d.审核日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '修改人', title: '修改人', width: 125 }
                        , { field: '修改日期', title: '修改日期', width: 200, templet: "<div>{{d.修改日期 ==null ?'':layui.util.toDateString(d.修改日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '关闭人', title: '关闭人', width: 125 }
                        , { field: '关闭日期', title: '关闭日期', width: 200, templet: "<div>{{d.关闭日期 ==null ?'':layui.util.toDateString(d.关闭日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '作废人', title: '作废人', width: 125 }
                        , { field: '作废日期', title: '作废日期', width: 200, templet: "<div>{{d.作废日期 ==null ?'':layui.util.toDateString(d.作废日期, 'yyyy-MM-dd HH:mm:ss')}}</div>" }
                        , { field: '单据号', title: '单据号', hide: true, sort: true }
                        , { field: '日期', title: '日期', width: 200, templet: "<div>{{d.日期 ==null ?'':layui.util.toDateString(d.日期, 'yyyy-MM-dd')}}</div>", sort: true }
                        , { field: '源单单号', title: '源单单号', width: 160, sort: true }
                        , { field: '红蓝单标记', title: '红蓝单标记', width: 160, sort: true }
                        , { field: '发货仓库', title: '发货仓库', width: 160, sort: true }
                        , { field: 'hsupid', title: 'hsupid', width: 200, hide: true, sort: true }
                        , { field: '客户', title: '客户', width: 200, sort: true }
                        , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true, sort: true }
                        , { field: '业务员', title: '业务员', width: 200, sort: true }
                        , { field: 'hmanagerid', title: 'hmanagerid', width: 200, hide: true, sort: true }
                        , { field: '主管', title: '主管', width: 200, sort: true }
                        , { field: 'hsecmanagerid', title: 'hsecmanagerid', width: 160, hide: true, sort: true }
                        , { field: '发货人', title: '发货人', width: 160, sort: true }
                        , { field: 'hkeeperid', title: 'hkeeperid', width: 160, hide: true, sort: true }
                        , { field: '保管员', title: '保管员', width: 200, sort: true }
                        , { field: 'HDeptID', title: 'HDeptID', width: 200, hide: true, sort: true }
                        , { field: '部门', title: '部门', width: 200, sort: true }
                        , { field: '销售方式', title: '销售方式', width: 200, sort: true }
                        , { field: 'hsubid', title: 'hsubid', width: 200, hide: true, sort: true }
                        , { field: 'hmaterid', title: 'hmaterid', width: 200, hide: true, sort: true }
                        , { field: '物料代码', title: '物料代码', width: 200, sort: true }
                        , { field: '物料名称', title: '物料名称', width: 115, sort: true }
                        , { field: '规格型号', title: '规格型号', width: 115, sort: true }
                        , { field: 'hunitid', title: 'hunitid', width: 200, hide: true, sort: true }
                        , { field: '计量单位代码', title: '计量单位代码', width: 200, sort: true }
                        , { field: '计量单位', title: '计量单位', width: 115, sort: true }
                        , { field: '数量', title: '数量', width: 200, sort: true }
                        , { field: '单价', title: '单价', width: 200, sort: true }
                        , { field: '金额', title: '金额', width: 200, sort: true }
                        , { field: '制单人', title: '制单人', width: 125, sort: true }
                        , { field: '制单日期', title: '制单日期', width: 200, templet: "<div>{{d.制单日期 ==null ?'':layui.util.toDateString(d.制单日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                        , { field: '审核人', title: '审核人', width: 125, sort: true }
                        , { field: '审核日期', title: '审核日期', width: 200, templet: "<div>{{d.审核日期 ==null ?'':layui.util.toDateString(d.审核日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                        , { field: '修改人', title: '修改人', width: 125, sort: true }
                        , { field: '修改日期', title: '修改日期', width: 200, templet: "<div>{{d.修改日期 ==null ?'':layui.util.toDateString(d.修改日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                        , { field: '关闭人', title: '关闭人', width: 125, sort: true }
                        , { field: '关闭日期', title: '关闭日期', width: 200, templet: "<div>{{d.关闭日期 ==null ?'':layui.util.toDateString(d.关闭日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                        , { field: '作废人', title: '作废人', width: 125, sort: true }
                        , { field: '作废日期', title: '作废日期', width: 200, templet: "<div>{{d.作废日期 ==null ?'':layui.util.toDateString(d.作废日期, 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }
                    ]]
                };