|
|
|
@ -114,6 +114,9 @@ Scene({ |
|
|
|
if(settleType){ |
|
|
|
this.data.settleType = String(settleType) |
|
|
|
} |
|
|
|
if(this.data.orderStatus == 42 && this.data.settleType == '3'){ |
|
|
|
this.data.settleType = '1' |
|
|
|
} |
|
|
|
this.data.orderStatus = orderList[0].status |
|
|
|
this.setData({ |
|
|
|
height: app.globalData.fragmentHeight, |
|
|
|
@ -163,9 +166,16 @@ Scene({ |
|
|
|
var form_data = 'params.' + e.currentTarget.id |
|
|
|
this.setData({ [form_data]: e.detail }) |
|
|
|
}, |
|
|
|
fileChange: function({detail}){ |
|
|
|
this.data.imageList = [] |
|
|
|
for (let index = 0; index < detail.fileList.length; index++) { |
|
|
|
this.data.imageList.push(detail.fileList[index].url) |
|
|
|
} |
|
|
|
}, |
|
|
|
agentPayment: function(settleType){ |
|
|
|
wx.showLoading({ title: '正在处理', mask: true }) |
|
|
|
this.data.requesting = true |
|
|
|
|
|
|
|
this.data.params.settleType = Number(settleType) |
|
|
|
paymentOrder(this.data.params).then(result => { |
|
|
|
wx.hideLoading() |
|
|
|
|