From 26356a0e6472be4620651adceddda0e38c78fffa Mon Sep 17 00:00:00 2001
From: chengsc <Demo@DESKTOP-CPA90BF>
Date: 星期四, 17 十月 2024 18:09:50 +0800
Subject: [PATCH] 修改问题

---
 HTML/views/ASNSetting/PalletBind.html |  365 ---------------------------------------------------
 1 files changed, 6 insertions(+), 359 deletions(-)

diff --git a/HTML/views/ASNSetting/PalletBind.html b/HTML/views/ASNSetting/PalletBind.html
index f59ebdd..c819d22 100644
--- a/HTML/views/ASNSetting/PalletBind.html
+++ b/HTML/views/ASNSetting/PalletBind.html
@@ -103,9 +103,9 @@
 						</div>
 					</div>
 					<div class="layui-inline">
-						<label class="layui-form-label" style="width: 60px;">鎵规鍙�</label>
+						<label class="layui-form-label" style="width: 60px;">杩涘巶缂栧彿</label>
 						<div class="layui-input-inline">
-							<input type="text" id="LotNo" name="LotNo" placeholder="鎵规鍙�" autocomplete="off"
+							<input type="text" id="LotNo" name="LotNo" placeholder="杩涘巶缂栧彿" autocomplete="off"
 								class="layui-input">
 						</div>
 					</div>
@@ -474,189 +474,7 @@
 			var TotalColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜
 			//#endregion
 			function bindPalletBind() {
-				//#region 鍘熷闈炶嚜瀹氫箟鍒�
-				// var param = {
-				// 	ASNNo: $("#ASNNo").val(),
-				// 	PalletNo: $("#PalletNo").val(),
-				// 	LocatNo: $("#LocatNo").val(),
-				// 	Status: $("#Status").val(),
-				// 	SkuNo: $("#SkuNo").val(),
-				// 	SkuName: $("#SkuName").val(),
-				// 	LotNo: $("#LotNo").val(),
-				// 	StartTime: $("#StartTime").val(),
-				// 	EndTime: $("#EndTime").val()
-				// };
-
-				// table.render({
-				// 	id: 'PalletBind',
-				// 	elem: '#PalletBind',
-				// 	height: 'full-210',
-				// 	url: IP + "/BllAsn/GetPalletBindList",
-				// 	method: 'post',
-				// 	contentType: 'application/json',
-				// 	headers: { ToKen: $.cookie('token') },
-				// 	where: param,
-				// 	page: true,
-				// 	even: true,
-				// 	limit: pageCnt,     // 榛樿澶氬皯椤�
-				// 	limits: pageLimits,	// 榛樿鏁扮粍[10,20,30,40,50]
-				// 	cellMinWidth: 60,   // 鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
-				// 	done: function () {
-				// 		setRight()
-				// 		//bindBoxInfo(res.data[0].BindNo);	
-				// 	},
-				// 	cols: [
-				// 		[{
-				// 			title: '搴忓彿',
-				// 			type: 'numbers',
-				// 			width: 60,
-				// 			align: 'center',
-				// 			fixed: 'left',
-				// 		},
-				// 		{
-				// 			field: 'ASNNo',
-				// 			title: '鍏ュ簱鍗曞彿',
-				// 			align: 'center',
-				// 			width: 180,
-				// 		},
-				// 		{
-				// 			field: 'ASNDetailNo',
-				// 			title: '鍏ュ簱鏄庣粏鍙�',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'PalletNo',
-				// 			title: '鎵樼洏鍙�',
-				// 			align: 'center',
-				// 			width: 100,
-				// 		},
-				// 		{
-				// 			field: 'PalletNo2',
-				// 			title: '鎵樼洏鍙稬V2',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'PalletNo3',
-				// 			title: '鎵樼洏鍙稬V3',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		}, {
-				// 			field: 'LocatNo',
-				// 			title: '鍌ㄤ綅鍦板潃',
-				// 			align: 'center',
-				// 			width: 90,
-				// 		}, {
-				// 			field: 'SkuNo',
-				// 			title: '鐗╂枡缂栫爜',
-				// 			align: 'center',
-				// 			width: 110,
-				// 		}, {
-				// 			field: 'SkuName',
-				// 			title: '鐗╂枡鍚嶇О',
-				// 			align: 'center',
-				// 		}, {
-				// 			field: 'Qty',
-				// 			title: '鏁伴噺',
-				// 			align: 'center',
-				// 			width: 90,
-				// 		}, {
-				// 			field: 'FullQty',
-				// 			title: '鏁存墭鏁伴噺',
-				// 			align: 'center',
-				// 			width: 90,
-				// 		},
-				// 		{
-				// 			field: 'Status',
-				// 			title: '鎵ц鐘舵��',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 			align: 'center',
-				// 			width: 90,
-				// 			templet: function (d) {
-				// 				switch (d.Status) {
-				// 					case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">绛夊緟鍏ュ簱</button>';
-				// 					case "1": return '<button class="layui-btn layui-btn-radius layui-btn-danger layui-btn-xs">鍏ュ簱涓�</button>';
-				// 					case "2": return '<button class="layui-btn layui-btn-radius layui-btn-normal layui-btn-xs">鍏ュ簱瀹屾垚</button>';
-				// 					default: return "";
-				// 				}
-				// 			}
-				// 		},
-				// 		// {
-				// 		// 	field: 'InspectMark',
-				// 		// 	title: '鎶芥鏍囪',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 		// 	align: 'center',
-				// 		// 	templet: function (d) {
-				// 		// 		switch (d.InspectMark) {
-				// 		// 			case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">鏈楠�</button>';
-				// 		// 			case "1": return '<button class="layui-btn layui-btn-radius layui-btn-xs">鎶芥鎵�</button>';
-				// 		// 			default: return "";
-				// 		// 		}
-				// 		// 	}
-				// 		// },
-				// 		{
-				// 			field: 'BitPalletMark',
-				// 			title: '闆舵墭鏍囪',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 			align: 'center',
-				// 			width: 90,
-				// 			templet: function (d) {
-				// 				switch (d.BitPalletMark) {
-				// 					case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">鍚�</button>';
-				// 					case "1": return '<button class="layui-btn layui-btn-radius layui-btn-xs layui-btn-danger ">鏄�</button>';
-				// 					default: return "";
-				// 				}
-				// 			}
-				// 		},
-				// 		// {
-				// 		// 	field: 'IsBale',
-				// 		// 	title: '鏄惁瑁瑰寘',
-				// 		// 	align: 'center',
-				// 		// 	templet: function (d) {
-				// 		// 		switch (d.IsBale) {
-				// 		// 			case "0": return "鍚�";
-				// 		// 			case "1": return "鏄�";
-				// 		// 			default: return "";
-				// 		// 		}
-				// 		// 	}
-				// 		// },
-				// 		// {
-				// 		// 	field: 'IsBelt',
-				// 		// 	title: '鏄惁鎵撳甫',
-				// 		// 	align: 'center',
-				// 		// 	templet: function (d) {
-				// 		// 		switch (d.IsBelt) {
-				// 		// 			case "0": return "鍚�";
-				// 		// 			case "1": return "鏄�";
-				// 		// 			default: return "";
-				// 		// 		}
-				// 		// 	}
-				// 		// },
-				// 		{
-				// 			field: 'CompleteTime',
-				// 			title: '瀹屾垚鏃堕棿',
-				// 			align: 'center',
-				// 			width: 165,
-				// 			templet: function (d) {
-				// 				return formatDate(d.CompleteTime);
-				// 			},
-				// 		}, {
-				// 			field: 'CreateTime',
-				// 			title: '鍒涘缓鏃堕棿',
-				// 			align: 'center',
-				// 			width: 165,
-				// 			templet: function (d) {
-				// 				return formatDate(d.CreateTime);
-				// 			},
-				// 		}, {
-				// 			title: '鎿嶄綔',
-				// 			fixed: 'right',
-				// 			width: 180,
-				// 			align: 'center',
-				// 			toolbar: '#PalletBindDemoList'
-				// 		}]
-				// 	]
-				// });
-				//#endregion
-
+				
 				//#region 鑷畾涔夎〃澶�
 				var colsJson
 				var param1 = {
@@ -726,13 +544,13 @@
 				{ field: 'BoxNo3', title: '鏀彿', align: 'center', width: 220 },
 				{ field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center', width: 150 },
 				{ field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center', align: 'center', width: 226 },
-				{ field: 'LotNo', title: '鎵规鍙�', align: 'center', width: 150, },
+				{ field: 'LotNo', title: '杩涘巶缂栧彿', align: 'center', width: 150, },
 				{ field: 'Qty', title: '鏁伴噺', align: 'center', width: 105, },
 				{ field: 'FullQty', title: '鏁寸鏁伴噺', align: 'center', width: 105, },
 				{ field: 'ProductionTime', title: '鐢熶骇鏃ユ湡', align: 'center', width: 160, templet: '#templetProductionTime' },
 				{ field: 'ExpirationTime', title: '杩囨湡鏃ユ湡', align: 'center', width: 180, templet: '#templetExpirationTime' },
 				{ field: 'LotText', title: '鎵规鎻忚堪', align: 'center', width: 150, },
-				{ field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center', width: 150, },
+				{ field: 'SupplierLot', title: '鍘熷巶鎵瑰彿', align: 'center', width: 150, },
 				{ field: 'InspectMark', title: '鎶芥鏍囪', align: 'center', width: 95, templet: '#templetInspectMark' },
 				{ field: 'BitBoxMark', title: '闆剁鏍囪', align: 'center', width: 95, templet: '#templetBitBoxMark' },
 				{ field: 'InspectStatus', title: '璐ㄩ噺鐘舵��', align: 'center', width: 95, templet: '#templetInspectStatus' },
@@ -741,178 +559,7 @@
 			var DetailColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜
 			//#endregion
 			function bindBoxInfo(BindNo) {
-				//#region 鍘熷闈炶嚜瀹氫箟鍒�
-				// var param = {
-				// 	BindNo: parseInt(BindNo)
-				// };
-				// table.render({
-				// 	id: 'BoxInfo',
-				// 	elem: '#BoxInfo',
-				// 	height: 'full-210',
-				// 	url: IP + "/BllAsn/GetBoxInfoList",
-				// 	method: 'post',
-				// 	contentType: 'application/json',
-				// 	headers: { ToKen: $.cookie('token') },
-				// 	where: param,
-				// 	// toolbar: '#BoxInfoDemo',
-				// 	// defaultToolbar: ['filter'], //'print', 'exports'
-				// 	page: true,
-				// 	limit: pageCnt,  				// 榛樿澶氬皯椤�
-				// 	limits: pageLimits,				// 榛樿鏁扮粍[10,20,30,40,50]
-				// 	cellMinWidth: 60, 				// 鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
-				// 	even: true,
-				// 	done: function () {
-				// 		setRight()
-				// 	},
-				// 	cols: [
-				// 		[{
-
-				// 			title: '搴忓彿',
-				// 			type: 'numbers',
-				// 			width: 60,
-				// 			align: 'center',
-				// 			fixed: 'left',
-				// 		}
-				// 			, {
-				// 			field: 'PalletNo',
-				// 			title: '鎵樼洏鍙�',
-				// 			align: 'center',
-				// 			width: 95
-				// 		}, {
-				// 			field: 'PalletNo2',
-				// 			title: '鎵樼洏缂栧彿LV2',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'PalletNo3',
-				// 			title: '鎵樼洏缂栧彿LV3',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'BoxNo',
-				// 			title: '绠卞彿',
-				// 			align: 'center',
-				// 			width: 220
-				// 		}, {
-				// 			field: 'BoxNo2',
-				// 			title: '鐩掑彿',
-				// 			align: 'center',
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'BoxNo3',
-				// 			title: '鏀彿',
-				// 			align: 'center',
-				// 			width: 220,
-				// 			hide: true,
-				// 		},
-				// 		{
-				// 			field: 'SkuNo',
-				// 			title: '鐗╂枡缂栫爜',
-				// 			align: 'center',
-				// 			width: 150,
-				// 		}, {
-				// 			field: 'SkuName',
-				// 			title: '鐗╂枡鍚嶇О',
-				// 			align: 'center',
-				// 			align: 'center',
-				// 			width: 226,
-				// 		}, {
-				// 			field: 'LotNo',
-				// 			title: '鎵规鍙�',
-				// 			align: 'center',
-				// 			width: 150,
-				// 		}, {
-				// 			field: 'Qty',
-				// 			title: '鏁伴噺',
-				// 			align: 'center',
-				// 			width: 105,
-				// 		}, {
-				// 			field: 'FullQty',
-				// 			title: '鏁寸鏁伴噺',
-				// 			align: 'center',
-				// 			width: 105,
-				// 		}, {
-				// 			field: 'ProductionTime',
-				// 			title: '鐢熶骇鏃ユ湡',
-				// 			align: 'center',
-				// 			width: 160,
-				// 			templet: function (d) {
-				// 				return formatDate2(d.ProductionTime);
-				// 			},
-				// 		}, {
-				// 			field: 'ExpirationTime',
-				// 			title: '杩囨湡鏃ユ湡',
-				// 			align: 'center',
-				// 			width: 180,
-				// 			templet: function (d) {
-				// 				return formatDate2(d.ExpirationTime);
-				// 			},
-				// 		}, {
-				// 			field: 'LotText',
-				// 			title: '鎵规鎻忚堪',
-				// 			align: 'center',
-				// 			width: 150,
-				// 		}, {
-				// 			field: 'SupplierLot',
-				// 			title: '渚涜揣鎵规',
-				// 			align: 'center',
-				// 			width: 150,
-				// 		}, {
-				// 			field: 'InspectMark',
-				// 			title: '鎶芥鏍囪',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 			align: 'center',
-				// 			width:95,
-				// 			templet: function (d) {
-				// 				switch (d.InspectMark) {
-				// 					case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">鍚�</button>';
-				// 					case "1": return '<button class="layui-btn layui-btn-radius layui-btn-xs layui-btn-danger ">鏄�</button>';
-				// 					default: return "";
-				// 				}
-				// 			}
-				// 		},
-				// 		{
-				// 			field: 'BitBoxMark',
-				// 			title: '闆剁鏍囪',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 			align: 'center',
-				// 			width:95,
-				// 			templet: function (d) {
-				// 				switch (d.BitBoxMark) {
-				// 					case "0": return '<button class="layui-btn layui-btn-radius layui-btn-xs">鍚�</button>';
-				// 					case "1": return '<button class="layui-btn layui-btn-radius layui-btn-xs layui-btn-danger ">鏄�</button>';
-				// 					default: return "";
-				// 				}
-				// 			}
-				// 		},
-				// 		{
-				// 			field: 'InspectStatus',
-				// 			title: '璐ㄩ噺鐘舵��',//绛夊緟鍏ュ簱/姝e湪鍏ュ簱/鍏ュ簱瀹屾垚 --0/1/2
-				// 			align: 'center',
-				// 			width:95,
-				// 			templet: function (d) {
-				// 				switch (d.InspectStatus) {
-				// 					case "0": return '寰呮楠�';
-				// 					case "1": return '妫�楠屽悎鏍�';
-				// 					case "2": return '涓嶅悎鏍�';
-				// 					case "3": return '鏀剧疆鏈�';
-				// 					default: return "";
-				// 				}
-				// 			}
-				// 		},
-				// 		{
-				// 			title: '鎿嶄綔',
-				// 			fixed: 'right',
-				// 			width: 155,
-				// 			align: 'center',
-				// 			toolbar: '#BoxInfoDemoList'
-				// 		}]
-				// 	],
-
-				// });
-				//#endregion
-
+				
 				//#region 鑷畾涔夎〃澶�
 				var colsJson2
 				var param1 = {

--
Gitblit v1.8.0