|
@@ -99,6 +99,9 @@
|
|
|
<span>包装人工费: {{ item.expensePrice }}</span>
|
|
|
</div>
|
|
|
<div style="line-height: 28px">
|
|
|
+ <span>管理费: {{ item.managementFeesPrice }}</span>
|
|
|
+ </div>
|
|
|
+ <div style="line-height: 28px">
|
|
|
<span>单价: ¥{{ moneyFormat(item.productPrice, 2) }}</span>
|
|
|
</div>
|
|
|
<div style="line-height: 28px">
|
|
@@ -528,6 +531,7 @@ export default {
|
|
|
productPrice: data.price,
|
|
|
quantity: undefined,
|
|
|
expensePrice: data.expensePrice,
|
|
|
+ managementFeesPrice: data.managementFeesPrice,
|
|
|
deliverGoodsPrice: data.deliverGoodsPrice,
|
|
|
processPrice: data.processPrice,
|
|
|
processCostPrice: data.processCostPrice,
|
|
@@ -567,6 +571,7 @@ export default {
|
|
|
productPrice: data.price,
|
|
|
quantity: undefined,
|
|
|
expensePrice: data.expensePrice,
|
|
|
+ managementFeesPrice: data.managementFeesPrice,
|
|
|
deliverGoodsPrice: data.deliverGoodsPrice,
|
|
|
processPrice: data.processPrice,
|
|
|
processCostPrice: data.processCostPrice,
|
|
@@ -609,6 +614,7 @@ export default {
|
|
|
productPrice: data.price,
|
|
|
quantity: undefined,
|
|
|
expensePrice: data.expensePrice,
|
|
|
+ managementFeesPrice: data.managementFeesPrice,
|
|
|
deliverGoodsPrice: data.deliverGoodsPrice,
|
|
|
processPrice: data.processPrice,
|
|
|
processCostPrice: data.processCostPrice,
|
|
@@ -684,6 +690,9 @@ export default {
|
|
|
if (item.expensePrice) {
|
|
|
money = parseFloat(Number(money) + Number(item.expensePrice)).toFixed(2)
|
|
|
}
|
|
|
+ if (item.managementFeesPrice) {
|
|
|
+ money = parseFloat(Number(money) + Number(item.managementFeesPrice)).toFixed(2)
|
|
|
+ }
|
|
|
if (item.deliverGoodsPrice) {
|
|
|
money = parseFloat(Number(money) + Number(item.deliverGoodsPrice)).toFixed(2)
|
|
|
}
|
|
@@ -747,6 +756,7 @@ export default {
|
|
|
let processPrice = 0
|
|
|
let expressPriceAmount = 0
|
|
|
let expensePriceAmount = 0
|
|
|
+ let managementFeesPriceAmount = 0
|
|
|
let packingMaterialAmount = 0
|
|
|
this.form.contractProductList.map((item) => {
|
|
|
if (item.quantity) {
|
|
@@ -765,6 +775,9 @@ export default {
|
|
|
if (item.expensePrice) {
|
|
|
expensePriceAmount = parseFloat(Number(expensePriceAmount) + Number(item.expensePrice) * Number(item.quantity)).toFixed(2)
|
|
|
}
|
|
|
+ if (item.managementFeesPrice) {
|
|
|
+ managementFeesPriceAmount = parseFloat(Number(managementFeesPriceAmount) + Number(item.managementFeesPrice) * Number(item.quantity)).toFixed(2)
|
|
|
+ }
|
|
|
if (item.partsContractProductList && item.partsContractProductList.length > 0) {
|
|
|
item.partsContractProductList.map((itemBOM) => {
|
|
|
if (itemBOM.quantity && itemBOM.price) {
|
|
@@ -779,6 +792,7 @@ export default {
|
|
|
this.form.processPrice = processPrice
|
|
|
this.form.expressPriceAmount = expressPriceAmount
|
|
|
this.form.expensePriceAmount = expensePriceAmount
|
|
|
+ this.form.managementFeesPriceAmount = managementFeesPriceAmount
|
|
|
this.form.packingMaterialAmount = packingMaterialAmount
|
|
|
this.form.contractAmount = parseFloat(
|
|
|
Number(productPriceAmount) +
|
|
@@ -786,6 +800,7 @@ export default {
|
|
|
Number(processPrice) +
|
|
|
Number(expressPriceAmount) +
|
|
|
Number(expensePriceAmount) +
|
|
|
+ Number(managementFeesPriceAmount) +
|
|
|
Number(packingMaterialAmount)
|
|
|
).toFixed(2)
|
|
|
this.form.amount = this.form.contractAmount
|
|
@@ -953,6 +968,7 @@ export default {
|
|
|
getPrice({ id: item.productColorId, quantity: item.quantity }).then((res) => {
|
|
|
item.productPrice = res.data.data.bomPrice
|
|
|
item.expensePrice = res.data.data.expensePrice
|
|
|
+ item.managementFeesPrice = res.data.data.managementFeesPrice
|
|
|
item.deliverGoodsPrice = res.data.data.deliverGoodsPrice
|
|
|
item.expressPrice = res.data.data.expressPrice
|
|
|
item.expressCostPrice = res.data.data.expressCostPrice
|