jiangshuai
2023-09-19 a6f82a1a1cbb4a3dfde004cf29b91c9b4c7da7c3
constvar/const.go
@@ -148,3 +148,12 @@
func (t InventoryValuation) Valid() bool {
   return t >= InventoryValuationManual && t <= InventoryValuationAuto
}
type OperationStatus int
const (
   OperationStatus_Draft   OperationStatus = iota + 1 //草稿
   OperationStatus_Waiting                            //正在等待
   OperationStatus_Ready                              //就绪
   OperationStatus_Finish                             //完成
)