zhangqian
2024-06-26 2d911d76bffda47005f8a30eb8f3719316bf43c9
models/operation_details.go
@@ -25,6 +25,13 @@
      ToLocation       Location        `json:"toLocation"      gorm:"foreignKey:ToLocationID;references:Id"`    //目标位置
      TotalGrossWeight decimal.Decimal `json:"totalGrossWeight" gorm:"type:decimal(20,3);comment:总毛重"`
      TotalNetWeight   decimal.Decimal `json:"totalNetWeight" gorm:"type:decimal(20,3);comment:总净重"`
      AuxiliaryAmount  decimal.Decimal `json:"auxiliaryAmount" gorm:"type:decimal(20,3);comment:辅助数量"`
      AuxiliaryUnit    string          `json:"auxiliaryUnit" gorm:"type:varchar(191);comment:辅助单位"`
      Remark           string          `gorm:"type:varchar(1024);comment:备注" json:"remark"`
      IsInternalOutput bool            `json:"isInternalOutput"` //是否调拨产生的出库
      Cost      decimal.Decimal `json:"cost" `      //成本单价
      SalePrice decimal.Decimal `json:"salePrice" ` //销售单价
   }
   OperationDetailsSearch struct {