From 0ec0aef398704cd0219ed452f3aa96c8cdacd647 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期六, 06 七月 2024 15:27:51 +0800
Subject: [PATCH] 出库、入库、盘点涉及产品重复性检查调整(从【产品编号】变更为以【产品编号、出库库房编号、入库库房编号】作为唯一标识)
---
request/operation_type.go | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/request/operation_type.go b/request/operation_type.go
index 46eb893..54c54df 100644
--- a/request/operation_type.go
+++ b/request/operation_type.go
@@ -4,7 +4,8 @@
type GetOperationTypeList struct {
PageInfo
- Keyword string `json:"keyword"`
+ Keyword string `json:"keyword" form:"keyword"` //鍏抽敭瀛楁悳绱�
+ WarehouseIds string `json:"warehouseIds" form:"warehouseIds"` //浠撳簱id
}
type AddOperationType struct {
@@ -24,9 +25,14 @@
ShowOperations bool `json:"showOperations" gorm:"column:show_operations;type:int"` //鏄剧ず浣滀笟璇︽儏
CreateBackorder constvar.WhetherType `json:"createBackorder" gorm:"column:create_backorder"` //鍒涘缓娆犲崟
ReturnOperationTypeID int `json:"returnOperationTypeID" gorm:"column:return_job_type_id"` //閫�璐х被鍨婭D
+ Prefix string `json:"prefix" gorm:"type:varchar(255);comment:鍓嶇紑"` //鍓嶇紑
}
type UpdateOperationType struct {
ID uint `gorm:"comment:涓婚敭ID;primaryKey;" json:"id"`
AddOperationType
}
+
+type ListTransfer struct {
+ Keyword string `json:"keyword"`
+}
--
Gitblit v1.8.0