Administrator
2026-06-14 d41b06249ea93d81d0e933ecffe54c9d740266ef
refs
author Administrator <15274802129@163.com>
Sunday, June 14, 2026 16:50 +0800
committer Administrator <15274802129@163.com>
Sunday, June 14, 2026 16:50 +0800
commitd41b06249ea93d81d0e933ecffe54c9d740266ef
tree c908ae07d211955233d88b9e8d6c85c1a7d6a2c4 tree | zip | gz
parent a8ee6e862461f8a24827fccc622c530d41f4898c view | diff
fix(goods): 修复商品添加和更新页面中的组件方法调用问题

- 在商品添加页面中为 couponRule 和 carriageRule 的 getValue 方法添加空值检查
- 在商品更新页面中为 setValue 方法调用添加存在性验证
- 防止因组件未初始化导致的方法调用错误
- 确保 carriageRuleId 在赋值前进行安全检查
2 files modified
22 ■■■■■ changed files
src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html 7 ●●●●● diff | view | raw | blame | history
src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html 15 ●●●●● diff | view | raw | blame | history