|
@@ -233,7 +233,6 @@
|
|
|
<template #default="scope"> 增值税{{ scope.row.taxRate }}% </template>
|
|
<template #default="scope"> 增值税{{ scope.row.taxRate }}% </template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column prop="unit" label="单位" align="center" />
|
|
<el-table-column prop="unit" label="单位" align="center" />
|
|
|
- <el-table-column prop="price" label="单价" align="center" />
|
|
|
|
|
<el-table-column prop="certificatePrice" label="最低售价" align="center" />
|
|
<el-table-column prop="certificatePrice" label="最低售价" align="center" />
|
|
|
<el-table-column prop="minOrderQuantity" label="起订量" align="center" />
|
|
<el-table-column prop="minOrderQuantity" label="起订量" align="center" />
|
|
|
<el-table-column prop="unitPrice" label="含税单价" align="center">
|
|
<el-table-column prop="unitPrice" label="含税单价" align="center">
|
|
@@ -610,6 +609,7 @@ const submitForm = () => {
|
|
|
orderPrice: product.unitPrice, // 订单单价(含税单价)
|
|
orderPrice: product.unitPrice, // 订单单价(含税单价)
|
|
|
orderQuantity: product.quantity, // 订购数量
|
|
orderQuantity: product.quantity, // 订购数量
|
|
|
subtotal: product.amount, // 行小计金额
|
|
subtotal: product.amount, // 行小计金额
|
|
|
|
|
+ taxRate: product.taxRate,
|
|
|
minSellingPrice: product.certificatePrice, // 最低销售价
|
|
minSellingPrice: product.certificatePrice, // 最低销售价
|
|
|
preDeliveryDate: form.value.expectedDeliveryTime, // 预计送达时间
|
|
preDeliveryDate: form.value.expectedDeliveryTime, // 预计送达时间
|
|
|
status: '0' // 状态(0正常)
|
|
status: '0' // 状态(0正常)
|
|
@@ -711,7 +711,7 @@ const handleProductConfirm = (product: BaseVO) => {
|
|
|
price: product.standardPrice || 0, // 单价(使用平档价)
|
|
price: product.standardPrice || 0, // 单价(使用平档价)
|
|
|
certificatePrice: product.minSellingPrice || 0, // 最低售价
|
|
certificatePrice: product.minSellingPrice || 0, // 最低售价
|
|
|
minOrderQuantity: product.minOrderQuantity || 1, // 起订量
|
|
minOrderQuantity: product.minOrderQuantity || 1, // 起订量
|
|
|
- unitPrice: product.certificatePrice || 0, // 含税单价(默认使用最低售价)
|
|
|
|
|
|
|
+ unitPrice: product.memberPrice || 0, // 含税单价(默认使用最低售价)
|
|
|
quantity: product.minOrderQuantity || 1, // 数量(默认使用起订量)
|
|
quantity: product.minOrderQuantity || 1, // 数量(默认使用起订量)
|
|
|
amount: ((product.certificatePrice || 0) * (product.minOrderQuantity || 1)).toFixed(2) // 小计 = 含税单价 × 数量
|
|
amount: ((product.certificatePrice || 0) * (product.minOrderQuantity || 1)).toFixed(2) // 小计 = 含税单价 × 数量
|
|
|
};
|
|
};
|