From e2a27aeebf9e6d4e23eb8fde4b1c71a4f344383c Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期一, 07 六月 2021 11:09:54 +0800
Subject: [PATCH] 新增erp生产单查询

---
 src/main/webapp/views/pda/locNormalOut.html |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/pda/locNormalOut.html b/src/main/webapp/views/pda/locNormalOut.html
index aebd9c0..aed8967 100644
--- a/src/main/webapp/views/pda/locNormalOut.html
+++ b/src/main/webapp/views/pda/locNormalOut.html
@@ -247,7 +247,7 @@
                     $('#uuid').append(html);
                     layui.form.render('select');
                 } else if (res.code === 403) {
-                    top.location.href = baseUrl + "/";
+                    top.location.href = baseUrl + "/pda";
                 } else {
                     layer.msg(res.msg)
                 }
@@ -263,6 +263,9 @@
     function findCode(el, type) {
         warehouseBar = $('#uuid').val();
         billNo = $("#billNo").val();
+        if (billNo && billNo != '' && billNo.indexOf('=') > -1) {
+            billNo = billNo.split(",")[0].split("=")[1];
+        }
         switch (type) {
             case 'uuid':
 //                exist('uuid', 'locArea');

--
Gitblit v1.9.1