From 2f8843c8f3ff4cfdffcb7ef6fca333d3022f0f84 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期二, 27 八月 2024 08:09:35 +0800
Subject: [PATCH] PDA平库出库和收货组托功能修改
---
Pda/View/SoSetting/pingKuOut.html | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/Pda/View/SoSetting/pingKuOut.html b/Pda/View/SoSetting/pingKuOut.html
index 20043e3..3f0cecb 100644
--- a/Pda/View/SoSetting/pingKuOut.html
+++ b/Pda/View/SoSetting/pingKuOut.html
@@ -186,6 +186,8 @@
Type: "1",
};
synData(IP + "/PdaSo/GetRunSoNoticeList", param, 'post', function (res) {
+ console.log(res);
+
if (res.code == 0) { //鎴愬姛
console.log(res.data);
for (var i = 0; i < res.data.length; i++) {
@@ -275,11 +277,11 @@
//妫�鏌ユ墭鐩樼姸鎬�
function checkPalletState() {
-
var param = {
"PalletNo": $("#PalletNo").val()
}
synData(IP + "/PdaSo/IsEnableOkPalletNo", param, 'post', function (res) {
+ console.log(res);
if (res.code == 0) { //鎴愬姛
updateBillList();
@@ -300,11 +302,21 @@
//褰撴墭鐩樻潯鐮佽緭鍏ユ澶卞幓鐒︾偣鏃�,妫�鏌ヤ竴涓嬫墭鐩樼姸鎬�
$("#PalletNo").blur(function () {
- checkPalletState()
+ if ($("#PalletNo").val().length == 8) {
+ checkPalletState()
+ }
+
})
$("#PalletNo").keydown(function (e) {
if (e.keyCode === 13) {
+ if ($("#PalletNo").val().length != 8) {
+ layer.msg('璇疯緭鍏ユ纭殑鎵樼洏鏉$爜', {
+ icon: 2,
+ time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+ });
+ return;
+ }
checkPalletState();
}
});
--
Gitblit v1.8.0