fix
zhangqian
2024-03-20 6befd5f2fe9779883993b87f2e686885c147bc34
constvar/salesDetails.go
@@ -14,7 +14,13 @@
const (
   WaitConfirmed SalesDetailsStatus = iota + 1 //待确认
   WaitDecompose                               //待分解
   InStock                                     //备货中
   WaitOutbound                                //待出库
   OverOutbound                                //出库完成
   OverCLose                                   //已关闭
)
func (s SalesDetailsStatus) Valid() bool {
   return s == WaitConfirmed || s == WaitOutbound || s == OverOutbound || s == OverCLose || s == WaitDecompose || s == InStock
}