feat(@vben/web-antd): erp-采购订单表单逻辑

- 使用 handleValuesChange
- 优化 discountPrice 和 totalPrice 的计算逻辑
- 改进子表单的验证和数据处理
- 统一数值格式化处理
- 优化表格数据的更新方式
This commit is contained in:
nehc
2025-07-25 19:20:39 +08:00
parent e319888240
commit 8a7239ce24
4 changed files with 97 additions and 50 deletions

View File

@@ -66,7 +66,7 @@ function handleUpdateValue(row: any) {
} else {
tableData.value[index] = row;
}
emit('update:products', tableData.value);
emit('update:products', [...tableData.value]);
}
/** 表格配置 */