zhangqian
2024-03-29 3afa1df4c523ebd8cf49384fbb1ad820979aa228
model/purchase/purchase.go
@@ -27,7 +27,7 @@
   Warehouse           string              `json:"warehouse" form:"warehouse" gorm:"type:varchar(255);not null;default '';comment:收货仓库"`                   //收货仓库
   WarehouseAddress    string              `json:"warehouseAddress" form:"warehouseAddress" gorm:"type:varchar(512);default '';comment:收货仓库地址"`            //收货仓库地址
   Principal           string              `json:"principal" form:"principal" gorm:"type:varchar(255);not null;default '';comment:仓库负责人"`                  //仓库负责人
   SourceOrder         string              `json:"sourceOrder" gorm:"type:varchar(255);comment:来源单据"`                                                      //来源单据
   SourceOrder         string              `json:"sourceOrder" gorm:"type:varchar(255);comment:来源单据"`                                                      //来源单据 ,销售明细编码
   Quantity            decimal.Decimal     `json:"quantity" form:"quantity" gorm:"type:decimal(12,4);not null;comment:采购数量"`                               // 采购数量
   TotalPrice          decimal.Decimal     `json:"totalPrice" form:"totalPrice" gorm:"type:decimal(12,2);not null;default '';comment:价税合计"`                //价税合计
   WholeDiscountType   WholeDiscountType   `json:"wholeDiscountType" form:"wholeDiscountType" gorm:"type:tinyint(1);not null;default '';comment:整单折扣"`     //整单折扣类型