From 0b83d075e78acfded07fafe8da133376b2260ef6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 18 六月 2020 10:26:16 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/pakStore/locMove.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/js/pakStore/locMove.js b/src/main/webapp/static/js/pakStore/locMove.js index 2516b44..b5ba2a0 100644 --- a/src/main/webapp/static/js/pakStore/locMove.js +++ b/src/main/webapp/static/js/pakStore/locMove.js @@ -19,8 +19,7 @@ even: true, cellMinWidth: 50, cols: [[ - {type: 'checkbox'} - ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} + {field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} ,{field: 'matnr', align: 'center',title: '鐗╂枡'} ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�'} ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'} @@ -70,7 +69,7 @@ function getLoc() { let locNo = $("#locNo\\$").val(); if (locNo === undefined || locNo === null || locNo === "") { - layer.msg("璇烽�夋嫨搴撲綅鍙�"); + layer.msg("璇峰~鍐欏簱浣嶅彿"); $('.search-input').css("border-color", "red"); setTimeout(function () { $('.search-input').css("border-color", "#b8b8b8"); @@ -86,6 +85,7 @@ }); } +// 绉诲簱鍚姩 function locMove() { var sourceLocNo = $("#sourceLocNo").val(); var targetLocNo = $("#targetLocNo").val(); @@ -116,7 +116,10 @@ method: 'POST', success: function (res) { if (res.code === 200) { - + $("#sourceLocNo").val(""); + $("#targetLocNo").val(""); + layer.closeAll(); + layer.msg(res.msg); } else if (res.code === 403) { top.location.href = baseUrl + "/"; } else { @@ -141,6 +144,7 @@ // }) } +// 搴撲綅鐘舵�佽幏鍙� var tips; function locStatus(el) { let val = el.value; @@ -161,11 +165,11 @@ status = "鏈壘鍒板簱浣�"; } tips = layer.tips( - "<span style='color:#333;'>"+status+"</span>", + "<span style='color:#333;text-overflow: clip;'>"+status+"</span>", el, { tipsMore: true, - area: ['150px'], + area: ['160px'], tips: [3,'#fff'], time:0 ,maxWidth:500 -- Gitblit v1.9.1