Commit 8906697b by Takatoshi Miura

1.4.0_miura_#44143 RFID(バーコード)のアラートを分岐

parent e072544c
......@@ -3119,15 +3119,16 @@ CHK.alertClose = function() {
}
CHK.displayAlert = function(msgCode) {
// RFID(バーコード)関連は通常のアラート表示
if (msgCode == "notExistCode") {
// scanResultCodeを代入するため別で処理
setLangCode();
var notExistCodeMessage = {ja:"読み込んだコードと一致しません。\n\n読み込んだコード:" + scanResultCode + "\n\nコードを確認してもう一度お願いします。", ko:"스캔된코드와 일치하는 작업이 존재하지않습니다.\n\n스캔 한 코드: " + scanResultCode + "\n\n코드를 확인하고 한번도 시도해주세요.", en:"No action exists that matches the scanned code.\n\nScanned code: " + scanResultCode + "\n\nPlease check the code and try it once."};
var msg = notExistCodeMessage[lang];
alert(msg);
} else {
} else if (msgCode == "onlyRfid") {
alert(getMsg(msgCode));
}
} else {
$("#alertMsg").html(getMsg(msgCode));
$(".alert-overlay").removeClass("d-none");
$(".alert-area").removeClass("d-none");
......@@ -3137,6 +3138,7 @@ CHK.displayAlert = function(msgCode) {
$(".alert-area").css("top", positionY);
$(".alert-area").css("min-height", height);
$("body").css("overflow", "hidden");
}
}
CHK.resetSearch = function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment