fix:修改产品价格
This commit is contained in:
@@ -1076,7 +1076,7 @@ const submitForm = () => {
|
|||||||
good_group_id: Number(productForm.good_group_id), // 确保是数字类型
|
good_group_id: Number(productForm.good_group_id), // 确保是数字类型
|
||||||
cover_id: productForm.cover_id || 0,
|
cover_id: productForm.cover_id || 0,
|
||||||
inventory: productForm.inventory || 0,
|
inventory: productForm.inventory || 0,
|
||||||
price: Math.round(productForm.price * 100) || 0, // 元转分
|
price: productForm.price || 0, // 元转分
|
||||||
pay_num: productForm.pay_num || 1,
|
pay_num: productForm.pay_num || 1,
|
||||||
expire_time: productForm.expire_time || 0,
|
expire_time: productForm.expire_time || 0,
|
||||||
recommend_rebate: productForm.recommend_rebate || 0,
|
recommend_rebate: productForm.recommend_rebate || 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user