zzr99
2021-10-14 9be58bb270f68eddf094a5f89f8aab600eb8b3d9
器具管理模块所有页面模具和模治具改成器具
4个文件已修改
72 ■■■■■ 已修改文件
WebTM/views/工资管理/工资结算单(个人)/Pay_SingleBalBill.html 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/工资结算单(个人)/Pay_SingleBalBillList.html 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/工资结算单(其他)/Pay_OtherBalBill.html 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/工资管理/工资结算单(其他)/Pay_OtherBalBillList.html 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(¸öÈË)/Pay_SingleBalBill.html
@@ -309,7 +309,7 @@
                , cols: [[ //表头
                    { type: 'checkbox', fixed: 'left' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe", width: 100 }
                    , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true }
                    , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100 }
                    , { field: 'HMaterCode', title: '物料代码', edit: 'text', event: 'HMaterCheck', width: 100 }
                    , { field: 'HMaterName', title: '物料名称', edit: 'text', width: 190 }
                    //, { field: 'HMaterSpec', title: '规格型号', edit: 'text', width: 100 }
@@ -339,9 +339,9 @@
                $("#HMaker").val(sessionStorage["HUserName"]);
                $("#HCheckDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HChecker").val(sessionStorage["HUserName"]);
                $("#HCloseDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HCloseMan").val(sessionStorage["HUserName"]);
                $("#HUpDateDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HUpDater").val(sessionStorage["HUserName"]);
                $("#HCloseDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HDeleteDate").val(Format(new Date(), "yyyy-MM-dd"));
                //初始加载表格{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": "  ", "HSQProcName": "   ","HProcID":0, "HZRProcName": "  ", "HMRBChecker": "  ", "HRemark": "  ", "HPSProcName": "  ", "HCloseMan": "   " }
                option.data = [{
@@ -686,6 +686,14 @@
                                , "Box2": ""                               //选单号
                                , "HExplanation": data.摘要              //摘要
                                , "HRemark": data.表头备注                    //备注
                                , "HMaker": data.制单人
                                , "HChecker": data.审核人
                                , "HCloseMan": data.关闭人
                                , "HMakeDate": data.制单日期
                                , "HCheckDate": data.审核日期
                                , "HCloseDate": data.关闭日期
                                , "HUpDateDate": data.修改日期
                                , "HDeleteDate": data.作废日期
                            });
                        } else {
@@ -717,7 +725,7 @@
                        //console.log(d.data);
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HDate").val(shijian);
                        $("#HInterID").val(0);
                        $("#HInterID").val(d.data[0].HInterID);
                    }
                });
            }
@@ -860,7 +868,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HPayTypeName").val(checkStatus.data[0].工资类型);
                        $("#HPayTypeName").val(checkStatus.data[0].工资类型名称);
                        $("#HPayID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(¸öÈË)/Pay_SingleBalBillList.html
@@ -155,21 +155,21 @@
                        , { field: '部门代码', title: '部门代码', width: 180 }
                        , { field: '部门', title: '部门', width: 125 }
                        , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true }
                        , { field: '职员代码', title: '职员代码', width: 180 }
                        , { field: '职员', title: '职员', width: 125 }
                        , { field: 'HEmpNumber', title: '职员代码', width: 180 }
                        , { field: 'HEmpName', title: '职员', width: 125 }
                        , { field: 'HPayID', title: 'HPayID', width: 200, hide: true }
                        , { field: '工资代码', title: '工资代码', width: 180 }
                        //, { field: '工资代码', title: '工资代码', width: 180 }
                        , { field: '工资类型', title: '工资类型', width: 125 }
                        , { field: '摘要', title: '摘要', width: 125 }
                        , { field: '表头备注', title: '表头备注', width: 125 }
                        , { field: '内部单据号', title: '内部单据号', width: 115 }
                        , { field: 'hsubid', title: 'hsubid', width: 200, hide: true }
                        , { field: 'HMaterID', title: 'HMaterID', width: 200, hide: true }
                        , { field: '物料代码', title: '物料代码', width: 125 }
                        , { field: '物料名称', title: '物料名称', width: 125 }
                        , { field: 'HMaterCode', title: '物料代码', width: 125 }
                        , { field: 'HMaterName', title: '物料名称', width: 125 }
                        //, { field: '规格型号', title: '规格型号', width: 125 }
                        , { field: 'HProcID', title: 'HProcID', width: 200, hide: true }
                        , { field: '工序代码', title: '工序代码', width: 125 }
                        , { field: 'HProcNumber', title: '工序代码', width: 125 }
                        //, { field: '工序', title: '工序', width: 125 }
                        //, { field: '单价', title: '单价', width: 125 }
                        //, { field: '金额', title: '金额', width: 125 }
@@ -279,7 +279,7 @@
                            layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                                $.ajax({
                                    type: "GET",
                                    url: GetWEBURL() + "Sc_MouldProdOutBill/DeltetMouldProdOutBill", //方法所在页面和方法名
                                    url: GetWEBURL() + "Pay_SingleBalBill/DeltetSingleBalBill", //方法所在页面和方法名
                                    data: { "HInterID": InterID },
                                    success: function (result) {
                                        if (result.count == 1) {
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(ÆäËû)/Pay_OtherBalBill.html
@@ -339,9 +339,9 @@
                $("#HMaker").val(sessionStorage["HUserName"]);
                $("#HCheckDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HChecker").val(sessionStorage["HUserName"]);
                $("#HCloseDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HCloseMan").val(sessionStorage["HUserName"]);
                $("#HUpDateDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HUpDater").val(sessionStorage["HUserName"]);
                $("#HCloseDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HDeleteDate").val(Format(new Date(), "yyyy-MM-dd"));
                //初始加载表格{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": "  ", "HSQProcName": "   ","HProcID":0, "HZRProcName": "  ", "HMRBChecker": "  ", "HRemark": "  ", "HPSProcName": "  ", "HCloseMan": "   " }
                option.data = [{
@@ -384,7 +384,10 @@
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;;
                var AddRow = table.cache['mainTable'];
                var NewRow = { "HMaterID": 0, "HMaterCode": "", "HMaterName": "", "HMaterSpec": "", "HProcNumber": "", "HProcName": "", "HSourceCode": "", "HSourceName": "", "HEmpCode": "", "HEmpName": "", "HTimes": 0, "HQty": 0, "HPrice": 0, "HPriceRate": 0, "HSubsidyQty": 0, "HSubsidyMoney": 0, "HSubsidyTotal": 0, "HDeuctTotal": 0, "HPackQty": 0, "HPackPrice": 0, "HPackMoney": 0, "HPackMaterID": 0, "HMoney": 0, "HICMOInterID": 0, "HICMOBillNo": 0, "HProcReportInterID": 0, "HProcReportEntryID": 0, "HProcReportBillNo": 0, "HProcPlanInterID": 0, "HProcPlanEntryID": 0, "HProcPlanBillNo": 0, "HMainSourceInterID": 0, "HMainSourceEntryID": 0, "HMainSourceBillNo": 0, "HSourceBillType": "", "HRelationQty": 0, "HRelationQty": 0, "HRelationMoney": 0, "HCloseMan": 0, "HCloseDate": 0, "HCloseType": 0, "HRemark": "" };
                var NewRow = {
                    "HMaterID": 0, "HMaterCode": "", "HMaterName": "", "HMaterSpec": "", "HProcID": "", "HProcNumber": "", "HProcName": ""
                    , "HEmpID": "", "HEmpNumber": "", "HEmpName": "", "HTimes": 0, "HQty": 0, "HPrice": 0, "HMoney": 0
                    , "HMainSourceInterID": 0, "HMainSourceEntryID": 0, "HMainSourceBillNo": 0, "HSourceBillType": "", "HCloseDate": 0, "HRemark": "" };
                switch (obj.event) {
                    case 'btn-AddLine':
                        //table.cache["mainTable"].push(AddRow[rows]);
@@ -686,6 +689,14 @@
                                , "Box2": ""                               //选单号
                                , "HExplanation": data.摘要              //摘要
                                , "HRemark": data.表头备注                    //备注
                                , "HMaker": data.制单人
                                , "HChecker": data.审核人
                                , "HCloseMan": data.关闭人
                                , "HMakeDate": data.制单日期
                                , "HCheckDate": data.审核日期
                                , "HCloseDate": data.关闭日期
                                , "HUpDateDate": data.修改日期
                                , "HDeleteDate": data.作废日期
                            });
                        } else {
@@ -717,7 +728,7 @@
                        //console.log(d.data);
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HDate").val(shijian);
                        $("#HInterID").val(0);
                        $("#HInterID").val(d.data[0].HInterID);
                    }
                });
            }
@@ -860,7 +871,7 @@
                        if (checkStatus.data.length === 0) {
                            return layer.msg('请选择数据');
                        }
                        $("#HPayTypeName").val(checkStatus.data[0].工资类型);
                        $("#HPayTypeName").val(checkStatus.data[0].工资类型名称);
                        $("#HPayID").val(checkStatus.data[0].HItemID);
                        layer.close(layer.index); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
WebTM/views/¹¤×ʹÜÀí/¹¤×ʽáËãµ¥(ÆäËû)/Pay_OtherBalBillList.html
@@ -155,18 +155,21 @@
                        , { field: '部门代码', title: '部门代码', width: 180 }
                        , { field: '部门', title: '部门', width: 125 }
                        , { field: 'HEmpID', title: 'HEmpID', width: 200, hide: true }
                        , { field: '职员代码', title: '职员代码', width: 180 }
                        , { field: '职员', title: '职员', width: 125 }
                        , { field: 'HEmpNumber', title: '职员代码', width: 180 }
                        , { field: 'HEmpName', title: '职员', width: 125 }
                        , { field: 'HPayID', title: 'HPayID', width: 200, hide: true }
                        //, { field: '工资代码', title: '工资代码', width: 180 }
                        , { field: '工资类型', title: '工资类型', width: 125 }
                        , { field: '摘要', title: '摘要', width: 125 }
                        , { field: '表头备注', title: '表头备注', width: 125 }
                        , { field: '内部单据号', title: '内部单据号', width: 115 }
                        , { field: 'hsubid', title: 'hsubid', width: 200, hide: true }
                        , { field: 'HMaterID', title: 'HMaterID', width: 200, hide: true }
                        , { field: '物料代码', title: '物料代码', width: 125 }
                        , { field: '物料名称', title: '物料名称', width: 125 }
                        , { field: 'HMaterCode', title: '物料代码', width: 125 }
                        , { field: 'HMaterName', title: '物料名称', width: 125 }
                        //, { field: '规格型号', title: '规格型号', width: 125 }
                        , { field: 'HProcID', title: 'HProcID', width: 200, hide: true }
                        , { field: '工序代码', title: '工序代码', width: 125 }
                        , { field: 'HProcNumber', title: '工序代码', width: 125 }
                        //, { field: '工序', title: '工序', width: 125 }
                        //, { field: '单价', title: '单价', width: 125 }
                        //, { field: '金额', title: '金额', width: 125 }
@@ -186,8 +189,8 @@
                        , { field: '关闭类型', title: '关闭类型', width: 125 }
                        , { field: '源单主内码', title: '源单主内码', width: 200, hide: true }
                        , { field: '源单子内码', title: '源单子内码', width: 200, hide: true }
                        , { field: '源单单号', title: '源单单号', width: 125, hide: true }
                        , { field: '源单类型', title: '源单类型', width: 125, hide: true}
                        , { field: '源单单号', title: '源单单号', width: 125 }
                        , { field: '源单类型', title: '源单类型', width: 125 }
                    ]]
                };
            }
@@ -276,7 +279,7 @@
                            layer.confirm("确认要删除吗,删除后不能恢复", { title: "删除确认" }, function (index) {
                                $.ajax({
                                    type: "GET",
                                    url: GetWEBURL() + "Sc_MouldProdOutBill/DeltetMouldProdOutBill", //方法所在页面和方法名
                                    url: GetWEBURL() + "Pay_OtherBalBill/DeltetOtherBalBill", //方法所在页面和方法名
                                    data: { "HInterID": InterID },
                                    success: function (result) {
                                        if (result.count == 1) {