From 9e3a239ec0fa13909cb3a98e2ad238b42ac63eaa Mon Sep 17 00:00:00 2001
From: lishihai <dslsh@dscom>
Date: 星期三, 19 六月 2024 20:32:24 +0800
Subject: [PATCH] 概述->新建或编辑(出库/入库)信息,产品的Cost成本单价和SalePrice销售单价的值不会更新的BUG
---
request/warehouse.go | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/request/warehouse.go b/request/warehouse.go
index c509583..7f14cc1 100644
--- a/request/warehouse.go
+++ b/request/warehouse.go
@@ -2,7 +2,7 @@
type GetWarehouseList struct {
PageInfo
- Keyword string `json:"keyword"`
+ Keyword string `json:"keyword" form:"keyword"`
}
type AddWarehouse struct {
@@ -16,6 +16,7 @@
InboundTransportation int `json:"inboundTransportation" gorm:"type:int;comment:鍏ュ悜杩愯緭"` //鍏ュ悜杩愯緭
OutboundTransportation int `json:"outboundTransportation" gorm:"type:int;comment:鍑哄簱杩愯緭"` //鍑哄簱杩愯緭
LocationId int `json:"locationId" gorm:"type:int;comment:浣嶇疆id"` //浣嶇疆id
+ Contacts string `json:"contacts" gorm:"type:varchar(255);comment:鑱旂郴浜�"` //鑱旂郴浜�
}
type UpdateWarehouse struct {
--
Gitblit v1.8.0