去掉无用的模板文件

封装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
@@ -118,9 +118,7 @@ var grid = null;
products[row.product_id] += parseFloat(row.wf_num);
}
var loading = layer.msg('数据提交中...', {
icon: 16, shade: 0.1, time: 1000 * 120
});
var loading = showLoading();
var product_ids = Object.keys(products).join(',');
var batch_ids = Object.keys(batchs).join(',');
@@ -228,9 +226,7 @@ var grid = null;
return;
}
var loading = layer.msg('数据提交中...', {
icon: 16, shade: 0.1, time: 1000 * 120
});
var loading = showLoading();
$.post(app.url('stock/delivery/autoSave'), query + '&' + $.param(gets), function (res) {
if (res.status) {
toastrSuccess(res.data);