| | |
| | | const ( |
| | | LeftHalfCar CarFlag = iota + 1 //左半车 |
| | | RightHalfCar //右半车 |
| | | AllCar //全车 |
| | | AllCar //全车结束 |
| | | ) |
| | | |
| | | type CheckItem int |
| | |
| | | CheckItemPurity //洁净分 |
| | | CheckItemMaxDeviation //最大偏差 |
| | | ) |
| | | |
| | | type BadFinenessGrade string |
| | | |
| | | const ( |
| | | BadFinenessGradeA = "野纤" |
| | | BadFinenessGradeB = "大野" |
| | | BadFinenessGradeC = "特野" |
| | | ) |
| | | |
| | | const ( |
| | | EveryPersonCarCheckNumber = 2 //每人每车抽检份数 |
| | | ) |
| | | |
| | | // WorkerStatus 人员状态 |
| | | type WorkerStatus int |
| | | |
| | | const ( |
| | | WorkerStatusWorking WorkerStatus = iota + 1 // 在班 |
| | | WorkerStatusRest // 休息 |
| | | WorkerStatusHoliday // 请假 |
| | | WorkerStatusOvertime // 加班 |
| | | ) |
| | | |
| | | // MiniDictType 迷你字典类型 |
| | | type MiniDictType int |
| | | |
| | | const ( |
| | | MiniDictTypePlcBrand MiniDictType = iota + 1 // PLC品牌 |
| | | MiniDictTypeBomVersionType // Bom版本类型 |
| | | EarlyWarningDay //预警天数 |
| | | InspectionWayType //质检方式类型 |
| | | OutsourcingSupplierType //委外供应商类型 |
| | | OutsourcingSupplierCreditGrade //信用等级 |
| | | OutsourcingSupplierRange //供货范围 |
| | | SalaryType //嘉联薪资类型 |
| | | WildSilk //野纤 |
| | | Absenteeism //缺勤 |
| | | ) |
| | | |
| | | // ShiftType 班次类型 |
| | | type ShiftType string |
| | | |
| | | const ( |
| | | ShiftTypeRegular ShiftType = "regular" // 固定班次 |
| | | ShiftTypeCycle ShiftType = "cycle" // 循环班次 |
| | | ) |
| | | |
| | | // ResourceType 订单类型 |
| | | type ResourceType int |
| | | |
| | | const ( |
| | | ResourceTypeDevice ResourceType = iota + 1 // 设备 |
| | | ResourceTypeWorker // 人员 |
| | | ) |
| | | |
| | | type AttendanceStatus int |
| | | |
| | | const ( |
| | | Normal AttendanceStatus = iota + 1 //正常 |
| | | Overtime //加班 |
| | | Vacation //休假 |
| | | Abnormal //异常 |
| | | ) |
| | | |
| | | type FileTemplateCategory int |
| | | |
| | | const ( |
| | | FileTemplateCategory_Selfmade FileTemplateCategory = iota + 1 //入库-自制 |
| | | FileTemplateCategory_Output //出库 |
| | | FileTemplateCategory_JialianInput = 14 //嘉联入库 |
| | | FileTemplateCategory_JialianOutput = 15 //嘉联出库 |
| | | FileTemplateCategory_JialianAttendance = 16 //嘉联-员工考勤 |
| | | ) |
| | | |
| | | const ( |
| | | DailySilkProduction = "日产丝量" |
| | | WasteSilkQuantity = "野纤数量" |
| | | RawSilkUnitPrice = "生丝单价" |
| | | WasteSilkUnitPrice = "野纤单价" |
| | | BucketCount = "桶数(日)" |
| | | AttendanceDays = "出勤天数" |
| | | GroupAverageMonthlyWage = "同组挡车工月平均工资" |
| | | GroupCarHeadWage = "同组车头工工资" |
| | | WeekdayOvertimeHours = "工作日加班时长" |
| | | FullAttendanceAward = "满勤奖" |
| | | WeekendOvertimeHours = "休息日加班时长" |
| | | LeaveDays = "请假天数" |
| | | ApprenticeDays = "带徒天数" |
| | | TotalAttendanceDays = "出勤天数" |
| | | Seniority = "工龄" |
| | | ) |