export default { methods: { /** * 撤销退款申请 * @param {Object} order_goods_id * @param {Object} callback */ cancleRefund(order_goods_id, callback) { uni.showModal({ content: this.$lang('order.refund.cancelRefundContent'), cancelText: this.$lang('order.refund.cancelRefundCancelText'), cancelColor: '#898989', success: res => { if (res.confirm) { this.$api.sendRequest({ url: '/api/orderrefund/cancel', data: { order_goods_id }, success: res => { typeof callback == 'function' && callback(res); } }) } } }) }, } }