|
|
@@ -145,11 +145,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
click: function (data,rowElement) { |
|
|
|
Layer.prompt({title: '请输入退款金额', formType: 2}, function(text){ |
|
|
|
Fast.api.ajax({ |
|
|
|
url:"/admin.php/unishop/order/refundShow?id="+rowElement.id+"&refund_fee="+text |
|
|
|
url:"/admin.php/unishop/order/doRefund?id="+rowElement.id+"&refund_fee="+text |
|
|
|
}, function (data, ret) { |
|
|
|
Layer.closeAll(); |
|
|
|
Layer.alert(ret.msg); |
|
|
|
}, function (data, ret) { |
|
|
|
Layer.alert(ret.msg); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|