feat(client): 库存列表批次号与生产日期列位对调(原型同步)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,18 +52,18 @@ class _InventoryListScreenState extends ConsumerState<InventoryListScreen> {
|
||||
static const _screenId = 'inventory_list';
|
||||
static const _statusOptions = ['全部', '在售', '库存', '已售'];
|
||||
|
||||
// 列序照原型 inventory.html COLS:商品/规格/系列/批次/库存/成本价/单价/生产/入库/供应商/状态/操作。
|
||||
// 列序照原型 inventory.html COLS:商品/规格/系列/生产/库存/成本价/单价/批次/入库/供应商/状态/操作(批次号↔生产日期 2026-07-14 对调)。
|
||||
// 成本价=入库进价(unitPrice),总价=库存×成本价(2026-07-03 用户拍板:原「单价/参考售价」列换掉)。
|
||||
// 仓库/备注原型没有 → 默认隐藏的可选列(列设置可开)。
|
||||
static const _colDefs = [
|
||||
ColDef('product', '商品', required: true),
|
||||
ColDef('spec', '规格'),
|
||||
ColDef('series', '系列'),
|
||||
ColDef('batch', '批次号'),
|
||||
ColDef('prodDate', '生产日期'),
|
||||
ColDef('qty', '库存'),
|
||||
ColDef('cost', '成本价'),
|
||||
ColDef('price', '总价'),
|
||||
ColDef('prodDate', '生产日期'),
|
||||
ColDef('batch', '批次号'),
|
||||
ColDef('inTime', '入库时间'),
|
||||
ColDef('supplier', '供应商'),
|
||||
ColDef('warehouse', '仓库'),
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 426 KiB After Width: | Height: | Size: 424 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 419 KiB After Width: | Height: | Size: 418 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 427 KiB After Width: | Height: | Size: 426 KiB |
Reference in New Issue
Block a user