Commit d5d2ded7 by 李伟康

批量退款

1 parent a55ba29b
......@@ -1574,17 +1574,18 @@ export default {
this.$set(this.searchFormData[3], 'optionList', this.$common.utils.deepClone(merchantNameList))
},
async batchRefundOrder(){
let {selectList} = this,
orderCodes = []
async batchRefundOrder () {
let { selectList } = this,
orderCodes = []
console.log(selectList)
selectList.map(e => orderCodes.push(e.orderCode))
const res = await this.$apis.orderManage.batchRefundOrder({
orderCodes,
refundType:1
refundType: 1
})
console.log(res)
this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false)
this.batchRefundVisible = false
if (res) this.searchForm.requestSource != 0 ? this.handleSearch() : this.$refs.allOrderRef.refreshTable(false)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!