From 91d7ca06128f996844aa7d2d691d083c944bdf1d Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期三, 03 七月 2024 17:22:16 +0800 Subject: [PATCH] 导入物料/产品->新模版BUG修复 --- service/code.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/service/code.go b/service/code.go index bb17a77..253d820 100644 --- a/service/code.go +++ b/service/code.go @@ -40,6 +40,8 @@ maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeInternal).MaxAutoIncr() case constvar.CodeStandardType_Disuse: maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeDisuse).MaxAutoIncr() + case constvar.CodeStandardType_TakeStock: + maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeAdjust).MaxAutoIncr() default: err = errors.New("缂栫爜瑙勫垯涓嶅瓨鍦�") return -- Gitblit v1.8.0