From 708088d91e595e0f14b89e4054cac46a43d3ff44 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期四, 26 十月 2023 17:36:14 +0800
Subject: [PATCH] 根据上架规则入库第二步类型改为内部调拨

---
 controllers/operation.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/controllers/operation.go b/controllers/operation.go
index c53ead6..478bff6 100644
--- a/controllers/operation.go
+++ b/controllers/operation.go
@@ -366,7 +366,7 @@
 					operationTransfer := &models.Operation{
 						Number:            operation.Number,
 						SourceNumber:      operation.SourceNumber,
-						OperationTypeId:   operation.OperationTypeId,
+						OperationTypeId:   0,
 						OperationTypeName: operation.OperationTypeName,
 						Status:            constvar.OperationStatus_Finish,
 						FromLocationID:    locationRule.AreaId,
@@ -377,7 +377,7 @@
 						CompanyID:         operation.CompanyID,
 						CompanyName:       operation.CompanyName,
 						Comment:           operation.Comment,
-						BaseOperationType: operation.BaseOperationType,
+						BaseOperationType: constvar.BaseOperationTypeInternal,
 						Details: []*models.OperationDetails{
 							&models.OperationDetails{
 								ProductId: v.ID,

--
Gitblit v1.8.0