From 230ce554d9a42e5c1e322bf13d186f87651edd96 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 12 一月 2024 10:49:03 +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 5761f62..1dda2db 100644
--- a/controllers/operation.go
+++ b/controllers/operation.go
@@ -590,7 +590,7 @@
 				}
 			}
 			if operation.Source != "" {
-				go UpdateOutStatus(operation.Source, operation.Number, 4)
+				go UpdateOutStatus(operation.Source, operation.SourceNumber, 4)
 			}
 		}
 
@@ -928,7 +928,7 @@
 	}
 	//鏇存柊aps鐗╂枡鐢宠鐘舵��
 	if operation.Source == "APS_APPLY_MATERIAL" {
-		go UpdateOutStatus(operation.Source, operation.Number, 3)
+		go UpdateOutStatus(operation.Source, operation.SourceNumber, 3)
 	}
 	util.ResponseFormat(c, code.Success, "鎿嶄綔鎴愬姛")
 }

--
Gitblit v1.8.0