提交 5a4bd189 编写于 作者: doc_wei's avatar doc_wei

feat: 套餐订单修改

上级 e8bbbed6
......@@ -85,7 +85,7 @@ layui.config({
} else if (layEvent == 'select'){ // 详情
select(data)
} else if (layEvent == 'complatePay'){ // 完成支付
layEvent(data)
complatePay(data)
} else if (layEvent == 'cancleOrder'){ // 取消订单
cancleOrder(data)
} else if (layEvent == 'refundMealOrder'){ // 退款
......@@ -108,6 +108,7 @@ layui.config({
// 取消订单
function cancleOrder(data) {
// TODO 删除该功能
layer.confirm('确认取消该订单吗?', {icon: 3, title: '取消确认'}, function (index) {
layer.close(index);
AjaxPostUtil.request({url: shopBasePath + "cancleMealOrder", params: {id: data.id}, type: 'json', method: "PUT", callback: function (json) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册