liujiandao
2024-01-26 9ea7668bbc3ef7159c0daccf41a91cb4e46223fb
物料重量小数位数修改
1个文件已修改
2 ■■■ 已修改文件
models/material.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
models/material.go
@@ -59,7 +59,7 @@
        ControlStrategy     constvar.InvoicingStrategy `gorm:"type:int(11);comment:控制策略" json:"controlStrategy"`             //控制策略
        BuyExplain          string                     `gorm:"type:varchar(512);comment:采购说明" json:"buyExplain"`             //采购说明
        Principal           string                     `gorm:"type:varchar(255);comment:负责人" json:"principal"`               //负责人
        Weight              decimal.Decimal            `gorm:"type:decimal(20,2);comment:重量" json:"weight"`                  //重量
        Weight              decimal.Decimal            `gorm:"type:decimal(20,3);comment:重量" json:"weight"`                  //重量
        Volume              decimal.Decimal            `gorm:"type:decimal(20,2);comment:体积" json:"volume"`                  //体积
        MakeAdvanceTime     decimal.Decimal            `gorm:"type:decimal(20,2);comment:制造前置时间" json:"makeAdvanceTime"`     //制造前置时间(天)
        OrderAdvanceTime    decimal.Decimal            `gorm:"type:decimal(20,2);comment:订单准备天数" json:"orderAdvanceTime"`    //订单准备天数(天)