Commit 10dc0ab2 authored by qipeng's avatar qipeng

下单 增加orderImgList

parent 47b87cc6
...@@ -94,12 +94,12 @@ export default { ...@@ -94,12 +94,12 @@ export default {
handPayment(productUrl,isPay,sellingPrice){//当前视频是否需要支付下载费用 handPayment(productUrl,isPay,sellingPrice){//当前视频是否需要支付下载费用
//isPay 0为未支付 1为已支付 //isPay 0为未支付 1为已支付
if(isPay==0){//originalPrice 原价 sellingPrice售价 settlementPrice结算价 if(isPay==0){//originalPrice 原价 sellingPrice售价 settlementPrice结算价
this.upLoad(sellingPrice) this.upLoad(sellingPrice,productUrl)
}else{ }else{
handleDownload(productUrl) handleDownload(productUrl)
} }
}, },
upLoad(sellingPrice){//下单 upLoad(sellingPrice,productUrl){//下单
var data = { var data = {
companyId:this.merchantMessage[0].companyId||'',//公司ID companyId:this.merchantMessage[0].companyId||'',//公司ID
orderMoney:sellingPrice,//订单总价 orderMoney:sellingPrice,//订单总价
...@@ -119,7 +119,10 @@ export default { ...@@ -119,7 +119,10 @@ export default {
orderImgList:[],////订单图片 orderImgList:[],////订单图片
couponList:[],//券信息 couponList:[],//券信息
} }
var imgList = {
imgUrl:productUrl
}
orderProductListData.orderImgList.push(imgList)
var extendContentData={ var extendContentData={
openid:this.openid, openid:this.openid,
projectAddress:this.merchantMessage[0].projectAddress||'', projectAddress:this.merchantMessage[0].projectAddress||'',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment