|
@@ -427,6 +427,7 @@ export default {
|
|
var row = this.orderInfo.orderProducts[index]
|
|
var row = this.orderInfo.orderProducts[index]
|
|
var estimatePrice = 0
|
|
var estimatePrice = 0
|
|
var serviceAmount = 0
|
|
var serviceAmount = 0
|
|
|
|
+ console.log(this.orderInfo.serviceId)
|
|
if (row.productId) {
|
|
if (row.productId) {
|
|
var { servicePrice, price } = this.serviceCategoryListSpecData.find(
|
|
var { servicePrice, price } = this.serviceCategoryListSpecData.find(
|
|
item => item.serviceCategoryItemId == row.productId
|
|
item => item.serviceCategoryItemId == row.productId
|
|
@@ -434,6 +435,8 @@ export default {
|
|
estimatePrice += price * row.num
|
|
estimatePrice += price * row.num
|
|
if (this.orderInfo.serviceId) {
|
|
if (this.orderInfo.serviceId) {
|
|
serviceAmount += servicePrice * row.num
|
|
serviceAmount += servicePrice * row.num
|
|
|
|
+ } else {
|
|
|
|
+ serviceAmount = 0
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (row?.pgOrderProductRecycles?.length) {
|
|
if (row?.pgOrderProductRecycles?.length) {
|