feat: 档口入库码后台批量回写 (#246)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestInnerCodeRowView_按状态区分匹配与回写能力(t *testing.T) {
|
||||
for _, status := range []model.InnerCodeStatus{
|
||||
model.InnerCodePending, model.InnerCodeReady, model.InnerCodeApplying,
|
||||
model.InnerCodePending, model.InnerCodeReady, model.InnerCodeQueued, model.InnerCodeApplying,
|
||||
model.InnerCodeUpdated, model.InnerCodeAlreadyFilled, model.InnerCodeSkipped,
|
||||
model.InnerCodeFailed, model.InnerCodeNeedsCheck,
|
||||
} {
|
||||
@@ -29,7 +29,7 @@ func TestInnerCodeRowView_按状态区分匹配与回写能力(t *testing.T) {
|
||||
|
||||
func TestInnerCodeStatusOptions_覆盖所有状态(t *testing.T) {
|
||||
options := InnerCodeStatusOptions()
|
||||
if len(options) != 9 || options[0].Value != "" {
|
||||
if len(options) != 10 || options[0].Value != "" {
|
||||
t.Fatalf("状态筛选项不完整: %+v", options)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user