From 2a04ec3790ddae1b76b151fafaba3a8a0b8a0c53 Mon Sep 17 00:00:00 2001 From: yinbentan <yinbentan@live.com> Date: 星期五, 28 六月 2024 16:30:28 +0800 Subject: [PATCH] 库存操作添加:调拨、入库、出库按类型配置字典类(1 调拨 2 入库 3 出库) --- request/operation_type.go | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/request/operation_type.go b/request/operation_type.go index a76c5d3..bf00dee 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"` //鍏抽敭瀛楁悳绱� + WarehouseId int `json:"warehouseId" form:"warehouseId"` //浠撳簱id } type AddOperationType struct { @@ -31,3 +32,7 @@ ID uint `gorm:"comment:涓婚敭ID;primaryKey;" json:"id"` AddOperationType } + +type ListTransfer struct { + Keyword string `json:"keyword"` +} -- Gitblit v1.8.0