Commit 3f7aa772 by 高淑倩

检验退款流程

parent ccd09302
......@@ -74,9 +74,7 @@ wxService.page({
const { result, data } = res.data
if (result == 0) {
wx.hideLoading()
this.setData({
})
this.initOrderList(this.data.pageNo, this.data.pageSize, this.data.trade)
}
}
})
......
......@@ -50,22 +50,24 @@ wxService.page({
pics:[]
},
submitRefund() {
if (this.data.curType.value == 0) {
var selectGoods = this.data.cartList.filter(item => item.checked)
if (selectGoods.length == 0) {
wx.showToast({
title: '请选择退款原因',
title: '请选择退款商品',
icon: 'none'
})
return false
}
var selectGoods = this.data.cartList.filter(item => item.checked)
if (selectGoods.length == 0) {
if (this.data.curType.value == 0) {
wx.showToast({
title: '请选择退款商品',
title: '请选择退款原因',
icon: 'none'
})
return false
}
console.log('selectGoods', selectGoods)
var refundCreateDto = this.data.refundCreateDto
......
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