refactor(sales): 优化销售合同底部条件组件逻辑
- 将 changeCondition 事件改为 updateCondition 事件 - 移除 includesConditionList 状态变量,改用计算属性动态生成 - 在 ConditionItem 组件中添加 visible-change 监听器 - 为 select 组件添加 disabled 属性控制选项禁用状态 - 更新组件数据初始化逻辑,将 componentData 设为 null - 在添加、删除和修改条件时触发验证流程 - 优化事件触发时机,确保数据同步准确性
Showing
2 changed files
with
33 additions
and
17 deletions
-
Please register or sign in to post a comment