|
@@ -148,7 +148,7 @@ export default {
|
|
|
let num = Number(item.bigCount)>0 ? Number(item.bigCount) : Number(item.smallCount)
|
|
let num = Number(item.bigCount)>0 ? Number(item.bigCount) : Number(item.smallCount)
|
|
|
let unitPrice = item.userPrice ? item.userPrice : 0
|
|
let unitPrice = item.userPrice ? item.userPrice : 0
|
|
|
let current = {productId:item.id,bigNum:item.bigCount,smallNum:item.smallCount,classId:item.classId,num:num,
|
|
let current = {productId:item.id,bigNum:item.bigCount,smallNum:item.smallCount,classId:item.classId,num:num,
|
|
|
- itemId:item.itemId,property:item.property,unitType:unitType,unitPrice:unitPrice}
|
|
|
|
|
|
|
+ itemId:item.itemId,property:item.property,unitType:unitType,unitPrice:unitPrice,userPrice:unitPrice,bigUnit:item.bigUnit,smallUnit:item.smallUnit}
|
|
|
product.push(current)
|
|
product.push(current)
|
|
|
})
|
|
})
|
|
|
let options = {sendCost:this.sendCost, ghsId:this.ghsId, modifyPrice: this.modifyPrice, product:JSON.stringify(product), payMode:this.payMode}
|
|
let options = {sendCost:this.sendCost, ghsId:this.ghsId, modifyPrice: this.modifyPrice, product:JSON.stringify(product), payMode:this.payMode}
|