王 垚
2021-12-25 a4f0748e3a04d9fdc2de2cc1af5f916825f39922
核算方式
7个文件已修改
2个文件已删除
2830 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2038 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/index.html 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_ClassTimePrj.html 399 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/公用基础资料/Gy_ClassTimePrj.html 314 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/核算方式/Gy_ClassTimePrjSubBillEdit.html 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/核算方式/Gy_ClassTimePrjSubBillList.html 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
Diff too large
WebTM/WebTM.csproj
@@ -142,8 +142,6 @@
    <Content Include="views\基础资料\公用基础资料\Gy_Employee_Add_Edit_.html" />
    <Content Include="views\基础资料\公用基础资料\Gy_EquipType.html" />
    <Content Include="views\基础资料\公用基础资料\Gy_EquipTypeEdit.html" />
    <Content Include="views\基础资料\公用基础资料\Gy_ClassTimePrj.html" />
    <Content Include="views\基础资料\公用基础资料\Add_Edit_Gy_ClassTimePrj.html" />
    <Content Include="views\基础资料\公用基础资料\Gy_WorkCenter_Add_Edit.html" />
    <Content Include="views\基础资料\公用基础资料\Add_Edit_Gy_MouldType.html" />
    <Content Include="views\基础资料\公用基础资料\grf\b.grf" />
WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>JFTM</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>D:\项目\LayUI\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <ProjectView>ShowAllFiles</ProjectView>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
WebTM/layuiadmin/Scripts/webConfig.js
@@ -6,9 +6,9 @@
    //var WEBURL = "http://localhost:8080/API/";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/lubao";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨露本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //章紫柔本地配置
    var WEBURL = "http://localhost:8082/LuBaoAPI/";    //章紫柔本地配置
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
    var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://183.129.128.86:9090/API/";   //凯贝奈特客户服务器外网
    //var WEBURL = "http://192.168.1.253:8080/API/";   //凯贝奈特客户服务器内网
    //var WEBURL = "http://220.189.218.154:8092/API/";   //丸井四维尔服务器
WebTM/views/index.html
@@ -762,8 +762,6 @@
                                        <dd><a lay-href="基础资料/公用基础资料/Xt_ORGANIZATIONSList.html">组织列表</a></dd>
                                        <dd><a lay-href="基础资料/公用基础资料/Gy_Unit.html">计量单位列表</a></dd>
                                        <dd><a lay-href="基础资料/公用基础资料/Gy_Currency.html">货币列表</a></dd>
                                        <dd><a lay-href="基础资料/公用基础资料/Gy_ClassTimePrj.html">核算方式</a></dd>
                                        <dd><a lay-href="基础资料/公用基础资料/Gy_ClassTimePrjSub.html">核算记录</a></dd>
                                        <dd><a lay-href="基础资料/公用基础资料/Pay_PeriodInfoSet.html">月度设置</a></dd>
                                        <dd><a lay-href="基础资料/销售基础资料/Gy_Customer.html">客户列表</a></dd>
                                        <dd><a lay-href="基础资料/采购基础资料/Gy_Supplier.html">供应商列表</a></dd>
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Add_Edit_Gy_ClassTimePrj.html
File was deleted
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_ClassTimePrj.html
File was deleted
WebTM/views/¹¤×ʹÜÀí/ºËË㷽ʽ/Gy_ClassTimePrjSubBillEdit.html
@@ -43,8 +43,9 @@
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">所属组</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="hparentName" id="hparentName" class="layui-input" value="" style="float:left;width:150px;">
                                    <input type="hidden" name="hparentid" id="hparentid" class="layui-input" value="" style="float:left;width:150px;">
                                    <input type="text" name="HEntryName" id="HEntryName" readonly class="layui-input" value="" style="float:left;width:150px;">
                                    <input type="hidden" name="HEntryID" id="HEntryID" class="layui-input" value="" style="float:left;width:150px;">
                                    <input type="hidden" name="HInterID" id="HInterID" value="0">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="hparent-BT" style="width:40px;">
                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i>
                                    </button>
@@ -67,19 +68,19 @@
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">总金额</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" name="HSumMoney" lay-verify="HSumMoney" id="HSumMoney" style="background-color:#efefef4d;" readonly>
                                    <input class="layui-input" name="HSumMoney" lay-verify="HSumMoney" id="HSumMoney" value="0" style="background-color:#efefef4d;" readonly>
                                </div>
                            </div>
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">总基数</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" name="HSumWorkTimes" lay-verify="HSumWorkTimes" id="HSumWorkTimes" style="background-color:#efefef4d;" readonly>
                                    <input class="layui-input" name="HSumWorkTimes" lay-verify="HSumWorkTimes" id="HSumWorkTimes" value="0" style="background-color:#efefef4d;" readonly>
                                </div>
                            </div>
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">平均工资</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" name="HOldRate" lay-verify="HOldRate" id="HOldRate" style="background-color:#efefef4d;" readonly>
                                    <input class="layui-input" name="HOldRate" lay-verify="HOldRate" id="HOldRate" value="0" style="background-color:#efefef4d;" readonly>
                                </div>
                            </div>
                        </div>
@@ -87,13 +88,13 @@
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">日平均工资</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" name="HDayRate" lay-verify="HDayRate" id="HDayRate" style="background-color:#efefef4d;" readonly>
                                    <input class="layui-input" name="HDayRate" lay-verify="HDayRate" id="HDayRate" value="0" style="background-color:#efefef4d;" readonly>
                                </div>
                            </div>
                            <div class="layui-col-xs4 layui-inline">
                                <label class="layui-form-label">修正平均工资</label>
                                <div class="layui-input-inline">
                                    <input class="layui-input" name="HRate" lay-verify="HRate" id="HRate" >
                                    <input class="layui-input" name="HRate" lay-verify="HRate" value="0" id="HRate" >
                                </div>
                            </div>
                           
@@ -146,15 +147,15 @@
            }
            //判断操作类型
            if (OperationType == 1) {//无源单新增
                $("#HItemID").val(0);
                $("#HInterID").val(0);
            }
            else if (OperationType == 3) {//编辑
                $("#HItemID").val(linterid);//修改时主表ID
                $("#HInterID").val(linterid);//修改时主表ID
                //编辑状态时,根据内码,获取信息并写入界面
                RoadBillMain(linterid);
            }
            else if (OperationType == 4) {//浏览
                $("#HItemID").val(linterid);//
                $("#HInterID").val(linterid);//
                //编辑状态时,根据内码,获取信息并写入界面
                RoadBillMain(linterid);
                $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);//保存后加载数据时保存按钮禁用
@@ -217,13 +218,11 @@
                            //    $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true);
                            //}
                            form.val("component-form-group", { //formTest å³ class="layui-form" æ‰€åœ¨å…ƒç´ å±žæ€§ lay-filter="" å¯¹åº”的值
                                "HItemID": data.HItemID
                                , "HName": data.HName
                                , "HNumber": data.月度核算记录代码
                                "HInterID": data.HInterID
                                , "HEntryID": data.HEntryID
                                , "HEntryName": data.月度核算记录名称
                                , "HYear": data.会计年份
                                , "HPeriod": data.会计月份
                                , "hparentName": data.组名称
                                , "hparentid": data.组代码
                                , "HSumMoney": data.总金额
                                , "HSumWorkTimes": data.总基数
                                , "HOldRate": data.平均工资
@@ -258,8 +257,8 @@
                        if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            layer.msg(data.Message, { icon: 1 });
                            $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);
                            //保存后浏览
                            //ReRoadBillMain();
                            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                            parent.layer.close(index); //再执行关闭
                        }
                        else {
                            layer.alert(data.Message, { icon: 5 });
@@ -292,8 +291,8 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#hparentName").val(checkStatus.data[0].HName);
                        $("#hparentid").val(checkStatus.data[0].HItemID);
                        $("#HEntryName").val(checkStatus.data[0].HName);
                        $("#HEntryID").val(checkStatus.data[0].HItemID);
                        //$("#HDeptNumber").val(checkStatus.data[0].HNumber);
                        layer.close(index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
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();