feat(erp): 添加境内货源地字段到采购模块
- 在采购结构体中添加 DomesticSupply 字段 - 为采购实体增加境内货源地支持 - 更新相关数据模型以包含境内货源信息
This commit is contained in:
@@ -2,11 +2,12 @@ package erp
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"git.kumo.work/shama/service/client"
|
||||
purchase2 "git.kumo.work/shama/service/erp/purchase"
|
||||
"git.kumo.work/shama/service/lib/bean"
|
||||
"github.com/shopspring/decimal"
|
||||
"time"
|
||||
)
|
||||
|
||||
type purchase struct {
|
||||
@@ -106,6 +107,7 @@ type ReplyPurchaseInfo struct {
|
||||
FactoryContact string `json:"factoryContact"`
|
||||
FactoryPhone string `json:"factoryPhone"`
|
||||
FactoryFax string `json:"factoryFax"`
|
||||
DomesticSupply string `json:"domesticSupply"`
|
||||
DeliveryDate *time.Time `json:"deliveryDate"`
|
||||
DeliveryDateEnd *time.Time `json:"deliveryDateEnd"`
|
||||
DeliveryPlace string `json:"deliveryPlace"`
|
||||
@@ -165,6 +167,7 @@ type ArgsPurchaseEdit struct {
|
||||
CurrencyName string // 币种名称
|
||||
CurrencySymbol string // 币种符号
|
||||
CurrencyRate decimal.Decimal // 币种汇率
|
||||
DomesticSupply string // 境内货源地
|
||||
}
|
||||
|
||||
// Edit @TITLE 编辑采购合同
|
||||
|
||||
Reference in New Issue
Block a user