refactor: replace transfer outbound type with production outbound across frontend and backend

This commit is contained in:
DXC
2026-03-19 17:13:24 +08:00
parent 29ab7432a3
commit faea0379da
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ class TransOutbound(db.Model):
barcode = db.Column(db.String(100)) # 实际扫码内容
# 业务信息
outbound_type = db.Column(db.String(50), default='SALES') # SALES(销售), USE(领用), TRANSFER(调拨)
outbound_type = db.Column(db.String(50), default='SALES') # SALES(销售), USE(领用), PRODUCTION(生产)
quantity = db.Column(db.Numeric(19, 4), nullable=False)
# [新增] 出库时的单价,用于计算金额