王 垚
2021-12-27 d719c43bdefd0f7ec8ec3d2f35ce98f0d76f7b8d
WebTM/views/¹¤×ʹÜÀí/ºËË㷽ʽ/Gy_ClassTimePrjSubBillList.html
@@ -45,6 +45,7 @@
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>删除</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>刷新</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>退出</button>
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_AddGZD"><i class="layui-icon layui-icon-logout"></i>生成工资单</button>
                            </div>
                        </script>
                    </form>
@@ -103,6 +104,9 @@
                        break;
                    //退出按钮
                    case 'get_Exit': Pub_Close(2);
                        break
                    //生成工资单
                    case 'get_AddGZD': get_AddGZD();
                        break;
                };
@@ -144,13 +148,14 @@
                    , cellMinWidth: 90
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'HItemID', title: 'HItemID', sort: true, hide: true }
                        , { field: 'HParentID', title: 'HParentID', sort: true, hide: true }
                        , { field: '月度核算记录代码', title: '月度核算记录代码', width: 150 }
                        , { field: 'HInterID', title: 'HInterID', sort: true, hide: true }
                        , { field: 'HEntryID', title: 'HEntryID', sort: true, hide: true }
                        //, { field: '月度核算记录代码', title: '月度核算记录代码', width: 150 }
                        //, { field: '月度核算记录名称', title: '月度核算记录名称', width: 150 }
                        , { field: '会计年份', title: '会计年份',width: 120 }
                        , { field: '会计月份', title: '会计月份' }
                        , { field: '组代码', title: '组代码' }
                        , { field: '组名称', title: '组名称', width: 190 }
                        , { field: '组代码', title: '组代码', width: 150 }
                        , { field: '组名称', title: '组名称', width: 150 }
                        , { field: '总金额', title: '总金额' }
                        , { field: '总基数', title: '总基数' }
                        , { field: '平均工资', title: '平均工资' }
@@ -229,12 +234,14 @@
            }
            //#endregion
            //#region ç¼–辑
            function set_ShowBill() {
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var HInterID = data[0].HitemID;
                    var HInterID = data[0].HInterID;
                    //if (AllowLoadData(sSubStr) != false) {//非空验证
                    layer.open({
                        type: 2
@@ -254,7 +261,7 @@
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;
                if (checkStatus.data.length === 1) {
                    var ItemID = data[0].HItemID.toString();
                    var ItemID = data[0].HInterID.toString();
                    layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                        var wait = layer.load();
                        //逻辑删除方法
@@ -290,7 +297,16 @@
            }
            //#endregion
            function get_AddGZD() {
                layer.open({
                    type: 2
                    , skin: 'layui-layer-rim' //加上边框
                    , area: ['100%', '100%']
                    , title: '核算记录-新增'
                    , shift: 0//弹出动画
                    , content: '../核算方式/Gy_ClassTimePrjSubBillEdit.html?OperationType=1&linterid=&HSouceBillType='
                })
            }
            //#region åˆ·æ–°
            function get_Refresh() {
                set_ClearQuery();