Browse Source

11

undefined
loumengning 4 years ago
parent
commit
a8f6f8c026
1 changed files with 13 additions and 8 deletions
  1. +13
    -8
      public/assets/js/backend/unishop/order.js

+ 13
- 8
public/assets/js/backend/unishop/order.js View File

@@ -166,14 +166,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
window.location.href="order/export"
});
$(document).on("click", ".btn-finish", function () {
// window.location.href="order/finish"
Fast.api.ajax({
url:"unishop/order/finish",
loading:false
}, function(data, ret){
//成功回调
// layer.msg('操作成功!');
});
Layer.confirm(
__('确定要完成所有订单?', ids.length),
{icon: 3, title: __('Warning'), offset: 0, shadeClose: true},
function (index) {
Fast.api.ajax({
url:"unishop/order/finish",
loading:false
}, function(data, ret){
//成功回调
// layer.msg('操作成功!');
});
}
);
});
},
recyclebin: function () {


Loading…
Cancel
Save