From 2ee651f6d5612cdec35f6e5f8d9d5ff7c66b7ec4 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 19 四月 2024 16:57:09 +0800 Subject: [PATCH] 更改接口前置 --- proto/purchase_wms/server.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/proto/purchase_wms/server.go b/proto/purchase_wms/server.go index f419f3c..523a7b8 100644 --- a/proto/purchase_wms/server.go +++ b/proto/purchase_wms/server.go @@ -161,7 +161,6 @@ info.PurchaseNumber = p.Number info.PurchaseName = p.Name info.SupplierName = p.Supplier.Name - info.Amount = p.Quantity.IntPart() info.Status = int64(p.Status) if p.Status == purchase.OrderStatusStored || p.Status == purchase.OrderStatusCompleted { info.FinishAmount = info.Amount @@ -173,6 +172,7 @@ ni.ProductName = pp.Product.Name ni.Specs = pp.Product.Specifications ni.Unit = pp.Product.Unit + ni.Amount = pp.Amount.IntPart() infos = append(infos, &ni) } } -- Gitblit v1.8.0