feat(@vben/web-antd): erp-采购订单表单逻辑
- 使用 handleValuesChange - 优化 discountPrice 和 totalPrice 的计算逻辑 - 改进子表单的验证和数据处理 - 统一数值格式化处理 - 优化表格数据的更新方式
This commit is contained in:
@@ -66,7 +66,7 @@ function handleUpdateValue(row: any) {
|
||||
} else {
|
||||
tableData.value[index] = row;
|
||||
}
|
||||
emit('update:products', tableData.value);
|
||||
emit('update:products', [...tableData.value]);
|
||||
}
|
||||
|
||||
/** 表格配置 */
|
||||
|
||||
Reference in New Issue
Block a user