From 7fe73fec1f10f151aaf31cc1ade7b4ed5126c3d5 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期四, 23 十月 2025 14:24:47 +0800
Subject: [PATCH] 修改物料管理选择包装因数据量大不显示问题;根据客户需求修改添加入库单校验生产日期规则;

---
 HTML/views/ASNSetting/ArrivalNotice.html |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/HTML/views/ASNSetting/ArrivalNotice.html b/HTML/views/ASNSetting/ArrivalNotice.html
index da7278e..0643f15 100644
--- a/HTML/views/ASNSetting/ArrivalNotice.html
+++ b/HTML/views/ASNSetting/ArrivalNotice.html
@@ -140,7 +140,7 @@
 					</div>
 
 					<div class="layui-inline">
-						<button class="layui-btn layui-btn-sm layuiadmin-btn-list" lay-submit
+						<button id="searchBtn" class="layui-btn layui-btn-sm layuiadmin-btn-list" lay-submit
 							lay-filter="LAY-app-contlist-search">
 							<i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>鎼滅储
 						</button>
@@ -175,7 +175,7 @@
 					<script type="text/html" id="toolbarDemo1">
 						{{# function GetBtn1(d){
 							var html = ''; 
-							if (d.Status == '0' && (d.Origin == '褰曞叆' || d.Origin == '閲囪喘鍗�')) {
+							if (d.Status == '0' && (d.Origin == '褰曞叆' || d.Origin == '瀵煎叆' || d.Origin == '閲囪喘鍗�')) {
 								html += `<a class="layui-btn layui-btn-normal layui-btn-xs editClass" lay-event="edit">
 									<i class="layui-icon layui-icon-edit"></i>缂栬緫</a>`;
 							}
@@ -689,17 +689,16 @@
 							var param = {
 								"ListArrivalNotice": noticeList,
 							}
-							console.log('param:'+param)
+							//console.log('param:'+param)
 							layer.load();//鎵撳紑loading
 							sendData(IP + "/BllAsn/ImportArrivalNotice", param, 'post', function (res) {
-								console.log(res);
 								layer.closeAll(); //鍏抽棴loading
 								if (res.code == 0) { //鎴愬姛
 									layer.msg(res.msg, {
 										icon: 1,
 										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
 									}, function () {
-										refreshTable();
+										$('#searchBtn').click();
 										doing = true
 									});
 								} else { //涓嶆垚鍔�
@@ -707,12 +706,12 @@
 										layer.msg("瀵煎叆鏁版嵁鏍煎紡鏈夎锛�", {
 											icon: 2,
 											time: 3000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-										}, function () { refreshTable(); doing = true });
+										}, function () { $('#searchBtn').click(); doing = true });
 									} else {
 										layer.msg(res.msg, {
 											icon: 2,
-											time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-										}, function () { refreshTable(); doing = true });
+											time: 3000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+										}, function () { $('#searchBtn').click(); doing = true });
 									}
 								}
 							});

--
Gitblit v1.8.0