This commit is contained in:
2024-09-03 17:47:24 +08:00
parent 05e2ab8bb8
commit f2014976c9
4 changed files with 27 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ package erp
import (
"context"
"git.kumo.work/shama/service/client"
bean2 "git.kumo.work/shama/service/erp/bean"
product2 "git.kumo.work/shama/service/erp/product"
"git.kumo.work/shama/service/lib/bean"
"github.com/shopspring/decimal"
@@ -93,7 +94,7 @@ type ProductAdd struct {
EngDescription string // 英文描述
PackageDescription string // 包装中文描述
PackageEngDescription string // 包装英文描述
PackageInfoFile string // 包装描述文件
PackageInfoFile bean2.FileData // 包装描述文件
Packages []ProductPackage // 包装
Customs ProductCustoms // 海关
Quotes []product2.ArgsQuoteAdd // 工厂报价
@@ -172,7 +173,7 @@ type ReplyProductInfo struct {
EngDescription string `json:"engDescription"`
PackageDescription string `json:"packageDescription"`
PackageEngDescription string `json:"packageEngDescription"`
PackageInfoFile string `json:"packageInfoFile"`
PackageInfoFile bean2.FileData `json:"packageInfoFile"`
CreatedStaffId int64 `json:"createdStaffId"`
DepartmentId int64 `json:"departmentId"`
CreatedAt *time.Time `json:"createdAt"`