|
|
@@ -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 () { |
|
|
|