From 2ca629e5895845827fd93f7d83c8f965ba4259da Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期二, 03 六月 2025 18:19:05 +0800
Subject: [PATCH] 客户标签

---
 WebTM/views/基础资料/公用基础资料/grf/法律标签.grf                 | 1330 +++++++++++++++++++
 WebTM/views/生产管理/客户标签/Sc_CustomerTagBarCodeList.html | 1191 +++++++++++++++++
 WebTM/views/grf/法律标签.grf                             | 1330 +++++++++++++++++++
 WebTM/views/生产管理/客户标签/Sc_CustomerTagInfoList.html    |  102 +
 WebTM/layuiadmin/Scripts/webConfig.js                |    2 
 WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html          |   69 
 WebTM/WebTM.csproj                                   |    2 
 7 files changed, 3,988 insertions(+), 38 deletions(-)

diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index 5041760..e17375c 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -614,6 +614,7 @@
     <Content Include="views\鐢熶骇绠$悊\瀹濆伐鎺掍骇\JIT_LockRequestBillList.html" />
     <Content Include="views\鐢熶骇绠$悊\瀹㈡埛鏍囩\Sc_CustomerTagInfoExcel.html" />
     <Content Include="views\鐢熶骇绠$悊\瀹㈡埛鏍囩\Sc_CustomerTagInfoEdit.html" />
+    <Content Include="views\鐢熶骇绠$悊\瀹㈡埛鏍囩\Sc_CustomerTagBarCodeList.html" />
     <Content Include="views\鐢熶骇绠$悊\瀹㈡埛鏍囩\Sc_CustomerTagInfoList.html" />
     <Content Include="views\鐢熶骇绠$悊\寮傚父鍙嶉鍗昞OA_ErrMsgBackSignBill_BrushCard.html" />
     <Content Include="views\鐢熶骇绠$悊\寮傚父鍙嶉鍗昞Sc_MESExecptFeedBackBillResumeList.html" />
@@ -1398,6 +1399,7 @@
     <Content Include="views\grf\鍙栨牱鍗�.grf" />
     <Content Include="views\grf\15鐧芥爣鎵撳嵃.grf" />
     <Content Include="views\grf\杩芥函鐮�.grf" />
+    <Content Include="views\grf\娉曞緥鏍囩.grf" />
     <None Include="Web.Debug.config">
       <DependentUpon>Web.config</DependentUpon>
     </None>
diff --git a/WebTM/layuiadmin/Scripts/webConfig.js b/WebTM/layuiadmin/Scripts/webConfig.js
index de7bc77..9afa2d4 100644
--- a/WebTM/layuiadmin/Scripts/webConfig.js
+++ b/WebTM/layuiadmin/Scripts/webConfig.js
@@ -13,7 +13,7 @@
     //var WEBURL = "http://localhost:8082/API/";    //寮犵憺骞挎湰鍦伴厤缃�
     //var WEBURL = "http://localhost:81/API/"    //缈佹稕娑涙湰鍦伴厤缃�
     //var WEBURL = "http://47.96.97.237/API/";          //鏅轰簯鏈嶅姟鍣�
-  /*  var WEBURL = "http://localhost:8082/LuBaoAPI/";  //浣欐�濇澃鏈湴閰嶇疆*/
+    var WEBURL = "http://localhost:8082/LuBaoAPI/";  //浣欐�濇澃鏈湴閰嶇疆
     //var WEBURL = "http://localhost:8088/ARAPI/";      //浣欐�濇澃鏈湴閰嶇疆(瀹夌憺)
     //var WEBURL = "http://61.164.86.218:8099/ABAPI/";  //濂ラ偊
     //var WEBURL = "http://10.1.4.155/API/";            //姹熶赴瀹㈡埛NEW
diff --git "a/WebTM/views/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf" "b/WebTM/views/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf"
new file mode 100644
index 0000000..e83c4c1
--- /dev/null
+++ "b/WebTM/views/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf"
@@ -0,0 +1,1330 @@
+锘縶
+	"Version":"6.8.2.5",
+	"Font":{
+		"Name":"瀹嬩綋",
+		"Size":105000,
+		"Weight":400,
+		"Charset":134
+	},
+	"Printer":{
+		"Size":256,
+		"Width":7,
+		"Height":55,
+		"LeftMargin":0,
+		"TopMargin":0,
+		"RightMargin":0,
+		"BottomMargin":0
+	},
+	"DetailGrid":{
+		"Recordset":{
+			"Field":[
+				{
+					"Name":"鐧惧垎姣斾竴"
+				},
+				{
+					"Name":"鐧惧垎姣斾簩"
+				},
+				{
+					"Name":"鐧惧垎姣斾笁"
+				},
+				{
+					"Name":"SIZE1"
+				},
+				{
+					"Name":"SIZE2"
+				},
+				{
+					"Name":"LBS"
+				},
+				{
+					"Name":"OZ"
+				},
+				{
+					"Name":"鏃ユ湡"
+				},
+				{
+					"Name":"瑙勬牸"
+				},
+				{
+					"Name":"UPC"
+				}
+			]
+		},
+		"ColumnContent":{
+			"Height":0
+		},
+		"ColumnTitle":{
+			"Height":0
+		}
+	},
+	"ReportFooter":[
+		{
+			"Name":"ReportFooter1",
+			"Height":55.0069,
+			"Font":{
+				"Name":"Arial",
+				"Size":105000,
+				"Weight":400
+			},
+			"Control":[
+				{
+					"Type":"Line",
+					"Name":"Line1",
+					"Left":0.211667,
+					"Top":0.211667,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox1",
+					"Left":1.00542,
+					"Top":0.396875,
+					"Width":5.00063,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"UNDER PENALTY OF LAW"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox2",
+					"Left":1.21708,
+					"Top":0.978958,
+					"Width":4.65667,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"THIS TAG NOT TO BE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox3",
+					"Left":0.820208,
+					"Top":1.56104,
+					"Width":6.19125,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"REMOVED EXCEPT BY THE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox4",
+					"Left":2.2225,
+					"Top":2.14313,
+					"Width":2.61938,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"CONSUMER"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line2",
+					"Left":0.211667,
+					"Top":2.80458,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox5",
+					"Left":1.42875,
+					"Top":2.98979,
+					"Width":4.65667,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"ALL NEW MATERIAL"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox6",
+					"Left":2.19604,
+					"Top":3.57188,
+					"Width":3.01625,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"consisting of"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox7",
+					"Left":0.608542,
+					"Top":4.15396,
+					"Width":4.78896,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"POLYURETHANE FOAM"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox1",
+					"Left":0.608542,
+					"Top":4.73604,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"PAD鈥︹�︹�︹�︹�︹�︹�︹�︹�︹��. [#鐧惧垎姣斾竴#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox8",
+					"Left":0.608542,
+					"Top":5.31813,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"BLENDED FIBER BATTING"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox2",
+					"Left":0.608542,
+					"Top":5.90021,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"鈥︹�︹�︹�︹�︹�︹�︹�︹�︹�︹�︹��.. [#鐧惧垎姣斾簩#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox9",
+					"Left":0.211667,
+					"Top":6.48229,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"(POLYESTER FIBER BATTING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox10",
+					"Left":0.608542,
+					"Top":7.06438,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"100%)"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line3",
+					"Left":0.211667,
+					"Top":7.80521,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox11",
+					"Left":1.00542,
+					"Top":7.99042,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Text":"Certification is made by the"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox12",
+					"Left":0.396875,
+					"Top":8.5725,
+					"Width":5.79438,
+					"Height":0.5821,
+					"Text":"manufacturer that the materials in"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox13",
+					"Left":0.79375,
+					"Top":9.15458,
+					"Width":5.79438,
+					"Height":0.5821,
+					"Text":"this article are described in"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox14",
+					"Left":1.40229,
+					"Top":9.73667,
+					"Width":3.99521,
+					"Height":0.5821,
+					"Text":"accordance with law"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line4",
+					"Left":0.211667,
+					"Top":10.3981,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox15",
+					"Left":2.40771,
+					"Top":10.6098,
+					"Width":2.77813,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"MADE FOR"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox16",
+					"Left":2.01083,
+					"Top":11.1919,
+					"Width":3.99521,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Symphony Sleep"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox17",
+					"Left":1.34938,
+					"Top":11.774,
+					"Width":5.00063,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"150 St Peters Centre Blvd."
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox18",
+					"Left":2.98979,
+					"Top":12.356,
+					"Width":1.5875,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Suite C"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox19",
+					"Left":1.82563,
+					"Top":12.9381,
+					"Width":4.20688,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"St Peters, MO 63376"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line5",
+					"Left":0.211667,
+					"Top":13.7583,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox20",
+					"Left":0.608542,
+					"Top":13.9965,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Date of Delivery:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox21",
+					"Left":0.608542,
+					"Top":14.5785,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Finished Size :"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox22",
+					"Left":0.608542,
+					"Top":15.1606,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Net Weight of Filling Materials"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox3",
+					"Left":3.59833,
+					"Top":14.605,
+					"Width":3.59833,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"[#SIZE1#]X[#SIZE2#] In."
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox4",
+					"Left":0.608542,
+					"Top":15.7427,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"[#LBS#] lbs.[#OZ#] oz"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox23",
+					"Left":0.608542,
+					"Top":22.4102,
+					"Width":2.59292,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Date of Delivery:"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox5",
+					"Left":3.99521,
+					"Top":22.4102,
+					"Width":1.79917,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"[#鏃ユ湡#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox24",
+					"Left":0.608542,
+					"Top":22.7806,
+					"Width":4.60375,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Importer/US Records Location:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox25",
+					"Left":0.608542,
+					"Top":23.151,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"Innovative Sleep Technologies"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox26",
+					"Left":0.608542,
+					"Top":23.5744,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Calibri",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"150 St. Peters Centre Blvd. - Suite C"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox27",
+					"Left":0.608542,
+					"Top":23.9977,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Calibri",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"St. Peters, MO 63376"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox28",
+					"Left":0.608542,
+					"Top":24.7915,
+					"Width":1.19063,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Model:"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox6",
+					"Left":3.99521,
+					"Top":24.7915,
+					"Width":1.79917,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"[#瑙勬牸#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox29",
+					"Left":0.608542,
+					"Top":25.4,
+					"Width":1.40229,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Prototype ID: "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox30",
+					"Left":3.99521,
+					"Top":25.4,
+					"Width":1.79917,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Multiple"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox31",
+					"Left":0.608542,
+					"Top":26.4054,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Bold":true
+					},
+					"Text":"FOUNDATION ID: "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox32",
+					"Left":3.59833,
+					"Top":26.4054,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Bold":true,
+						"Underline":true
+					},
+					"Text":"SSABWM-22"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line6",
+					"Left":0.211667,
+					"Top":27.596,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox33",
+					"Left":0.608542,
+					"Top":28.0723,
+					"Width":1.79917,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"Serial No."
+				},
+				{
+					"Type":"Line",
+					"Name":"Line7",
+					"Left":0.211667,
+					"Top":28.9983,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox7",
+					"Left":3.20146,
+					"Top":28.0723,
+					"Width":3.59833,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox34",
+					"Left":1.79917,
+					"Top":29.3952,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Not to be removed until"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox35",
+					"Left":1.79917,
+					"Top":29.7921,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"delivered to the consumer"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox36",
+					"Left":1.79917,
+					"Top":30.6123,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Ne pas enleveravant la"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox37",
+					"Left":1.5875,
+					"Top":31.0621,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"livraison au consommateur"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line8",
+					"Left":0.211667,
+					"Top":31.8029,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox38",
+					"Left":2.01083,
+					"Top":32.1998,
+					"Width":3.20146,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"This article contains"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox39",
+					"Left":2.01083,
+					"Top":32.5967,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"NEW MATERIAL"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox40",
+					"Left":3.01625,
+					"Top":32.9935,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"ONLY"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox41",
+					"Left":2.01083,
+					"Top":33.999,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Cet article contient des"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox42",
+					"Left":0.396875,
+					"Top":34.3958,
+					"Width":7.19667,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"MAT脡RIAUX NEUFS SEULEMENT"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line9",
+					"Left":0.211667,
+					"Top":35.1896,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox43",
+					"Left":1.19063,
+					"Top":35.4013,
+					"Width":5.21229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"This label is affixed in compliance"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox44",
+					"Left":2.19604,
+					"Top":35.8246,
+					"Width":3.20146,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"with Provincial Law"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox45",
+					"Left":1.5875,
+					"Top":36.8035,
+					"Width":4.78896,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Cette etiquette est appos茅e"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox46",
+					"Left":0.820208,
+					"Top":37.2269,
+					"Width":5.58271,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"conform茅ment 脿 la loi de la province"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line10",
+					"Left":0.211667,
+					"Top":37.9942,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox47",
+					"Left":0.396875,
+					"Top":38.2058,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Reg. No."
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox48",
+					"Left":4.20688,
+					"Top":38.2058,
+					"Width":2.38125,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"No de permis聽:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox49",
+					"Left":2.19604,
+					"Top":38.7879,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"01T-02479117"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox50",
+					"Left":2.40771,
+					"Top":39.2113,
+					"Width":1.98438,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"QC-013022"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox51",
+					"Left":2.80458,
+					"Top":39.6346,
+					"Width":1.19063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"66768"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox52",
+					"Left":0.396875,
+					"Top":40.5871,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Content"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox53",
+					"Left":3.59833,
+					"Top":40.5871,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Contenu"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox54",
+					"Left":0.211667,
+					"Top":41.1956,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"PADDING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox55",
+					"Left":3.20146,
+					"Top":41.1956,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"REMBOURRAGE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox56",
+					"Left":0.211667,
+					"Top":41.9894,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"POLYETHYLENE "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox57",
+					"Left":0.211667,
+					"Top":42.545,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"FOAM PAD"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox58",
+					"Left":3.12208,
+					"Top":42.0158,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"Mousse de"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox59",
+					"Left":3.12208,
+					"Top":42.5715,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"Poly茅phyl猫ne"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line11",
+					"Left":0.211667,
+					"Top":43.2065,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox60",
+					"Left":0.608542,
+					"Top":43.3917,
+					"Width":6.19125,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"Federal Requirement/Exigence f茅d茅rale"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox61",
+					"Left":2.40771,
+					"Top":44.3971,
+					"Width":2.19604,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"SOR/2016-194"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox62",
+					"Left":0.396875,
+					"Top":44.794,
+					"Width":6.58813,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":75000,
+						"Bold":true
+					},
+					"Text":"POLYETHYLENE FABRIC  TISSU MULTICOUCHES"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox63",
+					"Left":1.50813,
+					"Top":45.4025,
+					"Width":0.820208,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"FACE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox64",
+					"Left":4.78896,
+					"Top":45.4025,
+					"Width":0.820208,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"VISAGE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox65",
+					"Left":0.608542,
+					"Top":46.011,
+					"Width":1.5875,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYESTER"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox66",
+					"Left":3.81,
+					"Top":46.011,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Polyester"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox8",
+					"Left":5.79438,
+					"Top":46.011,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox67",
+					"Left":0.608542,
+					"Top":46.7783,
+					"Width":2.19604,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYURETHANE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox68",
+					"Left":3.41313,
+					"Top":46.7783,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Poly茅phyl猫ne"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox9",
+					"Left":5.79438,
+					"Top":46.7783,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox69",
+					"Left":1.19063,
+					"Top":47.8367,
+					"Width":2.2225,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"FR BACKING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox70",
+					"Left":4.39208,
+					"Top":47.8367,
+					"Width":2.01083,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":" FR SUPPORT"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox71",
+					"Left":0.608542,
+					"Top":48.4452,
+					"Width":1.5875,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYESTER"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox72",
+					"Left":3.81,
+					"Top":48.4452,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Polyester"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox10",
+					"Left":5.79438,
+					"Top":48.4452,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line12",
+					"Left":0.211667,
+					"Top":49.7946,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"Line",
+					"Name":"Line13",
+					"Left":5.3975,
+					"Top":50.8,
+					"Width":1.40229,
+					"Pen":{
+						"Width":2
+					}
+				}
+			]
+		}
+	]
+}
\ No newline at end of file
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf"
new file mode 100644
index 0000000..e83c4c1
--- /dev/null
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/grf/\346\263\225\345\276\213\346\240\207\347\255\276.grf"
@@ -0,0 +1,1330 @@
+锘縶
+	"Version":"6.8.2.5",
+	"Font":{
+		"Name":"瀹嬩綋",
+		"Size":105000,
+		"Weight":400,
+		"Charset":134
+	},
+	"Printer":{
+		"Size":256,
+		"Width":7,
+		"Height":55,
+		"LeftMargin":0,
+		"TopMargin":0,
+		"RightMargin":0,
+		"BottomMargin":0
+	},
+	"DetailGrid":{
+		"Recordset":{
+			"Field":[
+				{
+					"Name":"鐧惧垎姣斾竴"
+				},
+				{
+					"Name":"鐧惧垎姣斾簩"
+				},
+				{
+					"Name":"鐧惧垎姣斾笁"
+				},
+				{
+					"Name":"SIZE1"
+				},
+				{
+					"Name":"SIZE2"
+				},
+				{
+					"Name":"LBS"
+				},
+				{
+					"Name":"OZ"
+				},
+				{
+					"Name":"鏃ユ湡"
+				},
+				{
+					"Name":"瑙勬牸"
+				},
+				{
+					"Name":"UPC"
+				}
+			]
+		},
+		"ColumnContent":{
+			"Height":0
+		},
+		"ColumnTitle":{
+			"Height":0
+		}
+	},
+	"ReportFooter":[
+		{
+			"Name":"ReportFooter1",
+			"Height":55.0069,
+			"Font":{
+				"Name":"Arial",
+				"Size":105000,
+				"Weight":400
+			},
+			"Control":[
+				{
+					"Type":"Line",
+					"Name":"Line1",
+					"Left":0.211667,
+					"Top":0.211667,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox1",
+					"Left":1.00542,
+					"Top":0.396875,
+					"Width":5.00063,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"UNDER PENALTY OF LAW"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox2",
+					"Left":1.21708,
+					"Top":0.978958,
+					"Width":4.65667,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"THIS TAG NOT TO BE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox3",
+					"Left":0.820208,
+					"Top":1.56104,
+					"Width":6.19125,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"REMOVED EXCEPT BY THE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox4",
+					"Left":2.2225,
+					"Top":2.14313,
+					"Width":2.61938,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"CONSUMER"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line2",
+					"Left":0.211667,
+					"Top":2.80458,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox5",
+					"Left":1.42875,
+					"Top":2.98979,
+					"Width":4.65667,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"ALL NEW MATERIAL"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox6",
+					"Left":2.19604,
+					"Top":3.57188,
+					"Width":3.01625,
+					"Height":0.582083,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"consisting of"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox7",
+					"Left":0.608542,
+					"Top":4.15396,
+					"Width":4.78896,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"POLYURETHANE FOAM"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox1",
+					"Left":0.608542,
+					"Top":4.73604,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"PAD鈥︹�︹�︹�︹�︹�︹�︹�︹�︹��. [#鐧惧垎姣斾竴#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox8",
+					"Left":0.608542,
+					"Top":5.31813,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"BLENDED FIBER BATTING"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox2",
+					"Left":0.608542,
+					"Top":5.90021,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"鈥︹�︹�︹�︹�︹�︹�︹�︹�︹�︹�︹��.. [#鐧惧垎姣斾簩#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox9",
+					"Left":0.211667,
+					"Top":6.48229,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"(POLYESTER FIBER BATTING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox10",
+					"Left":0.608542,
+					"Top":7.06438,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"100%)"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line3",
+					"Left":0.211667,
+					"Top":7.80521,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox11",
+					"Left":1.00542,
+					"Top":7.99042,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Text":"Certification is made by the"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox12",
+					"Left":0.396875,
+					"Top":8.5725,
+					"Width":5.79438,
+					"Height":0.5821,
+					"Text":"manufacturer that the materials in"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox13",
+					"Left":0.79375,
+					"Top":9.15458,
+					"Width":5.79438,
+					"Height":0.5821,
+					"Text":"this article are described in"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox14",
+					"Left":1.40229,
+					"Top":9.73667,
+					"Width":3.99521,
+					"Height":0.5821,
+					"Text":"accordance with law"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line4",
+					"Left":0.211667,
+					"Top":10.3981,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox15",
+					"Left":2.40771,
+					"Top":10.6098,
+					"Width":2.77813,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"MADE FOR"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox16",
+					"Left":2.01083,
+					"Top":11.1919,
+					"Width":3.99521,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Symphony Sleep"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox17",
+					"Left":1.34938,
+					"Top":11.774,
+					"Width":5.00063,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"150 St Peters Centre Blvd."
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox18",
+					"Left":2.98979,
+					"Top":12.356,
+					"Width":1.5875,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Suite C"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox19",
+					"Left":1.82563,
+					"Top":12.9381,
+					"Width":4.20688,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"St Peters, MO 63376"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line5",
+					"Left":0.211667,
+					"Top":13.7583,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox20",
+					"Left":0.608542,
+					"Top":13.9965,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Date of Delivery:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox21",
+					"Left":0.608542,
+					"Top":14.5785,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Finished Size :"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox22",
+					"Left":0.608542,
+					"Top":15.1606,
+					"Width":5.58271,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"Net Weight of Filling Materials"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox3",
+					"Left":3.59833,
+					"Top":14.605,
+					"Width":3.59833,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"[#SIZE1#]X[#SIZE2#] In."
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox4",
+					"Left":0.608542,
+					"Top":15.7427,
+					"Width":5.97958,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Weight":400
+					},
+					"Text":"[#LBS#] lbs.[#OZ#] oz"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox23",
+					"Left":0.608542,
+					"Top":22.4102,
+					"Width":2.59292,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Date of Delivery:"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox5",
+					"Left":3.99521,
+					"Top":22.4102,
+					"Width":1.79917,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"[#鏃ユ湡#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox24",
+					"Left":0.608542,
+					"Top":22.7806,
+					"Width":4.60375,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Importer/US Records Location:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox25",
+					"Left":0.608542,
+					"Top":23.151,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"Innovative Sleep Technologies"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox26",
+					"Left":0.608542,
+					"Top":23.5744,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Calibri",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"150 St. Peters Centre Blvd. - Suite C"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox27",
+					"Left":0.608542,
+					"Top":23.9977,
+					"Width":5.00063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Calibri",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"St. Peters, MO 63376"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox28",
+					"Left":0.608542,
+					"Top":24.7915,
+					"Width":1.19063,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Model:"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox6",
+					"Left":3.99521,
+					"Top":24.7915,
+					"Width":1.79917,
+					"Height":0.3969,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"[#瑙勬牸#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox29",
+					"Left":0.608542,
+					"Top":25.4,
+					"Width":1.40229,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Prototype ID: "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox30",
+					"Left":3.99521,
+					"Top":25.4,
+					"Width":1.79917,
+					"Height":0.396875,
+					"Font":{
+						"Name":"Arial",
+						"Size":60000,
+						"Weight":400
+					},
+					"Text":"Multiple"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox31",
+					"Left":0.608542,
+					"Top":26.4054,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Bold":true
+					},
+					"Text":"FOUNDATION ID: "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox32",
+					"Left":3.59833,
+					"Top":26.4054,
+					"Width":2.98979,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Bold":true,
+						"Underline":true
+					},
+					"Text":"SSABWM-22"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line6",
+					"Left":0.211667,
+					"Top":27.596,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox33",
+					"Left":0.608542,
+					"Top":28.0723,
+					"Width":1.79917,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Weight":400
+					},
+					"Text":"Serial No."
+				},
+				{
+					"Type":"Line",
+					"Name":"Line7",
+					"Left":0.211667,
+					"Top":28.9983,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox7",
+					"Left":3.20146,
+					"Top":28.0723,
+					"Width":3.59833,
+					"Height":0.5821,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox34",
+					"Left":1.79917,
+					"Top":29.3952,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Not to be removed until"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox35",
+					"Left":1.79917,
+					"Top":29.7921,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"delivered to the consumer"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox36",
+					"Left":1.79917,
+					"Top":30.6123,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Ne pas enleveravant la"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox37",
+					"Left":1.5875,
+					"Top":31.0621,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"livraison au consommateur"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line8",
+					"Left":0.211667,
+					"Top":31.8029,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox38",
+					"Left":2.01083,
+					"Top":32.1998,
+					"Width":3.20146,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"This article contains"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox39",
+					"Left":2.01083,
+					"Top":32.5967,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"NEW MATERIAL"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox40",
+					"Left":3.01625,
+					"Top":32.9935,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"ONLY"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox41",
+					"Left":2.01083,
+					"Top":33.999,
+					"Width":4.02167,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Cet article contient des"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox42",
+					"Left":0.396875,
+					"Top":34.3958,
+					"Width":7.19667,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":112500,
+						"Bold":true
+					},
+					"Text":"MAT脡RIAUX NEUFS SEULEMENT"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line9",
+					"Left":0.211667,
+					"Top":35.1896,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox43",
+					"Left":1.19063,
+					"Top":35.4013,
+					"Width":5.21229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"This label is affixed in compliance"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox44",
+					"Left":2.19604,
+					"Top":35.8246,
+					"Width":3.20146,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"with Provincial Law"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox45",
+					"Left":1.5875,
+					"Top":36.8035,
+					"Width":4.78896,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Cette etiquette est appos茅e"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox46",
+					"Left":0.820208,
+					"Top":37.2269,
+					"Width":5.58271,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"conform茅ment 脿 la loi de la province"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line10",
+					"Left":0.211667,
+					"Top":37.9942,
+					"Width":6.58813,
+					"Pen":{
+						"Width":2
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox47",
+					"Left":0.396875,
+					"Top":38.2058,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Reg. No."
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox48",
+					"Left":4.20688,
+					"Top":38.2058,
+					"Width":2.38125,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"No de permis聽:"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox49",
+					"Left":2.19604,
+					"Top":38.7879,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"01T-02479117"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox50",
+					"Left":2.40771,
+					"Top":39.2113,
+					"Width":1.98438,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"QC-013022"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox51",
+					"Left":2.80458,
+					"Top":39.6346,
+					"Width":1.19063,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"66768"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox52",
+					"Left":0.396875,
+					"Top":40.5871,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Content"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox53",
+					"Left":3.59833,
+					"Top":40.5871,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":90000,
+						"Weight":400
+					},
+					"Text":"Contenu"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox54",
+					"Left":0.211667,
+					"Top":41.1956,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"PADDING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox55",
+					"Left":3.20146,
+					"Top":41.1956,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"REMBOURRAGE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox56",
+					"Left":0.211667,
+					"Top":41.9894,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"POLYETHYLENE "
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox57",
+					"Left":0.211667,
+					"Top":42.545,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"FOAM PAD"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox58",
+					"Left":3.12208,
+					"Top":42.0158,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"Mousse de"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox59",
+					"Left":3.12208,
+					"Top":42.5715,
+					"Width":2.40771,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Bold":true
+					},
+					"Text":"Poly茅phyl猫ne"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line11",
+					"Left":0.211667,
+					"Top":43.2065,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox60",
+					"Left":0.608542,
+					"Top":43.3917,
+					"Width":6.19125,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"Federal Requirement/Exigence f茅d茅rale"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox61",
+					"Left":2.40771,
+					"Top":44.3971,
+					"Width":2.19604,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":82500,
+						"Bold":true
+					},
+					"Text":"SOR/2016-194"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox62",
+					"Left":0.396875,
+					"Top":44.794,
+					"Width":6.58813,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":75000,
+						"Bold":true
+					},
+					"Text":"POLYETHYLENE FABRIC  TISSU MULTICOUCHES"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox63",
+					"Left":1.50813,
+					"Top":45.4025,
+					"Width":0.820208,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"FACE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox64",
+					"Left":4.78896,
+					"Top":45.4025,
+					"Width":0.820208,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"VISAGE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox65",
+					"Left":0.608542,
+					"Top":46.011,
+					"Width":1.5875,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYESTER"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox66",
+					"Left":3.81,
+					"Top":46.011,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Polyester"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox8",
+					"Left":5.79438,
+					"Top":46.011,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox67",
+					"Left":0.608542,
+					"Top":46.7783,
+					"Width":2.19604,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYURETHANE"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox68",
+					"Left":3.41313,
+					"Top":46.7783,
+					"Width":1.79917,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Poly茅phyl猫ne"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox9",
+					"Left":5.79438,
+					"Top":46.7783,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox69",
+					"Left":1.19063,
+					"Top":47.8367,
+					"Width":2.2225,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"FR BACKING"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox70",
+					"Left":4.39208,
+					"Top":47.8367,
+					"Width":2.01083,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":" FR SUPPORT"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox71",
+					"Left":0.608542,
+					"Top":48.4452,
+					"Width":1.5875,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"POLYESTER"
+				},
+				{
+					"Type":"StaticBox",
+					"Name":"StaticBox72",
+					"Left":3.81,
+					"Top":48.4452,
+					"Width":1.40229,
+					"Height":0.449792,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"Polyester"
+				},
+				{
+					"Type":"MemoBox",
+					"Name":"MemoBox10",
+					"Left":5.79438,
+					"Top":48.4452,
+					"Width":1.40229,
+					"Height":0.4498,
+					"Font":{
+						"Name":"Arial",
+						"Size":67500,
+						"Weight":400
+					},
+					"Text":"[#UPC#]"
+				},
+				{
+					"Type":"Line",
+					"Name":"Line12",
+					"Left":0.211667,
+					"Top":49.7946,
+					"Width":6.58813,
+					"Pen":{
+						"Width":5
+					}
+				},
+				{
+					"Type":"Line",
+					"Name":"Line13",
+					"Left":5.3975,
+					"Top":50.8,
+					"Width":1.40229,
+					"Pen":{
+						"Width":2
+					}
+				}
+			]
+		}
+	]
+}
\ No newline at end of file
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagBarCodeList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagBarCodeList.html"
new file mode 100644
index 0000000..f847926
--- /dev/null
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagBarCodeList.html"
@@ -0,0 +1,1191 @@
+锘�<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    <meta http-equiv="Content-Type" content="text/html; 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, maximum-scale=1">
+    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <!--<script src="../../../layuiadmin/layui/layui.js"></script>-->
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+    <script src="../../../layuiadmin/Scripts/json2.js"></script>
+    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script>
+    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
+    <script src="../../../layuiadmin/PubCustom.js"></script>
+    <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script>
+    <script src="../../../layuiadmin/HideButton.js"></script>
+    <script src="../../../layuiadmin/soulTable.slim.js"></script>
+    <script src="../../../layuiadmin/PageTitle.js"></script>
+    <script src="../../../layuiadmin/SetColumn.js"></script>
+    <style type="text/css">
+        input.layui-input.layui-unselect {
+            padding-right: 0;
+        }
+    </style>
+</head>
+<body>
+    <div class="layui-fluid">
+        <div class="layui-col-md12">
+            <div class="layui-card" style="padding: 1px">
+                <div class="layui-card-body" style="padding: 1px;">
+                    <form class="layui-form" action="" lay-filter="component-form-group">
+                        <div class="layui-collapse">
+                            <div class="layui-colla-item">
+                                <div class="layui-colla-title layui-inline">
+                                    <div class="layui-inline">
+                                        <span>鏇村</span>
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐗╂枡浠g爜</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber" style="width:190px;">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐢熶骇璁㈠崟鍙�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input ForFilteringSchemes" name="HICMOBillNo" id="HICMOBillNo" style="width:190px;">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">瀹㈡埛鍚嶇О</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input ForFilteringSchemes" name="HCustName" id="HCustName" style="width:190px;">
+                                    </div>
+                                </div>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
+                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                </button>
+                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">閲嶇疆</button>
+
+                                <!--鏄剧ず褰撳墠杩囨护鏂规-->
+                                <div class="layui-inline" style="margin-left:5px;">
+                                    <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" id="HFilterScheme_Now"></div>
+                                </div>
+                                <div class="layui-colla-content">
+                                    <div class="layui-row" style=" margin-top: 10px; margin-left: 70px;">
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label">杩囨护</label>
+                                            <div class="layui-input-block">
+                                                <select name="ColName" id="ColName" class="ForFilteringSchemes" lay-filter="ColName" style="width:190px;">
+                                                </select>
+                                            </div>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <select name="Comparator" id="Comparator" class="ForFilteringSchemes" lay-filter="Comparator" style="width:190px;">
+                                                <option value="0" selected="selected"></option>
+                                                <option value="=">=</option>
+                                                <option value=">=">>=</option>
+                                                <option value=">">></option>
+                                                <option value="<="><=</option>
+                                                <option value="<"><</option>
+                                                <option value="<>"><></option>
+                                                <option value="7">鍖呭惈</option>
+                                                <option value="8">宸﹀寘鍚�</option>
+                                                <option value="9">鍙冲寘鍚�</option>
+                                                <option value="10">涓嶅寘鍚�</option>
+                                            </select>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent" id="ColContent">
+                                        </div>
+                                    </div>
+
+                                    <div class="layui-row" style=" margin-top: 10px; margin-left: 70px;">
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label">杩囨护</label>
+                                            <div class="layui-input-block">
+                                                <select name="ColName1" id="ColName1" class="ForFilteringSchemes" lay-filter="ColName1" style="width:190px;">
+                                                </select>
+                                            </div>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <select name="Comparator1" id="Comparator1" class="ForFilteringSchemes" lay-filter="Comparator1" style="width:190px;">
+                                                <option value="0" selected="selected"></option>
+                                                <option value="=">=</option>
+                                                <option value=">=">>=</option>
+                                                <option value=">">></option>
+                                                <option value="<="><=</option>
+                                                <option value="<"><</option>
+                                                <option value="<>"><></option>
+                                                <option value="7">鍖呭惈</option>
+                                                <option value="8">宸﹀寘鍚�</option>
+                                                <option value="9">鍙冲寘鍚�</option>
+                                                <option value="10">涓嶅寘鍚�</option>
+                                            </select>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent1" id="ColContent1">
+                                        </div>
+                                    </div>
+
+                                    <div class="layui-row" style=" margin-top: 10px; margin-left: 70px;">
+                                        <div class="layui-inline">
+                                            <label class="layui-form-label">杩囨护</label>
+                                            <div class="layui-input-block">
+                                                <select name="ColName2" id="ColName2" class="ForFilteringSchemes" lay-filter="ColName2" style="width:190px;">
+                                                </select>
+                                            </div>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <select name="Comparator2" id="Comparator2" class="ForFilteringSchemes" lay-filter="Comparator2" style="width:190px;">
+                                                <option value="0" selected="selected"></option>
+                                                <option value="=">=</option>
+                                                <option value=">=">>=</option>
+                                                <option value=">">></option>
+                                                <option value="<="><=</option>
+                                                <option value="<"><</option>
+                                                <option value="<>"><></option>
+                                                <option value="7">鍖呭惈</option>
+                                                <option value="8">宸﹀寘鍚�</option>
+                                                <option value="9">鍙冲寘鍚�</option>
+                                                <option value="10">涓嶅寘鍚�</option>
+                                            </select>
+                                        </div>
+                                        <div class="layui-inline">
+                                            <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent2" id="ColContent2">
+                                        </div>
+                                    </div>
+                                </div>
+                            </div>
+                        </div>
+
+                        <table class="" id="mainTable" lay-filter="mainTable"></table>
+                        <div id="page" style="margin-top:30px;"></div>
+                        <script type="text/html" id="toolbarDemo">
+                            <div class="layui-btn-container">
+                                <button type="button" class="layui-btn layui-btn-sm" lay-event="get_export" id="get_export"><i class="layui-icon layui-icon-export"></i>瀵煎嚭</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="btn-Delete" id="btn-Delete"><i class="layui-icon layui-icon-delete"></i>鍒犻櫎</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_Refresh" id="get_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>鍒锋柊</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="get_Exit" id="get_Exit"><i class="layui-icon layui-icon-logout"></i>閫�鍑�</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="HideColumn" id="HideColumn"><i class="layui-icon layui-icon-form"></i>闅愯棌鍒楄缃�</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="set_HideButton" id="HideButton"><i class="layui-icon layui-icon-form"></i>鎸夐挳璁剧疆</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="set_SaveScheme" id="set_SaveScheme"><i class="layui-icon layui-icon-template"></i>淇濆瓨鏂规</button>
+                                <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="set_ReadScheme" id="set_ReadScheme"><i class="layui-icon layui-icon-set"></i>璇诲彇鏂规</button>
+                            </div>
+                        </script>
+                    </form>
+                </div>
+            </div>
+     </div>
+    </div>
+  
+    <script>
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index', //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate', 'soulTable'], function () {
+            var $ = layui.$
+                , admin = layui.admin
+                , layer = layui.layer
+                , table = layui.table
+                , form = layui.form
+                , element = layui.element
+                , laypage = layui.laypage
+                , laydate = layui.laydate
+                , util = layui.util
+                , soulTable = layui.soulTable
+
+            var Organization = sessionStorage["Organization"];
+
+            //鏌ヨ鏉′欢
+            var sWhere = "";
+            var option = [];
+
+            var HModName = "Sc_CustomerTagBarCodeList";
+            var HBillType = "10003";
+            var ins;       //鐢ㄤ簬瀵煎嚭excel
+            //#region 銆愯繃婊ゆ柟妗堛��
+
+            //杩囨护鏉′欢鐨刢lass绫� 
+            var HClassTag = "ForFilteringSchemes";
+            //妯″潡鍚嶇О锛堜腑鏂囩増锛� 姣忎釜妯″潡椤甸潰閮介渶瑕佷慨鏀�
+            window.HModuleName = "瀹㈡埛鏍囩鏉$爜缁存姢";
+            //鏄惁宸茬粡閫夋嫨浜嗚繃婊ゆ柟妗堬紙鍏ㄥ眬鍙橀噺锛�
+            window.HDefaultFilter = "";
+            //閫夋嫨鐨勮繃婊ゆ柟妗堝唴鐮侊紙鍏ㄥ眬鍙橀噺锛�
+            window.HInterID_Choose = 0;
+
+            //#endregion
+
+
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "10003";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
+            //#endregion
+            var titleData = ["HItemID","hmainid", "HCustID", "hsubid", "HMaterID","sorderid"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+            //鍒濆鍖栫晫闈�
+            set_ClearBill();
+
+            //#endregion
+
+            //閲嶆柊鍚屾鎸夐挳
+            form.on('submit(btnResCnz)', function (data) {
+                set_ResCnz();
+            });
+
+            //#region 閲嶇疆鎸夐挳
+            form.on('submit(btnReSearch)', function (data) {
+                //娓呯┖杩囨护鏉′欢
+                set_ClearQuery();
+
+                optionPage.curr = 1;
+                get_FastQuery(table, option);
+                
+            });
+            //#endregion
+
+            //#endregion 杈撳叆妗嗗洖杞︾洃鍚�
+            $('input[type="text"]').on('keydown', function (event) {
+                if (event.keyCode == 13) {
+                    $("#btnSearch").click();
+                }
+            });
+            //#endregion
+
+            //#region 鏌ヨ鎸夐挳
+            form.on('submit(btnSearch)', function (data) {
+                optionPage.curr = 1;
+                get_FastQuery(table, option);
+                
+            });
+            //#endregion
+
+            //鏃ユ湡闂撮殧涓嬫媺鍒楄〃鐩戝惉
+            form.on('select(HInitTimeCycle)', function (data) {
+                var HInitTimeCycle = $("#HInitTimeCycle").val() * 1;
+                //鑻ユ棩鏈熼棿闅斾笉涓� 浠绘剰闂撮殧锛屽垯绂佺敤寮�濮嬫棩鏈熶笌缁撴潫鏃ユ湡鐨勯�夋嫨
+                if (HInitTimeCycle != -1) {
+                    $('#HBeginDate').prop('disabled', true);
+                    $('#HEndDate').prop('disabled', true);
+
+                    $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd"));
+                    $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
+
+                    //鎵ц鏌ヨ鏂规硶
+                    get_FastQuery();
+                } else {
+                    $('#HBeginDate').prop('disabled', false);
+                    $('#HEndDate').prop('disabled', false);
+                }
+            });
+
+            //鑾峰彇缁勭粐
+            Organ();
+
+            //#region 鍒濆鍖栫晫闈�
+            function set_ClearBill() {
+                //鍒濆鍖栨棩鏈熼棿闅斻�佸紑濮嬫棩鏈熴�佺粨鏉熸棩鏈�
+                setSelect_HInitTimeCycle();
+                //鑻ユ棩鏈熼棿闅斾笉涓� 浠绘剰闂撮殧锛屽垯绂佺敤寮�濮嬫棩鏈熶笌缁撴潫鏃ユ湡鐨勯�夋嫨
+                var HInitTimeCycle = $("#HInitTimeCycle").val() * 1;
+                if (HInitTimeCycle != -1) {
+                    $('#HBeginDate').prop('disabled', true);
+                    $('#HEndDate').prop('disabled', true);
+                } else {
+                    $('#HBeginDate').prop('disabled', false);
+                    $('#HEndDate').prop('disabled', false);
+                }
+
+                //鏍规嵁鏃ユ湡闂撮殧璁剧疆寮�濮嬫椂闂翠笌缁撴潫鏃堕棿
+                $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd"));
+                $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
+                //鍒濆鍖栬〃鏍�
+                set_InitGrid();
+                //鍒濆鍖栭〉澶у皬
+                DisPlay_HideColumn_GetPageSize(HModName, sessionStorage["HUserName"], optionPage);
+                //鏌ヨ
+                get_FastQuery(table, option);
+                DisPlay_HideColumn();
+                //浠绘剰瀛楁杩囨护涓嬫媺妗嗗垵濮嬪寲
+                ColFilter();
+
+                //鏌ヨ褰撳墠鐧诲綍鐢ㄦ埛鏈夋病鏈夊湪褰撳墠妯″潡璁剧疆榛樿杩囨护鏂规
+                get_DefaultModule();
+            }
+            //#endregion
+            //#region 鍒濆鍖栬〃鏍兼柟娉�
+            function set_InitGrid() {
+                option = {
+                    elem: '#mainTable'
+                    , toolbar: '#toolbarDemo'
+                    , height: 'full-50'
+                    //, page: true
+                    , cellMinWidth: 90
+                    , limit: 50
+                    //, limits: [50, 500, 5000, 20000]
+                    , done: function (res, curr, count) {
+                        soulTable.render(this);
+                    }
+                    , cols: []
+                };
+
+                optionPage = {
+                    elem: 'page', //娉ㄦ剰锛岃繖閲岀殑 page 鏄� ID锛屼笉鐢ㄥ姞 # 鍙�
+                    count: 10000, //鏁版嵁鎬绘暟锛屼粠鏈嶅姟绔緱鍒�
+                    limit: 50,
+                    limits: [50, 500, 5000, 50000],
+                    layout: ['count', 'prev', 'page', 'next', 'limit', 'skip'],
+                    jump: function (obj, first) {
+                        //console.log(obj)
+                        //obj鍖呭惈浜嗗綋鍓嶅垎椤电殑鎵�鏈夊弬鏁帮紝姣斿锛�
+                        //console.log(obj.curr); //寰楀埌褰撳墠椤碉紝浠ヤ究鍚戞湇鍔$璇锋眰瀵瑰簲椤电殑鏁版嵁銆�
+                        //console.log(obj.limit); //寰楀埌姣忛〉鏄剧ず鐨勬潯鏁�
+
+                        //棣栨涓嶆墽琛�
+                        if (!first) {
+                            //do something
+                            console.log(obj)
+                            get_FastQuery(table, option);
+                        }
+                    }
+                }
+                laypage.render(optionPage);
+            }
+
+            //#endregion  鐩戝惉缃戞牸琛ㄤ綋浜嬩欢
+            table.on('tool(mainTable)', function (obj) {
+                var data = obj.data;
+
+                //鍗曟嵁鍙疯秴閾炬帴
+                if (obj.event == '鍗曟嵁鍙�') {                  //妫�鏌� obj.event 鏄惁绛変簬瀛楃涓� '鍗曟嵁鍙�'銆傚鏋滅瓑浜庯紝鍒欐墽琛宨f寰幆
+                    var linterid = data.hmainid.toString();    //澹版槑鍙橀噺linterid 涓� data.hmainid   
+                    //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
+                    layer.open({                //浣跨敤 layer鐨刼pen鎵撳紑寮瑰嚭 灞� 
+                        type: 2                         //琛ㄧず寮瑰嚭灞傜殑鍐呭鏄竴涓� iframe
+                        , area: ['100%', '100%']
+                        , title: '缂栬緫' + HPageTitle  //璁剧疆寮瑰嚭灞傜殑鍚嶅瓧鍜屽彉閲�
+                        , closeBtn: 1//鏄剧ず鍏抽棴鎸夐挳
+                        , shade: 0.6 //閬僵閫忔槑搴�
+                        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                        , content: '../../鐢熶骇绠$悊/瀹㈡埛鏍囩/Sc_CustomerTagInfoEdit.html?OperationType=3&linterid='+ linterid + '&HSouceBillType=0&closeType=1'  //璁剧疆 iframe 鐨� URL锛孶RL 涓寘鍚簡鏌ヨ鍙傛暟锛屾潵璋冪敤鎵�闇�瑕佺殑鍊�
+                        , resize: false,  //鏄惁鍏佽鐢ㄦ埛璋冩暣寮瑰嚭澶у皬
+                        end: function () {  //褰撳叧闂椂璋冪敤
+                            get_FastQuery(table, option);
+                        }
+                        , cancel: function () {  //鐐瑰嚮鍙栨秷鏃朵娇鐢ㄥ洖璋�
+                            //$(".layui-btn").removeClass("layui-btn-disabled");
+                        }
+                    })
+                }
+            });
+             //#endregion
+
+            //#region 鏌ヨ(涓昏〃)-鍒嗛〉
+            function get_DisplayPage(sWhere) {
+                var wait = layer.load();//閬僵
+                var ajaxLoad = layer.load();
+                $.ajax({
+                    url: GetWEBURL() + '/Sc_CustomerTagBarCode/BarPageList',
+                    type: "GET",
+                    async: false,
+                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization, "page": optionPage.curr, "size": optionPage.limit },
+                    success: function (data1) {
+                        option.limit = optionPage.limit;//鏀瑰彉琛ㄦ牸椤靛ぇ灏�
+                        if (data1.code == 1) {
+                            optionPage.count = data1.count;//鏀瑰彉鍒楄〃鏁版嵁鎬绘暟
+                            var data = [];//鍒楀瓧娈垫暟鎹�
+                            var col = [];
+                            var totalArray = [];
+                            //缁欑┖鐨勬暟缁勮祴鍊�
+                            for (var key in data1.list) {//寰簭閬嶅巻鏁扮粍
+                                data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });//浠庢瘡涓璞′腑鎻愬彇鏁版嵁
+                            }
+                            //鍦ㄥ垪琛ㄥ乏杈规坊鍔犲嬀閫夋
+                            col.push({ type: 'checkbox', fixed: 'left', totalRowText: '鍚堣' });
+                            for (var i = 0; i < data.length; i++) {//閬嶅巻data鏁扮粍閲嶇殑鏁版嵁
+                                // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
+                                if ($.inArray(data[i].name, titleData) > -1) {//妫�鏌ata銆恑銆�.name鏄惁鍦ㄦ暟缁勪腑  //璁$畻鍒�
+                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //闅愯棌id鍒�
+                                }
+                                else if ($.inArray(data[i].name, totalArray) > -1) { //璁$畻鍒�  
+                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120 });
+                                } else if (data[i].name == '鍗曟嵁鍙�') {
+                                    col.push({
+                                        field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, event: '鍗曟嵁鍙�', event: '鍗曟嵁鍙�', templet: function (d) {
+                                            return '<span style="color: blue;">' + d.鍗曟嵁鍙� + '</span>'
+                                        }, style: 'cursor: pointer;'
+                                    });
+                                } else {
+                                    switch (data[i].Type) {
+                                        //int
+                                        case 'DateTime':
+                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + (data[i].name == "琛屽叧闂棩鏈�" ? "琛屽叧闂汉" : data[i].name) + " ==''?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", width: 200 });
+                                            break;
+                                        default:
+                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
+                                    }
+                                }
+                            }
+                            option.cols = [col];
+                            option.data = data1.data;
+                            ins = table.render(option);
+
+                            laypage.render(optionPage);
+                            layer.close(ajaxLoad);
+
+                            DisPlay_HideColumn();
+                            //鍒锋柊鎸夐挳鏄剧ず
+                            var btns = document.getElementsByTagName("button");     //鑾峰彇鏈〉鎵�鏈夋寜閽璞�
+                            Display_HideButton(btns, HBillType, HModName, sessionStorage["HUserName"]);
+
+
+                            if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") {
+                                ColFilter();
+                            }
+
+                        } else {
+                            layer.close(ajaxLoad);
+                            layer.alert(data1.code + data1.Message, { icon: 5 });
+                            /*layer.alert(data1.code + data1.Message, { icon: 5 });*/
+                        }
+                    }, error: function (e) {
+                        layer.close(ajaxLoad);
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+                layer.close(wait);
+            }
+            //#endregion
+
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                var checkStatus = table.checkStatus(obj.config.id);
+                switch (obj.event) {                   
+                    case 'btn-Delete':
+                        var checkStatus = table.checkStatus('mainTable')
+                            , data = checkStatus.data;
+                        if (checkStatus.data.length >= 1) {
+                            var HItemIDs = "";
+                            for (i = 0; i < data.length; i++) {
+                                HItemIDs += data[i].HItemID.toString() + ",";
+                            }
+                            HItemIDs = HItemIDs.substring(0, HItemIDs.length - 1)
+                            //閫昏緫鍒犻櫎鏂规硶
+                            layer.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠", { title: "鍒犻櫎纭" }, function (index) {
+                                $.ajax({
+                                    type: "GET",
+                                    url: GetWEBURL() + "Sc_CustomerTagBarCode/DeleteBarCode", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+                                    data: { "HItemIDs": HItemIDs, "user": sessionStorage["HUserName"] },
+                                    success: function (result) {
+                                        if (result.count == 1) {
+                                            layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
+                                                // 寰楀埌frame绱㈠紩
+                                                var index = layer.getFrameIndex(window.name);
+                                                //鍏抽棴褰撳墠frame
+                                                layer.close(index);
+                                                //淇敼涓哄姛鍚庡埛鏂扮晫闈�
+                                                window.location.reload();
+                                            });
+
+                                        } else {
+                                            layer.alert(result.code + result.Message, { icon: 5 });
+                                        }
+                                    }, error: function () {
+                                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                                    }
+                                });                             
+                            })
+                        }
+                        else {
+                            layer.msg('璇烽�夋嫨鏁版嵁鍒犻櫎锛�');
+                        }
+                        break;
+                    //鍒锋柊
+                    case 'get_Refresh': get_Refresh();
+                        break;                   
+                    //閫�鍑烘寜閽�
+                    case 'get_Exit': Pub_Close(2);
+                        break;                   
+                    //闅愯棌鍒楄缃�
+                    case 'HideColumn':
+                        get_HideColumn();
+                        break;
+                    //鎸夐挳璁剧疆
+                    case 'set_HideButton':
+                        var btns = document.getElementsByTagName("button");     //鑾峰彇鏈〉鎵�鏈夋寜閽璞�
+                        get_HideButton(btns, HBillType, HModName, sessionStorage["HUserName"]);
+                        break;                   
+                    //淇濆瓨鏂规
+                    case 'set_SaveScheme': set_SaveScheme();
+                        break;
+                    //璇诲彇鏂规
+                    case 'set_ReadScheme': set_ReadScheme();
+                        break;
+                    //瀵煎嚭excel
+                    case 'get_export': get_Export();
+                        break;
+                };
+            });
+
+            //鑾峰彇缁勭粐
+            function Organ() {
+                //鑾峰彇鐧诲綍椤电粍缁囧垪
+                $.ajax({
+                    type: "get",
+                    url: GetWEBURL() + "/Web/GetOrganizations",
+                    success: function (result) {
+                        var Organization = "";
+                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                            var data = result.data;
+                            for (var i = 0; i < data.length; i++) {
+                                Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
+                            }
+                            $("#HOrgID").append(Organization);
+                            $("#HOrgID").val(sessionStorage["OrganizationID"])
+                            form.render('select');
+                        }
+                        layer.closeAll("loading");
+                    }
+                })
+            }
+
+            //#region 蹇�熻繃婊�
+            function get_FastQuery(table, option) {
+                var HMaterNumber = $("#HMaterNumber").val();//鐗╂枡浠g爜
+                var HCustName = $("#HCustName").val();//瀹㈡埛鍚嶇О
+                var HICMOBillNo = $("#HICMOBillNo").val();//鐢熶骇璁㈠崟鍙�
+
+                var ColName = $("#ColName").val();//澶嶉�夋
+                var Comparator = $("#Comparator").val()
+                var ColContent = $("#ColContent").val();
+                var ColName1 = $("#ColName1").val();//澶嶉�夋
+                var Comparator1 = $("#Comparator1").val()
+                var ColContent1 = $("#ColContent1").val();
+                var ColName2 = $("#ColName2").val();//澶嶉�夋
+                var Comparator2 = $("#Comparator2").val()
+                var ColContent2 = $("#ColContent2").val();
+                if (ColName != 0 && Comparator != 0) {
+                    var com = "";
+                    switch (Comparator) {
+                        case "7":
+                            com = "like'%" + ColContent + "%'";
+                            break;
+                        case "8":
+                            com = "like'%" + ColContent + "'";
+                            break;
+                        case "9":
+                            com = "like'" + ColContent + "%'";
+                            break;
+                        case "10":
+                            com = "not like'%" + ColContent + "%'";
+                            break;
+                        default:
+                            com = "" + Comparator + "'" + ColContent + "'";
+                            break;
+                    }
+                    sWhere += " and " + ColName + " " + com;
+                }
+                if (ColName1 != 0 && Comparator1 != 0) {
+                    var com1 = "";
+                    switch (Comparator1) {
+                        case "7":
+                            com1 = "like'%" + ColContent1 + "%'";
+                            break;
+                        case "8":
+                            com1 = "like'%" + ColContent1 + "'";
+                            break;
+                        case "9":
+                            com1 = "like'" + ColContent1 + "%'";
+                            break;
+                        case "10":
+                            com1 = "not like'%" + ColContent1 + "%'";
+                            break;
+                        default:
+                            com1 = "" + Comparator1 + "'" + ColContent1 + "'";
+                            break;
+                    }
+                    sWhere += " and " + ColName1 + " " + com1;
+                }
+                if (ColName2 != 0 && Comparator2 != 0) {
+                    var com2 = "";
+                    switch (Comparator2) {
+                        case "7":
+                            com2 = "like'%" + ColContent2 + "%'";
+                            break;
+                        case "8":
+                            com2 = "like'%" + ColContent2 + "'";
+                            break;
+                        case "9":
+                            com2 = "like'" + ColContent2 + "%'";
+                            break;
+                        case "10":
+                            com2 = "not like'%" + ColContent2 + "%'";
+                            break;
+                        default:
+                            com2 = "" + Comparator + "'" + ColContent + "'";
+                            break;
+                    }
+                    sWhere += " and " + ColName2 + " " + com2;
+                }
+
+                if (HMaterNumber) {
+                    sWhere += " and 鐗╂枡浠g爜 like '%" + HMaterNumber + "%'";
+                }
+                if (HCustName) {
+                    sWhere += " and 瀹㈡埛鍚嶇О like '%" + HCustName + "%'";
+                }
+                if (HICMOBillNo) {
+                    sWhere += " and 鐢熶骇璁㈠崟鍙� like '%" + HICMOBillNo + "%'";
+                }
+
+                //sWhere += addSWhereByOpenType();
+                get_DisplayPage(sWhere);
+                sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
+            }
+            //#endregion
+            //#region 閲嶇疆杩囨护鏉′欢
+            function set_ClearQuery() {
+                $("#HMaterNumber").val("");//
+                $("#HICMOBillNo").val("");//
+                $("#HCustName").val("");//
+
+                $("#ColContent").val("");
+                $("#ColName").val("0");
+                $("#Comparator").val("0");
+                $("#ColContent1").val("");
+                $("#ColName1").val("0");
+                $("#Comparator1").val("0");
+                $("#ColContent2").val("");
+                $("#ColName2").val("0");
+                $("#Comparator2").val("0");
+                form.render('select');
+
+                sWhere = "";
+            }
+            //#endregion
+            //鍒楁槑鏄剧ず涓嬫媺妗�
+            function ColFilter() {
+                var Organization = '<option  value="0" selected="selected" ></option>';
+                for (var i = 1; i < option.cols[0].length; i++) {
+                    if (option.cols[0][i].hide != true) {
+                        Organization += '<option  style="color:blue;" value="' + option.cols[0][i].field + '">' + option.cols[0][i].title + '</option>';
+                    }
+                }
+                $("#ColName").empty();
+                $("#ColName").append(Organization);
+                $("#ColName1").empty();
+                $("#ColName1").append(Organization);
+                $("#ColName2").empty();
+                $("#ColName2").append(Organization);
+
+                form.render('select');
+            }
+            //#region 鍒锋柊
+            function get_Refresh() {
+                set_ClearQuery();
+                get_DisplayPage(sWhere);
+            }
+            //#endregion
+           
+            //#region 鐐瑰嚮琛岄�変腑楂樹寒
+            table.on('row(mainTable)', function (obj) {
+                //閫変腑琛屾敼鍙橀鑹�
+                var flag = !obj.tr.find(':checkbox:first').prop('checked');
+                obj.tr.find(':checkbox').prop('checked', flag);
+                if (flag) {
+                    obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked');  //璁剧疆澶嶉�夋閫変腑鏍峰紡
+                    $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" });//鏀瑰彉褰撳墠tr鑳屾櫙棰滆壊鍜屽瓧浣撻鑹�
+                } else {
+                    obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked');//鍙栨秷澶嶉�夋閫変腑鏍峰紡
+                    $(obj.tr.selector).attr({ "style": "background:" });//鍙栨秷褰撳墠tr棰滆壊
+                }
+                //mainTable 涓鸿〃鏍糏D   娉ㄦ剰姝ゅ濡傛灉ID涓嶆纭皢瀵艰嚧浣犲湪鐩戝惉澶嶉�夋鏃惰幏鍙栦笉鍒颁綘閫夋嫨鐨勬暟鎹紝鍓嶉潰鐨勫彧鏄坊鍔犳垨鍒犻櫎閫変腑鏈�変腑鏍峰紡浠ュ強璁剧疆鑳屾櫙鑹诧紝瀛椾綋棰滆壊
+                layui.each(table.cache.mainTable, function (i, l) {
+                    if (obj.tr.index() == l.LAY_TABLE_INDEX) {
+                        l.LAY_CHECKED = flag;
+                    }
+                });
+            })
+            //#endregion
+
+            //#region 鎺掑簭鍚庨�夋嫨
+            table.on('sort(mainTable)', function (obj) { //娉細sort 鏄伐鍏锋潯浜嬩欢鍚嶏紝test 鏄� table 鍘熷瀹瑰櫒鐨勫睘鎬� lay-filter="瀵瑰簲鐨勫��"
+                table.reload('mainTable', {
+                    initSort: obj //璁板綍鍒濆鎺掑簭锛屽鏋滀笉璁剧殑璇濓紝灏嗘棤娉曟爣璁拌〃澶寸殑鎺掑簭鐘舵�併�� layui 2.1.1 鏂板鍙傛暟
+                    , where: { //璇锋眰鍙傛暟锛堟敞鎰忥細杩欓噷闈㈢殑鍙傛暟鍙换鎰忓畾涔夛紝骞堕潪涓嬮潰鍥哄畾鐨勬牸寮忥級
+                        field: obj.field //鎺掑簭瀛楁   鍦ㄦ帴鍙d綔涓哄弬鏁板瓧娈�  field order
+                        , order: obj.type //鎺掑簭鏂瑰紡   鍦ㄦ帴鍙d綔涓哄弬鏁板瓧娈�  field order
+                    }
+                });
+                option.data = layui.table.cache["mainTable"];
+                table.render(option);
+                //鍒锋柊鎸夐挳鏄剧ず
+                var btns = document.getElementsByTagName("button");     //鑾峰彇鏈〉鎵�鏈夋寜閽璞�
+                Display_HideButton(btns, HBillType, HModName, sessionStorage["HUserName"]);
+            });
+            //#endregion
+
+            //闅愯棌鍒楄缃�
+            function get_HideColumn() {
+                var colName = "";
+                for (var i = 1; i < option.cols[0].length ; i++) {
+                    colName += option.cols[0][i]["field"] + ",";
+                }
+
+                colName = encodeURI(colName.substring(0, colName.length - 1));//瀵� URI 杩涜缂栫爜
+                layer.open({
+                    type: 2
+                    , skin: "layui-layer-rim" //鍔犱笂杈规
+                    , title: "闅愯棌鍒楄缃�"  //鏍囬
+                    , closeBtn: 1  //绐椾綋鍙充笂瑙掑叧闂� 鐨� 鏍峰紡
+                    , shift: 2 //寮瑰嚭鍔ㄧ敾
+                    , area: ["50%", "90%"] //绐椾綋澶у皬
+                    , maxmin: true //璁剧疆鏈�澶ф渶灏忔寜閽槸鍚︽樉绀�
+                    , content: ['../../鍩虹璧勬枡/闅愯棌鍒楄缃�/Gy_GridView_Hide.html?HModName=' + HModName + '&colName=' + colName, "yes"]
+                    , btn: ["纭畾", "鍙栨秷"]
+                    , btn1: function (index, laero) {
+                        //鍒濆鍖栭〉澶у皬
+                        DisPlay_HideColumn_GetPageSize(HModName, sessionStorage["HUserName"], optionPage);
+                        //鐩存帴鎵ц鍒楄〃绛涢�� 鍔犺浇鏁版嵁鍒扮綉鏍�
+                        get_FastQuery(table, option);
+                        //鏇存柊琛ㄦ牸缂撳瓨鐨勬暟鎹�
+                        layer.close(index);//鍏抽棴寮圭獥
+                    }
+                })
+            }
+
+            //鏄剧ず鍒楁暟鎹�
+            function DisPlay_HideColumn() {
+                $.ajax({
+                    url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList',
+                    async: false,
+                    type: "GET",
+                    async: false,
+                    data: { "HModName": HModName, "user": sessionStorage["HUserName"] },
+                    success: function (data1) {
+                        if (data1.data.length != 0) {
+
+                            var dataCol = [];//鏁版嵁搴撴煡璇㈠嚭鐨勫垪鏁版嵁
+                            var titleData = ["HItemID","hmainid", "sorderid", "HCustID", "HSSID", "HCurID", "HDeptID", "HManagerID", "HEmpID", "hsubid", "HMaterID", "HUnitID","HWHID"];//涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
+
+                            dataCol = data1.data[0].HGridString.split(',');
+
+                            for (var i = 0; i < option.cols[0].length -1; i++) {
+                                if (dataCol.length <= i) {
+                                    break;
+                                }
+
+                                var dataCols = dataCol[i].split('|');
+                                //闅愯棌鍒�
+                                if (dataCols[1] == 1) {
+                                    option.cols[0][i + 1]["hide"] = true;
+                                }
+                                //璁剧疆鍐呭瀛椾綋澶у皬
+                                if (data1.data[0].HFontSize != 0) {
+                                    option.cols[0][i + 1]["style"] = "font-size:" + data1.data[0].HFontSize + "px;";
+                                } else {
+                                    option.cols[0][i + 1]["style"] = "font-size:100%";
+                                }
+                                //璁剧疆鍒楀
+                                if (dataCols[3] > 0) {
+                                    option.cols[0][i + 1]["width"] = dataCols[3];
+                                }
+                                //鏄剧ず鍒�
+                                if (dataCols[1] == 0 && $.inArray(option.cols[0][i + 1]["title"], titleData) == -1) {
+                                    option.cols[0][i + 1]["hide"] = false;
+                                }
+                                //瀛椾綋鎵�鍦ㄤ綅缃�(宸� 灞呬腑 鍙�)
+                                switch (dataCols[2]) {
+                                    case "L":
+                                        option.cols[0][i + 1]["align"] = "left";
+                                        break;
+                                    case "M":
+                                        option.cols[0][i + 1]["align"] = "center";
+                                        break;
+                                    case "R":
+                                        option.cols[0][i + 1]["align"] = "right";
+                                        break;
+                                }
+                                //璁剧疆琛ㄦ牸title灞炴�ф樉绀哄埆鍚�
+                                if (dataCols[4] != null && dataCols[4] != "") {
+                                    option.cols[0][i + 1]["title"] = dataCols[4];
+                                }
+                            }
+
+                            //鍙栨秷鍐荤粨鍒�
+                            for (var i = 1; i < option.cols[0].length - 1; i++) {
+                                if (option.cols[0][i]["fixed"] != null) {
+                                    option.cols[0][i]["fixed"] = null;
+                                }
+                                else {
+                                    break;
+                                }
+                            }
+                            //鍐荤粨鍒�
+                            if (data1.data[0].HFixCols != 0) {
+                                for (var i = 0; i < data1.data[0].HFixCols; i++) {
+                                    if ($.inArray(option.cols[0][i + 1]["title"], titleData) != -1) {
+                                        data1.data[0].HFixCols += 1;
+                                    }
+                                    option.cols[0][i + 1]["fixed"] = "left";
+                                }
+                            }
+                            //璁剧疆鍒楁帓搴�
+                            for (var i = 1; i < option.cols[0].length; i++) {
+                                if (data1.data[0].HSortFlag == "鏄�") {
+                                    option.cols[0][i]["sort"] = true;
+                                }
+                                else {
+                                    option.cols[0][i]["sort"] = false;
+                                }
+                            }
+                            table.render(option);
+                            //鍒锋柊鎸夐挳鏄剧ず
+                            var btns = document.getElementsByTagName("button");     //鑾峰彇鏈〉鎵�鏈夋寜閽璞�
+                            Display_HideButton(btns, HBillType, HModName, sessionStorage["HUserName"]);
+                        } else {
+                            table.render(option);
+                            //鍒锋柊鎸夐挳鏄剧ず
+                            var btns = document.getElementsByTagName("button");     //鑾峰彇鏈〉鎵�鏈夋寜閽璞�
+                            Display_HideButton(btns, HBillType, HModName, sessionStorage["HUserName"]);
+                        }
+                    }, error: function () {
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                })
+            }
+
+            //#region 鍒濆鏃ユ湡闂撮殧 涓嬫媺鍒楄〃
+            function setSelect_HInitTimeCycle() {
+                var valueList = [0, 1, 2, 3, 4, 5, 6, 29, 180, 365];
+                var titleList = ["浠婂ぉ", "杩戜袱澶�", "杩戜笁澶�", "杩戝洓澶�", "杩戜簲澶�", "杩戝叚澶�", "杩戜竷澶�", "杩�30澶�", "杩戝崐骞�", "杩戜竴骞�"];
+
+                var HInitTimeCycle_ArrayList = '<option  value="-1" selected="selected" >浠绘剰闂撮殧</option>';
+                for (var i = 0; i < valueList.length; i++) {
+                    HInitTimeCycle_ArrayList += '<option  style="color:blue;" value="' + valueList[i] + '">' + titleList[i] + '</option>';
+                }
+
+                $("#HInitTimeCycle").empty();
+                $("#HInitTimeCycle").append(HInitTimeCycle_ArrayList);
+                form.render('select');
+
+                $("#HInitTimeCycle").val("29");
+            }
+            //#endregion
+
+            //#region 瀵煎嚭Execel
+            function get_Export() {
+                option.data.forEach((item) => {
+                    for (let itemobj in item) {
+                        if (item[itemobj] == null) {
+                            item[itemobj] = "";
+                        }
+                        if (item[itemobj].length > 0) {  // 鍋囪瀛楁鍚嶄负field
+                            item[itemobj] = item[itemobj].toString().replaceAll(/[\r\n]+/g, '');  // 灏嗘崲琛岀鏇挎崲涓虹┖瀛楃涓�
+                        }
+                    }
+                });
+
+                table.exportFile(ins.config.id, option.data, "xls");
+            }
+            //#endregion
+
+            //#region 銆愯繃婊ゆ柟妗堛��
+
+            //鑾峰彇褰撳墠鐢ㄦ埛鐨勯粯璁よ繃婊ゆ柟妗�
+            function get_DefaultModule() {
+                $.ajax({
+                    url: GetWEBURL() + '/Xt_FastICScheme/Chooselist',
+                    type: "GET",
+                    async: false,
+                    data: { "user": sessionStorage["Czybm"], "HModuleName": HModuleName, "HInterID": 0, "Type": "Default" },
+                    success: function (data1) {
+                        if (data1.count == 1) {
+                            //褰撳墠鐢ㄦ埛璁剧疆鏈夐粯璁ょ殑杩囨护鏂规
+                            var data = data1.data;
+                            //褰撳墠閫夋嫨鐨勮繃婊ゆ柟妗�
+                            HInterID_Choose = data[0].hmainid;
+                            //杩囨护鏂规鍐呯爜
+                            HInterID = data[0].hmainid
+                            //杩囨护鏂规鍚嶇О
+                            HDefaultFilter = data[0].鏂规鍚嶇О
+                            //杩囨护鏂规鐨勫娉紙鏂规淇℃伅鎻忚堪锛�
+                            var HRemark = data[0].澶囨敞
+                            //鏄剧ず鍑哄綋鍓嶇殑榛樿杩囨护鏂规
+                            document.getElementById("HFilterScheme_Now").style.display = "block";
+                            document.getElementById('HFilterScheme_Now').innerHTML = "褰撳墠杩囨护鏂规锛�" + HDefaultFilter + '<span style="font-size: 15px; font-weight: bold; color:#7b90fb">  ' + "(" + HRemark + ")" + '</span>';
+                            //鎶婅繃婊ゆ潯浠跺�煎洖鍐欏埌椤甸潰涓�
+                            for (let i = 0; i < data.length; i++) {
+                                $("#" + data[i].杩囨护瀛楁ID).val(data[i].杩囨护鍊�);
+                                if (data[i].杩囨护鏍囩绫诲瀷 == 'SELECT') {
+                                    $("#" + data[i].杩囨护瀛楁ID).find("option[value='" + data[i].杩囨护鍊� + "']").attr("selected", true);
+                                }
+                            }
+                            var HInitTimeCycle = $("#HInitTimeCycle").val() * 1;
+                            //鑻ユ棩鏈熼棿闅斾笉涓� 浠绘剰闂撮殧锛屽垯绂佺敤寮�濮嬫棩鏈熶笌缁撴潫鏃ユ湡鐨勯�夋嫨
+                            if (HInitTimeCycle != -1) {
+                                $('#HBeginDate').prop('disabled', true);
+                                $('#HEndDate').prop('disabled', true);
+
+                                $("#HBeginDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * HInitTimeCycle), "yyyy-MM-dd"));
+                                $("#HEndDate").val(Format(new Date(), "yyyy-MM-dd"));
+
+
+                                //鎵ц鏌ヨ鏂规硶
+                                get_FastQuery();
+                            } else {
+                                $('#HBeginDate').prop('disabled', false);
+                                $('#HEndDate').prop('disabled', false);
+                            }
+                            //鎵ц鏌ヨ鏂规硶
+                            get_FastQuery()
+                            form.render("select");
+                        } else {
+                            //褰撳墠鐢ㄦ埛娌℃湁璁剧疆榛樿鐨勮繃婊ゆ柟妗�
+                            //闅愯棌鏄剧ず杩囨护鏂规鐨勬爣绛句俊鎭�
+                            document.getElementById("HFilterScheme_Now").style.display = "none";
+                            //鎵ц鏌ヨ鏂规硶
+                            //get_FastQuery()
+                            //form.render("select");
+                        }
+                    }, error: function () {
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            }
+
+            //淇濆瓨鏂规
+            function set_SaveScheme() {
+                var index = layer.open()
+                //鍒ゆ柇鐢ㄦ埛鏄惁鐐瑰嚮浜嗗彸涓婅鐨勨�滃弶鍙封�濆叧闂脊绐楅〉闈�
+                var HIsClose_Manual = false;
+                //鑾峰彇鏈〉鎵�鏈夎繃婊ゆ潯浠跺璞�(class涓寘鍚�"ForFilteringSchemes"鐨勫厓绱�)
+                var Filter = document.getElementsByClassName(HClassTag);
+
+                var HFilterIdList = "";//杩囨护鏉′欢
+                var HFilterIdLists = "";//鎷兼帴澶氫釜杩囨护鏉′欢
+                var HValue = "";//杩囨护鍊�
+                var HElement_type = "";//杩囨护鏍囩绫诲瀷
+
+                for (var i = 0; i < Filter.length; i++) {
+                    HFilterIdList = Filter[i].id; //杩囨护鏉′欢ID
+                    HFilterIdLists += Filter[i].id + ","; //杩囨护鏉′欢ID(鎷兼帴)
+                    HValue += $("#" + HFilterIdList).val() + ","; //杩囨护鏉′欢涓緭鍏ョ殑鍊�                    
+                    HElement_type += document.getElementById(HFilterIdList).tagName + ",";//閫氳繃鏍囩id鑾峰彇鏍囩绫诲瀷
+                }
+
+                //鍘婚櫎鏈熬閫楀彿
+                HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1);
+                HValue = HValue.substring(0, HValue.length - 1);
+                HElement_type = HElement_type.substring(0, HElement_type.length - 1);
+
+                //褰撳墠椤甸潰涓婃病鏈夐�夋嫨杩囨护鏂规锛岃繘鍏ユ柊澧炴柟娉�
+                if (HDefaultFilter == "") {
+                    layer.open({
+                        type: 2
+                        , area: ['40%', '80%']
+                        , title: '杩囨护鏂规'
+                        , shift: 0//寮瑰嚭鍔ㄧ敾
+                        , content: '../../绯荤粺绠$悊/杩囨护鏂规璁剧疆/Xt_FastICScheme.html?OperationType=1&HModuleName=' + HModuleName + '&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type
+                        , cancel: function () {
+                            // 鍙充笂瑙掑叧闂簨浠剁殑閫昏緫
+                            HIsClose_Manual = true;
+                        }
+                        , end: function () {
+                            if (HIsClose_Manual != true) {
+                                get_FastQuery();
+                                //鏄剧ず褰撳墠鐨勮繃婊ゆ柟妗�
+                                document.getElementById("HFilterScheme_Now").style.display = "block";
+                                document.getElementById('HFilterScheme_Now').innerHTML = "褰撳墠杩囨护鏂规锛�" + sessionStorage["HFilterSchemeName_" + sessionStorage["Czybm"]] + '<span style="font-size: 15px; font-weight: bold; color:#7b90fb">  ' + "(" + sessionStorage["HFilterSchemeRemark_" + sessionStorage["Czybm"]] + ")" + '</span>';
+                            }
+                        }
+                    })
+                    layer.close(index)
+                } else {
+                    //褰撳墠椤甸潰宸叉湁杩囨护鏂规锛岀敤鎴烽�夋嫨 鏂板鎴栬�呯紪杈�
+                    layer.confirm('褰撳墠宸查�夋嫨杩囨护鏂规锛屾槸鍚︿慨鏀癸紵璇烽�夋嫨瀵瑰簲鎿嶄綔', {
+                        title: "鎿嶄綔鎻愮ず",
+                        icon: 0,
+                        btn: ['鏂板鏂规', '淇濆瓨淇敼褰撳墠鏂规', '鍙栨秷']
+                    }, function (index, layero) {
+                        //鏂板
+                        layer.open({
+                            type: 2
+                            , area: ['40%', '80%']
+                            , title: '杩囨护鏂规'
+                            , shift: 0//寮瑰嚭鍔ㄧ敾
+                            , content: '../../绯荤粺绠$悊/杩囨护鏂规璁剧疆/Xt_FastICScheme.html?OperationType=1&HModuleName=' + HModuleName + '&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type
+                            , end: function () {
+                                get_FastQuery()
+                                //鏄剧ず褰撳墠鐨勮繃婊ゆ柟妗�
+                                document.getElementById("HFilterScheme_Now").style.display = "block";
+                                document.getElementById('HFilterScheme_Now').innerHTML = "褰撳墠杩囨护鏂规锛�" + sessionStorage["HFilterSchemeName_" + sessionStorage["Czybm"]] + '<span style="font-size: 15px; font-weight: bold; color:#7b90fb">  ' + "(" + sessionStorage["HFilterSchemeRemark_" + sessionStorage["Czybm"]] + ")" + '</span>';
+                            }
+                        })
+                        layer.close(index)
+                    }, function (index) {
+                        //缂栬緫
+                        var Filter_Edit = document.getElementsByClassName(HClassTag); //鑾峰彇鏈〉鎵�鏈夎繃婊ゆ潯浠跺璞�(class涓寘鍚�"ForFilteringSchemes"鐨勫厓绱�)
+                        HFilterIdList = "";
+                        HFilterIdLists = "";
+                        HValue = "";
+                        HElement_type = "";
+                        for (var i = 0; i < Filter_Edit.length; i++) {
+                            HFilterIdList = Filter_Edit[i].id; //杩囨护鏉′欢ID
+                            HFilterIdLists += Filter_Edit[i].id + ","; //杩囨护鏉′欢ID(鎷兼帴)
+                            HValue += $("#" + HFilterIdList).val() + ","; //杩囨护鏉′欢涓緭鍏ョ殑鍊�
+                            HElement_type += document.getElementById(HFilterIdList).tagName + ",";//閫氳繃鏍囩id鑾峰彇鏍囩绫诲瀷
+                        }
+                        //鍘婚櫎鏈熬閫楀彿
+                        HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1);
+                        HValue = HValue.substring(0, HValue.length - 1);
+                        HElement_type = HElement_type.substring(0, HElement_type.length - 1);
+
+                        var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["Czybm"] + ';' + 3;
+
+                        //淇敼
+                        $.ajax({
+                            type: "POST",
+                            url: GetWEBURL() + "/Xt_FastICScheme/save", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+                            async: true,
+                            data: { "oMain": sMainSub },
+                            dataType: "json",
+                            success: function (data) {
+                                if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                    layer.msg(data.Message, { time: 1 * 1000, icon: 1 });
+                                }
+                                else {
+
+                                }
+                                layer.closeAll("loading");
+                            },
+                            error: function (err) {
+
+
+                            }
+                        });
+                        layer.close(index)
+                    }, function (index) {
+                        //鍙栨秷
+                        layer.alert('鍙栨秷')
+                        layer.close(index)
+                    });
+                }
+
+            }
+
+            //璇诲彇鏂规
+            function set_ReadScheme() {
+                var HIsClose_Manual = false;
+                var Filter = document.getElementsByClassName(HClassTag); //鑾峰彇鏈〉鎵�鏈夎繃婊ゆ潯浠跺璞�(class涓寘鍚�"ForFilteringSchemes"鐨勫厓绱�)
+
+                var HFilterIdList = "";
+                var HFilterIdLists = "";
+                var HValue = "";
+                var HElement_type = "";
+                for (var i = 0; i < Filter.length; i++) {
+                    HFilterIdList = Filter[i].id; //杩囨护鏉′欢ID
+                    HFilterIdLists += Filter[i].id + ","; //杩囨护鏉′欢ID(鎷兼帴)
+                    HValue += $("#" + HFilterIdList).val() + ","; //杩囨护鏉′欢涓緭鍏ョ殑鍊�
+                    HElement_type += document.getElementById(HFilterIdList).tagName + ",";//閫氳繃鏍囩id鑾峰彇鏍囩绫诲瀷
+                }
+                //鍘婚櫎鏈熬閫楀彿
+                HFilterIdLists = HFilterIdLists.substring(0, HFilterIdLists.length - 1);
+                HValue = HValue.substring(0, HValue.length - 1);
+                HElement_type = HElement_type.substring(0, HElement_type.length - 1);
+
+                layer.open({
+                    type: 2
+                    , area: ['80%', '80%']
+                    , title: '杩囨护鏂规鍒楄〃'
+                    , shift: 0//寮瑰嚭鍔ㄧ敾
+                    , content: '../../绯荤粺绠$悊/杩囨护鏂规璁剧疆/Xt_FastICSchemeList.html?HType=Select&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type + '&HModuleName=' + HModuleName
+                    , cancel: function () {
+                        // 鍙充笂瑙掑叧闂簨浠剁殑閫昏緫
+                        HIsClose_Manual = true;
+                    }
+                    , end: function () {
+                        if (HIsClose_Manual != true) {
+                            get_FastQuery()
+                            form.render("select");
+                        }
+                    }
+                })
+            }
+
+            //#region 鍒ゆ柇鏄洿鎺ユ墦寮�椤甸潰杩樻槸鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑锛屽苟鏄剧ず鐩稿簲鏁版嵁
+            function addSWhereByOpenType() {
+                //鑾峰彇鍙傛暟
+                var params = getUrlVars();
+                var openType = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鎵撳紑鏂瑰紡  1鐩存帴鎵撳紑 2鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑
+                var HOrgID = params[params[1]];
+
+                var addSWhere = "";
+
+                if (openType == 2) {
+                    addSWhere = " and 鐘舵�� = '宸插鏍�' and 琛岀姸鎬� = '' " ;
+                }
+                return addSWhere;
+            }
+            //#endregion
+
+            //#endregion
+
+
+
+            //浠ヤ笂鏄痩ayui妯″潡
+        });
+
+        //#region 銆愯繃婊ゆ柟妗堣繑鍥炴暟鎹��
+        function HFilterScheme(obj)  //杩斿洖杩囨护鏂规
+        {
+            var HInterID = obj[0].hmainid;
+            HInterID_Choose = obj[0].hmainid;
+            $.ajax({
+                url: GetWEBURL() + '/Xt_FastICScheme/Chooselist',
+                type: "GET",
+                data: { "user": sessionStorage["Czybm"], "HModuleName": HModuleName, "HInterID": HInterID, "Type": "Select" },
+                success: function (data1) {
+                    if (data1.count == 1) {
+                        var data = data1.data;
+                        //璧嬪�艰繃婊ゆ柟妗堝悕绉�
+                        HDefaultFilter = data[0].鏂规鍚嶇О
+                        var HRemark = data[0].澶囨敞
+                        //鏄剧ず褰撳墠鐨勮繃婊ゆ柟妗�
+                        document.getElementById("HFilterScheme_Now").style.display = "block";
+                        document.getElementById('HFilterScheme_Now').innerHTML = "褰撳墠杩囨护鏂规锛�" + HDefaultFilter + '<span style="font-size: 15px; font-weight: bold; color:#7b90fb">  ' + "(" + HRemark + ")" + '</span>';
+                        HInterID = data[0].hmainid
+                        //鏍规嵁閫夋嫨鐨勮繃婊ゆ柟妗堝洖濉暟鎹埌鍒楄〃杩囨护鏉′欢
+                        for (let i = 0; i < data.length; i++) {
+                            $("#" + data[i].杩囨护瀛楁ID).val(data[i].杩囨护鍊�);
+                            if (data[i].杩囨护鏍囩绫诲瀷 == 'SELECT') {
+                                $("#" + data[i].杩囨护瀛楁ID).find("option[value='" + data[i].杩囨护鍊� + "']").attr("selected", true);
+                            }
+                        }
+
+                    } else {
+                        layer.close(ajaxLoad);
+                        layer.alert(data1.code + data1.Message, { icon: 5 });
+                    }
+                }, error: function () {
+                    layer.close(ajaxLoad);
+                    layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                }
+            });
+        }
+        //#endregion
+        //#region 鑾峰彇鍙傛暟
+        function getUrlVars() {
+            var vars = [], hash;
+            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+            for (var i = 0; i < hashes.length; i++) {
+                hash = hashes[i].split('=');
+                vars.push(hash[0]);
+                vars[hash[0]] = hash[1];
+            }
+            return vars;
+        }
+            //#endregion
+
+    </script>
+
+</body>
+</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagInfoList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagInfoList.html"
index 8afb079..d850ba3 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagInfoList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\345\256\242\346\210\267\346\240\207\347\255\276/Sc_CustomerTagInfoList.html"
@@ -45,6 +45,18 @@
                                         <input type="text" class="layui-input ForFilteringSchemes" name="HBillNo" id="HBillNo" style="width:190px;">
                                     </div>
                                 </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐗╂枡浠g爜</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber" style="width:190px;">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">瀹㈡埛鍚嶇О</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input ForFilteringSchemes" name="HCustName" id="HCustName" style="width:190px;">
+                                    </div>
+                                </div>
                                 <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
                                     <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                                 </button>
@@ -190,7 +202,7 @@
 
             var HModName = "Sc_CustomerTagInfoList";
             var HBillType = "10003";
-
+            var ins;       //鐢ㄤ簬瀵煎嚭excel
             //#region 銆愯繃婊ゆ柟妗堛��
 
             //杩囨护鏉′欢鐨刢lass绫� 
@@ -418,7 +430,7 @@
                             
                             option.cols = [col];
                             option.data = data1.data;
-                            table.render(option);
+                            ins = table.render(option);
 
                             laypage.render(optionPage);
                             layer.close(ajaxLoad);
@@ -504,45 +516,40 @@
                     case 'btn-Delete':
                         var checkStatus = table.checkStatus('mainTable')
                             , data = checkStatus.data;
-                        if (checkStatus.data.length === 1) {
-                            var InterID = data[0].hmainid.toString();
-                            var HsupId = data[0].hsubid;
-                            var HQty = data[0].鏁伴噺;
-                            var HSourceInterID = data[0].婧愬崟涓诲唴鐮�;
-                            var HSourceEntryID = data[0].婧愬崟瀛愬唴鐮�;
+                        if (checkStatus.data.length >= 1) {
+                            var HItemSubIDs = "";
+                            for (i = 0; i < data.length; i++) {
+                                HItemSubIDs += data[i].HItemSubID.toString() + ",";
+                            }
+                            HItemSubIDs = HItemSubIDs.substring(0, HItemSubIDs.length - 1)
                             //閫昏緫鍒犻櫎鏂规硶
                             layer.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠", { title: "鍒犻櫎纭" }, function (index) {
-                                if (data[0].鐘舵��=="鍒涘缓") {
-                                    $.ajax({
-                                        type: "GET",
-                                        url: GetWEBURL() + "Xs_SeOutStockBill/DeltetSeOutStockBill", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
-                                        data: { "HInterID": InterID, "HsupId": HsupId, "HQty": HQty, "HSourceInterID": HSourceInterID, "HSourceEntryID": HSourceEntryID, "user": sessionStorage["HUserName"] },
-                                        success: function (result) {
-                                            if (result.count == 1) {
-                                                layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
-                                                    // 寰楀埌frame绱㈠紩
-                                                    var index = layer.getFrameIndex(window.name);
-                                                    //鍏抽棴褰撳墠frame
-                                                    layer.close(index);
-                                                    //淇敼涓哄姛鍚庡埛鏂扮晫闈�
-                                                    window.location.reload();
-                                                });
+                                $.ajax({
+                                    type: "GET",
+                                    url: GetWEBURL() + "Sc_CustomerTagInfo/Delete", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+                                    data: { "HItemSubIDs": HItemSubIDs, "user": sessionStorage["HUserName"] },
+                                    success: function (result) {
+                                        if (result.count == 1) {
+                                            layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
+                                                // 寰楀埌frame绱㈠紩
+                                                var index = layer.getFrameIndex(window.name);
+                                                //鍏抽棴褰撳墠frame
+                                                layer.close(index);
+                                                //淇敼涓哄姛鍚庡埛鏂扮晫闈�
+                                                window.location.reload();
+                                            });
 
-                                            } else {
-                                                layer.alert(result.code + result.Message, { icon: 5 });
-                                            }
-                                        }, error: function () {
-                                            layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                                        } else {
+                                            layer.alert(result.code + result.Message, { icon: 5 });
                                         }
-                                    });
-                                } else {
-                                    layer.msg('姝ゆ潯鏁版嵁涓嶆槸鍒涘缓鐘舵��,鏃犳硶鍒犻櫎锛�');
-                                }
-                             
+                                    }, error: function () {
+                                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                                    }
+                                });                             
                             })
                         }
                         else {
-                            layer.msg('璇烽�夋嫨涓�琛屾暟鎹垹闄わ紒');
+                            layer.msg('璇烽�夋嫨鏁版嵁鍒犻櫎锛�');
                         }
                         break;
                     //鍒锋柊
@@ -600,6 +607,8 @@
             //#region 蹇�熻繃婊�
             function get_FastQuery(table, option) {
                 var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙�
+                var HMaterNumber = $("#HMaterNumber").val();//鐗╂枡浠g爜
+                var HCustName = $("#HCustName").val();//瀹㈡埛鍚嶇О
 
                 var ColName = $("#ColName").val();//澶嶉�夋
                 var Comparator = $("#Comparator").val()
@@ -677,6 +686,12 @@
                 if (HBillNo) {
                     sWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'";
                 }
+                if (HMaterNumber) {
+                    sWhere += " and 鐗╂枡浠g爜 like '%" + HMaterNumber + "%'";
+                }
+                if (HCustName) {
+                    sWhere += " and 瀹㈡埛鍚嶇О like '%" + HCustName + "%'";
+                }
 
                 //sWhere += addSWhereByOpenType();
                 get_DisplayPage(sWhere);
@@ -686,6 +701,8 @@
             //#region 閲嶇疆杩囨护鏉′欢
             function set_ClearQuery() {
                 $("#HBillNo").val("");//
+                $("#HMaterNumber").val("");//
+                $("#HCustName").val("");//
 
                 $("#ColContent").val("");
                 $("#ColName").val("0");
@@ -774,6 +791,23 @@
                 })
             }
 
+            //#region 瀵煎嚭Execel
+            function get_Export() {
+                option.data.forEach((item) => {
+                    for (let itemobj in item) {
+                        if (item[itemobj] == null) {
+                            item[itemobj] = "";
+                        }
+                        if (item[itemobj].length > 0) {  // 鍋囪瀛楁鍚嶄负field
+                            item[itemobj] = item[itemobj].toString().replaceAll(/[\r\n]+/g, '');  // 灏嗘崲琛岀鏇挎崲涓虹┖瀛楃涓�
+                        }
+                    }
+                });
+
+                table.exportFile(ins.config.id, option.data, "xls");
+            }
+            //#endregion
+
             //闅愯棌鍒楄缃�
             function get_HideColumn() {
                 var colName = "";
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
index 05f9d90..82d1058 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
@@ -17,6 +17,7 @@
     <script src="../../../layuiadmin/soulTable.slim.js"></script>
     <script src="../../../layuiadmin/PageTitle.js"></script>
     <script src="../../../layuiadmin/QueryScheme.js"></script>
+    <script src="../../../layuiadmin/grwebapp.js"></script>
 </head>
 <body>
     <div class="layui-fluid">
@@ -2369,6 +2370,9 @@
 
             
             //娣诲悍瀹㈡埛鏍囩涓�閿墦鍗�
+            var time;
+            var num = 0;
+
             function get_PrintCustTag() {
                 var checkStatus = table.checkStatus('mainTable')
                     , data = checkStatus.data;
@@ -2377,16 +2381,23 @@
 
                 if (checkStatus.data.length == 1) {
                     hmainid = data[0].hmainid;
-                    hentryid = data[0].hentryid;
+                    hentryid = data[0].HEntryID;
 
                     $.ajax({
-                        url: GetWEBURL() + '/Gy_SOPBillList/WindowPrintList',
+                        url: GetWEBURL() + '/Sc_CustomerTagBarCode/Save',
                         type: "GET",
                         async: false,
                         data: { "HICMOInterID": hmainid, "HICMOEntryID": hentryid },
                         success: function (data1) {
                             if (data1.count == 1) {
-                                
+                                //鎵撳嵃鏂规硶
+                                layer.confirm("纭瑕佹壒閲忔墦鍗板悧?", { title: "纭" }, function (index) {
+                                    time = setInterval(function () {
+                                        dy_PL(hmainid, hentryid);
+                                    }, 2500);
+                                    //鍏抽棴褰撳墠frame
+                                    layer.close(index);
+                                })
                             } else {
                                 layer.alert(data1.Message, { icon: 5 });
                             }
@@ -2400,6 +2411,58 @@
                 }
             }
 
+            function dy_PL(HICMOInterID, HICMOEntryID) {
+                var sWhere = "select top 2 * from h_v_Sc_CustomerTagBarCodeList where HSourceInterID = " + HICMOInterID + " and HSourceEntryID = " + HICMOEntryID
+                var rest = [];
+                $.ajax({
+                    type: "GET",
+                    url: GetWEBURL() + "/Gy_SOPBillList/WindowPrintList", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
+                    async: false,
+                    data: { "sWhere": sWhere },
+                    success: function (data) {
+                        if (data.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+
+                            if (data.data.length != 0) {
+                                var dataPrint = [];
+                                for (var i = 0; i < data.data.length; i++) {
+                                    dataPrint.push(data.data[i])
+                                }
+                                rest = data.data;
+
+                                var Customer = {
+                                    "Table": dataPrint
+                                }
+
+                                var args = {
+                                    type: "print",//鎵撳嵃妯″紡
+                                    //type: "preview",//棰勮妯″紡
+                                    showOptionDlg: false, //濡傛灉涓嶆樉绀烘墦鍗板璇濇鑰岀洿鎺ユ墦鍗帮紝灏嗘琛屾敞閲婂幓鎺夊嵆鍙�
+                                    report: urlAddRandomNo("../../grf/娉曞緥鏍囩.grf"),
+                                    data: Customer
+                                };
+
+                                webapp_ws_ajax_run(args);
+
+                                if (rest.length <= num + 1) {
+                                    num = 0;
+                                    clearInterval(time);
+                                } else {
+                                    num++;
+                                }
+                            } else {
+                                layer.msg("鏌ユ棤鏁版嵁!");
+                            }
+                        }
+                        else {
+                            layer.msg(data.Message, { icon: 5 });
+                        }
+                        layer.closeAll("loading");
+                    },
+                    error: function (err) {
+                        layer.msg("閿欒:" + err, { icon: 5 });
+                    }
+                })
+            }
 
             //#region 瀵煎嚭Execel
             function get_Export() {

--
Gitblit v1.9.1