zhangqian
2023-10-31 5f0170df9787c6f3ff17cc168b3f2e3f511453f6
model/request/salesDetails.go
@@ -11,7 +11,7 @@
type SalesDetails struct {
   ClientId            int              `json:"clientId" gorm:"column:client_id;type:int;comment:客户id"`
   Number              string           `json:"number" gorm:"column:number;type:varchar(255);comment:销售子单号"`
   Number              string           `json:"number" gorm:"column:number;type:varchar(255);comment:销售明细单号"`
   SaleChanceId        int              `json:"saleChanceId" gorm:"column:sale_chance_id;type:int;comment:销售机会id"`
   SaleType            int              `json:"saleType" gorm:"column:sale_type;type:int;comment:销售类型"`
   SignTime            string           `json:"signTime" gorm:"column:sign_time;type:datetime;comment:签单时间"`
@@ -27,6 +27,9 @@
   LogisticCompany     string           `json:"logisticCompany" gorm:"column:logistic_company;type:varchar(255);comment:物流公司"`
   LogisticNumber      string           `json:"logisticNumber" gorm:"column:logistic_number;type:varchar(255);comment:物流单号"`
   LogisticCost        float64          `json:"logisticCost" gorm:"column:logistic_cost;type:decimal(10,2);comment:物流费用"`
   CodeStandID         string           `json:"codeStandID"` //编码id
   DeliverType         int              `json:"deliverType"` //交付类型:1.一次发货,2.多次发货
   QuotationId         int              `json:"quotationId" gorm:"column:quotation_id;type:int;comment:报价单id"`
}
type UpdateSalesDetails struct {
@@ -36,6 +39,9 @@
type GetSalesDetailsList struct {
   PageInfo
   KeywordType constvar.SalesDetailsKeywordType `json:"keywordType"`
   Keyword     string                           `json:"keyword"`
   KeywordType  constvar.SalesDetailsKeywordType `json:"keywordType"`
   Keyword      string                           `json:"keyword"`
   SaleChanceId int                              `json:"saleChanceId"` //销售机会id
   ClientId     int                              `json:"clientId"`     //客户id
   Number       string                           `json:"number"`       //销售明细单号
}