概述->新建或编辑(出库/入库)信息,编辑的时候显示保存的成本单价和销售单价
| | |
| | | Remark string `gorm:"type:varchar(1024);comment:备注" json:"remark"` |
| | | IsInternalOutput bool `json:"isInternalOutput"` //是否调拨产生的出库 |
| | | |
| | | Cost decimal.Decimal `json:"cost"` //成本单价 |
| | | SalePrice decimal.Decimal `json:"salePrice"` //销售单价 |
| | | Cost decimal.Decimal `json:"cost" gorm:"-"` //成本单价 |
| | | SalePrice decimal.Decimal `json:"salePrice" gorm:"-"` //销售单价 |
| | | } |
| | | |
| | | OperationDetailsSearch struct { |
| | |
| | | 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"` |
| | | |
| | | Cost decimal.Decimal `json:"cost"` //成本单价 |
| | | SalePrice decimal.Decimal `json:"salePrice"` //销售单价 |
| | | } |
| | | |
| | | type OperationList struct { |