fix:修改产品价格
Build and Deploy Vue3 / build (push) Successful in 4m46s
Build and Deploy Vue3 / deploy (push) Successful in 1m21s

This commit is contained in:
2026-01-30 16:45:21 +08:00
parent 793a96a44f
commit b4260fedb8
+1 -1
View File
@@ -1076,7 +1076,7 @@ const submitForm = () => {
good_group_id: Number(productForm.good_group_id), // 确保是数字类型
cover_id: productForm.cover_id || 0,
inventory: productForm.inventory || 0,
price: Math.round(productForm.price * 100) || 0, // 元转分
price: productForm.price || 0, // 元转分
pay_num: productForm.pay_num || 1,
expire_time: productForm.expire_time || 0,
recommend_rebate: productForm.recommend_rebate || 0,