|
@@ -35,6 +35,7 @@ type ContractPrePaymentRespItem struct {
|
|
Amount float64 `gorm:"column:amount" json:"amount" description:"换算后的金额(人民币)"`
|
|
Amount float64 `gorm:"column:amount" json:"amount" description:"换算后的金额(人民币)"`
|
|
OriginAmount float64 `gorm:"column:origin_amount" json:"origin_amount" description:"到款金额"`
|
|
OriginAmount float64 `gorm:"column:origin_amount" json:"origin_amount" description:"到款金额"`
|
|
CurrencyUnit string `gorm:"column:currency_unit" json:"currency_unit" description:"货币国际代码"`
|
|
CurrencyUnit string `gorm:"column:currency_unit" json:"currency_unit" description:"货币国际代码"`
|
|
|
|
+ UnitName string `gorm:"unit_name" json:"unit_name" description:"单位名称"`
|
|
SellerId int `gorm:"column:seller_id" json:"seller_id" description:"销售ID"`
|
|
SellerId int `gorm:"column:seller_id" json:"seller_id" description:"销售ID"`
|
|
SellerName string `gorm:"column:seller_name" json:"seller_name" description:"销售名称"`
|
|
SellerName string `gorm:"column:seller_name" json:"seller_name" description:"销售名称"`
|
|
AdminId int `gorm:"column:admin_id" json:"admin_id" description:"操作人ID"`
|
|
AdminId int `gorm:"column:admin_id" json:"admin_id" description:"操作人ID"`
|
|
@@ -42,7 +43,7 @@ type ContractPrePaymentRespItem struct {
|
|
Remark string `gorm:"column:remark" json:"remark" description:"备注信息"`
|
|
Remark string `gorm:"column:remark" json:"remark" description:"备注信息"`
|
|
StartDate string `gorm:"column:start_date" json:"start_date" description:"约定开始时间"`
|
|
StartDate string `gorm:"column:start_date" json:"start_date" description:"约定开始时间"`
|
|
EndDate string `gorm:"column:end_date" json:"end_date" description:"约定结束时间"`
|
|
EndDate string `gorm:"column:end_date" json:"end_date" description:"约定结束时间"`
|
|
- NewCompany int `gorm:"column:new_company" json:"new_company" description:"是否为新客户: 0-否; 1-是"`
|
|
|
|
|
|
+ NewCompany int `gorm:"column:new_company" json:"new_company" description:"是否为新客户: 0-否; 1-是"`
|
|
CreateTime string `gorm:"autoCreateTime;column:create_time" json:"create_time" description:"创建时间"`
|
|
CreateTime string `gorm:"autoCreateTime;column:create_time" json:"create_time" description:"创建时间"`
|
|
ModifyTime string `gorm:"autoUpdateTime:milli;column:modify_time" json:"modify_time" description:"最后更新时间"`
|
|
ModifyTime string `gorm:"autoUpdateTime:milli;column:modify_time" json:"modify_time" description:"最后更新时间"`
|
|
}
|
|
}
|
|
@@ -141,6 +142,7 @@ type PrepayEditReq struct {
|
|
PrePayId int `json:"pre_pay_id" binding:"required,gte=1" description:"预付款ID"`
|
|
PrePayId int `json:"pre_pay_id" binding:"required,gte=1" description:"预付款ID"`
|
|
PrepayAddReq
|
|
PrepayAddReq
|
|
}
|
|
}
|
|
|
|
+
|
|
// PrepayDelReq 删除到款预登记
|
|
// PrepayDelReq 删除到款预登记
|
|
type PrepayDelReq struct {
|
|
type PrepayDelReq struct {
|
|
PrePayId int `json:"pre_pay_id" binding:"required,gte=1" description:"预付款ID"`
|
|
PrePayId int `json:"pre_pay_id" binding:"required,gte=1" description:"预付款ID"`
|