From 2be1922b035c182c3c516427aa68be54badd6938 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 15:15:52 +0800
Subject: [PATCH] 登录页修改

---
 HTML/views/SOSetting/ExportAllot.html |  128 +++---------------------------------------
 1 files changed, 11 insertions(+), 117 deletions(-)

diff --git a/HTML/views/SOSetting/ExportAllot.html b/HTML/views/SOSetting/ExportAllot.html
index 611e0be..60ef0e8 100644
--- a/HTML/views/SOSetting/ExportAllot.html
+++ b/HTML/views/SOSetting/ExportAllot.html
@@ -217,7 +217,13 @@
 										}}
 										{{ GetBtn7(d) }}
 									</script>
-
+									<script type="text/html" id="templetUpdateTime">
+										{{# function GetBtn71(d){
+												return formatDate(d.UpdateTime);
+											}	
+										}}
+										{{ GetBtn71(d) }}
+									</script>
 									<script type="text/html" id="templetUnstackingMode">
 										{{# function GetBtn8(d){
 												switch (d.UnstackingMode) {
@@ -278,7 +284,7 @@
 				<script type="text/html" id="table-content-list2">
 					{{# function GetBtn2(d){
 							var html = '';
-							if(d.SkuNo != "100099"){
+							if(d.SkuNo != "100099" && d.BoxNo != ''){
 								html =`<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="sel"> 
 									<i class="layui-icon layui-icon-edit"></i>璇︽儏</a>`;
 							} 
@@ -347,6 +353,7 @@
 				{ field: 'IsBale', title: '鏄惁瑁瑰寘', align: 'center', templet: '#templetIsBale', width: 90 },
 				{ field: 'IsBelt', title: '鏄惁鎵撳甫', align: 'center', templet: '#templetIsBelt', width: 90 },
 				{ field: 'CreateTime', align: 'center', title: '鍒涘缓鏃堕棿', width: 160, templet: '#templetCreateTime' },
+				{ field: 'UpdateTime', align: 'center', title: '瀹屾垚鏃堕棿', width: 160, templet: '#templetUpdateTime' },
 				{ field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 100, align: 'center', toolbar: '#table-content-list', "disabled": true }
 			]];
 			var TotalColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜
@@ -608,126 +615,13 @@
 				{ field: 'LotText', title: '鎵规鎻忚堪', align: 'center', width: 150, },
 				{ field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center', width: 110, },
 				{ field: 'Standard', title: '鐗╂枡瑙勬牸', align: 'center', width: 120, },
-				//{field: 'CreateTime',align: 'center',title: '鍒涘缓鏃堕棿',width: 165,templet: '#templetCreateTime2'}, 
+				//{field: 'CreateTime',align: 'center',title: '鎷h揣鏃堕棿',width: 165,templet: '#templetCreateTime2'}, 
 				{ field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 100, align: 'left', toolbar: '#table-content-list2', "disabled": true }
 			]];
 			var DetailColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜
 			//#endregion
 			function refreshTablemx(val) {
-				//#region 鍘熷闈炶嚜瀹氫箟鍒�
-				// var param = {
-				// 	Id: parseInt(val)
-				// };
-
-				// table.render({
-				// 	elem: '#LAY-app-content-list2',
-				// 	url: IP + "/BllSo/GetCompleteDetailList",
-				// 	method: 'POST',
-				// 	height: 'full-206',
-				// 	id: 'LAY-app-content-list2',
-				// 	where: param,
-				// 	contentType: 'application/json',
-				// 	headers: { ToKen: $.cookie('token') },
-				// 	page: true,
-				// 	limit: pageCnt,
-				// 	limits: pageLimits,
-				// 	cellMinWidth: 60, //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
-				// 	done: function(){ 
-				// 		initMenu();
-				// 	}, 
-				// 	cols: [
-				// 		[{
-				// 			title: '搴忓彿',
-				// 			type: 'numbers',
-				// 			width: 60,
-				// 			fixed: 'left'
-				// 		}, {
-				// 			field: 'SONo',
-				// 			title: '鍑哄簱鍗曞彿',
-				// 			align: 'center',
-				// 			fixed: 'left',
-				// 			width: 180,
-				// 		}, {
-				// 			field: 'PalletNo',
-				// 			title: '鎵樼洏鍙�',
-				// 			align: 'center',
-				// 			width: 95,
-				// 		}, {
-				// 			field: 'BoxNo',
-				// 			title: '绠卞彿',
-				// 			align: 'center',
-				// 			width: 220,
-				// 		}, {
-				// 			field: 'BoxNo2',
-				// 			title: '鐩掑彿',
-				// 			align: 'center',
-				// 			width: 115,
-				// 			hide: true,
-				// 		}, {
-				// 			field: 'BoxNo3',
-				// 			title: '鏀彿',
-				// 			align: 'center',
-				// 			width: 115,
-				// 			hide: true,
-				// 		}, {
-				// 			field: 'SkuNo',
-				// 			title: '鐗╂枡缂栫爜',
-				// 			align: 'center',
-				// 			width: 120,
-				// 		}, {
-				// 			field: 'SkuName',
-				// 			title: '鐗╂枡鍚嶇О',
-				// 			align: 'center',
-				// 		}, {
-				// 			field: 'LotNo',
-				// 			title: '鎵规鍙�',
-				// 			align: 'center',
-				// 			width: 125,
-				// 		}, {
-				// 			field: 'CompleteQty',
-				// 			title: '鎷h揣鏁伴噺',
-				// 			align: 'center',
-				// 			width: 90,
-				// 		}, {
-				// 			field: 'NowPalletNo',
-				// 			title: '鏂版墭鐩�',
-				// 			align: 'center',
-				// 			width: 95,
-				// 		}, {
-				// 			field: 'LotText',
-				// 			title: '鎵规鎻忚堪',
-				// 			align: 'center',
-				// 			width: 150,
-				// 		}, {
-				// 			field: 'SupplierLot',
-				// 			title: '渚涜揣鎵规',
-				// 			align: 'center',
-				// 			width: 110,
-				// 		}, {
-				// 			field: 'Standard',
-				// 			title: '鐗╂枡瑙勬牸',
-				// 			align: 'center',
-				// 			width: 120,
-				// 		}, {
-				// 			field: 'CreateTime',
-				// 			align: 'center',
-				// 			title: '鍒涘缓鏃堕棿',
-				// 			width: 165,
-				// 			templet: function (d) {
-				// 				return formatDate(d.CreateTime);
-				// 			},
-				// 			hide: true,
-				// 		}, {
-				// 			title: '鎿嶄綔',
-				// 			fixed: 'right',
-				// 			width: 90,
-				// 			align: 'center',
-				// 			toolbar: '#table-content-list2'
-				// 		}]
-				// 	]
-				// });
-				//#endregion
-
+				
 				//#region 鑷畾涔夎〃澶�
 				var colsJson2
 				var param1 = {

--
Gitblit v1.8.0