去掉无用的模板文件

封装ajax提示方法
This commit is contained in:
2021-03-20 05:06:27 +08:00
parent bd9c315d7e
commit c564147f20
68 changed files with 664 additions and 21421 deletions
+2 -6
View File
@@ -47,9 +47,7 @@ var grid = null;
var formData = new FormData();
formData.append('file', file);
formData.append('customer_id', get_customer_id());
var loading = layer.msg('数据提交中...', {
icon: 16, shade: 0.1, time: 1000 * 120
});
var loading = showLoading();
$.ajax(url, {
method: "post",
data: formData,
@@ -120,9 +118,7 @@ var grid = null;
var warehouse_id = $('#stock_direct_warehouse_id').val();
var loading = layer.msg('数据提交中...', {
icon: 16, shade: 0.1, time: 1000 * 120
});
var loading = showLoading();
var product_ids = Object.keys(product_ids).join(',');
getBatchSelect(warehouse_id, product_ids, '', function(res) {