From ab9bc319ccbdd5bb38cf1b6aa361391d96f7eefc Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 31 三月 2021 10:12:34 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/custOrder/custOrder.js | 33 +++++++++++++++++---------------- 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/static/js/custOrder/custOrder.js b/src/main/webapp/static/js/custOrder/custOrder.js index a8160a1..f79ac41 100644 --- a/src/main/webapp/static/js/custOrder/custOrder.js +++ b/src/main/webapp/static/js/custOrder/custOrder.js @@ -38,7 +38,7 @@ cols: [[ {type: 'checkbox'} // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} - ,{field: 'number', align: 'center',title: '閿�鍞崟鍙�'} + ,{field: 'number', align: 'center',title: '鍗曞彿'} ,{field: 'btypeId', align: 'center',title: '瀹㈡埛缂栧彿'} ,{field: 'etypeId', align: 'center',title: '缁忔墜浜虹紪鍙�', hide: true} @@ -250,23 +250,24 @@ }); // 缂烘枡 } else if (res.code === 20001) { - layer.confirm(res.msg, { - shadeClose: true - , area: ['400px'] - , btn: ['搴撳瓨璋冩嫧', '鍙栨秷'] - }, function() { - // 搴撳瓨璋冩嫧 - stockTransfer(data.number); - layer.closeAll(); - }, function() { - // printPakouts(data.number); - layer.closeAll(); - } - ) + // layer.confirm(res.msg, { + // shadeClose: true + // , area: ['400px'] + // , btn: ['搴撳瓨璋冩嫧', '鍙栨秷'] + // }, function() { + // // 搴撳瓨璋冩嫧 + // stockTransfer(data.number); + // layer.closeAll(); + // }, function() { + // // printPakouts(data.number); + // layer.closeAll(); + // } + // ) + layer.msg(res.msg, {icon: 2}) } else if (res.code === 403){ top.location.href = baseUrl+"/"; } else { - layer.msg(res.msg, {icon: 1}) + layer.msg(res.msg, {icon: 2}) } } }) @@ -321,7 +322,7 @@ } else if (res.code === 403){ top.location.href = baseUrl+"/"; } else { - layer.msg(res.msg) + layer.msg(res.msg, {icon: 2}) } $(".layui-laypage-btn")[0].click(); } -- Gitblit v1.9.1