链接:/src/pages/supplier/afterOrder/index.vue
查找函数:changeMenu()
添加:
case '55':
this.getRefundGoodsData(row.id, row.refund_type)
break
//同意退货
getRefundGoodsData(id) {
this.delfromData = {
title: '是否立即退货',
url: `/refund/agree/${id}`,
method: 'get',
}
this.$modalSure(this.delfromData)
.then((res) => {
this.$Message.success(res.msg)
this.getOrderList()
this.getData(this.orderId, 1)
})
.catch((res) => {
this.$Message.error(res.msg)
})
},
改完后记得打包上传