wtt
2024-10-24 8f2202e1ce9cadbfbc4a2c7e46310c5920b7b9a7
WebTM/views/工资管理/班组职员清单/Gy_GroupEmpBillEdit.html
@@ -244,6 +244,33 @@
                //鍒濆鍔犺浇琛ㄦ牸{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": "  ", "HSQProcName": "   ","HProcID":0, "HZRProcName": "  ", "HMRBChecker": "  ", "HRemark": "  ", "HPSProcName": "  ", "HCloseMan": "   " }
                option.data = [{"HEmpID": "", "HEmpNumber": "", "HEmpName": "", "HRemark": ""}];
                table.render(option);
            } else if (OperationType == 2) {
                $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HMaker").val(sessionStorage["HUserName"]);
                $("#HCheckDate").val(Format(new Date(), "yyyy-MM-dd"));
                $("#HChecker").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"));
                $.ajax({
                    url: GetWEBURL() + 'Gy_GroupEmpBill/Gy_GroupEmpBillListProjectDetai',
                    type: "GET",
                    data: { "sqlWhere": "and hmainid=" + hID },
                    success: function (result) {
                        //console.log(result);
                        //console.log('gouba' + result);
                        if (result.count == 1) {
                            option.data = result.data;
                            table.render(option);
                        } else {
                            layer.alert(result.code + result.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
                    }
                });
            }
            else {
                $("#HInterID").val(hID);//淇敼鏃朵富琛↖D
@@ -429,6 +456,20 @@
                        $("#HInterID").val(0);
                    }
                });
            } else if (OperationType = 2) {
                $("#HInterID").val("0");
                $("#HBillNo").val("");
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '9876' },
                    success: function (d) {
                        //console.log(d.data);
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HDate").val(shijian);
                        $("#HInterID").val(0);
                    }
                });
            }
            else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new
                RoadBillMain(hID);