v-Brocloni 3 lat temu
rodzic
commit
144449a5f2
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      public/assets/js/backend/unishop/order.js

+ 2
- 1
public/assets/js/backend/unishop/order.js Wyświetl plik

@@ -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);
});
});
},


Ładowanie…
Anuluj
Zapisz