From 7df042662e1929abdd667cfd7b037f4e10e8c2ad Mon Sep 17 00:00:00 2001
From: zrg <z18737863051@163.com>
Date: 星期四, 14 三月 2024 11:27:56 +0800
Subject: [PATCH] 其他应付单 增加子表保存,目录放到采购管理,其他入库单编辑模块 并完善 其他出库单 列表功能;( 常规 功能, 新增,修改,删除,审核,作废,关闭,自定义过滤,源单类型列表(源单 手工录入), 合计行,保存控制,审核控制,删除控制,关联数回填 等等 ) (注: 基础资料选择, 均用 基础资料列表 的方式)
---
WebTM/views/工资管理/考勤汇报单/Pay_WorkTimesBillEdit.html | 52 +++++++++++++++++++++++++++++++---------------------
1 files changed, 31 insertions(+), 21 deletions(-)
diff --git "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\350\200\203\345\213\244\346\261\207\346\212\245\345\215\225/Pay_WorkTimesBillEdit.html" "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\350\200\203\345\213\244\346\261\207\346\212\245\345\215\225/Pay_WorkTimesBillEdit.html"
index 177c980..df7d350 100644
--- "a/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\350\200\203\345\213\244\346\261\207\346\212\245\345\215\225/Pay_WorkTimesBillEdit.html"
+++ "b/WebTM/views/\345\267\245\350\265\204\347\256\241\347\220\206/\350\200\203\345\213\244\346\261\207\346\212\245\345\215\225/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: '鑱屽憳浠g爜', 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: '鏍哥畻鏂规浠g爜', edit: 'text', width: 100, hide: true}
@@ -336,7 +346,7 @@
, { field: 'HWorkTypeID', title: '宸ョ浠g爜', 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 }
@@ -976,8 +986,8 @@
if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
$('#add-btn').addClass("layui-btn-disabled").attr("disabled", true);
- var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
- parent.layer.close(index); //鍐嶆墽琛屽叧闂�
+ //var index = parent.layer.getFrameIndex(window.name); //鍏堝緱鍒板綋鍓峣frame灞傜殑绱㈠紩
+ //parent.layer.close(index); //鍐嶆墽琛屽叧闂�
});
}
else {
--
Gitblit v1.9.1