| | |
| | | CodeStandardType_PurchaseOrder CodeStandardType = "采购单编码" |
| | | CodeStandardType_Supplier CodeStandardType = "供应商编码" |
| | | ) |
| | | |
| | | type RecordStatus int //状态 0 新建 1 启用 2停用 |
| | | |
| | | const ( |
| | | RecordStatusCreate RecordStatus = iota // 新建 |
| | | RecordStatusActive // 启用 |
| | | RecordStatusInactive // 停用 |
| | | ) |
| | | |
| | | type OutsourcingOrderStatus int |
| | | |
| | | // 管理端 待生产 领料审核拒绝都显示已分配委外商 |
| | | const ( |
| | | OutsourcingOrderStatusCreate OutsourcingOrderStatus = iota // 新建待分配委外商 |
| | | OutsourcingOrderStatusAssigned // 已分配委外商 |
| | | OutsourcingOrderStatusWaitProduce // 待生产 |
| | | OutsourcingOrderStatusMaterialApplying // 物料申请中/待领料审核 |
| | | OutsourcingOrderStatusMaterialExamineRefused // 领料审核拒绝 |
| | | OutsourcingOrderStatusProducing // 生产中 |
| | | OutsourcingOrderStatusFinish // 生产完成 |
| | | OutsourcingOrderStatusDeliveryFinish // 发货完成 |
| | | OutsourcingOrderStatusReceiveFinish // 收货完成 |
| | | OutsourcingOrderStatusClose //关闭 |
| | | ) |
| | | |
| | | // BoolType 布尔类型 |
| | | type BoolType int |
| | | |
| | | const ( |
| | | BoolTypeTrue BoolType = 1 // true |
| | | BoolTypeFalse BoolType = 2 // false |
| | | ) |