fix: 创建订单时传递length、width、area参数
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -394,7 +394,10 @@ export default {
|
|||||||
items: this.orderItems.map(item => ({
|
items: this.orderItems.map(item => ({
|
||||||
productId: item.productId,
|
productId: item.productId,
|
||||||
quantity: item.quantity,
|
quantity: item.quantity,
|
||||||
price: item.price
|
price: item.price,
|
||||||
|
length: item.length || null,
|
||||||
|
width: item.width || null,
|
||||||
|
area: item.area || null
|
||||||
})),
|
})),
|
||||||
discountRate: 100, // 保留折扣率逻辑,默认100%
|
discountRate: 100, // 保留折扣率逻辑,默认100%
|
||||||
discountMoney: parseFloat(this.discountMoney) || 0,
|
discountMoney: parseFloat(this.discountMoney) || 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user