From 87eb33cf0f4f44e83eafd7da7725c394a3545033 Mon Sep 17 00:00:00 2001
From: WYB <908761037@qq.com>
Date: 星期一, 26 四月 2021 21:12:51 +0800
Subject: [PATCH] 1.工序汇报单基础打印完成模板待调试设计 2.增加委外工序派工单列表 3.增加委外工序计划转出单列表 4.增加委外工序汇单列表

---
 WebTM/views/grf/123.txt                                            |    0 
 /dev/null                                                          |  260 ------
 WebTM/views/生产工序管理/委外工序计划转出单/WW_EntrustProcessSendOutBillList.html |  582 +++++++++++++
 WebTM/views/生产工序管理/工序汇报单/Sc_ProcessReportList.html                 |    1 
 WebTM/Properties/PublishProfiles/LAYUI.pubxml.user                 |   63 +
 WebTM/views/生产工序管理/工序汇报单/HBarPlanPrint.html                        |    2 
 WebTM/views/grf/a.grf                                              |  335 +++++++
 WebTM/views/生产工序管理/委外工序计划汇报单/WW_EntrustProcessReportBillList.html  |  589 ++++++++++++++
 WebTM/views/生产工序管理/工序汇报单/Sc_Add_ProcessReportList.html             |    2 
 WebTM/views/index.html                                             |   17 
 WebTM/views/生产工序管理/委外工序派工单/WW_EntrustProcSendWorkBillList.html     |  611 ++++++++++++++
 WebTM/WebTM.csproj                                                 |    7 
 12 files changed, 2,187 insertions(+), 282 deletions(-)

diff --git a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
index bf65dc2..9444756 100644
--- a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -18,10 +18,10 @@
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
     <File Include="bin/WebTM.dll">
-      <publishTime>04/25/2021 11:09:44</publishTime>
+      <publishTime>04/26/2021 20:49:30</publishTime>
     </File>
     <File Include="bin/WebTM.pdb">
-      <publishTime>04/25/2021 11:09:44</publishTime>
+      <publishTime>04/26/2021 20:49:30</publishTime>
     </File>
     <File Include="layuiadmin/config.js">
       <publishTime>03/23/2021 16:57:43</publishTime>
@@ -588,7 +588,7 @@
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
     <File Include="layuiadmin/Scripts/webConfig.js">
-      <publishTime>04/25/2021 09:24:25</publishTime>
+      <publishTime>04/25/2021 17:46:41</publishTime>
     </File>
     <File Include="layuiadmin/style/admin.css">
       <publishTime>03/23/2021 16:57:43</publishTime>
@@ -944,7 +944,19 @@
     <File Include="views/CreateControl.js">
       <publishTime>04/23/2021 17:23:49</publishTime>
     </File>
+    <File Include="views/grf/123.grf">
+      <publishTime>04/26/2021 18:41:05</publishTime>
+    </File>
+    <File Include="views/grf/123.txt">
+      <publishTime>04/26/2021 20:49:00</publishTime>
+    </File>
+    <File Include="views/grf/a.grf">
+      <publishTime>04/26/2021 20:14:15</publishTime>
+    </File>
     <File Include="views/grf/姹囨姤鍗�.grf">
+      <publishTime>04/26/2021 18:41:05</publishTime>
+    </File>
+    <File Include="views/grf/姹囨姤鍗�1.grf">
       <publishTime>04/23/2021 17:05:55</publishTime>
     </File>
     <File Include="views/GRInstall.js">
@@ -966,7 +978,7 @@
       <publishTime>03/23/2021 16:57:43</publishTime>
     </File>
     <File Include="views/index.html">
-      <publishTime>04/25/2021 09:06:39</publishTime>
+      <publishTime>04/26/2021 18:22:48</publishTime>
     </File>
     <File Include="views/senior/echarts/bar.html">
       <publishTime>03/23/2021 16:57:43</publishTime>
@@ -1113,13 +1125,22 @@
       <publishTime>04/25/2021 09:06:39</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Department.html">
-      <publishTime>04/25/2021 09:06:39</publishTime>
+      <publishTime>04/25/2021 17:41:13</publishTime>
+    </File>
+    <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Department_Edit.html">
+      <publishTime>04/25/2021 17:41:13</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Employee.html">
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Material.html">
       <publishTime>03/29/2021 20:16:17</publishTime>
+    </File>
+    <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_StockPlace.html">
+      <publishTime>04/25/2021 17:41:13</publishTime>
+    </File>
+    <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Unit.html">
+      <publishTime>04/25/2021 17:41:13</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_Warehouse.html">
       <publishTime>03/29/2021 20:16:17</publishTime>
@@ -1146,7 +1167,7 @@
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/閿�鍞熀纭�璧勬枡/Gy_Customer.html">
-      <publishTime>03/29/2021 10:48:23</publishTime>
+      <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/妯℃不鍏风鐞�/Sc_CheckToolsRepairWorkBillList.html">
       <publishTime>03/24/2021 14:28:14</publishTime>
@@ -1206,7 +1227,7 @@
       <publishTime>04/08/2021 10:57:44</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/澧炲姞涓嶈壇璇勫鍗�/QC_Add_NoPassProdCheckBill.html">
-      <publishTime>04/20/2021 21:46:06</publishTime>
+      <publishTime>04/20/2021 21:10:48</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/澧炲姞涓嶈壇璇勫鍗�/QC_NoPassProdCheckBill.html">
       <publishTime>04/13/2021 10:12:44</publishTime>
@@ -1220,11 +1241,23 @@
     <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭姹囨姤鍗�/Sc_StationOutBillMainList.html">
       <publishTime>03/29/2021 19:54:57</publishTime>
     </File>
+    <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭姹囨姤鍗�/WW_EntrustProcessReportBillList.html">
+      <publishTime>04/26/2021 16:37:04</publishTime>
+    </File>
+    <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭娲惧伐鍗�/WW_EntrustProcSendWorkBillList.html">
+      <publishTime>04/26/2021 18:31:40</publishTime>
+    </File>
+    <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭璁″垝姹囨姤鍗�/WW_EntrustProcessReportBillList.html">
+      <publishTime>04/26/2021 18:30:16</publishTime>
+    </File>
+    <File Include="views/鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭璁″垝杞嚭鍗�/WW_EntrustProcessSendOutBillList.html">
+      <publishTime>04/26/2021 18:28:12</publishTime>
+    </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/HBarPlanPrint.html">
-      <publishTime>04/25/2021 11:06:24</publishTime>
+      <publishTime>04/26/2021 20:53:27</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/Sc_Add_ProcessReportList.html">
-      <publishTime>04/25/2021 10:35:02</publishTime>
+      <publishTime>04/26/2021 19:58:41</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/Sc_ProcessReport_PDA.html">
       <publishTime>04/09/2021 17:56:11</publishTime>
@@ -1233,7 +1266,7 @@
       <publishTime>04/23/2021 16:41:10</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭娲惧伐鍗�/Sc_Add_ProcessSendWork.html">
-      <publishTime>04/22/2021 17:13:32</publishTime>
+      <publishTime>04/21/2021 16:40:38</publishTime>
     </File>
     <File Include="views/鐢熶骇绠$悊/鐢熶骇浠诲姟鍗�/Sc_ICMOBillList.html">
       <publishTime>03/23/2021 16:57:43</publishTime>
@@ -1248,16 +1281,16 @@
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/璁″垝绠$悊/宸ヨ壓璺嚎/Gy_RoutingBill.html">
-      <publishTime>04/25/2021 16:05:20</publishTime>
+      <publishTime>04/25/2021 17:41:13</publishTime>
     </File>
     <File Include="views/璁″垝绠$悊/宸ヨ壓璺嚎/Gy_RoutingBillList.html">
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭姹囨姤鍗�/Sc_ProcessReportList.html">
-      <publishTime>04/21/2021 18:59:55</publishTime>
+      <publishTime>04/26/2021 20:56:58</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭娲惧伐鍗�/Sc_ProcessSendWorkList.html">
-      <publishTime>04/21/2021 14:26:35</publishTime>
+      <publishTime>04/09/2021 21:12:33</publishTime>
     </File>
     <File Include="views/鐢熶骇宸ュ簭绠$悊/宸ュ簭璁″垝鍗�/Sc_ProcessPlanList.html">
       <publishTime>04/09/2021 20:12:18</publishTime>
@@ -1272,7 +1305,7 @@
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="views/璁″垝绠$悊/宸ヨ壓璺嚎/Gy_RoutingBill_loser.html">
-      <publishTime>04/25/2021 13:29:33</publishTime>
+      <publishTime>04/25/2021 17:41:13</publishTime>
     </File>
     <File Include="views/杞﹂棿绠$悊/涓嶈壇鍝佽瘎瀹″崟/Cj_NoPassProc.html">
       <publishTime>03/26/2021 09:58:10</publishTime>
@@ -1506,7 +1539,7 @@
       <publishTime>03/29/2021 20:16:17</publishTime>
     </File>
     <File Include="Web.config">
-      <publishTime>04/25/2021 11:09:48</publishTime>
+      <publishTime>04/26/2021 20:45:34</publishTime>
     </File>
   </ItemGroup>
 </Project>
\ No newline at end of file
diff --git a/WebTM/WebTM.csproj b/WebTM/WebTM.csproj
index da27d5d..6f5488a 100644
--- a/WebTM/WebTM.csproj
+++ b/WebTM/WebTM.csproj
@@ -65,7 +65,8 @@
     <Content Include="layuiadmin\layui\font\iconfont.woff" />
     <None Include="Properties\PublishProfiles\JFTM.pubxml" />
     <Content Include="views\CreateControl.js" />
-    <Content Include="views\grf\姹囨姤鍗�.grf" />
+    <Content Include="views\grf\123.txt" />
+    <Content Include="views\grf\a.grf" />
     <None Include="Web.Debug.config">
       <DependentUpon>Web.config</DependentUpon>
     </None>
@@ -450,6 +451,9 @@
     <Content Include="views\鍩虹璧勬枡\閿�鍞熀纭�璧勬枡\Gy_Customer.html" />
     <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Gy_CheckToolsFileMainList.html" />
     <Content Include="views\妯℃不鍏风鐞哱妯℃不鍏风鐞哱Gy_Mould.html" />
+    <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ簭璁″垝姹囨姤鍗昞WW_EntrustProcessReportBillList.html" />
+    <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ簭娲惧伐鍗昞WW_EntrustProcSendWorkBillList.html" />
+    <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ簭璁″垝杞嚭鍗昞WW_EntrustProcessSendOutBillList.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞HBarPlanPrint.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞xmlLBM_ProcessReport.aspx" />
     <Content Include="views\璁″垝绠$悊\宸ヨ壓璺嚎\Gy_RoutingBill_loser.html" />
@@ -487,7 +491,6 @@
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\澧炲姞涓嶈壇璇勫鍗昞QC_Add_NoPassProdCheckBill.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\澧炲姞涓嶈壇璇勫鍗昞QC_NoPassProdCheckBillList.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ崟\WW_EntrustWorkOrderBillMainList.html" />
-    <Content Include="views\鐢熶骇宸ュ簭绠$悊\濮斿宸ュ簭姹囨姤鍗昞Sc_StationOutBillMainList.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞Sc_Add_ProcessReportList.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞Sc_ProcessReportList.html" />
     <Content Include="views\鐢熶骇宸ュ簭绠$悊\宸ュ簭姹囨姤鍗昞Sc_ProcessReport_PDA.html" />
diff --git a/WebTM/views/grf/123.txt b/WebTM/views/grf/123.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/WebTM/views/grf/123.txt
diff --git a/WebTM/views/grf/a.grf b/WebTM/views/grf/a.grf
new file mode 100644
index 0000000..542b3b9
--- /dev/null
+++ b/WebTM/views/grf/a.grf
@@ -0,0 +1,335 @@
+锘縊bject Report
+	Version='6.0.0.6'
+	Title='浣犵殑鎶ヨ〃鏍囬'
+	PrintAsDesignPaper=F
+	Object Font
+		Name='瀹嬩綋'
+		Size=105000,0
+		Weight=400
+		Charset=134
+	End
+	Object Printer
+		Size=256
+		Width=7
+		Height=5
+		LeftMargin=0
+		TopMargin=0
+		RightMargin=0
+		BottomMargin=0
+	End
+	Object DetailGrid
+		CenterView=T
+		ShowColLine=F
+		ShowRowLine=F
+		Object Border
+			Object Pen
+				Width=1.5
+			End
+		End
+		Object Recordset
+			Items Field
+				Item
+					Name='鏉$爜缂栧彿'
+				End
+				Item
+					Name='鏃ユ湡'
+					Type=DateTime
+					Format='yyyy//MM//dd'
+				End
+				Item
+					Name='鎵规'
+				End
+				Item
+					Name='鐗╂枡浠g爜'
+				End
+				Item
+					Name='鐗╂枡鍚嶇О'
+				End
+				Item
+					Name='瑙勬牸鍨嬪彿'
+				End
+				Item
+					Name='鏁伴噺'
+					Type=Currency
+				End
+				Item
+					Name='渚涘簲鍟嗕唬鐮�'
+				End
+				Item
+					Name='渚涘簲鍟�'
+				End
+				Item
+					Name='鍗曟嵁鍙�'
+				End
+			End
+		End
+		Items Column
+			Item
+				Name='Column1'
+				Width=7.01146
+			End
+		End
+		Object ColumnContent
+			Height=4.78896
+			Items ColumnContentCell
+				Item
+					Column='Column1'
+					FreeCell=T
+					Items Control
+						Item
+							Type=FreeGrid
+							Name='FreeGrid1'
+							Left=0.105833
+							Top=0.15875
+							Object Border
+								Styles=[DrawLeft|DrawTop|DrawRight|DrawBottom]
+							End
+							ColumnCount=4
+							RowCount=6
+							Items FreeGridColumn
+								Item[1]
+									Width=1.27
+								End
+								Item[2]
+									Width=2.11667
+								End
+								Item[3]
+									Width=1.08479
+								End
+								Item[4]
+									Width=2.2225
+								End
+							End
+							Items FreeGridRow
+								Item[1]
+									Height=0.846667
+								End
+								Item[2]
+									Height=0.65
+								End
+								Item[3]
+									Height=0.65
+								End
+								Item[4]
+									Height=0.65
+								End
+								Item[5]
+									Height=0.65
+								End
+								Item[6]
+									Height=0.899583
+								End
+							End
+							Items FreeGridCell
+								Item[1,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='鐢熶骇鏃ユ湡'
+								End
+								Item[1,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#鏃ユ湡#]'
+								End
+								Item[1,3]
+									FreeCell=T
+									Items Control
+										Item
+											Type=Barcode
+											Name='Barcode4'
+											Width=3.20146
+											Height=1.40229
+											BarcodeType=QRCode
+											CaptionPosition=None
+											CheckSum=T
+											Text='[#鏉$爜缂栧彿#]'
+											Object Font
+												Name='榛戜綋'
+												Size=67500,0
+												Weight=400
+												Charset=134
+											End
+										End
+										Item
+											Type=FieldBox
+											Name='FieldBox1'
+											Top=1.40229
+											Width=3.20146
+											Height=0.79375
+											Object Font
+												Name='瀹嬩綋'
+												Size=82500,0
+												Weight=400
+												Charset=134
+											End
+											ShrinkFontToFit=T
+											WordWrap=T
+											DataField='鏉$爜缂栧彿'
+										End
+									End
+									ColSpan=2
+									RowSpan=3
+								End
+								Item[2,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='鎵规'
+								End
+								Item[2,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#鍗曟嵁鍙�#]'
+								End
+								Item[3,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='浠g爜'
+								End
+								Item[3,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#鐗╂枡浠g爜#]'
+								End
+								Item[4,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='瑙勬牸'
+								End
+								Item[4,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#瑙勬牸鍨嬪彿#]'
+								End
+								Item[4,3]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='鏁伴噺'
+								End
+								Item[4,4]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									Text='[#鏁伴噺#]'
+								End
+								Item[5,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='鍚嶇О'
+								End
+								Item[5,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#鐗╂枡鍚嶇О#]'
+									ColSpan=3
+								End
+								Item[6,1]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Weight=400
+										Charset=134
+									End
+									Text='渚涘簲鍟�'
+								End
+								Item[6,2]
+									Object Font
+										Name='瀹嬩綋'
+										Size=82500,0
+										Bold=T
+										Charset=134
+									End
+									WordWrap=T
+									ShrinkFontToFit=T
+									Text='[#渚涘簲鍟嗕唬鐮�#][#渚涘簲鍟�#]'
+									ColSpan=3
+								End
+							End
+						End
+					End
+				End
+			End
+		End
+		Object ColumnTitle
+			Height=0
+			Items ColumnTitleCell
+				Item
+					GroupTitle=F
+					Column='Column1'
+					TextAlign=MiddleCenter
+					Text='Column1'
+				End
+			End
+		End
+	End
+	Items ReportHeader
+		Item
+			Name='ReportHeader1'
+			Height=0
+			RepeatOnPage=T
+		End
+	End
+	Items ReportFooter
+		Item
+			Name='ReportFooter1'
+			Height=0
+		End
+	End
+End
diff --git "a/WebTM/views/grf/\346\261\207\346\212\245\345\215\225.grf" "b/WebTM/views/grf/\346\261\207\346\212\245\345\215\225.grf"
deleted file mode 100644
index a706b74..0000000
--- "a/WebTM/views/grf/\346\261\207\346\212\245\345\215\225.grf"
+++ /dev/null
@@ -1,712 +0,0 @@
-锘縊bject Report
-	Version='6.0.0.6'
-	Object Font
-		Name='瀹嬩綋'
-		Size=105000,0
-		Weight=400
-		Charset=134
-	End
-	Object Printer
-		Height=29.7
-		Oriention=Landscape
-		LeftMargin=1.5
-		TopMargin=0.5
-		RightMargin=1.5
-		BottomMargin=0.5
-	End
-	Object DetailGrid
-		Object Recordset
-			Items Field
-				Item
-					Name='鍗曟嵁鍙�'
-				End
-				Item
-					Name='鏃ユ湡'
-					Type=DateTime
-					Format='yyyy//MM//dd'
-				End
-				Item
-					Name='渚涘簲鍟�'
-				End
-				Item
-					Name='鐗╂枡浠g爜'
-				End
-				Item
-					Name='鐗╂枡鍚嶇О'
-				End
-				Item
-					Name='瑙勬牸鍨嬪彿'
-				End
-				Item
-					Name='璁¢噺鍗曚綅'
-				End
-				Item
-					Name='鏁伴噺'
-					Type=Integer
-				End
-				Item
-					Name='鍗曚环'
-					Type=Currency
-				End
-				Item
-					Name='閲戦'
-					Type=Currency
-				End
-				Item
-					Name='鍚◣鍗曚环'
-					Type=Currency
-				End
-				Item
-					Name='浜よ揣鏃ユ湡'
-					Type=DateTime
-					Format='yyyy//MM//dd'
-				End
-				Item
-					Name='涓氬姟鍛�'
-				End
-				Item
-					Name='琛屽彿'
-				End
-				Item
-					Name='鎵规'
-				End
-				Item
-					Name='璁╂鎺ユ敹'
-				End
-				Item
-					Name='鐢熶骇鏃ユ湡'
-				End
-				Item
-					Name='鍚堟牸鏁伴噺'
-				End
-				Item
-					Name='璁″垝璺熻釜鍗曞彿'
-				End
-				Item
-					Name='閫佽揣鍗曞彿'
-				End
-				Item
-					Name='閲囪喘璁㈠崟鍙�'
-				End
-				Item
-					Name='婧愬崟鍗曞彿'
-				End
-				Item
-					Name='琛ㄥご澶囨敞'
-				End
-				Item
-					Name='棰勮鍒拌揣鏃ユ湡'
-				End
-				Item
-					Name='渚涘簲鍟嗕唬鐮�'
-				End
-				Item
-					Name='Field3'
-				End
-				Item
-					Name='琛ㄤ綋澶囨敞'
-				End
-			End
-		End
-		Items Column
-			Item
-				Name='搴忓彿'
-				Width=0.767292
-			End
-			Item
-				Name='璁″垝璺熻釜鍗曞彿'
-				Width=2.80458
-			End
-			Item
-				Name='鐗╂枡浠g爜'
-				Width=3.20146
-			End
-			Item
-				Name='鐗╂枡'
-				Width=2.98979
-			End
-			Item
-				Name='瑙勬牸鍨嬪彿'
-				Width=3.01625
-			End
-			Item
-				Name='璁¢噺鍗曚綅'
-				Width=1.79917
-			End
-			Item
-				Name='鏁伴噺'
-				Width=1.98438
-			End
-			Item
-				Name='Column2'
-				Width=0.899583
-			End
-			Item
-				Name='Column3'
-				Width=1.905
-			End
-			Item
-				Name='Column4'
-				Width=2.01083
-			End
-			Item
-				Name='Column5'
-				Width=1.98438
-			End
-			Item
-				Name='Column6'
-				Width=3.20146
-			End
-		End
-		Object ColumnContent
-			Height=1.00542
-			Items ColumnContentCell
-				Item
-					Column='搴忓彿'
-					FreeCell=T
-					Items Control
-						Item
-							Type=SystemVarBox
-							Name='SystemVarBox1'
-							Dock=Fill
-							Object Font
-								Name='瀹嬩綋'
-								Weight=400
-								Charset=134
-							End
-							SystemVar=RowNo
-						End
-					End
-				End
-				Item
-					Column='璁″垝璺熻釜鍗曞彿'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='婧愬崟鍗曞彿'
-				End
-				Item
-					Column='鐗╂枡浠g爜'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='鐗╂枡浠g爜'
-				End
-				Item
-					Column='鐗╂枡'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='鐗╂枡鍚嶇О'
-				End
-				Item
-					Column='瑙勬牸鍨嬪彿'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='瑙勬牸鍨嬪彿'
-				End
-				Item
-					Column='璁¢噺鍗曚綅'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='鎵规'
-				End
-				Item
-					Column='鏁伴噺'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					ShrinkFontToFit=T
-					DataField='鐢熶骇鏃ユ湡'
-				End
-				Item
-					Column='Column2'
-					FreeCell=T
-					Items Control
-						Item
-							Type=FieldBox
-							Name='FieldBox1'
-							Dock=Fill
-							Object Font
-								Name='瀹嬩綋'
-								Weight=400
-								Charset=134
-							End
-							TextAlign=MiddleCenter
-							DataField='璁¢噺鍗曚綅'
-						End
-					End
-				End
-				Item
-					Column='Column3'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					DataField='鏁伴噺'
-				End
-				Item
-					Column='Column4'
-					TextAlign=MiddleCenter
-				End
-				Item
-					Column='Column5'
-				End
-				Item
-					Column='Column6'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					FreeCell=T
-					Items Control
-						Item
-							Type=FieldBox
-							Name='FieldBox2'
-							Dock=Fill
-							DataField='琛ㄤ綋澶囨敞'
-						End
-					End
-				End
-			End
-		End
-		Object ColumnTitle
-			Height=1.00542
-			RepeatStyle=OnPage
-			Items ColumnTitleCell
-				Item
-					GroupTitle=F
-					Column='搴忓彿'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					Text='搴忓彿'
-				End
-				Item
-					GroupTitle=F
-					Column='璁″垝璺熻釜鍗曞彿'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					Text='璁㈠崟鍙�'
-				End
-				Item
-					GroupTitle=F
-					Column='鐗╂枡浠g爜'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='鐗╂枡浠g爜'
-				End
-				Item
-					GroupTitle=F
-					Column='鐗╂枡'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='鐗╂枡鍚嶇О'
-				End
-				Item
-					GroupTitle=F
-					Column='瑙勬牸鍨嬪彿'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='瑙勬牸鍨嬪彿'
-				End
-				Item
-					GroupTitle=F
-					Column='璁¢噺鍗曚綅'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='鎵规鍙�'
-				End
-				Item
-					GroupTitle=F
-					Column='鏁伴噺'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='鐢熶骇鏃ユ湡'
-				End
-				Item
-					GroupTitle=F
-					Column='Column2'
-					Object Font
-						Name='瀹嬩綋'
-						Size=82500,0
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='璁¢噺鍗曚綅'
-				End
-				Item
-					GroupTitle=F
-					Column='Column3'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					Text='閫佽揣鏁伴噺'
-				End
-				Item
-					GroupTitle=F
-					Column='Column4'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					Text='鍖呰鏁�*瀹氶噺'
-				End
-				Item
-					GroupTitle=F
-					Column='Column5'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=MiddleCenter
-					Text='绛炬敹鏁伴噺'
-				End
-				Item
-					GroupTitle=F
-					Column='Column6'
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					WordWrap=T
-					TextAlign=MiddleCenter
-					Text='澶囨敞'
-				End
-			End
-		End
-	End
-	Items ReportHeader
-		Item
-			Name='ReportHeader1'
-			Height=5.60917
-			Items Control
-				Item
-					Type=MemoBox
-					Name='MemoBox3'
-					Left=7.59354
-					Top=1.5875
-					Width=11.6152
-					Height=0.873125
-					Object Border
-						Styles=[DrawBottom]
-					End
-					Object Font
-						Name='瀹嬩綋'
-						Size=180000,0
-						Bold=T
-						Charset=134
-					End
-					TextAlign=TopCenter
-					Text='閫�     璐�    娓�    鍗昞r\n'
-				End
-				Item
-					Type=Barcode
-					Name='Barcode1'
-					Left=21.0079
-					Top=0.608542
-					Width=3.59833
-					Height=2.80458
-					BarcodeType=QRCode
-					Text='[#鍗曟嵁鍙�#]'
-					Object Font
-						Name='瀹嬩綋'
-						Size=82500,0
-						Weight=400
-						Charset=134
-					End
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox4'
-					Left=0.396875
-					Top=0.740833
-					Width=15.0019
-					Height=0.79375
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					Text='渚涘簲鍟�:[#渚涘簲鍟�#]'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox6'
-					Left=0.396875
-					Top=2.51354
-					Width=14.605
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='鍘熼�佽揣鍗曞彿:[#閫佽揣鍗曞彿#]'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox7'
-					Left=0.396875
-					Top=3.09563
-					Width=8.20208
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='鍗曟嵁鍙�:[#鍗曟嵁鍙�#]'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox10'
-					Left=0.396875
-					Top=3.70417
-					Width=14.605
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='鏀惰揣鍦板潃锛氭禉姹熺渷鍙板窞甯傛姹熷尯寮�鍙戝ぇ閬撲笢娈�818鍙穃r'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox11'
-					Left=12.7
-					Top=3.09563
-					Width=6.40292
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					Text='渚涘簲鍟嗙紪鐮侊細[#渚涘簲鍟嗕唬鐮�#]'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox12'
-					Left=0.396875
-					Top=4.31271
-					Width=8.20208
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='閫佽揣鏃ユ湡锛歔#鏃ユ湡#]'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox13'
-					Left=0.396875
-					Top=4.92125
-					Width=8.20208
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='鏀惰揣鑱旂郴浜猴細榛勫缓'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox14'
-					Left=12.7
-					Top=4.92125
-					Width=8.20208
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='鐢佃瘽锛�13185687491'
-				End
-				Item
-					Type=PictureBox
-					Name='PictureBox1'
-					Left=0.396875
-					Top=0.211667
-					Width=2.80458
-					Height=0.582083
-					Picture=-2055
-iVBORw0KGgoAAAANSUhEUgAAAEwAAAAbCAYAAADWHGlkAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAecSURBVGhD7Vlr
-bFRFFJ5uCxgkgcTE3/pDfxjjD02MGAx9v0tEEjX6S4yAUUGiiRA0RhRE+tjubktLy0MNAgqFBugD2/IKpQ+00G5LKWxpaUsLbdFS+6KPPZ4zc27v3b23tDUgkPAlX27v
-uefMnfl27syZU1Hd5QFPRw/0DNwCDbXtLVDXot8PDXfDpRt/Q3Pvdbbo6B/thbOtHVB77Rq4Day96obW7r/YS8dQXx+cbz8Gde3FJha3V8Ch1mr08ipnAyraPOBuu34H
-drCnQlPbTWjq7uS7O8PrHQVPYx1c6qjHN5vfbYQQ89NARCVCjruNTWiMcIF47Xu+AzjdPIg2ByzfkcMWHU8t2wMiLBlEqN2XYekwb/EO9tJRPzqGz7OR2yyYCbbwDAhL
-L2VvHSKSntN7iElmhiSxp4IITUSm8N3kEBGZIIKz+G5iCBGSDAGxLiiob2cTQECcEwIMHai42g8iLhW+zCpmi8K1zk4ciANscQ6McfnQhhQxDrDnn2ZvhSvDo2CLN/vr
-dIIITzX90gEx2+Rzatccg8QxGCEiU0HEOvhucohQ7G/U5P6PBGNMXTCcutTJPINgslPh+nSuaO7HDjlg9a5ytig8s/RHGWuLTYMAEsFAEtFGz+Kz2Vvheu+Aaj8+Vfcn
-wWUM/lDy3gWO8gqOUAiK5ndpPvF0NRDbMEJE4bIQ6+S7ySFCUeDIyT9hFCxJdsRXMPyVI/wFc8Kne8rYAjDqpbXILjsqIvBl4+uLRvzF6Fm0HS40XeQogK4ebAsHKKKt
-YnAtwraoP08kbOEIhVnRO6V93M+fIYnsqTB9wVJQMDvfTYz/LJinpRMHjoLEuGDlznxYe6gaeR7WHkbidVNBCXZ4C7btgo+SjnCUEiwQhXx+5c/K38B1edUQnHoc28TB
-hvh2XgqGIq/LP8f+dGXmKhoxfcFQ9HspWFbORTlTYtebd04NB6pKpWBPv/8bW5Rg1P4nGSfZ4ovRsVGMycABp8LAyBBblWAiIpnvJscDJ9jqnQW4djmhqqWRLWZ4vV4p
-6uxFGWzRBVvhOsYWM15Yk4OzzAmdV1rYwoJFPsyCZW5HPxd0D1GcVbKnbDTDRPg2+TdhXLC0iQVbmoyC4SbT1a5vMlIwzPf64TbgRgu3LWjEA7eGPRJsmoIty96Dfg48
-/uhHKCuQYDbMxzRMRbB3NxRKwS6160exWXGYh2E7r3y9FxauOQyvrTniwwVf6BsLYfqCUVpxDwVbzoI1dQ6yxRokWGCsvvZMRbC3NxyVgtW19LAFYCYJRv3CXEkyCtML
-IyP9jkbTFgz9/w/Bmrv62WINJZje1nQEu9CqH95lWoFxcsbGU8avkthx+okzfcFI9LskWHnzwH0RrLZN/9w1wUgEEUvHHj9i7mbE9AW7i7tkFX4aSjB9EV6WvXvqgsXp
-HZmKYG99U4SDdcDlJr1kowRzwdxFKTAvgWj34dw4vb+E+ypYQ3cNCpYGn/9SxBaAVRm7ceY4obvTtw7lDxpk0GL9PDklwTYXyMH2lJ9li1r0KXFtHByB2mEz3UgjHgn2
-8AjmhYMNx3FRdcFn+/RPcsVPp+RC6+64c1WT2p7zRhrf6YJ9eAfBXvyuWJaGOj16pj8zPhsH9ABl+sWeG2xiwQzlnZe+Ooo+aXDYXcMWgPW5NSASXPDOtjNsMaOsxS1n
-2JPv7WWLLtiq7eaqqoY5r6M40Q4YGBxgC86wmAflLBmShANwwLKsEsitbIQjf1yRAtLh13H4LPxw9Dg2lCYH3tHXxWEAZ1qapS0A/Tbuq4XkA5WQcqBinN8WnoLZCRTn
-hMWbfuUoXbD56/ZDSk65T0zK78WwOvecnF0iLBXPohyEkJk+vst+phLsOYYYA43QBEvZX2rpm3jwT/ZUIMEowT5SVgWZqENWpceHGeUe5acJRp8g1ZSIgSiETdas8KWh
-VOyjop5THqY1DI8N4KBUsU9WN2OIVO5Rf9tQZIGfMe12ha0NHKULJn3xmeZP9wEUE041NicELdnKEQpyl6T8C4VUaYSKGY+PTmVPBRKM2lHv0PwM/lF+uyp9adi+zPhZ
-Bx++ulH50RkqIF6rmOoVTEoO6Uq1Kymo4RPV8NjiTLm2kbjGWBWvEkoR6oQx7xhHANzoxZxOJp7mqqmqxOLf+CzlYC5HKMyUFVeKwf74xakY389PE8wWl272RYo43wIl
-Ja6B6G9ZzSX/CPW5ChGGs4jEkc4GB75KsaKd8OwHvqVm2gyKMBOnX9B68HhFfrz9BPsrNI5QTV9v30SasdjmyIBvfjcjCo9G/NwUQ8QYI6Rg8tkEAkSls6eCCLX206ht
-go8EY0xdsJc3gwjGc1QwrmFWDLHD40vS4Z8R3zxHK9/MoMZoXQnG9ScYB0uken0Ufq549Ro+R0L9bS8+x3bJx4ox6fDcm+b/DwaFZlj7a0SBjBAh3I+JuNDvfwALaGJY
-+GkM3qz89p2vgRK3B4rdly1Zgs9vDtH2bq550b/CWvv7oKisFvbXnYaculLJzLwLcKiwEMqu6qmKhlu4WWwtqLNkVr4bcopPQdewuWSUdaLBMmaceXXsqbDvZJG1H3NL
-/kXDiLywq+SEpZ/GjIJ69AP4F1sn4ukxmV+HAAAAAElFTkSuQmCC
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox15'
-					Left=12.7
-					Top=4.33917
-					Width=8.20208
-					Height=0.6
-					Object Font
-						Name='瀹嬩綋'
-						Weight=400
-						Charset=134
-					End
-					TextAlign=TopLeft
-					Text='棰勮鍒拌揣鏃ユ湡锛歔#棰勮鍒拌揣鏃ユ湡#]'
-				End
-			End
-			RepeatOnPage=T
-		End
-	End
-	Items ReportFooter
-		Item
-			Name='ReportFooter1'
-			Height=3.41313
-			Items Control
-				Item
-					Type=ShapeBox
-					Name='ShapeBox1'
-					Left=0.132292
-					Top=0.396875
-					Width=26.4054
-					Height=1.19063
-				End
-				Item
-					Type=StaticBox
-					Name='StaticBox3'
-					Left=0.211667
-					Top=2.40771
-					Width=3.38667
-					Height=0.582083
-					Text='閫佽揣浜猴細'
-				End
-				Item
-					Type=StaticBox
-					Name='StaticBox4'
-					Left=16.4042
-					Top=2.40771
-					Width=3.20146
-					Height=0.582083
-					Text='鏀惰揣浜猴細'
-				End
-				Item
-					Type=MemoBox
-					Name='MemoBox16'
-					Left=0.211667
-					Top=0.502708
-					Width=26.1938
-					Height=0.978958
-					Object Font
-						Name='瀹嬩綋'
-						Size=120000,0
-						Weight=400
-						Charset=134
-					End
-					Text='澶囨敞锛歔#琛ㄥご澶囨敞#]'
-				End
-			End
-			RepeatOnPage=T
-		End
-	End
-End
diff --git a/WebTM/views/index.html b/WebTM/views/index.html
index 49ab87f..1981403 100644
--- a/WebTM/views/index.html
+++ b/WebTM/views/index.html
@@ -137,9 +137,22 @@
                       </dd>
 
                       <dd class="layui-nav-itemed">
-                          <a>濮斿宸ュ簭姹囨姤鍗�</a>
+                          <a>濮斿宸ュ簭璁″垝姹囨姤鍗�</a>
                           <dl class="layui-nav-child">
-                              <dd><a lay-href="鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭姹囨姤鍗�/Sc_StationOutBillMainList.html">濮斿宸ュ簭姹囨姤鍗曞垪琛�</a></dd>
+                              <dd><a lay-href="鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭璁″垝姹囨姤鍗�/WW_EntrustProcessReportBillList.html">濮斿宸ュ簭璁″垝姹囨姤鍗曞垪琛�</a></dd>
+                          </dl>
+                      </dd>
+                         <dd class="layui-nav-itemed">
+                          <a>濮斿宸ュ簭璁″垝杞嚭鍗�</a>
+                          <dl class="layui-nav-child">
+                              <dd><a lay-href="鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭璁″垝杞嚭鍗�/WW_EntrustProcessSendOutBillList.html">濮斿宸ュ簭璁″垝杞嚭鍗曞垪琛�</a></dd>
+                          </dl>
+                      </dd>
+
+                       <dd class="layui-nav-itemed">
+                          <a>濮斿宸ュ簭娲惧伐鍗�</a>
+                          <dl class="layui-nav-child">
+                              <dd><a lay-href="鐢熶骇宸ュ簭绠$悊/濮斿宸ュ簭娲惧伐鍗�/WW_EntrustProcSendWorkBillList.html">濮斿宸ュ簭娲惧伐鍗曞垪琛�</a></dd>
                           </dl>
                       </dd>
 
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_StationOutBillMainList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_StationOutBillMainList.html"
deleted file mode 100644
index d6e4eb5..0000000
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_StationOutBillMainList.html"
+++ /dev/null
@@ -1,260 +0,0 @@
-锘�<!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>
-    
-</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">寮�濮嬫棩鏈�</label>
-                                    <div class="layui-input-block">
-                                        <input type="date" class="layui-input" id="HDate">
-                                    </div>
-                                </div>
-                                <div class="layui-inline">
-                                    <label class="layui-form-label">缁撴潫鏃ユ湡</label>
-                                    <div class="layui-input-block">
-                                        <input type="date" class="layui-input" id="HDate1">
-                                    </div>
-                                </div>
-                                <!--<div class="layui-inline">
-                                    <label class="layui-form-label">璁㈠崟璺熻釜鍙�</label>
-                                    <div class="layui-input-block">
-                                        <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO">
-                                    </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-colla-content">
-                                    <div class="layui-inline">
-                                        <div class="layui-inline">
-                                            <span>鍏朵粬鏉′欢></span>
-                                        </div>
-                                    </div>
-                                    <div class="layui-inline">
-                                        <label class="layui-form-label">鍗曟嵁鍙�</label>
-                                        <div class="layui-input-block">
-                                            <input type="text" class="layui-input" name="WorkCenter" id="WorkCenter">
-                                        </div>
-                                    </div>
-                                </div>
-                            </div>
-                        </div>
-                        <table class="" id="mainTable" lay-filter="mainTable"></table>
-                        <script type="text/html" id="toolbarDemo">
-                            <div class="layui-btn-container">
-                                <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>-->
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button>
-                                <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button>
-
-                            </div>
-                        </script>
-                    </form>
-                </div>
-            </div>
-        </div>
-    </div>
-    <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>
-        layui.config({
-            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
-        }).extend({
-            index: 'lib/index', //涓诲叆鍙fā鍧�
-        }).use(['index', 'form', 'table', 'element', 'laypage','laydate'], function () {
-            var $ = layui.$
-            , admin = layui.admin
-            , layer = layui.layer
-            , table = layui.table
-            , form = layui.form
-            , element = layui.element
-            , laypage = layui.laypage
-            , laydate = layui.laydate
-            //var sWhere = " 浜у搧浠g爜 = 'BX0002'";
-            var sWhere = "";
-
-            var option = {
-                elem: '#mainTable'
-                //, toolbar: '#toolbarDemo'
-                ,height: 'full-50' 
-                , page: true
-                ,cellMinWidth: 90
-                , cols: [[
-                    //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 }
-                      { type: 'checkbox' }
-                    ,{ field: 'HBillType ', title: '鍗曟嵁绫诲瀷', sort: true, width: 120 }
-                    , { field: 'HBillSubType', title: '瀛愮被鍨�', sort: true, width: 170 }
-                    //, { field: 'HBillStatus ', title: '鍗曟嵁鐘舵��', width: 105 }
-                    , { field: 'HDate', title: '鏃ユ湡' }
-                    , { field: 'HBillNo', title: '鍗曟嵁鍙�', width: 115 }
-                    , { field: 'HBillStatus', title: '鍗曟嵁鐘舵�侊紙1鏈锛�2瀹℃牳閫氳繃锛�3鍏抽棴锛�4浣滃簾锛�5瀹℃牳閫�鍥�,6瀹℃牳涓�,7宸查槄锛�8宸插洖澶嶏紝9缁撴锛�10楠岃瘉,11涓嬭揪锛�12寮�宸�,13鐢宠瀹℃壒,15鐢宠妫�楠岋紝16 鍒ゅ畾鍚堟牸锛�17鍒ゅ畾涓嶅悎鏍硷級 ', width: 115 }
-                    , { field: 'HCheckItemNowID', title: '褰撳墠瀹℃牳椤圭洰' }
-                    , { field: 'HCheckItemNextID', title: '寰呭鏍搁」鐩�', width: 160 }
-                    , { field: 'HCheckFlowID', title: '瀹℃壒娴�', width: 160 }
-                    , { field: 'HRemark ', title: '澶囨敞', width: 215 }
-                    ////, { field: 'hunitid', title: 'hunitid' }
-                    , { field: 'HBacker ', title: '閫�鍥炰汉', width: 115 }
-                    , { field: 'HBackDate', title: '閫�鍥炴棩鏈�' }
-                    ////, { field: 'hempid', title: 'hempid' }
-                    , { field: 'HBackRemark', title: '閫�鍥炲師鍥�', width: 100 }
-                    , { field: 'HChecker', title: '瀹℃牳浜�' }
-                    , { field: 'HCheckDate', title: '瀹℃牳鏃ユ湡' }
-                    , { field: 'HMaker', title: '鍒跺崟浜�' }
-                    , { field: 'HMakeDate', title: '鍒跺崟鏃ユ湡' }
-                    ////, { field: 'HCenterID', title: 'HCenterID' }
-                    , { field: 'HUpDater', title: '淇敼浜�' }
-                    , { field: 'HUpDateDate ', title: '淇敼鏃ユ湡' }
-                    ////, { field: 'hbomid', title: 'hbomid' }
-                    , { field: 'HCloseMan', title: '鍏抽棴浜�' }
-                    ////, { field: 'HRoutingInterID', title: 'HRoutingInterID' }
-                    , { field: 'HCloseDate', title: '鍏抽棴鏃ユ湡' }
-                    , { field: 'HCloseType', title: '鍏抽棴绫诲瀷' }
-                    , { field: 'HDeleteMan', title: '浣滃簾浜�' }
-                    , { field: 'HDeleteDate', title: '浣滃簾鏃ユ湡' }
-                    , { field: 'HMainSourceBillType', title: '婧愬崟绫诲瀷' }
-                    , { field: 'HMainSourceInterID', title: '婧愬崟涓诲唴鐮�' }
-                    , { field: 'HMainSourceEntryID', title: '婧愬崟瀛愬唴鐮�' }
-                    , { field: 'HMainSourceBillNo', title: '婧愬崟鍙�' }
-                    , { field: 'HPrintQty', title: '鎵撳嵃娆℃暟' }
-                    //, { field: 'HCloseDate', title: '鍏抽棴鏃ユ湡' }
-                    //, { field: 'HCloseType', title: '鍏抽棴绫诲瀷' }
-                    //////, { field: 'hsubid', title: 'hsubid' }
-                    //, { field: 'HDeleteMan', title: '浣滃簾浜�' }
-                    //, { field: 'HDeleteDate', title: '浣滃簾鏃ユ湡' }
-                    //, { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�' }
-                    //, { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
-                    //, { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' }
-                    //, { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
-                    //, { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' }
-                    //, { field: '淇敼浜�', title: '淇敼浜�' }
-                    //, { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' }
-                    //, { field: '鍏抽棴浜�', title: '鍏抽棴浜�' }
-                    //, { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' }
-                    //, { field: '浣滃簾浜�', title: '浣滃簾浜�' }
-                    //, { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' }
-                    //, { field: '琛屽叧闂汉', title: '琛屽叧闂汉' }
-                    //, { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷' }
-                    //, { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷' }
-                    //, { field: '璁″垝璺熻釜鍙�', title: '璁″垝璺熻釜鍙�' }
-                ]]
-            };
-
-            //杩涘叆椤甸潰鏄剧ず鐨勭紦瀛樺垪琛�
-            var index0 = layer.load(0, { shade: false });
-            $.ajax({
-                //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
-                url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_StationOutBillMain_Json',
-                type: "GET",
-                data: { "sWhere": sWhere },
-                success: function (data1) {
-                    if (data1.count == 1) {
-                        option.data = data1.data;
-                        table.render(option);
-                        layer.close(index0);
-                    } else {
-                        layer.close(index0);
-                        layer.alert(data1.code + data1.Message, { icon: 5 });
-                    }
-                }, error: function () {
-                    layer.close(index0);
-                    layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
-                }
-            }); 
-
-            //閲嶇疆鎸夐挳
-            form.on('submit(btnReSearch)', function (data) {
-                $("#HDate").val("");//寮�濮嬫棩鏈�
-                $("#HDate1").val("");//缁撴潫鏃ユ湡
-                $("#HOrderProcNO").val("");//璁㈠崟璺熻釜鍙�
-                $("#WorkCenter").val("");//鍗曟嵁鍙�
-                $("#btnSearch").click();
-            });
-
-            //鏌ヨ鎸夐挳
-            form.on('submit(btnSearch)', function (data) {//閫夋嫨浠撲綅
-                var HDate = $("#HDate").val();//寮�濮嬫棩鏈�
-                var HDate1 = $("#HDate1").val();//缁撴潫鏃ユ湡
-                var HOrderProcNO = $("#HOrderProcNO").val();//璁㈠崟璺熻釜鍙�
-                var WorkCenter = $("#WorkCenter").val();//鍗曟嵁鍙�
-                if (HDate) {
-                    sWhere += " and HDate >= '" + HDate + "'";
-                }
-                if (HDate1) {
-                    sWhere += " and HDate <= '" + HDate1 + "'";
-                }
-                if (HOrderProcNO) {
-                    sWhere += " and 璁㈠崟璺熻釜鍙� like '%" + HOrderProcNO + "%'";
-                }
-                if (WorkCenter) {
-                    sWhere += " and HBillNo like '%" + WorkCenter + "%'";
-                }
-                var index = layer.load(0, { shade: false });
-                $.ajax({
-                    url: GetWEBURL() + '/Sc_ProcessMangement/MES_Sc_StationOutBillMain_Json',
-                    type: "GET",
-                    data: { "sWhere": sWhere },
-                    success: function (data1) {
-                        if (data1.count == 1) {
-                            option.data = data1.data;
-                            table.render(option);
-                            layer.close(index);
-                            layer.alert("鏌ヨ鎴愬姛", { icon: 1 });
-                        } else {
-                            layer.close(index);
-                            layer.alert(data1.code + data1.Message, { icon: 5 });
-                        }
-                    }, error: function () {
-                        layer.close(index);
-                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
-                    }
-                });
-                sWhere = "";//璋冪敤鎺ュ彛鍚庢竻绌簊Where缂撳瓨
-            });
-
-
-            //laydate.render({
-            //    elem: '#HDate'
-            //    , type: 'datetime'
-            //    , trigger: 'click'
-            //    , format:'yyyy-MM-dd HH:mm'
-            //});
-
-
-            //浠ヤ笂鏄痩ayui妯″潡
-        });
-
-        
-
-
-    </script>
-
-</body>
-</html>
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\264\276\345\267\245\345\215\225/WW_EntrustProcSendWorkBillList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\264\276\345\267\245\345\215\225/WW_EntrustProcSendWorkBillList.html"
new file mode 100644
index 0000000..f498262
--- /dev/null
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\264\276\345\267\245\345\215\225/WW_EntrustProcSendWorkBillList.html"
@@ -0,0 +1,611 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title>濮斿宸ュ簭娲惧伐鍗曞垪琛�</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+      <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+</head>
+<body>
+
+    <div class="layui-card layadmin-header">
+        <div class="layui-breadcrumb" lay-filter="breadcrumb">
+            <a lay-href="">涓婚〉</a>
+            <a><cite>閲囪喘璁㈠崟</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸鐨勯噸杞�</cite></a>
+        </div>
+    </div>
+
+    <div class="layui-fluid">
+        <div class="layui-row layui-col-space15">
+            <div class="layui-col-md12">
+                <div class="layui-card">
+
+                    <div class="layui-card-body">
+                        <!--<div class="test-table-reload-btn" style="margin-bottom: 10px;">-->
+                        <form class="layui-form" action="">
+                            <div class="layui-form-item">
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">璁㈠崟鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select name="HStatus" id="HStatus" lay-filter="">
+                                            <option value="" selected="">鍏ㄩ儴</option>
+                                            <option value="鏈‘璁�">鏈‘璁�</option>
+                                            <option value="宸茬‘璁�">宸茬‘璁�</option>
+                                            <option value="宸查┏鍥�">宸查┏鍥�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鍗曟嵁鍙�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HBillNo" id="HBillNo">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐗╂枡浠g爜</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HNumber" id="HNumber">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">浜у搧鍚嶇О</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HName" id="HName">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">瑙勬牸鍨嬪彿</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HModel" id="HModel">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鍏抽棴鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select id="HClStatus" name="HClStatus" lay-filter="">
+                                            <option value="">鍏ㄩ儴</option>
+                                            <option value="鏈叧闂�" selected="">鏈叧闂�</option>
+                                            <option value="宸插叧闂�">宸插叧闂�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">寮�濮嬫棩鏈�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate1" id="HDate1">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">缁撴潫鏃ユ湡</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate2" id="HDate2">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">浜よ揣鏃堕棿</label>
+                                    <div class="layui-input-block">
+                                        <select id="Time" name="Time" lay-filter="">
+                                            <option value="1">涓�鍛ㄥ唴浜よ揣</option>
+                                            <option value="2">浜屽懆鍐呬氦璐�</option>
+                                            <option value="3">涓�鏈堝唴浜よ揣</option>
+                                            <option value="4">涓ゆ湀鍐呬氦璐�</option>
+                                            <option value="5">涓夋湀鍐呬氦璐�</option>
+                                            <option value="6">鍗婂勾鍐呬氦璐�</option>
+                                            <option value="7">涓�骞村唴浜よ揣</option>
+                                            <option value="8" selected="">闀挎湡浜よ揣</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">閲囪喘缁勭粐</label>
+                                    <div class="layui-input-block">
+                                            <select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
+                                                <option value="">缁勭粐1</option>
+                                                <option value="">缁勭粐2</option>
+                                            </select>
+                                        </div>
+                                    </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鏄惁宸蹭笅鎺ㄩ�佽揣鍗�</label>
+                                    <div class="layui-input-block">
+                                        <select id="HISGenerate" name="HISGenerate" lay-filter="">
+                                            <option value="鍏ㄩ儴">鍏ㄩ儴</option>
+                                            <option value="鏄�">鏄�</option>
+                                            <option value="鍚�" selected="">鍚�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="f_Query">
+                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                    </button>
+                                </div>
+                                </div>
+
+                        </form>
+                        <!--</div>-->
+                    </div>
+
+
+                    <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
+                    <script type="text/html" id="toolbarDemo">
+                        <div class="layui-btn-container">
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>-->
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button>-->
+                        </div>
+                    </script>
+                </div>
+            </div>
+        </div>
+    </div>
+
+    <!--<script src="../../layuiadmin/layui/lay/modules/mobile/jquery-3.3.1.min.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>
+        var _cur_page = 1;
+        var sql = " ";
+        //var options = document.getElementById('HStatus').children;
+        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;
+        }
+
+        function f_alert(sMsg) {
+            layer.alert(sMsg, { icon: 5 });
+            //layer.open({
+            //    type: 1
+            //  , offset: 'auto' //鍏蜂綋閰嶇疆鍙傝�冿細http://www.layui.com/doc/modules/layer.html#offset
+            //  , id: 'layerDemo' //闃叉閲嶅寮瑰嚭
+            //  , content: '<div style="padding: 20px 100px;">' + sMsg + '</div>'
+            //  , shade: 0 //涓嶆樉绀洪伄缃�
+            //  , yes: function () {
+            //      layer.closeAll();
+            //  }
+            //});
+        }
+        var params = getUrlVars();
+        var type = params[params[0]];
+        //switch (type) {
+        //    case "UnConfirm":
+        //        options[1].selected = true;
+        //        sql += " and 鐘舵�� like ^^%鏈‘璁�%^^";
+        //        //$("#HStatus").attr("disabled", true)
+        //        break;
+        //    case "ReConfirm":
+        //        options[2].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸茬‘璁�%^^";
+        //        sql += " and 鏈叧鑱旀暟閲� > 0";
+        //        break;
+        //    case "ReBack":
+        //        options[3].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸查┏鍥�%^^";
+        //        break;
+        //}
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index' //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'laydate', 'code', 'table', 'element', 'layer'], function () {
+            var $ = layui.$
+                , admin = layui.admin
+                , layer = layui.layer
+                , laydate = layui.laydate
+                , table = layui.table
+                , form = layui.form
+                , element = layui.element;
+            //甯歌鐢ㄦ硶
+            laydate.render({
+                elem: '#HDate1'
+            });
+            laydate.render({
+                elem: '#HDate2'
+            });
+            //layui.code();
+            RoadHBillNo(sql);
+            layer.load(3)
+            //鏂规硶绾ф覆鏌�
+            table.render({
+                elem: '#mainTable'
+                , dateType: 'json'
+                , colFilterRecord: true//鏄惁寮�鍚瓧娈电瓫閫夌殑璁板繂鍔熻兘
+                , data: []
+                //  , url:  GetWEBURL()+'GetPOOrderBill'
+                , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘
+                , defaultToolbar: ['filter', 'exports', 'print']
+                // , where: { msg: "", NowPage: 1, OnePage: 10 }
+                , cellMinWidth: 100
+                , cols: [[
+                    //{ checkbox: true, fixed: true }
+                    { type: 'checkbox', fixed: 'left' }
+                    , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
+                    , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120 }
+                    , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 }
+                    , { field: 'HDeptID ', title: 'HDeptID', width: 105 }
+                    , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜' }
+                    , { field: '閮ㄩ棬', title: '閮ㄩ棬' }
+                    , { field: 'HMaterID', title: 'HMaterID' }
+                    , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' }
+                    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 115 }
+                    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 115 }
+                    , { field: 'HUnitID', title: 'HUnitID' }
+                    , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 160 }
+                    , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', width: 160 }
+                    , { field: 'HprocID ', title: 'HprocID', width: 215 }
+                    ////, { field: 'hunitid', title: 'hunitid' }
+                    , { field: '宸ュ簭浠g爜 ', title: '宸ュ簭浠g爜 ', width: 115 }
+                    , { field: '宸ュ簭', title: '宸ュ簭' }
+                    ////, { field: 'hempid', title: 'hempid' }
+                    , { field: 'HGroupID	', title: 'HGroupID', width: 100 }
+                    , { field: '鐝粍浠g爜', title: '鐝粍浠g爜' }
+                    , { field: '鐝粍鍚嶇О', title: '鐝粍鍚嶇О' }
+                    , { field: 'HSourceID', title: 'HSourceID' }
+                    , { field: '璧勬簮浠g爜', title: '璧勬簮浠g爜' }
+                    ////, { field: 'HCenterID', title: 'HCenterID' }
+                    , { field: '鐢熶骇璧勬簮', title: '鐢熶骇璧勬簮' }
+                    , { field: 'HWorkerID ', title: 'HWorkerID' }
+                    ////, { field: 'hbomid', title: 'hbomid' }
+                    , { field: '鑱屽憳浠g爜', title: '鑱屽憳浠g爜' }
+                    ////, { field: 'HRoutingInterID', title: 'HRoutingInterID' }
+                    , { field: '鑱屽憳	', title: '鑱屽憳' }
+                    , { field: 'hsubid', title: 'hsubid', hide: true }
+                    , { field: '鏁伴噺', title: '鏁伴噺' }
+                    , { field: '璁″垝寮�宸ユ棩鏈�', title: '璁″垝寮�宸ユ棩鏈�' }
+                    , { field: '璁″垝瀹屽伐鏃ユ湡', title: '璁″垝瀹屽伐鏃ユ湡' }
+                    , { field: '璁″垝宸ユ椂', title: '璁″垝宸ユ椂' }
+                    , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞' }
+                    , { field: 'HICMOInterID', title: 'HICMOInterID ' }
+                    , { field: '鐢熶骇浠诲姟鍗曞彿', title: '鐢熶骇浠诲姟鍗曞彿' }
+                    , { field: 'HSeOrderInterID', title: 'HSeOrderInterID' }
+                    , { field: '閿�鍞鍗曞彿', title: '閿�鍞鍗曞彿' }
+                    ////, { field: 'hsubid', title: 'hsubid' }
+                    , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' }
+                    , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
+                    , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' }
+                    , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
+                    , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' }
+                    , { field: '淇敼浜�', title: '淇敼浜� ' }
+                    , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' }
+                    , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' }
+                    , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' }
+                    , { field: '浣滃簾浜�', title: '浣滃簾浜�' }
+                    , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' }
+                    , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�' }
+                    , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�' }
+                    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿' }
+                    , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷' }
+                    , { field: '琛屽叧闂汉', title: '琛屽叧闂汉' }
+                    , { field: 'HBillType', title: 'HBillType' }
+                    , { field: 'HQtyDecimal', title: 'HQtyDecimal' }
+                    , { field: 'HPriceDecimal', title: 'HPriceDecimal' }
+                ]]
+                //, skin: 'row' //琛ㄦ牸椋庢牸
+                // , even: true
+                , page: true //鏄惁鏄剧ず鍒嗛〉
+                , limits: [10, 20, 50, 100]
+                , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+                //, height: 500
+                , done: function (res, curr, count) {
+                    _cur_page = curr;
+                    layer.closeAll("loading");
+                }
+            });
+
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                var checkStatus = table.checkStatus(obj.config.id);
+                switch (obj.event) {
+                    case 'btn-getCheckData':
+                        var data = checkStatus.data;
+                        layer.alert(JSON.stringify(data));
+                        break;
+                    //case 'getCheckLength':
+                    //    var data = checkStatus.data;
+                    //    layer.msg('閫変腑浜嗭細' + data.length + ' 涓�');
+                    //    break;
+                    //case 'isAll':
+                    //    layer.msg(checkStatus.isAll ? '鍏ㄩ��' : '鏈叏閫�');
+                    //    break;
+
+                    //鑷畾涔夊ご宸ュ叿鏍忓彸渚у浘鏍� - 鎻愮ず
+                    case 'btn-reload':
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        RoadHBillNo(sql);
+                        break;
+                    case 'btn-confirm':
+                        var checkStatus = table.checkStatus('mainTable')
+                            , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+                            layer.confirm('鏄惁纭鍗曟嵁?', { icon: 3, title: '鎻愮ず' }, function (index) {
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL() + "POOrderAccept",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"] },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg(result.Message, { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜纭鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-back':
+                        var checkStatus = table.checkStatus('mainTable')
+                            , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        var HBackRemark;
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+
+                            layer.prompt({
+                                formType: 2,
+                                //value: '',
+                                title: '璇疯緭鍏ラ┏鍥炵悊鐢�',
+                                area: ['400px', '200px'] //鑷畾涔夋枃鏈煙瀹介珮
+                            }, function (value, index, elem) {
+                                HBackRemark = value.toString();
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL() + "POOrderRefuse",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"], "HBackRemark": HBackRemark },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg("鎷掔粷鎴愬姛锛�", { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+                                //alert(value); //寰楀埌value
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜椹冲洖鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-details':
+                        var checkStatus = table.checkStatus('mainTable')
+                            , data = checkStatus.data;
+
+                        var linterid = data[0].hmainid.toString();
+                        //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
+                        layer.open({
+                            type: 2
+                            , area: ['100%', '100%']
+                            , title: '閲囪喘璁㈠崟'
+                            , shade: 0.6 //閬僵閫忔槑搴�
+                            , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                            , content: '../../../src/views/SRM/SRM_POOrderBill.html?linterid=' + linterid
+                            , resize: false
+                            , cancel: function () {
+                                //$(".layui-btn").removeClass("layui-btn-disabled");
+                            }
+                        })
+                        break;
+                    case 'btn-generate':
+                        var checkStatus = table.checkStatus('mainTable')
+                            , data = checkStatus.data;
+                        ajaxLabelData = data;
+                        var rows = '';
+                        var HEntry = '';
+                        for (var i = 0; i < data.length; i++) {
+                            if (data[i]["鐘舵��"] == "宸茬‘璁�") {
+                                rows += data[i].hmainid.toString() + ',' + data[i].hsubid.toString() + ';';
+                            }
+                            else {
+                                HEntry += (i + 1) + ',';
+                            }
+                        }
+                        if (HEntry != '') {
+                            HEntry = HEntry.substring(0, HEntry.length - 1);
+                            layer.msg("绗�" + HEntry + "琛屾湭纭锛�", { icon: 5 });
+                        }
+                        else {
+                            layer.open({
+                                type: 2
+                                , area: ['100%', '100%']
+                                , title: '閫佽揣鍗�'
+                                , shade: 0.6 //閬僵閫忔槑搴�
+                                , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
+                                , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                                , content: ['../../views/SRM/SRM_POInStockBill_Edit.html?linterid=' + data[0].hmainid.toString() + '&lentryid=' + rows.toString() + '&lSourceBillType=1102', 'yes']
+                                , resize: false
+                                //, cancel: function () {
+                                //    $(".layui-btn").removeClass("layui-btn-disabled");
+                                //}
+                            })
+                        }
+                        break;
+                    case 'btn-exit':
+                        //var index = parent.layer.getFrameIndex(window.name);
+                        //element.tabDelete('layadmin-layout-tabs', this);
+                        parent.layui.admin.events.closeThisTabs();
+                        //parent.layer.close(index);
+                        break;
+                };
+            });
+
+
+
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadHBillNo(sqlWhere) {
+                where = sqlWhere;
+                $.ajax({
+                    type: "get",
+                    url: GetWEBURL() + "/Sc_ProcessMangement/MES_WW_EntrustProcSendWorkBill_Json",
+                    async: true,
+                    data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"],
+                    success: function (result) {
+                        if (result.count == 1) {
+                            ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('mainTable', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , page: {
+                                curr: _cur_page //蹇呴』浠庣 1 椤靛紑濮�
+                            }
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                        } else {
+                            layer.close(index0);
+                            layer.alert(result.code + result.Message, { icon: 5 });
+                        }
+                   
+                    },
+                    error: function (result) {
+                        console.log(result);
+                        layer.close(index0);
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            };
+            form.on('submit(f_Query)', function (data) {//鏌ヨ
+                var sqlWhere = " and 1=1 ";
+                //if ($("#HStatus").val() != "")
+                //    sqlWhere += " and 鐘舵�� like ^^%" + $("#HStatus").val() + "%^^";
+                var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙�
+                var HNumber = $("#HNumber").val();//鐗╂枡浠g爜
+                var HName = $("#HName").val();//鐗╂枡鍚嶇О
+                var HModel = $("#HModel").val();//瑙勬牸鍨嬪彿
+                var HDate1 = $("#HDate1").val();//寮�濮嬫棩鏈�
+                var HDate2 = $("#HDate2").val();//缁撴潫鏃ユ湡
+
+                if (HBillNo)
+                    sqlWhere += " and 鍗曟嵁鍙� like '%" + HBillNo + "%'";
+                if (HNumber)
+                    sqlWhere += " and 鐗╂枡浠g爜 like '%" + HNumber + "%'";
+                if (HName)
+                    sqlWhere += " and 鐗╂枡鍚嶇О like '%" + HName + "%'";
+                if (HModel)
+                    sqlWhere += " and 瑙勬牸鍨嬪彿 like '%" + HModel + "%'";
+                //if ($("#HClStatus").val() != "")
+                //    sqlWhere += " and 鍏抽棴鐘舵�� like ^^%" + $("#HClStatus").val() + "%^^";
+                //if ($("#HPURCHASEORGID").val() != "")
+                //    sqlWhere += " and 閲囪喘缁勭粐 like ^^%" + $("#HPURCHASEORGID").val() + "%^^";
+                if (HDate1) {
+                    sqlWhere += " and 鏃ユ湡 >= '" + HDate1 + "'";
+                }
+                if (HDate2) {
+                    sqlWhere += " and 鏃ユ湡 <= '" + HDate2 + "'";
+                }
+                //if ($("#HISGenerate").val() != "") {
+                //    if ($("#HISGenerate").val() == "鏄�")
+                //    {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� <= 0";
+                //    }
+                //    else if ($("#HISGenerate").val() == "鍚�") {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� > 0";
+                //    }
+                //}
+
+
+                var Time = $("#Time").val();
+                var dd = new Date();
+                var dt;
+                switch (Time) {
+                    case 1: dd = new Date(dd.setDate(dd.getDate() + 7));
+                    case 2: dd = new Date(dd.setDate(dd.getDate() + 14));
+                    case 3: dd = new Date(dd.setMonth(dd.getMonth() + 1));
+                    case 4: dd = new Date(dd.setMonth(dd.getMonth() + 2));
+                    case 5: dd = new Date(dd.setMonth(dd.getMonth() + 3));
+                    case 6: dd = new Date(dd.setMonth(dd.getMonth() + 6));
+                    case 7: dd = new Date(dd.setMonth(dd.getMonth() + 12));
+                    default: dd = new Date(dd.setDate(dd.getDate()));
+                }
+                dt = dd.getFullYear().toString();
+                if (dd.getMonth() + 1 < 10) {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                else {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                if (dd.getDate() < 10) {
+                    dt = dt + "-0" + dd.getDate().toString();
+                }
+                else {
+                    dt = dt + "-" + dd.getDate().toString();
+                }
+                //if (Time != 8) {
+                //    sqlWhere += " and 浜よ揣鏃ユ湡 <= ^^" + dt + "^^";
+                //}
+                sql = sqlWhere;
+                //浠庣涓�椤靛紑濮�
+                _cur_page = 1;
+                RoadHBillNo(sqlWhere);
+            });
+            var $ = layui.$, active = {
+                f_Query: function () { //鏌ヨ
+
+                },
+                f_Qrjq: function () { //鎺ュ彈
+
+                },
+                f_Bhjq: function () { //鎷掔粷
+
+                },
+                //JSreload: function () {
+                //    var demoReload = $('#test-table-demoReload');
+                //    //鎵ц閲嶈浇
+                //    table.JSreload('test-table-reload', {
+                //        page: {
+                //            curr: 1 //閲嶆柊浠庣 1 椤靛紑濮�
+                //        }
+                //      , where: {
+                //          key: {
+                //              id: demoReload.val()
+                //          }
+                //      }
+                //    });
+                //}
+            };
+            $('.test-table-reload-btn .layui-btn').on('click', function () {
+                var type = $(this).data('type');
+                active[type] ? active[type].call(this) : '';
+            });
+        });
+    </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\346\261\207\346\212\245\345\215\225/WW_EntrustProcessReportBillList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\346\261\207\346\212\245\345\215\225/WW_EntrustProcessReportBillList.html"
new file mode 100644
index 0000000..1a7c10e
--- /dev/null
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\346\261\207\346\212\245\345\215\225/WW_EntrustProcessReportBillList.html"
@@ -0,0 +1,589 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title>濮斿宸ュ簭娲惧伐鍗曞垪琛�</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+      <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+</head>
+<body>
+
+    <div class="layui-card layadmin-header">
+        <div class="layui-breadcrumb" lay-filter="breadcrumb">
+            <a lay-href="">涓婚〉</a>
+            <a><cite>閲囪喘璁㈠崟</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸鐨勯噸杞�</cite></a>
+        </div>
+    </div>
+
+    <div class="layui-fluid">
+        <div class="layui-row layui-col-space15">
+            <div class="layui-col-md12">
+                <div class="layui-card">
+
+                    <div class="layui-card-body">
+                        <!--<div class="test-table-reload-btn" style="margin-bottom: 10px;">-->
+                        <form class="layui-form" action="">
+                            <div class="layui-form-item">
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">璁㈠崟鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select name="HStatus" id="HStatus" lay-filter="">
+                                            <option value="" selected="">鍏ㄩ儴</option>
+                                            <option value="鏈‘璁�">鏈‘璁�</option>
+                                            <option value="宸茬‘璁�">宸茬‘璁�</option>
+                                            <option value="宸查┏鍥�">宸查┏鍥�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鍗曟嵁鍙�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HBillNo" id="HBillNo">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐗╂枡浠g爜</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HNumber" id="HNumber">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">浜у搧鍚嶇О</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HName" id="HName">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">瑙勬牸鍨嬪彿</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HModel" id="HModel">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鍏抽棴鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select id="HClStatus" name="HClStatus" lay-filter="">
+                                            <option value="">鍏ㄩ儴</option>
+                                            <option value="鏈叧闂�" selected="">鏈叧闂�</option>
+                                            <option value="宸插叧闂�">宸插叧闂�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">寮�濮嬫棩鏈�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate1" id="HDate1">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">缁撴潫鏃ユ湡</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate2" id="HDate2">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">浜よ揣鏃堕棿</label>
+                                    <div class="layui-input-block">
+                                        <select id="Time" name="Time" lay-filter="">
+                                            <option value="1">涓�鍛ㄥ唴浜よ揣</option>
+                                            <option value="2">浜屽懆鍐呬氦璐�</option>
+                                            <option value="3">涓�鏈堝唴浜よ揣</option>
+                                            <option value="4">涓ゆ湀鍐呬氦璐�</option>
+                                            <option value="5">涓夋湀鍐呬氦璐�</option>
+                                            <option value="6">鍗婂勾鍐呬氦璐�</option>
+                                            <option value="7">涓�骞村唴浜よ揣</option>
+                                            <option value="8" selected="">闀挎湡浜よ揣</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">閲囪喘缁勭粐</label>
+                                    <div class="layui-input-block">
+                                            <select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
+                                                <option value="">缁勭粐1</option>
+                                                <option value="">缁勭粐2</option>
+                                            </select>
+                                        </div>
+                                    </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鏄惁宸蹭笅鎺ㄩ�佽揣鍗�</label>
+                                    <div class="layui-input-block">
+                                        <select id="HISGenerate" name="HISGenerate" lay-filter="">
+                                            <option value="鍏ㄩ儴">鍏ㄩ儴</option>
+                                            <option value="鏄�">鏄�</option>
+                                            <option value="鍚�" selected="">鍚�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="f_Query">
+                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                    </button>
+                                </div>
+                                </div>
+
+                        </form>
+                        <!--</div>-->
+                    </div>
+
+
+                    <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
+                    <script type="text/html" id="toolbarDemo">
+                        <div class="layui-btn-container">
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>-->
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button>-->
+                        </div>
+                    </script>
+                </div>
+            </div>
+        </div>
+    </div>
+
+    <!--<script src="../../layuiadmin/layui/lay/modules/mobile/jquery-3.3.1.min.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>
+        var _cur_page = 1;
+        var sql = " ";
+        //var options = document.getElementById('HStatus').children;
+        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;
+        }
+
+        function f_alert(sMsg) {
+            layer.alert(sMsg, { icon: 5 });
+            //layer.open({
+            //    type: 1
+            //  , offset: 'auto' //鍏蜂綋閰嶇疆鍙傝�冿細http://www.layui.com/doc/modules/layer.html#offset
+            //  , id: 'layerDemo' //闃叉閲嶅寮瑰嚭
+            //  , content: '<div style="padding: 20px 100px;">' + sMsg + '</div>'
+            //  , shade: 0 //涓嶆樉绀洪伄缃�
+            //  , yes: function () {
+            //      layer.closeAll();
+            //  }
+            //});
+        }
+        var params = getUrlVars();
+        var type = params[params[0]];
+        //switch (type) {
+        //    case "UnConfirm":
+        //        options[1].selected = true;
+        //        sql += " and 鐘舵�� like ^^%鏈‘璁�%^^";
+        //        //$("#HStatus").attr("disabled", true)
+        //        break;
+        //    case "ReConfirm":
+        //        options[2].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸茬‘璁�%^^";
+        //        sql += " and 鏈叧鑱旀暟閲� > 0";
+        //        break;
+        //    case "ReBack":
+        //        options[3].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸查┏鍥�%^^";
+        //        break;
+        //}
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index' //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'laydate', 'code', 'table', 'element', 'layer'], function () {
+            var $ = layui.$
+            , admin = layui.admin
+            , layer = layui.layer
+            , laydate = layui.laydate
+            , table = layui.table
+            , form = layui.form
+            , element = layui.element;
+            //甯歌鐢ㄦ硶
+            laydate.render({
+                elem: '#HDate1'
+            });
+            laydate.render({
+                elem: '#HDate2'
+            });
+            //layui.code();
+            RoadHBillNo(sql);
+            layer.load(3)
+            //鏂规硶绾ф覆鏌�
+            table.render({
+                elem: '#mainTable'
+                , dateType: 'json'
+                , colFilterRecord: true//鏄惁寮�鍚瓧娈电瓫閫夌殑璁板繂鍔熻兘
+                , data: []
+                //  , url:  GetWEBURL()+'GetPOOrderBill'
+                , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘
+                , defaultToolbar: ['filter', 'exports', 'print']
+                // , where: { msg: "", NowPage: 1, OnePage: 10 }
+              , cellMinWidth: 100
+              , cols: [[
+                      { type: 'checkbox', fixed: 'left' }
+                     ,{ field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
+                     ,{ field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120 }
+                    , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 }
+                    , { field: 'HDeptID ', title: 'HDeptID', width: 105 }
+                    , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜' }
+                    , { field: '閮ㄩ棬', title: '閮ㄩ棬' }
+                    , { field: 'HMaterID', title: 'HMaterID' }
+                    , { field: '鐗╂枡浠g爜', title: '鐗╂枡浠g爜' }
+                    , { field: '鐗╂枡鍚嶇О', title: '鐗╂枡鍚嶇О', width: 115 }
+                    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 115 }
+                    , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' }
+                    , { field: 'hsubid', title: 'hsubid',  hide: true ,width: 160 }
+                    , { field: '宸ュ簭', title: '宸ュ簭', width: 160 }
+                    , { field: '鍗曚环 ', title: '鍗曚环', width: 215 }
+                    , { field: '鏁伴噺 ', title: '鏁伴噺 ', width: 115 }
+                    , { field: '涓嶈壇鏁伴噺', title: '涓嶈壇鏁伴噺' }
+                    , { field: '鎶ュ簾鏁�	', title: '鎶ュ簾鏁�', width: 100 }
+                    , { field: '琛ㄤ綋澶囨敞', title: '琛ㄤ綋澶囨敞' }
+                    , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
+                    , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' }
+                    , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
+                    , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' }
+                    , { field: '淇敼浜� ', title: '淇敼浜�' }
+                    , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' }
+                    , { field: '鍏抽棴浜�	', title: '鍏抽棴浜�' }
+                    , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡'}
+                    , { field: '浣滃簾浜�', title: '浣滃簾浜�' }
+                    , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' }
+                    , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�' }
+                    , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�' }
+                    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿' }
+                    , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷 ' }
+                    , { field: '琛屽叧闂汉', title: '琛屽叧闂汉' }
+                    , { field: 'HBillType', title: 'HBillType' }
+                    , { field: 'HBillSubType', title: 'HBillSubType' }
+                    , { field: 'HICMOInterID', title: 'HICMOInterID' }
+                    , { field: '浠诲姟鍗曞彿', title: '浠诲姟鍗曞彿' }
+              
+              ]]
+                //, skin: 'row' //琛ㄦ牸椋庢牸
+                // , even: true
+            , page: true //鏄惁鏄剧ず鍒嗛〉
+            , limits: [10, 20, 50, 100]
+            , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+                //, height: 500
+            , done: function (res, curr, count) {
+                _cur_page = curr;
+                layer.closeAll("loading");
+            }
+            });
+
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                var checkStatus = table.checkStatus(obj.config.id);
+                switch (obj.event) {
+                    case 'btn-getCheckData':
+                        var data = checkStatus.data;
+                        layer.alert(JSON.stringify(data));
+                        break;
+                        //case 'getCheckLength':
+                        //    var data = checkStatus.data;
+                        //    layer.msg('閫変腑浜嗭細' + data.length + ' 涓�');
+                        //    break;
+                        //case 'isAll':
+                        //    layer.msg(checkStatus.isAll ? '鍏ㄩ��' : '鏈叏閫�');
+                        //    break;
+
+                        //鑷畾涔夊ご宸ュ叿鏍忓彸渚у浘鏍� - 鎻愮ず
+                    case 'btn-reload':
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        RoadHBillNo(sql);
+                        break;
+                    case 'btn-confirm':
+                        var checkStatus = table.checkStatus('mainTable')
+                         , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+                            layer.confirm('鏄惁纭鍗曟嵁?', { icon: 3, title: '鎻愮ず' }, function (index) {
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL()+"POOrderAccept",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"] },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg(result.Message, { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜纭鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-back':
+                        var checkStatus = table.checkStatus('mainTable')
+                       , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        var HBackRemark;
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+
+                            layer.prompt({
+                                formType: 2,
+                                //value: '',
+                                title: '璇疯緭鍏ラ┏鍥炵悊鐢�',
+                                area: ['400px', '200px'] //鑷畾涔夋枃鏈煙瀹介珮
+                            }, function (value, index, elem) {
+                                HBackRemark = value.toString();
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL()+"POOrderRefuse",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"], "HBackRemark": HBackRemark },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg("鎷掔粷鎴愬姛锛�", { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+                                //alert(value); //寰楀埌value
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜椹冲洖鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-details':
+                        var checkStatus = table.checkStatus('mainTable')
+                       , data = checkStatus.data;
+
+                        var linterid = data[0].hmainid.toString();
+                        //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
+                        layer.open({
+                            type: 2
+                            , area: ['100%', '100%']
+                            , title: '閲囪喘璁㈠崟'
+                            , shade: 0.6 //閬僵閫忔槑搴�
+                            , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                            , content: '../../../src/views/SRM/SRM_POOrderBill.html?linterid=' + linterid
+                            , resize: false
+                            , cancel: function () {
+                                //$(".layui-btn").removeClass("layui-btn-disabled");
+                            }
+                        })
+                        break;
+                    case 'btn-generate':
+                        var checkStatus = table.checkStatus('mainTable')
+                        , data = checkStatus.data;
+                        ajaxLabelData = data;
+                        var rows = '';
+                        var HEntry = '';
+                        for (var i = 0; i < data.length; i++) {
+                            if (data[i]["鐘舵��"] == "宸茬‘璁�") {
+                                rows += data[i].hmainid.toString() + ',' + data[i].hsubid.toString() + ';';
+                            }
+                            else {
+                                HEntry += (i + 1) + ',';
+                            }
+                        }
+                        if (HEntry != '') {
+                            HEntry = HEntry.substring(0, HEntry.length - 1);
+                            layer.msg("绗�" + HEntry + "琛屾湭纭锛�", { icon: 5 });
+                        }
+                        else{
+                        layer.open({
+                            type: 2
+                            , area: ['100%', '100%']
+                            , title: '閫佽揣鍗�'
+                            , shade: 0.6 //閬僵閫忔槑搴�
+                            , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
+                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                            , content: ['../../views/SRM/SRM_POInStockBill_Edit.html?linterid=' + data[0].hmainid.toString() + '&lentryid=' + rows.toString() + '&lSourceBillType=1102', 'yes']
+                            , resize: false
+                            //, cancel: function () {
+                            //    $(".layui-btn").removeClass("layui-btn-disabled");
+                            //}
+                        })
+                        }
+                        break;
+                    case 'btn-exit':
+                        //var index = parent.layer.getFrameIndex(window.name);
+                        //element.tabDelete('layadmin-layout-tabs', this);
+                        parent.layui.admin.events.closeThisTabs();
+                        //parent.layer.close(index);
+                        break;
+                };
+            });
+
+
+
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadHBillNo(sqlWhere) {
+                where = sqlWhere;
+                $.ajax({
+                    type: "get",
+                    url: GetWEBURL()+"/Sc_ProcessMangement/MES_WW_EntrustProcessReportBill_Json",
+                    async: true,
+                    data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"], 
+                    success: function (result) {
+                        if (result.count == 1) {
+                         ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('mainTable', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , page: {
+                                curr: _cur_page //蹇呴』浠庣 1 椤靛紑濮�
+                            }
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                        layer.close(index0);
+                    } else {
+                            layer.close(index0);
+                            layer.alert(result.code + result.Message, { icon: 5 });
+                    }
+                     
+                    },
+                    error: function (result) {
+                        console.log(result);
+                        layer.close(index0);
+                        layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            };
+            form.on('submit(f_Query)', function (data) {//鏌ヨ
+                var sqlWhere = " and 1=1 ";
+                //if ($("#HStatus").val() != "")
+                //    sqlWhere += " and 鐘舵�� like ^^%" + $("#HStatus").val() + "%^^";
+                var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙�
+                var HNumber = $("#HNumber").val();//鐗╂枡浠g爜
+                var HName = $("#HName").val();//鐗╂枡鍚嶇О
+                var HModel = $("#HModel").val();//瑙勬牸鍨嬪彿
+                var HDate1 = $("#HDate1").val();//寮�濮嬫棩鏈�
+                var HDate2 = $("#HDate2").val();//缁撴潫鏃ユ湡
+
+                if (HBillNo)
+                    sqlWhere += " and 鍗曟嵁鍙� like '%" + HBillNo+ "%'";
+                if (HNumber)
+                    sqlWhere += " and 鐗╂枡浠g爜 like '%" + HNumber + "%'";
+                if (HName)
+                    sqlWhere += " and 鐗╂枡鍚嶇О like '%" + HName + "%'";
+                if (HModel)
+                    sqlWhere += " and 瑙勬牸鍨嬪彿 like '%" + HModel + "%'";
+                //if ($("#HClStatus").val() != "")
+                //    sqlWhere += " and 鍏抽棴鐘舵�� like ^^%" + $("#HClStatus").val() + "%^^";
+                //if ($("#HPURCHASEORGID").val() != "")
+                //    sqlWhere += " and 閲囪喘缁勭粐 like ^^%" + $("#HPURCHASEORGID").val() + "%^^";
+                if (HDate1) {
+                    sqlWhere += " and 鏃ユ湡 >= '" + HDate1 + "'";
+                }
+                if (HDate2) {
+                    sqlWhere += " and 鏃ユ湡 <= '" + HDate2 + "'";
+                }
+                //if ($("#HISGenerate").val() != "") {
+                //    if ($("#HISGenerate").val() == "鏄�")
+                //    {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� <= 0";
+                //    }
+                //    else if ($("#HISGenerate").val() == "鍚�") {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� > 0";
+                //    }
+                //}
+                
+
+                var Time = $("#Time").val();
+                var dd = new Date();
+                var dt;
+                switch (Time) {
+                    case 1: dd = new Date(dd.setDate(dd.getDate() + 7));
+                    case 2: dd = new Date(dd.setDate(dd.getDate() + 14));
+                    case 3: dd = new Date(dd.setMonth(dd.getMonth() + 1));
+                    case 4: dd = new Date(dd.setMonth(dd.getMonth() + 2));
+                    case 5: dd = new Date(dd.setMonth(dd.getMonth() + 3));
+                    case 6: dd = new Date(dd.setMonth(dd.getMonth() + 6));
+                    case 7: dd = new Date(dd.setMonth(dd.getMonth() + 12));
+                    default: dd = new Date(dd.setDate(dd.getDate()));
+                }
+                dt = dd.getFullYear().toString();
+                if (dd.getMonth() + 1 < 10) {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                else {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                if (dd.getDate() < 10) {
+                    dt = dt + "-0" + dd.getDate().toString();
+                }
+                else {
+                    dt = dt + "-" + dd.getDate().toString();
+                }
+                //if (Time != 8) {
+                //    sqlWhere += " and 浜よ揣鏃ユ湡 <= ^^" + dt + "^^";
+                //}
+                sql = sqlWhere;
+                //浠庣涓�椤靛紑濮�
+                _cur_page = 1;
+                RoadHBillNo(sqlWhere);
+            });
+            var $ = layui.$, active = {
+                f_Query: function () { //鏌ヨ
+
+                },
+                f_Qrjq: function () { //鎺ュ彈
+
+                },
+                f_Bhjq: function () { //鎷掔粷
+
+                },
+                //JSreload: function () {
+                //    var demoReload = $('#test-table-demoReload');
+                //    //鎵ц閲嶈浇
+                //    table.JSreload('test-table-reload', {
+                //        page: {
+                //            curr: 1 //閲嶆柊浠庣 1 椤靛紑濮�
+                //        }
+                //      , where: {
+                //          key: {
+                //              id: demoReload.val()
+                //          }
+                //      }
+                //    });
+                //}
+            };
+            $('.test-table-reload-btn .layui-btn').on('click', function () {
+                var type = $(this).data('type');
+                active[type] ? active[type].call(this) : '';
+            });
+        });
+    </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\350\275\254\345\207\272\345\215\225/WW_EntrustProcessSendOutBillList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\350\275\254\345\207\272\345\215\225/WW_EntrustProcessSendOutBillList.html"
new file mode 100644
index 0000000..b70c4f0
--- /dev/null
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\350\256\241\345\210\222\350\275\254\345\207\272\345\215\225/WW_EntrustProcessSendOutBillList.html"
@@ -0,0 +1,582 @@
+锘�<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title>濮斿宸ュ簭娲惧伐鍗曞垪琛�</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+      <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
+    <script src="../../../layuiadmin/layui/layui.js"></script>
+</head>
+<body>
+
+    <div class="layui-card layadmin-header">
+        <div class="layui-breadcrumb" lay-filter="breadcrumb">
+            <a lay-href="">涓婚〉</a>
+            <a><cite>閲囪喘璁㈠崟</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸</cite></a>
+            <a><cite>閲囪喘璁㈠崟琛ㄦ牸鐨勯噸杞�</cite></a>
+        </div>
+    </div>
+
+    <div class="layui-fluid">
+        <div class="layui-row layui-col-space15">
+            <div class="layui-col-md12">
+                <div class="layui-card">
+
+                    <div class="layui-card-body">
+                        <!--<div class="test-table-reload-btn" style="margin-bottom: 10px;">-->
+                        <form class="layui-form" action="">
+                            <div class="layui-form-item">
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">璁㈠崟鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select name="HStatus" id="HStatus" lay-filter="">
+                                            <option value="" selected="">鍏ㄩ儴</option>
+                                            <option value="鏈‘璁�">鏈‘璁�</option>
+                                            <option value="宸茬‘璁�">宸茬‘璁�</option>
+                                            <option value="宸查┏鍥�">宸查┏鍥�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鍗曟嵁鍙�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HBillNo" id="HBillNo">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">鐗╂枡浠g爜</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HNumber" id="HNumber">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">浜у搧鍚嶇О</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HName" id="HName">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">瑙勬牸鍨嬪彿</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HModel" id="HModel">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鍏抽棴鐘舵��</label>
+                                    <div class="layui-input-block">
+                                        <select id="HClStatus" name="HClStatus" lay-filter="">
+                                            <option value="">鍏ㄩ儴</option>
+                                            <option value="鏈叧闂�" selected="">鏈叧闂�</option>
+                                            <option value="宸插叧闂�">宸插叧闂�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">寮�濮嬫棩鏈�</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate1" id="HDate1">
+                                    </div>
+                                </div>
+                                <div class="layui-inline">
+                                    <label class="layui-form-label">缁撴潫鏃ユ湡</label>
+                                    <div class="layui-input-block">
+                                        <input type="text" class="layui-input" name="HDate2" id="HDate2">
+                                    </div>
+                                </div>
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">浜よ揣鏃堕棿</label>
+                                    <div class="layui-input-block">
+                                        <select id="Time" name="Time" lay-filter="">
+                                            <option value="1">涓�鍛ㄥ唴浜よ揣</option>
+                                            <option value="2">浜屽懆鍐呬氦璐�</option>
+                                            <option value="3">涓�鏈堝唴浜よ揣</option>
+                                            <option value="4">涓ゆ湀鍐呬氦璐�</option>
+                                            <option value="5">涓夋湀鍐呬氦璐�</option>
+                                            <option value="6">鍗婂勾鍐呬氦璐�</option>
+                                            <option value="7">涓�骞村唴浜よ揣</option>
+                                            <option value="8" selected="">闀挎湡浜よ揣</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">閲囪喘缁勭粐</label>
+                                    <div class="layui-input-block">
+                                            <select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
+                                                <option value="">缁勭粐1</option>
+                                                <option value="">缁勭粐2</option>
+                                            </select>
+                                        </div>
+                                    </div>-->
+                                <!--<div class="layui-inline">
+                                    <label class="layui-form-label">鏄惁宸蹭笅鎺ㄩ�佽揣鍗�</label>
+                                    <div class="layui-input-block">
+                                        <select id="HISGenerate" name="HISGenerate" lay-filter="">
+                                            <option value="鍏ㄩ儴">鍏ㄩ儴</option>
+                                            <option value="鏄�">鏄�</option>
+                                            <option value="鍚�" selected="">鍚�</option>
+                                        </select>
+                                    </div>
+                                </div>-->
+                                <div class="layui-inline">
+                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="f_Query">
+                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
+                                    </button>
+                                </div>
+                                </div>
+
+                        </form>
+                        <!--</div>-->
+                    </div>
+
+
+                    <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
+                    <script type="text/html" id="toolbarDemo">
+                        <div class="layui-btn-container">
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-getCheckData"><i class="layui-icon layui-icon-tips"></i>棰勮</button>-->
+                            <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="btn-reload"><i class="layui-icon layui-icon-refresh"></i>鍒锋柊</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-confirm" id="btn_confirm"><i class="layui-icon layui-icon-ok-circle"></i>纭</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-back" id="btn_back"><i class="layui-icon layui-icon-close-fill"></i>椹冲洖</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-details"><i class="layui-icon layui-icon-form"></i>璇︽儏</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-generate"><i class="layui-icon layui-icon-file"></i>鐢熸垚閫佽揣鍗�</button>
+                            <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-exit"><i class="layui-icon layui-icon-return"></i>閫�鍑�</button>-->
+                        </div>
+                    </script>
+                </div>
+            </div>
+        </div>
+    </div>
+
+    <!--<script src="../../layuiadmin/layui/lay/modules/mobile/jquery-3.3.1.min.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>
+        var _cur_page = 1;
+        var sql = " ";
+        //var options = document.getElementById('HStatus').children;
+        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;
+        }
+
+        function f_alert(sMsg) {
+            layer.alert(sMsg, { icon: 5 });
+            //layer.open({
+            //    type: 1
+            //  , offset: 'auto' //鍏蜂綋閰嶇疆鍙傝�冿細http://www.layui.com/doc/modules/layer.html#offset
+            //  , id: 'layerDemo' //闃叉閲嶅寮瑰嚭
+            //  , content: '<div style="padding: 20px 100px;">' + sMsg + '</div>'
+            //  , shade: 0 //涓嶆樉绀洪伄缃�
+            //  , yes: function () {
+            //      layer.closeAll();
+            //  }
+            //});
+        }
+        var params = getUrlVars();
+        var type = params[params[0]];
+        //switch (type) {
+        //    case "UnConfirm":
+        //        options[1].selected = true;
+        //        sql += " and 鐘舵�� like ^^%鏈‘璁�%^^";
+        //        //$("#HStatus").attr("disabled", true)
+        //        break;
+        //    case "ReConfirm":
+        //        options[2].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸茬‘璁�%^^";
+        //        sql += " and 鏈叧鑱旀暟閲� > 0";
+        //        break;
+        //    case "ReBack":
+        //        options[3].selected = true;
+        //        sql += " and 鐘舵�� like ^^%宸查┏鍥�%^^";
+        //        break;
+        //}
+        layui.config({
+            base: '../../../layuiadmin/' //闈欐�佽祫婧愭墍鍦ㄨ矾寰�
+        }).extend({
+            index: 'lib/index' //涓诲叆鍙fā鍧�
+        }).use(['index', 'form', 'laydate', 'code', 'table', 'element', 'layer'], function () {
+            var $ = layui.$
+            , admin = layui.admin
+            , layer = layui.layer
+            , laydate = layui.laydate
+            , table = layui.table
+            , form = layui.form
+            , element = layui.element;
+            //甯歌鐢ㄦ硶
+            laydate.render({
+                elem: '#HDate1'
+            });
+            laydate.render({
+                elem: '#HDate2'
+            });
+            //layui.code();
+            RoadHBillNo(sql);
+            layer.load(3)
+            //鏂规硶绾ф覆鏌�
+            table.render({
+                elem: '#mainTable'
+                , dateType: 'json'
+                , colFilterRecord: true//鏄惁寮�鍚瓧娈电瓫閫夌殑璁板繂鍔熻兘
+                , data: []
+                //  , url:  GetWEBURL()+'GetPOOrderBill'
+                , toolbar: '#toolbarDemo' //寮�鍚ご閮ㄥ伐鍏锋爮锛屽苟涓哄叾缁戝畾宸︿晶妯℃澘
+                , defaultToolbar: ['filter', 'exports', 'print']
+                // , where: { msg: "", NowPage: 1, OnePage: 10 }
+              , cellMinWidth: 100
+              , cols: [[
+                  { type: 'checkbox', fixed: 'left' }
+                  , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
+                  , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120 }
+                  , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 }
+                  , { field: 'HDeptID ', title: 'HDeptID', width: 105 }
+                  , { field: '閮ㄩ棬浠g爜', title: '閮ㄩ棬浠g爜' }
+                  , { field: '閮ㄩ棬', title: '閮ㄩ棬' }
+                  , { field: 'HprocID', title: 'HprocID' }
+                  , { field: '宸ュ簭浠g爜', title: '宸ュ簭浠g爜' }
+                  , { field: '宸ュ簭', title: '宸ュ簭', width: 115 }
+                  , { field: 'HEmpID', title: 'HEmpID', width: 115 }
+                  , { field: '鑱屽憳浠g爜', title: '鑱屽憳浠g爜' }
+                  , { field: '鑱屽憳', title: '鑱屽憳', width: 160 }
+                  , { field: 'hsubid', title: 'hsubid', hide: true, width: 160 }
+                  , { field: '鏁伴噺 ', title: '鏁伴噺', width: 215 }
+                  , { field: '琛ㄥご澶囨敞 ', title: '琛ㄥご澶囨敞 ', width: 115 }
+                  , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
+                  , { field: '鍒跺崟鏃ユ湡	', title: '鍒跺崟鏃ユ湡', width: 100 }
+                  , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
+                  , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' }
+                  , { field: '淇敼浜� ', title: '淇敼浜�' }
+                  , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' }
+                  , { field: '鍏抽棴浜�	', title: '鍏抽棴浜�' }
+                  , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' }
+                  , { field: '浣滃簾浜�', title: '浣滃簾浜�' }
+                  , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡' }
+                  , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�' }
+                  , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�' }
+                  , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿' }
+                  , { field: '婧愬崟绫诲瀷', title: '婧愬崟绫诲瀷 ' }
+                  , { field: '琛屽叧闂汉', title: '琛屽叧闂汉' }
+                  , { field: 'HBillType', title: 'HBillType' }
+              
+              ]]
+                //, skin: 'row' //琛ㄦ牸椋庢牸
+                // , even: true
+            , page: true //鏄惁鏄剧ず鍒嗛〉
+            , limits: [10, 20, 50, 100]
+            , limit: 50 //姣忛〉榛樿鏄剧ず鐨勬暟閲�
+                //, height: 500
+            , done: function (res, curr, count) {
+                _cur_page = curr;
+                layer.closeAll("loading");
+            }
+            });
+
+            //澶村伐鍏锋爮浜嬩欢
+            table.on('toolbar(mainTable)', function (obj) {
+                var checkStatus = table.checkStatus(obj.config.id);
+                switch (obj.event) {
+                    case 'btn-getCheckData':
+                        var data = checkStatus.data;
+                        layer.alert(JSON.stringify(data));
+                        break;
+                        //case 'getCheckLength':
+                        //    var data = checkStatus.data;
+                        //    layer.msg('閫変腑浜嗭細' + data.length + ' 涓�');
+                        //    break;
+                        //case 'isAll':
+                        //    layer.msg(checkStatus.isAll ? '鍏ㄩ��' : '鏈叏閫�');
+                        //    break;
+
+                        //鑷畾涔夊ご宸ュ叿鏍忓彸渚у浘鏍� - 鎻愮ず
+                    case 'btn-reload':
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        RoadHBillNo(sql);
+                        break;
+                    case 'btn-confirm':
+                        var checkStatus = table.checkStatus('mainTable')
+                         , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+                            layer.confirm('鏄惁纭鍗曟嵁?', { icon: 3, title: '鎻愮ず' }, function (index) {
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL()+"POOrderAccept",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"] },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg(result.Message, { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜纭鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-back':
+                        var checkStatus = table.checkStatus('mainTable')
+                       , data = checkStatus.data;
+                        _cur_page = $(".layui-laypage-em").next().html();
+                        var HBackRemark;
+                        if (data[0]["鐘舵��"] == "鏈‘璁�") {
+
+                            layer.prompt({
+                                formType: 2,
+                                //value: '',
+                                title: '璇疯緭鍏ラ┏鍥炵悊鐢�',
+                                area: ['400px', '200px'] //鑷畾涔夋枃鏈煙瀹介珮
+                            }, function (value, index, elem) {
+                                HBackRemark = value.toString();
+                                $.ajax({
+                                    type: "get",
+                                    url: GetWEBURL()+"POOrderRefuse",
+                                    data: { "HInterID": data[0]["hmainid"].toString(), "HBillNo": data[0]["鍗曟嵁鍙�"].toString(), "HUser": sessionStorage["HUserName"], "HBackRemark": HBackRemark },
+                                    success: function (result) {
+                                        if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+                                            layer.msg("鎷掔粷鎴愬姛锛�", { icon: 1 });
+                                            RoadHBillNo(sql);
+                                        }
+                                        else {
+                                            // $("#verifycode").click();
+                                            layer.msg(result.Message, { icon: 5 });
+                                        }
+                                        layer.closeAll("loading");
+                                    }
+                                })
+                                //alert(value); //寰楀埌value
+                                layer.close(index);
+                            });
+
+                        }
+                        else {
+                            layer.msg("蹇呴』鏄湭纭鍗曟嵁鎵嶈兘杩涜椹冲洖鎿嶄綔锛�", { icon: 5 });
+                        }
+                        break;
+                    case 'btn-details':
+                        var checkStatus = table.checkStatus('mainTable')
+                       , data = checkStatus.data;
+
+                        var linterid = data[0].hmainid.toString();
+                        //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉
+                        layer.open({
+                            type: 2
+                            , area: ['100%', '100%']
+                            , title: '閲囪喘璁㈠崟'
+                            , shade: 0.6 //閬僵閫忔槑搴�
+                            , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                            , content: '../../../src/views/SRM/SRM_POOrderBill.html?linterid=' + linterid
+                            , resize: false
+                            , cancel: function () {
+                                //$(".layui-btn").removeClass("layui-btn-disabled");
+                            }
+                        })
+                        break;
+                    case 'btn-generate':
+                        var checkStatus = table.checkStatus('mainTable')
+                        , data = checkStatus.data;
+                        ajaxLabelData = data;
+                        var rows = '';
+                        var HEntry = '';
+                        for (var i = 0; i < data.length; i++) {
+                            if (data[i]["鐘舵��"] == "宸茬‘璁�") {
+                                rows += data[i].hmainid.toString() + ',' + data[i].hsubid.toString() + ';';
+                            }
+                            else {
+                                HEntry += (i + 1) + ',';
+                            }
+                        }
+                        if (HEntry != '') {
+                            HEntry = HEntry.substring(0, HEntry.length - 1);
+                            layer.msg("绗�" + HEntry + "琛屾湭纭锛�", { icon: 5 });
+                        }
+                        else{
+                        layer.open({
+                            type: 2
+                            , area: ['100%', '100%']
+                            , title: '閫佽揣鍗�'
+                            , shade: 0.6 //閬僵閫忔槑搴�
+                            , maxmin: false //鍏佽鍏ㄥ睆鏈�灏忓寲
+                            , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+                            , content: ['../../views/SRM/SRM_POInStockBill_Edit.html?linterid=' + data[0].hmainid.toString() + '&lentryid=' + rows.toString() + '&lSourceBillType=1102', 'yes']
+                            , resize: false
+                            //, cancel: function () {
+                            //    $(".layui-btn").removeClass("layui-btn-disabled");
+                            //}
+                        })
+                        }
+                        break;
+                    case 'btn-exit':
+                        //var index = parent.layer.getFrameIndex(window.name);
+                        //element.tabDelete('layadmin-layout-tabs', this);
+                        parent.layui.admin.events.closeThisTabs();
+                        //parent.layer.close(index);
+                        break;
+                };
+            });
+
+
+
+            ///鍔犺浇鏄剧ず鏁版嵁
+            function RoadHBillNo(sqlWhere) {
+                where = sqlWhere;
+                $.ajax({
+                    type: "get",
+                    url: GetWEBURL()+"/Sc_ProcessMangement/MES_WW_EntrustProcessSendOutBillList_Json",
+                    async: true,
+                    data: { "sqlWhere": sqlWhere },//"HSupNo": sessionStorage["HUserName"], 
+                    success: function (result) {
+                        if (result.count == 1) {
+                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
+                        table.reload('mainTable', {
+                            data: ajaxReturnData
+                            , height: 'full-10'
+                            , page: {
+                                curr: _cur_page //蹇呴』浠庣 1 椤靛紑濮�
+                            }
+                            , loading: false
+                            , done: function (index, res) {
+
+                            }
+                        });
+                        layer.close(index0);
+                    } else {
+                            layer.close(index0);
+                            layer.alert(result.code + result.Message, { icon: 5 });
+                    }
+                
+                    },
+                    error: function (result) {
+                        layer.close(index0);
+                    layer.alert("鎺ュ彛璇锋眰澶辫触!", { icon: 5 });
+                    }
+                });
+            };
+            form.on('submit(f_Query)', function (data) {//鏌ヨ
+                var sqlWhere = " and 1=1 ";
+                //if ($("#HStatus").val() != "")
+                //    sqlWhere += " and 鐘舵�� like ^^%" + $("#HStatus").val() + "%^^";
+                var HBillNo = $("#HBillNo").val();//鍗曟嵁鍙�
+                var HNumber = $("#HNumber").val();//鐗╂枡浠g爜
+                var HName = $("#HName").val();//鐗╂枡鍚嶇О
+                var HModel = $("#HModel").val();//瑙勬牸鍨嬪彿
+                var HDate1 = $("#HDate1").val();//寮�濮嬫棩鏈�
+                var HDate2 = $("#HDate2").val();//缁撴潫鏃ユ湡
+
+                if (HBillNo)
+                    sqlWhere += " and 鍗曟嵁鍙� like '%" + HBillNo+ "%'";
+                if (HNumber)
+                    sqlWhere += " and 鐗╂枡浠g爜 like '%" + HNumber + "%'";
+                if (HName)
+                    sqlWhere += " and 鐗╂枡鍚嶇О like '%" + HName + "%'";
+                if (HModel)
+                    sqlWhere += " and 瑙勬牸鍨嬪彿 like '%" + HModel + "%'";
+                //if ($("#HClStatus").val() != "")
+                //    sqlWhere += " and 鍏抽棴鐘舵�� like ^^%" + $("#HClStatus").val() + "%^^";
+                //if ($("#HPURCHASEORGID").val() != "")
+                //    sqlWhere += " and 閲囪喘缁勭粐 like ^^%" + $("#HPURCHASEORGID").val() + "%^^";
+                if (HDate1) {
+                    sqlWhere += " and 鏃ユ湡 >= '" + HDate1 + "'";
+                }
+                if (HDate2) {
+                    sqlWhere += " and 鏃ユ湡 <= '" + HDate2 + "'";
+                }
+                //if ($("#HISGenerate").val() != "") {
+                //    if ($("#HISGenerate").val() == "鏄�")
+                //    {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� <= 0";
+                //    }
+                //    else if ($("#HISGenerate").val() == "鍚�") {
+                //        sqlWhere += " and 鏈叧鑱旀暟閲� > 0";
+                //    }
+                //}
+                
+
+                var Time = $("#Time").val();
+                var dd = new Date();
+                var dt;
+                switch (Time) {
+                    case 1: dd = new Date(dd.setDate(dd.getDate() + 7));
+                    case 2: dd = new Date(dd.setDate(dd.getDate() + 14));
+                    case 3: dd = new Date(dd.setMonth(dd.getMonth() + 1));
+                    case 4: dd = new Date(dd.setMonth(dd.getMonth() + 2));
+                    case 5: dd = new Date(dd.setMonth(dd.getMonth() + 3));
+                    case 6: dd = new Date(dd.setMonth(dd.getMonth() + 6));
+                    case 7: dd = new Date(dd.setMonth(dd.getMonth() + 12));
+                    default: dd = new Date(dd.setDate(dd.getDate()));
+                }
+                dt = dd.getFullYear().toString();
+                if (dd.getMonth() + 1 < 10) {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                else {
+                    dt = dt + "-0" + (dd.getMonth() + 1).toString();
+                }
+                if (dd.getDate() < 10) {
+                    dt = dt + "-0" + dd.getDate().toString();
+                }
+                else {
+                    dt = dt + "-" + dd.getDate().toString();
+                }
+                //if (Time != 8) {
+                //    sqlWhere += " and 浜よ揣鏃ユ湡 <= ^^" + dt + "^^";
+                //}
+                sql = sqlWhere;
+                //浠庣涓�椤靛紑濮�
+                _cur_page = 1;
+                RoadHBillNo(sqlWhere);
+            });
+            var $ = layui.$, active = {
+                f_Query: function () { //鏌ヨ
+
+                },
+                f_Qrjq: function () { //鎺ュ彈
+
+                },
+                f_Bhjq: function () { //鎷掔粷
+
+                },
+                //JSreload: function () {
+                //    var demoReload = $('#test-table-demoReload');
+                //    //鎵ц閲嶈浇
+                //    table.JSreload('test-table-reload', {
+                //        page: {
+                //            curr: 1 //閲嶆柊浠庣 1 椤靛紑濮�
+                //        }
+                //      , where: {
+                //          key: {
+                //              id: demoReload.val()
+                //          }
+                //      }
+                //    });
+                //}
+            };
+            $('.test-table-reload-btn .layui-btn').on('click', function () {
+                var type = $(this).data('type');
+                active[type] ? active[type].call(this) : '';
+            });
+        });
+    </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/HBarPlanPrint.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/HBarPlanPrint.html"
index ee97588..4c863f3 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/HBarPlanPrint.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/HBarPlanPrint.html"
@@ -65,7 +65,7 @@
             //    CreateDisplayViewerEx("100%", "100%", "../../views/grf/" + OpenTmp + ".grf", "xmlSRM_Web_BarCodeBillList.aspx?linterid=" + value, true, "");
             //     break;
             case "HProcessReport"://宸ュ簭姹囨姤鍗曟墦鍗�
-                CreateDisplayViewerEx("100%", "100%", "../../views/grf/" + OpenTmp + ".grf", "xmlLBM_ProcessReport.aspx?linterid=" + value, true, "");
+                CreateDisplayViewerEx("100%", "100%", "../../grf/" + OpenTmp + ".grf", "xmlLBM_ProcessReport.aspx?linterid=" + value, true, "");
                 break;
             //case "HPOOrderBill"://閲囪喘璁㈠崟鍗曟墦鍗�
             //    CreateDisplayViewerEx("100%", "100%", "../../views/grf/" + OpenTmp + ".grf", "xmlSRM_POInStockBill.aspx?linterid=" + value, true, "");
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProcessReportList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProcessReportList.html"
index ccfec34..7e38b47 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProcessReportList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_Add_ProcessReportList.html"
@@ -614,7 +614,7 @@
             //鎵撳嵃Printing
             form.on("submit(Printing)", function (data) {
                 layer.alert("鎴戞槸鎵撳嵃鎸夐挳锛佸崟鎹富ID鏄細" + HInterID);
-                window.open("../宸ュ簭姹囨姤鍗�/HBarPlanPrint.html?linterid=" + HInterID + "&Type=HProcessReport"+"&OpenTmp=姹囨姤鍗�");
+                window.open("../宸ュ簭姹囨姤鍗�/HBarPlanPrint.html?linterid=" + HInterID + "&Type=HProcessReport"+"&OpenTmp=a");
 
             });
 
diff --git "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportList.html" "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportList.html"
index a8aefcc..2e02a8a 100644
--- "a/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\345\267\245\345\272\217\347\256\241\347\220\206/\345\267\245\345\272\217\346\261\207\346\212\245\345\215\225/Sc_ProcessReportList.html"
@@ -109,7 +109,6 @@
             var option = {
                 elem: '#mainTable'
                 , toolbar: '#toolbarDemo'
-                ,height: 'full-50' 
                 , page: true
                 ,cellMinWidth: 90
                 , cols: [[

--
Gitblit v1.9.1