From 9885a8a2f98104f5ee63dd5ab8023095a1d8b9f6 Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期一, 02 九月 2024 08:23:44 +0800
Subject: [PATCH] 功能测试

---
 HTML/views/ASNSetting/BindBoxInfo.html |  312 ++++++++++++++++++++++++++-------------------------
 1 files changed, 158 insertions(+), 154 deletions(-)

diff --git a/HTML/views/ASNSetting/BindBoxInfo.html b/HTML/views/ASNSetting/BindBoxInfo.html
index 927d6a3..6fe1a78 100644
--- a/HTML/views/ASNSetting/BindBoxInfo.html
+++ b/HTML/views/ASNSetting/BindBoxInfo.html
@@ -1,40 +1,45 @@
 <!DOCTYPE html>
 <html>
-	<head>
-		<meta charset="utf-8">
-		<title>绠辨敮璇︽儏淇℃伅</title>
-		<meta name="renderer" content="webkit">
-		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
-		<link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
-	</head>
-	<body>
-		<div class="layui-fluid" style="padding-bottom: 0;">
 
-            <div class="layui-card">
-				<div class="layui-form layui-card-header layuiadmin-card-header-auto">
-					<div class="layui-form-item" style="margin-bottom: 0px;">
-						
-						<div class="layui-inline zongdan" >
-							<label class="layui-form-label" style="width: 60px;">鏀爜</label>
-							<div class="layui-input-inline" style="width: 170px; margin-right: 0px;">
-								<input type="text" id="BoxNo3"  name="BoxNo3" placeholder="鏀爜" autocomplete="off" class="layui-input">
-							</div>
-						</div>
+<head>
+	<meta charset="utf-8">
+	<title>绠辨敮璇︽儏淇℃伅</title>
+	<meta name="renderer" content="webkit">
+	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+	<meta name="viewport"
+		content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+	<link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all">
+</head>
 
-						<div class="layui-inline sousuo">
-							<button 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>
+<body>
+	<div class="layui-fluid" style="padding-bottom: 0;">
+
+		<div class="layui-card">
+			<div class="layui-form layui-card-header layuiadmin-card-header-auto">
+				<div class="layui-form-item" style="margin-bottom: 0px;">
+
+					<div class="layui-inline zongdan">
+						<label class="layui-form-label" style="width: 60px;">鏀爜</label>
+						<div class="layui-input-inline" style="width: 170px; margin-right: 0px;">
+							<input type="text" id="BoxNo3" name="BoxNo3" placeholder="鏀爜" autocomplete="off"
+								class="layui-input">
 						</div>
 					</div>
-			    </div>
+
+					<div class="layui-inline sousuo">
+						<button 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>
+					</div>
+				</div>
 			</div>
+		</div>
 
-            <div class="layui-card-body">
+		<div class="layui-card-body">
 
-				<table id="LAY-app-content-list" lay-filter="LAY-app-content-list"></table>
-				<script type="text/html" id="BoxStatus">
+			<table id="LAY-app-content-list" lay-filter="LAY-app-content-list"></table>
+			<script type="text/html" id="BoxStatus">
 					{{# function GetBoxInfoBtn(d){
 						var html = '';
 						if(d.Status=='0'){
@@ -51,133 +56,132 @@
 					}}
 					{{ GetBoxInfoBtn(d) }}
 				</script>
-                 
-			</div>
+
 		</div>
-		<script src="../../layuiadmin/layui/layui.js"></script>
-		<script src="../../js/public.js"></script>
-		<script src="../../js/jquery-3.5.1.min.js"></script>
-		<script src="../../js/jquery.cookie.js"></script>
-		<script>
-			layui.config({
-				base: '../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
-			}).extend({
-				index: 'lib/index' //涓诲叆鍙fā鍧�
-			}).use(['index', 'table', 'laypage', 'layer'], function() {
-				var table = layui.table,
-					form = layui.form,
-					laypage = layui.laypage,
-					layer = layui.layer;
-				var $ = layui.$,
-					form = layui.form,
-					layer = layui.layer;
-				var boxNo = getQueryString('BoxNo');
-				var bindNo = getQueryString('BindNo');
-				if (!boxNo)
-				{
-					boxNo = "";
-				}
-				else
-				{
-					var param = {
-						boxNo: boxNo,
-					};
-                   
-                    console.log(getQueryString('BoxNo'))
-                    console.log(boxNo)
-                    refreshTable();
-                    function refreshTable() {
-						var param={							
-							BoxNo:getQueryString('BoxNo'),
-							BoxNo3:$("#BoxNo3").val(),
-							BindNo:getQueryString('BindNo')
-						}
-                        sendData(IP + "/BllAsn/GetBoxInfoByBoxNo", param , 'get', function(res) {
-                            console.log(res)
-                            if (res.code == 0) { //鎴愬姛
-                                var list = res.data;
-                                $.extend(infoOptions, {
-                                    data: list
-                                });
-                                infoOptions.page = {
-                                    curr: 1
-                                }
-                                tableIns = table.render(infoOptions);
-                            }
-                            else { //涓嶆垚鍔�
-                                layer.msg('鑾峰彇绠辩爜鏄庣粏鍒楄〃淇℃伅澶辫触锛�', {
-                                    icon: 2,
-                                    time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-                                }, function() {});
-                            }
-                        });
-                    }
-				}
-                // 琛ㄥ崟闇�瑕佺殑鍙橀噺
-				var infoOptions = {
-					elem: '#LAY-app-content-list',
-					height: 'full-98',
-					id: 'LAY-app-content-list',
-					page: true,
-					limit: pageCnt,
-					limits: pageLimits,
-					even: true,
-					cellMinWidth: 80, //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
-					cols: 
-					[[
-                        {
-                            title: '搴忓彿',  type: 'numbers',  fixed: 'left'
-                        },
-                        {
-                            field: 'SkuNo', title: '鐗╂枡鍙�', align: 'center',hide:true
-                        },
-                        {
-                            field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center',hide:true
-                        },
-                        {
-                            field: 'PalletNo', title: '鎵樼洏鏉$爜', align: 'center', width: 110,
-                        },
-                        {
-                            field: 'BoxNo', title: '绠辩爜', align: 'center', width: 100,hide:true
-                        }, 
-                        {
-                            field: 'BoxNo2', title: '鐩掔爜', align: 'center', width: 100,hide:true
-                        }, 
-                        {
-                            field: 'BoxNo3', title: '鏀爜', align: 'center', width: 220,
-                        }, 
-                        {
-                            field: 'Status', title: '绠辨敮鐘舵��', align: 'center',width: 110, templet: '#BoxStatus',
-                        },
-                        {
-                            field: 'LotNo', title: '鎵规', align: 'center',width: 160,
-                        },
-                        {
-                            field: 'LotText', title: '鎵规鎻忚堪', align: 'center',
-                        },
-                        {
-                            field: 'Qty', title: '鏁伴噺', width: 90, align: 'center',
-                        },
-                        {
-                            field: 'FullQty', title: '鏁寸鏁伴噺', width: 100, align: 'center',
-                        },
-					]]
+	</div>
+	<script src="../../layuiadmin/layui/layui.js"></script>
+	<script src="../../js/public.js"></script>
+	<script src="../../js/jquery-3.5.1.min.js"></script>
+	<script src="../../js/jquery.cookie.js"></script>
+	<script>
+		layui.config({
+			base: '../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+		}).extend({
+			index: 'lib/index' //涓诲叆鍙fā鍧�
+		}).use(['index', 'table', 'laypage', 'layer'], function () {
+			var table = layui.table,
+				form = layui.form,
+				laypage = layui.laypage,
+				layer = layui.layer;
+			var $ = layui.$,
+				form = layui.form,
+				layer = layui.layer;
+			var boxNo = getQueryString('BoxNo');
+			var bindNo = getQueryString('BindNo');
+			if (!boxNo) {
+				boxNo = "";
+			}
+			else {
+				var param = {
+					boxNo: boxNo,
 				};
-                
 
-                //鐩戝惉鎼滅储
-				form.on('submit(LAY-app-contlist-search)', function(data) {
-                    refreshTable();
-				});
-
-				//鑾峰彇娴忚鍣ㄥ弬鏁�
-				function getQueryString(name) {
-					var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
-					var r = window.location.search.substr(1).match(reg);
-					if (r != null) return unescape(r[2]);
-					return null;
+				console.log(getQueryString('BoxNo'))
+				console.log(boxNo)
+				refreshTable();
+				function refreshTable() {
+					var param = {
+						BoxNo: getQueryString('BoxNo'),
+						BoxNo3: $("#BoxNo3").val(),
+						BindNo: getQueryString('BindNo')
+					}
+					sendData(IP + "/BllAsn/GetBoxInfoByBoxNo", param, 'get', function (res) {
+						console.log(res)
+						if (res.code == 0) { //鎴愬姛
+							var list = res.data;
+							$.extend(infoOptions, {
+								data: list
+							});
+							infoOptions.page = {
+								curr: 1
+							}
+							tableIns = table.render(infoOptions);
+						}
+						else { //涓嶆垚鍔�
+							layer.msg('鑾峰彇绠辩爜鏄庣粏鍒楄〃淇℃伅澶辫触锛�', {
+								icon: 2,
+								time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+							}, function () { });
+						}
+					});
 				}
-			})
-		</script>
-	</body>
-</html>
+			}
+			// 琛ㄥ崟闇�瑕佺殑鍙橀噺
+			var infoOptions = {
+				elem: '#LAY-app-content-list',
+				height: 'full-98',
+				id: 'LAY-app-content-list',
+				page: true,
+				limit: pageCnt,
+				limits: pageLimits,
+				even: true,
+				cellMinWidth: 80, //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
+				cols:
+					[[
+						{
+							title: '搴忓彿', type: 'numbers', fixed: 'left'
+						},
+						{
+							field: 'SkuNo', title: '鐗╂枡鍙�', align: 'center', hide: true
+						},
+						{
+							field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center', hide: true
+						},
+						{
+							field: 'PalletNo', title: '鎵樼洏鏉$爜', align: 'center',
+						},
+						{
+							field: 'BoxNo', title: '绠辩爜', align: 'center', hide: false
+						},
+						{
+							field: 'BoxNo2', title: '鐩掔爜', align: 'center', width: 100, hide: true
+						},
+						{
+							field: 'BoxNo3', title: '鏀爜', align: 'center',
+						},
+						{
+							field: 'Status', title: '绠辨敮鐘舵��', align: 'center', width: 110, templet: '#BoxStatus',
+						},
+						{
+							field: 'LotNo', title: '鎵规', align: 'center', width: 160,
+						},
+						{
+							field: 'LotText', title: '鎵规鎻忚堪', align: 'center', hide: true
+						},
+						{
+							field: 'Qty', title: '鏁伴噺', width: 90, align: 'center',
+						},
+						{
+							field: 'FullQty', title: '鏁寸鏁伴噺', width: 100, align: 'center',
+						},
+					]]
+			};
+
+
+			//鐩戝惉鎼滅储
+			form.on('submit(LAY-app-contlist-search)', function (data) {
+				refreshTable();
+			});
+
+			//鑾峰彇娴忚鍣ㄥ弬鏁�
+			function getQueryString(name) {
+				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
+				var r = window.location.search.substr(1).match(reg);
+				if (r != null) return unescape(r[2]);
+				return null;
+			}
+		})
+	</script>
+</body>
+
+</html>
\ No newline at end of file

--
Gitblit v1.8.0