|
@@ -201,7 +201,7 @@
|
|
|
countIndex++
|
|
|
let price = ele.discount == 1?ele.priceDiscount:ele.price
|
|
|
valueObj[`priceList${ele.priceListId}`] = ele.count || 0
|
|
|
- valueObj[`priceListText${ele.priceListId}`] = `${ele.name} ${ele.price} 元/${ele.partUnit}`
|
|
|
+ valueObj[`priceListText${ele.priceListId}`] = `${ele.name} ${ele.price} 元/${ele.type == 0?ele.partUnit:''}`
|
|
|
valueObj[`discount${ele.priceListId}`] = ele.discount == 1?[0]:[]
|
|
|
count = count + ele.count*price
|
|
|
priceSchema.push({
|