feat: 4项需求实现
1. 供应商/客户编码自动生成(S001/C001...),新建表单隐藏编码字段,编辑保留 2. 财务管理"全部记录"移为第一个 tab 3. 入库单列表 tab 排除 pending 单据,提交后自动移入审核 tab 4. 出库单列表同上;出库表单按仓库+商品自动填最大可用库存数量 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -416,13 +416,15 @@ class _PartnerFormDialogState extends ConsumerState<_PartnerFormDialog> {
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
Row(children: [
|
||||
Expanded(
|
||||
child: TextFormField(
|
||||
controller: _codeCtrl,
|
||||
decoration: const InputDecoration(labelText: '编码'),
|
||||
if (isEdit) ...[
|
||||
Expanded(
|
||||
child: TextFormField(
|
||||
controller: _codeCtrl,
|
||||
decoration: const InputDecoration(labelText: '编码'),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
const SizedBox(width: 12),
|
||||
],
|
||||
Expanded(
|
||||
child: TextFormField(
|
||||
controller: _contactCtrl,
|
||||
|
||||
Reference in New Issue
Block a user