zrg
2024-03-01 c2c999db17b7da61a5fa9043cb1ab6cb4abd4fb7
WebTM/views/¹¤×ʹÜÀí/¿¼Çڻ㱨µ¥/Pay_WorkTimesBillEdit.html
@@ -15,6 +15,7 @@
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script src="../../../layuiadmin/PageTitle.js"></script>
    <style type="text/css">
        .layui-form-item .layui-inline {
            margin-right: 0;
@@ -281,6 +282,14 @@
                    , laydate = layui.laydate
                    , element = layui.element;
                //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
                var HModuleType = "2203";
                //通过单据类型,从数据库动态获取单据模块命名,引用js文件 PageTitle.js
                var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType);
                $("h1").html('<b>' + HPageTitle + '</b>');
                //#endregion
                var params = get_UrlVars();
                if (typeof (params[params[0]]) == "undefined") {
                    var OperationType = 1;//操作类型
@@ -303,32 +312,33 @@
                    elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , height: 500
                    , totalRow: true
                    //,url: '/demo/table/user/' //数据接口
                    , page: true //开启分页
                    , cols: [[ //表头
                        { type: 'checkbox', fixed: 'left' }
                        { type: 'checkbox', totalRowText: '合计' }
                        , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe", width: 100 }
                        , { field: 'HEmpID', title: 'HEmpID', edit: 'text', width: 100, hide: true }
                        , { field: 'HEmpNumber', title: '职员代码', edit: 'text', event: 'HEmpCheck', width: 150 }
                        , { field: 'HEmpName', title: '职员名称', edit: 'text', width: 100 }
                        , { field: 'HEmpRate', title: '职员系数', edit: 'text', width: 100 }
                        , { field: 'HPMTimes', title: '下午工时', edit: 'text', width: 100 }
                        , { field: 'HAMTimes', title: '上午工时', edit: 'text', width: 100 }
                        , { field: 'HBaseTimes', title: '基本工时', width: 100 }
                        , { field: 'HBaseDays', title: '基本天数', edit: 'text', width: 100 }
                        , { field: 'HOverTimes', title: '加班工时', edit: 'text', width: 100 }
                        , { field: 'HOverDays', title: '加班天数', edit: 'text', width: 100 }
                        , { field: 'HLeaveTimes', title: '请假工时', edit: 'text', width: 100 }
                        , { field: 'HLeaveDays', title: '请假天数', edit: 'text', width: 100 }
                        , { field: 'HLateQty', title: '迟到次数', edit: 'text', width: 100 }
                        , { field: 'HLateTimes', title: '迟到时间', edit: 'text', width: 100 }
                        , { field: 'HEarlyQty', title: '早退次数', edit: 'text', width: 100 }
                        , { field: 'HEarlyTimes', title: '早退时间', edit: 'text', width: 100 }
                        , { field: 'HOutForEmpQty', title: '私出次数', edit: 'text', width: 100 }
                        , { field: 'HOutForEmpTimes', title: '私出时间', edit: 'text', width: 100 }
                        , { field: 'HOutForComQty', title: '公出次数', edit: 'text', width: 100 }
                        , { field: 'HOutForComTimes', title: '公出时间', edit: 'text', width: 100 }
                        , { field: 'HAbsentDays', title: '旷工天数', edit: 'text', width: 100 }
                        , { field: 'HPMTimes', title: '下午工时', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HAMTimes', title: '上午工时', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HBaseTimes', title: '基本工时', width: 100, totalRow: true }
                        , { field: 'HBaseDays', title: '基本天数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOverTimes', title: '加班工时', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOverDays', title: '加班天数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HLeaveTimes', title: '请假工时', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HLeaveDays', title: '请假天数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HLateQty', title: '迟到次数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HLateTimes', title: '迟到时间', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HEarlyQty', title: '早退次数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HEarlyTimes', title: '早退时间', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOutForEmpQty', title: '私出次数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOutForEmpTimes', title: '私出时间', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOutForComQty', title: '公出次数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HOutForComTimes', title: '公出时间', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HAbsentDays', title: '旷工天数', edit: 'text', width: 100, totalRow: true }
                        , { field: 'HRestFlag', title: '厂休', edit: 'text', value: "true", width: 100, hide: true }
                        , { field: 'HSchClassID', title: '班次', edit: 'text', width: 100 }
                        , { field: 'HCTPrjID', title: '核算方案代码', edit: 'text', width: 100, hide: true}
@@ -336,7 +346,7 @@
                        , { field: 'HWorkTypeID', title: '工种代码', edit: 'text', width: 100, hide: true}
                        , { field: 'HWorkTypeName', title: '工种名称', edit: 'text', event: 'HWorkTypeName', width: 100 }
                        , { field: 'HPayMoney', title: '小时工资', edit: 'text', width: 100 }
                        , { field: 'HMoney', title: '工资', width: 100 }
                        , { field: 'HMoney', title: '工资', width: 100, totalRow: true }
                        //, { field: 'HNeedTimes   ', title: '应上班工时', edit: 'text', width: 100 }
                        , { field: 'HRemark', title: '备注', edit: 'text', width: 100 }
                        , { field: 'HMainSourceInterID ', title: '源单主内码', edit: 'text', width: 100, hide: true }