B70340 2 年之前
父節點
當前提交
f2d34dfa86
共有 32 個文件被更改,包括 484 次插入82 次删除
  1. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/027c764c-55ad-485f-9bb0-a69e65cee2ef.vsidx
  2. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/06a6b928-4d3d-4c30-bbb9-4e56b22d013b.vsidx
  3. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/1668dbd2-3fd9-42af-9e8f-9f7d01bb9678.vsidx
  4. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/36cbaa07-cf90-4150-b825-92ae4033eeb2.vsidx
  5. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/c5f84611-25ca-413e-b0d6-ac4ced3d5dda.vsidx
  6. 二進制
      .vs/TENDEN-MES-SYS/FileContentIndex/d841e1f7-3f17-4ab2-af67-14eeb6c353b8.vsidx
  7. 0
    0
      .vs/TENDEN-MES-SYS/FileContentIndex/de82376a-ff43-48c1-bcdd-53647c5a9670.vsidx
  8. 二進制
      .vs/TENDEN-MES-SYS/v17/.suo
  9. 二進制
      .vs/TENDEN-MES-SYS/v17/aay3iitt.hov
  10. 二進制
      .vs/TENDEN-MES-SYS/v17/jfpx2ui5.4nu
  11. 二進制
      .vs/TENDEN-MES-SYS/v17/pu12shkh.bcv
  12. 二進制
      .vs/TENDEN-MES-SYS/v17/ybjfp1xn.5d3
  13. 17
    0
      TENDEN-MES-SYS/Module/SQL_成本系統管理.vb
  14. 1
    1
      TENDEN-MES-SYS/Module/全域變數.vb
  15. 40
    23
      TENDEN-MES-SYS/TENDEN_MES_SYS.Designer.vb
  16. 6
    0
      TENDEN-MES-SYS/TENDEN_MES_SYS.vb
  17. 二進制
      TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.exe
  18. 二進制
      TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.pdb
  19. 二進制
      TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.exe
  20. 二進制
      TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.pdb
  21. 二進制
      TENDEN-MES-SYS/obj/Debug/天盾國際管理系統.未指定單價查詢表.resources
  22. 1
    1
      TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.CoreCompileInputs.cache
  23. 1
    0
      TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.FileListAbsolute.txt
  24. 二進制
      TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.GenerateResource.cache
  25. 9
    0
      TENDEN-MES-SYS/天盾系統.vbproj
  26. 121
    0
      TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.Designer.vb
  27. 120
    0
      TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.resx
  28. 87
    0
      TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.vb
  29. 24
    0
      TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.vb
  30. 33
    33
      TENDEN-MES-SYS/財務系統管理/收款報表.Designer.vb
  31. 1
    1
      TENDEN-MES-SYS/財務系統管理/收款報表批量輸入.Designer.vb
  32. 23
    23
      TENDEN-MES-SYS/財務系統管理/費用報表.Designer.vb

二進制
.vs/TENDEN-MES-SYS/FileContentIndex/027c764c-55ad-485f-9bb0-a69e65cee2ef.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/FileContentIndex/06a6b928-4d3d-4c30-bbb9-4e56b22d013b.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/FileContentIndex/1668dbd2-3fd9-42af-9e8f-9f7d01bb9678.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/FileContentIndex/36cbaa07-cf90-4150-b825-92ae4033eeb2.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/FileContentIndex/c5f84611-25ca-413e-b0d6-ac4ced3d5dda.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/FileContentIndex/d841e1f7-3f17-4ab2-af67-14eeb6c353b8.vsidx 查看文件


.vs/TENDEN-MES-SYS/FileContentIndex/0a7b8378-286b-47a1-9f2f-b518f85bfc1f.vsidx → .vs/TENDEN-MES-SYS/FileContentIndex/de82376a-ff43-48c1-bcdd-53647c5a9670.vsidx 查看文件


二進制
.vs/TENDEN-MES-SYS/v17/.suo 查看文件


二進制
.vs/TENDEN-MES-SYS/v17/aay3iitt.hov 查看文件


二進制
.vs/TENDEN-MES-SYS/v17/jfpx2ui5.4nu 查看文件


二進制
.vs/TENDEN-MES-SYS/v17/pu12shkh.bcv 查看文件


二進制
.vs/TENDEN-MES-SYS/v17/ybjfp1xn.5d3 查看文件


+ 17
- 0
TENDEN-MES-SYS/Module/SQL_成本系統管理.vb 查看文件

@@ -226,6 +226,23 @@
226 226
                 GROUP BY   " & 訂單資料表(1) & ".訂單流水號 ORDER BY   " & 訂單資料表(1) & ".訂單流水號 DESC"
227 227
         CmdSet_For_DGV()
228 228
     End Sub
229
+    Friend Sub SQL_訂單流水號1()
230
+        ConnOpen()
231
+        SQL1 = "SELECT " & 訂單資料表(1) & ".訂單流水號, " & 訂單資料表(1) & ".力威訂單號, " & 訂單資料表(1) & ".客戶訂單號, " & 訂單資料表(1) & ".年份季度, 
232
+                       " & 訂單資料表(1) & ".形體號, " & 訂單資料表(1) & ".顏色, " & 訂單資料表(1) & ".訂單數量, " & 訂單資料表(1) & ".楦型, " & 訂單資料表(1) & ".客戶交期, 
233
+                       " & 訂單資料表(1) & ".工廠回復交期, " & 訂單資料表(1) & ".ProductID 
234
+                FROM   " & 訂單資料表(1) & " FULL OUTER JOIN " & 訂單資料表(7) & " ON " & 訂單資料表(1) & ".資料流水號 = " & 訂單資料表(7) & ".資料流水號 
235
+                WHERE (" & 訂單資料表(7) & ".天盾訂單號 IS NULL) AND 
236
+                      (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2009') AND (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2010') AND 
237
+                      (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2011') AND (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2012') AND 
238
+                      (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2013') AND (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2014') AND 
239
+                      (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2015') AND (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2016') AND 
240
+                      (LEFT(" & 訂單資料表(1) & ".客戶交期, 4) NOT LIKE '2017') AND (" & 訂單資料表(1) & ".CXL IS NULL OR " & 訂單資料表(1) & ".CXL = 0) 
241
+                GROUP BY   " & 訂單資料表(1) & ".訂單流水號, " & 訂單資料表(1) & ".力威訂單號, " & 訂單資料表(1) & ".客戶訂單號, " & 訂單資料表(1) & ".年份季度, 
242
+                       " & 訂單資料表(1) & ".形體號, " & 訂單資料表(1) & ".顏色, " & 訂單資料表(1) & ".訂單數量, " & 訂單資料表(1) & ".楦型, " & 訂單資料表(1) & ".客戶交期, 
243
+                       " & 訂單資料表(1) & ".工廠回復交期, " & 訂單資料表(1) & ".ProductID  ORDER BY   " & 訂單資料表(1) & ".訂單流水號 DESC"
244
+        CmdSet_For_DGV()
245
+    End Sub
229 246
     Friend Sub SQL_查詢最後一筆利潤表流水號()
230 247
         ConnOpen()
231 248
         SQL1 = "SELECT TOP (1) 利潤表流水號 FROM 訂單價格利潤表暫存檔 ORDER BY 利潤表流水號 DESC"

+ 1
- 1
TENDEN-MES-SYS/Module/全域變數.vb 查看文件

@@ -3,7 +3,7 @@
3 3
     Public g_conn_type, gUserName, 版本號, Target, Target1, Target2, FTP帳號, FTP密碼, 登入人IP, AA(99), 圖片庫, SQL密碼 As String
4 4
     Public CC(99), 登入判斷 As Boolean
5 5
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6
-    Public 版本 As String = "2023021801"
6
+    Public 版本 As String = "2023031801"
7 7
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 8
     Public 匯率 As Double
9 9
     '----系統用全域變數----------------------------------------------------------------------------------------------------------------------------------------------------------------------

+ 40
- 23
TENDEN-MES-SYS/TENDEN_MES_SYS.Designer.vb 查看文件

@@ -50,6 +50,9 @@ Partial Class TENDEN_MES_SYS
50 50
         Me.ToolStripSeparator17 = New System.Windows.Forms.ToolStripSeparator()
51 51
         Me.楦頭圖片導入資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
52 52
         Me.楦頭圖片資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
53
+        Me.ToolStripSeparator26 = New System.Windows.Forms.ToolStripSeparator()
54
+        Me.包裝資料圖片導入資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
55
+        Me.包裝資料圖片資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
53 56
         Me.製鞋技術資料管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
54 57
         Me.楦頭規格表_tsm = New System.Windows.Forms.ToolStripMenuItem()
55 58
         Me.模具控制表ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
@@ -114,6 +117,7 @@ Partial Class TENDEN_MES_SYS
114 117
         Me.成本資料庫管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
115 118
         Me.ToolStripSeparator19 = New System.Windows.Forms.ToolStripSeparator()
116 119
         Me.訂單價格利潤明細表_tsm = New System.Windows.Forms.ToolStripMenuItem()
120
+        Me.未指定單價查詢表_tsm = New System.Windows.Forms.ToolStripMenuItem()
117 121
         Me.貨款匯入出款明細表_tsm = New System.Windows.Forms.ToolStripMenuItem()
118 122
         Me.Report_tsm = New System.Windows.Forms.ToolStripMenuItem()
119 123
         Me.Report1_tsm = New System.Windows.Forms.ToolStripMenuItem()
@@ -150,9 +154,7 @@ Partial Class TENDEN_MES_SYS
150 154
         Me.ToolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel()
151 155
         Me.ToolStripProgressBar1 = New System.Windows.Forms.ToolStripProgressBar()
152 156
         Me.合計_TSSL = New System.Windows.Forms.ToolStripStatusLabel()
153
-        Me.包裝資料圖片導入資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
154
-        Me.包裝資料圖片資料庫_tsm = New System.Windows.Forms.ToolStripMenuItem()
155
-        Me.ToolStripSeparator26 = New System.Windows.Forms.ToolStripSeparator()
157
+        Me.ToolStripSeparator27 = New System.Windows.Forms.ToolStripSeparator()
156 158
         Me.MenuStrip.SuspendLayout()
157 159
         Me.StatusStrip.SuspendLayout()
158 160
         Me.SuspendLayout()
@@ -322,6 +324,27 @@ Partial Class TENDEN_MES_SYS
322 324
         Me.楦頭圖片資料庫_tsm.Size = New System.Drawing.Size(206, 22)
323 325
         Me.楦頭圖片資料庫_tsm.Text = "楦頭圖片資料庫"
324 326
         '
327
+        'ToolStripSeparator26
328
+        '
329
+        Me.ToolStripSeparator26.Name = "ToolStripSeparator26"
330
+        Me.ToolStripSeparator26.Size = New System.Drawing.Size(203, 6)
331
+        '
332
+        '包裝資料圖片導入資料庫_tsm
333
+        '
334
+        Me.包裝資料圖片導入資料庫_tsm.ForeColor = System.Drawing.Color.Purple
335
+        Me.包裝資料圖片導入資料庫_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.pen
336
+        Me.包裝資料圖片導入資料庫_tsm.Name = "包裝資料圖片導入資料庫_tsm"
337
+        Me.包裝資料圖片導入資料庫_tsm.Size = New System.Drawing.Size(206, 22)
338
+        Me.包裝資料圖片導入資料庫_tsm.Text = "包裝資料圖片導入資料庫"
339
+        '
340
+        '包裝資料圖片資料庫_tsm
341
+        '
342
+        Me.包裝資料圖片資料庫_tsm.ForeColor = System.Drawing.Color.Purple
343
+        Me.包裝資料圖片資料庫_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.Shoebox
344
+        Me.包裝資料圖片資料庫_tsm.Name = "包裝資料圖片資料庫_tsm"
345
+        Me.包裝資料圖片資料庫_tsm.Size = New System.Drawing.Size(206, 22)
346
+        Me.包裝資料圖片資料庫_tsm.Text = "包裝資料圖片資料庫"
347
+        '
325 348
         '製鞋技術資料管理_tsm
326 349
         '
327 350
         Me.製鞋技術資料管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.楦頭規格表_tsm, Me.模具控制表ToolStripMenuItem, Me.ToolStripSeparator21, Me.STYLE資料管理1_tsm, Me.STYLE資料管理2_tsm})
@@ -767,7 +790,7 @@ Partial Class TENDEN_MES_SYS
767 790
         '
768 791
         '成本管理_tsm
769 792
         '
770
-        Me.成本管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.成本資料庫管理_tsm, Me.ToolStripSeparator19, Me.訂單價格利潤明細表_tsm, Me.貨款匯入出款明細表_tsm})
793
+        Me.成本管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.成本資料庫管理_tsm, Me.ToolStripSeparator19, Me.訂單價格利潤明細表_tsm, Me.未指定單價查詢表_tsm, Me.ToolStripSeparator27, Me.貨款匯入出款明細表_tsm})
771 794
         Me.成本管理_tsm.ForeColor = System.Drawing.Color.Blue
772 795
         Me.成本管理_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.Abacus
773 796
         Me.成本管理_tsm.Name = "成本管理_tsm"
@@ -795,6 +818,14 @@ Partial Class TENDEN_MES_SYS
795 818
         Me.訂單價格利潤明細表_tsm.Size = New System.Drawing.Size(187, 22)
796 819
         Me.訂單價格利潤明細表_tsm.Text = "訂單價格利潤明細表"
797 820
         '
821
+        '未指定單價查詢表_tsm
822
+        '
823
+        Me.未指定單價查詢表_tsm.ForeColor = System.Drawing.Color.Blue
824
+        Me.未指定單價查詢表_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.tests
825
+        Me.未指定單價查詢表_tsm.Name = "未指定單價查詢表_tsm"
826
+        Me.未指定單價查詢表_tsm.Size = New System.Drawing.Size(187, 22)
827
+        Me.未指定單價查詢表_tsm.Text = "未指定單價查詢表"
828
+        '
798 829
         '貨款匯入出款明細表_tsm
799 830
         '
800 831
         Me.貨款匯入出款明細表_tsm.ForeColor = System.Drawing.Color.Blue
@@ -1058,26 +1089,10 @@ Partial Class TENDEN_MES_SYS
1058 1089
         Me.合計_TSSL.Size = New System.Drawing.Size(47, 17)
1059 1090
         Me.合計_TSSL.Text = "合計 : 0"
1060 1091
         '
1061
-        '包裝資料圖片導入資料庫_tsm
1062
-        '
1063
-        Me.包裝資料圖片導入資料庫_tsm.ForeColor = System.Drawing.Color.Purple
1064
-        Me.包裝資料圖片導入資料庫_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.pen
1065
-        Me.包裝資料圖片導入資料庫_tsm.Name = "包裝資料圖片導入資料庫_tsm"
1066
-        Me.包裝資料圖片導入資料庫_tsm.Size = New System.Drawing.Size(206, 22)
1067
-        Me.包裝資料圖片導入資料庫_tsm.Text = "包裝資料圖片導入資料庫"
1068
-        '
1069
-        '包裝資料圖片資料庫_tsm
1070
-        '
1071
-        Me.包裝資料圖片資料庫_tsm.ForeColor = System.Drawing.Color.Purple
1072
-        Me.包裝資料圖片資料庫_tsm.Image = Global.天盾國際管理系統.My.Resources.Resources.Shoebox
1073
-        Me.包裝資料圖片資料庫_tsm.Name = "包裝資料圖片資料庫_tsm"
1074
-        Me.包裝資料圖片資料庫_tsm.Size = New System.Drawing.Size(206, 22)
1075
-        Me.包裝資料圖片資料庫_tsm.Text = "包裝資料圖片資料庫"
1076
-        '
1077
-        'ToolStripSeparator26
1092
+        'ToolStripSeparator27
1078 1093
         '
1079
-        Me.ToolStripSeparator26.Name = "ToolStripSeparator26"
1080
-        Me.ToolStripSeparator26.Size = New System.Drawing.Size(203, 6)
1094
+        Me.ToolStripSeparator27.Name = "ToolStripSeparator27"
1095
+        Me.ToolStripSeparator27.Size = New System.Drawing.Size(184, 6)
1081 1096
         '
1082 1097
         'TENDEN_MES_SYS
1083 1098
         '
@@ -1232,4 +1247,6 @@ Partial Class TENDEN_MES_SYS
1232 1247
     Friend WithEvents ToolStripSeparator26 As ToolStripSeparator
1233 1248
     Friend WithEvents 包裝資料圖片導入資料庫_tsm As ToolStripMenuItem
1234 1249
     Friend WithEvents 包裝資料圖片資料庫_tsm As ToolStripMenuItem
1250
+    Friend WithEvents 未指定單價查詢表_tsm As ToolStripMenuItem
1251
+    Friend WithEvents ToolStripSeparator27 As ToolStripSeparator
1235 1252
 End Class

+ 6
- 0
TENDEN-MES-SYS/TENDEN_MES_SYS.vb 查看文件

@@ -116,6 +116,10 @@
116 116
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
117 117
         PA = "" : 訂單價格利潤明細表.Show() : 訂單價格利潤明細表.BringToFront()
118 118
     End Sub
119
+    Private Sub 未指定單價查詢表_tsm_Click(sender As Object, e As EventArgs) Handles 未指定單價查詢表_tsm.Click
120
+        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
121
+        PA = "" : 未指定單價查詢表.Show() : 未指定單價查詢表.BringToFront()
122
+    End Sub
119 123
     Private Sub 鞋盒訂單紀錄表_tsm_Click(sender As Object, e As EventArgs) Handles 鞋盒訂單紀錄表_tsm.Click
120 124
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
121 125
         PA = "" : 鞋盒訂單紀錄表.Show() : 鞋盒訂單紀錄表.BringToFront()
@@ -393,4 +397,6 @@
393 397
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
394 398
         PA = "" : 包裝資料圖片資料庫.Show() : 包裝資料圖片資料庫.BringToFront()
395 399
     End Sub
400
+
401
+
396 402
 End Class

二進制
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.exe 查看文件


二進制
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.pdb 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.exe 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.pdb 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/天盾國際管理系統.未指定單價查詢表.resources 查看文件


+ 1
- 1
TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.CoreCompileInputs.cache 查看文件

@@ -1 +1 @@
1
-88fe426b9dd9ac3ae48e902a29f4ffed9aab8899
1
+9734928b470cf76e4c8335ad6bafd1708becf1da

+ 1
- 0
TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.FileListAbsolute.txt 查看文件

@@ -959,3 +959,4 @@ D:\工巧明\TENDEN\TENDEN-MES-SYS\TENDEN-MES-SYS\obj\Debug\TENDEN-ERP-SYS.xml
959 959
 D:\工巧明\TENDEN\TENDEN-MES-SYS\TENDEN-MES-SYS\obj\Debug\TENDEN-ERP-SYS.pdb
960 960
 D:\工巧明\TENDEN\TENDEN-MES-SYS\TENDEN-MES-SYS\obj\Debug\天盾國際管理系統.進度條視窗.resources
961 961
 D:\工巧明\TENDEN\TENDEN-MES-SYS\TENDEN-MES-SYS\obj\Debug\天盾國際管理系統.樣品單備註圖片.resources
962
+D:\工巧明\TENDEN\TENDEN-MES-SYS\TENDEN-MES-SYS\obj\Debug\天盾國際管理系統.未指定單價查詢表.resources

二進制
TENDEN-MES-SYS/obj/Debug/天盾系統.vbproj.GenerateResource.cache 查看文件


+ 9
- 0
TENDEN-MES-SYS/天盾系統.vbproj 查看文件

@@ -145,6 +145,12 @@
145 145
     <Compile Include="彙總報表管理\特殊工具\訂單分析比對工具_力威.vb">
146 146
       <SubType>Form</SubType>
147 147
     </Compile>
148
+    <Compile Include="成本系統管理\未指定單價查詢表.Designer.vb">
149
+      <DependentUpon>未指定單價查詢表.vb</DependentUpon>
150
+    </Compile>
151
+    <Compile Include="成本系統管理\未指定單價查詢表.vb">
152
+      <SubType>Form</SubType>
153
+    </Compile>
148 154
     <Compile Include="樣品訂單管理\中文樣品單系統\樣品單備註圖片.Designer.vb">
149 155
       <DependentUpon>樣品單備註圖片.vb</DependentUpon>
150 156
     </Compile>
@@ -804,6 +810,9 @@
804 810
     <EmbeddedResource Include="彙總報表管理\特殊工具\訂單分析比對工具_力威.resx">
805 811
       <DependentUpon>訂單分析比對工具_力威.vb</DependentUpon>
806 812
     </EmbeddedResource>
813
+    <EmbeddedResource Include="成本系統管理\未指定單價查詢表.resx">
814
+      <DependentUpon>未指定單價查詢表.vb</DependentUpon>
815
+    </EmbeddedResource>
807 816
     <EmbeddedResource Include="樣品訂單管理\中文樣品單系統\樣品單備註圖片.resx">
808 817
       <DependentUpon>樣品單備註圖片.vb</DependentUpon>
809 818
     </EmbeddedResource>

+ 121
- 0
TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.Designer.vb 查看文件

@@ -0,0 +1,121 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class 未指定單價查詢表
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Me.資料庫選擇2_bt = New System.Windows.Forms.Button()
28
+        Me.資料庫選擇1_bt = New System.Windows.Forms.Button()
29
+        Me.Label20 = New System.Windows.Forms.Label()
30
+        Me.訂單流水號_dgv = New System.Windows.Forms.DataGridView()
31
+        Me.列印成EXCEL_bt = New System.Windows.Forms.Button()
32
+        CType(Me.訂單流水號_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
33
+        Me.SuspendLayout()
34
+        '
35
+        '資料庫選擇2_bt
36
+        '
37
+        Me.資料庫選擇2_bt.Location = New System.Drawing.Point(123, 4)
38
+        Me.資料庫選擇2_bt.Name = "資料庫選擇2_bt"
39
+        Me.資料庫選擇2_bt.Size = New System.Drawing.Size(75, 30)
40
+        Me.資料庫選擇2_bt.TabIndex = 565
41
+        Me.資料庫選擇2_bt.Text = "DRS/ LIF"
42
+        Me.資料庫選擇2_bt.UseVisualStyleBackColor = True
43
+        '
44
+        '資料庫選擇1_bt
45
+        '
46
+        Me.資料庫選擇1_bt.Location = New System.Drawing.Point(45, 4)
47
+        Me.資料庫選擇1_bt.Name = "資料庫選擇1_bt"
48
+        Me.資料庫選擇1_bt.Size = New System.Drawing.Size(75, 30)
49
+        Me.資料庫選擇1_bt.TabIndex = 564
50
+        Me.資料庫選擇1_bt.Text = "VIONIC"
51
+        Me.資料庫選擇1_bt.UseVisualStyleBackColor = True
52
+        '
53
+        'Label20
54
+        '
55
+        Me.Label20.AutoSize = True
56
+        Me.Label20.Location = New System.Drawing.Point(2, 3)
57
+        Me.Label20.Name = "Label20"
58
+        Me.Label20.Size = New System.Drawing.Size(43, 32)
59
+        Me.Label20.TabIndex = 563
60
+        Me.Label20.Text = "選擇訂" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "單品牌"
61
+        '
62
+        '訂單流水號_dgv
63
+        '
64
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
65
+        Me.訂單流水號_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
66
+        Me.訂單流水號_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
67
+            Or System.Windows.Forms.AnchorStyles.Left) _
68
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
69
+        Me.訂單流水號_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
70
+        DataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control
71
+        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
72
+        DataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText
73
+        DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
74
+        DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText
75
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
76
+        Me.訂單流水號_dgv.ColumnHeadersDefaultCellStyle = DataGridViewCellStyle2
77
+        Me.訂單流水號_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
78
+        Me.訂單流水號_dgv.Location = New System.Drawing.Point(5, 40)
79
+        Me.訂單流水號_dgv.Name = "訂單流水號_dgv"
80
+        Me.訂單流水號_dgv.RowHeadersWidth = 5
81
+        Me.訂單流水號_dgv.RowTemplate.Height = 24
82
+        Me.訂單流水號_dgv.Size = New System.Drawing.Size(1081, 555)
83
+        Me.訂單流水號_dgv.TabIndex = 566
84
+        '
85
+        '列印成EXCEL_bt
86
+        '
87
+        Me.列印成EXCEL_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
88
+        Me.列印成EXCEL_bt.Location = New System.Drawing.Point(969, 5)
89
+        Me.列印成EXCEL_bt.Name = "列印成EXCEL_bt"
90
+        Me.列印成EXCEL_bt.Size = New System.Drawing.Size(117, 30)
91
+        Me.列印成EXCEL_bt.TabIndex = 567
92
+        Me.列印成EXCEL_bt.Text = "列印成EXCEL"
93
+        Me.列印成EXCEL_bt.UseVisualStyleBackColor = True
94
+        '
95
+        '未指定單價查詢表
96
+        '
97
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
98
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
99
+        Me.ClientSize = New System.Drawing.Size(1090, 600)
100
+        Me.Controls.Add(Me.列印成EXCEL_bt)
101
+        Me.Controls.Add(Me.訂單流水號_dgv)
102
+        Me.Controls.Add(Me.資料庫選擇2_bt)
103
+        Me.Controls.Add(Me.資料庫選擇1_bt)
104
+        Me.Controls.Add(Me.Label20)
105
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
106
+        Me.Margin = New System.Windows.Forms.Padding(4)
107
+        Me.Name = "未指定單價查詢表"
108
+        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
109
+        Me.Text = "未指定單價查詢表"
110
+        CType(Me.訂單流水號_dgv, System.ComponentModel.ISupportInitialize).EndInit()
111
+        Me.ResumeLayout(False)
112
+        Me.PerformLayout()
113
+
114
+    End Sub
115
+
116
+    Friend WithEvents 資料庫選擇2_bt As Button
117
+    Friend WithEvents 資料庫選擇1_bt As Button
118
+    Friend WithEvents Label20 As Label
119
+    Friend WithEvents 訂單流水號_dgv As DataGridView
120
+    Friend WithEvents 列印成EXCEL_bt As Button
121
+End Class

+ 120
- 0
TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.resx 查看文件

@@ -0,0 +1,120 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
+    <xsd:element name="root" msdata:IsDataSet="true">
65
+      <xsd:complexType>
66
+        <xsd:choice maxOccurs="unbounded">
67
+          <xsd:element name="metadata">
68
+            <xsd:complexType>
69
+              <xsd:sequence>
70
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
+              </xsd:sequence>
72
+              <xsd:attribute name="name" use="required" type="xsd:string" />
73
+              <xsd:attribute name="type" type="xsd:string" />
74
+              <xsd:attribute name="mimetype" type="xsd:string" />
75
+              <xsd:attribute ref="xml:space" />
76
+            </xsd:complexType>
77
+          </xsd:element>
78
+          <xsd:element name="assembly">
79
+            <xsd:complexType>
80
+              <xsd:attribute name="alias" type="xsd:string" />
81
+              <xsd:attribute name="name" type="xsd:string" />
82
+            </xsd:complexType>
83
+          </xsd:element>
84
+          <xsd:element name="data">
85
+            <xsd:complexType>
86
+              <xsd:sequence>
87
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
+              </xsd:sequence>
90
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+              <xsd:attribute ref="xml:space" />
94
+            </xsd:complexType>
95
+          </xsd:element>
96
+          <xsd:element name="resheader">
97
+            <xsd:complexType>
98
+              <xsd:sequence>
99
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
+              </xsd:sequence>
101
+              <xsd:attribute name="name" type="xsd:string" use="required" />
102
+            </xsd:complexType>
103
+          </xsd:element>
104
+        </xsd:choice>
105
+      </xsd:complexType>
106
+    </xsd:element>
107
+  </xsd:schema>
108
+  <resheader name="resmimetype">
109
+    <value>text/microsoft-resx</value>
110
+  </resheader>
111
+  <resheader name="version">
112
+    <value>2.0</value>
113
+  </resheader>
114
+  <resheader name="reader">
115
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+  <resheader name="writer">
118
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
+  </resheader>
120
+</root>

+ 87
- 0
TENDEN-MES-SYS/成本系統管理/未指定單價查詢表.vb 查看文件

@@ -0,0 +1,87 @@
1
+Option Strict Off
2
+Imports Microsoft.Office.Interop.Excel.XlUnderlineStyle
3
+Imports Microsoft.Office.Interop.Excel.Constants
4
+Imports Microsoft.Office.Interop.Excel.XlBordersIndex
5
+Imports Microsoft.Office.Interop.Excel.XlLineStyle
6
+Imports Microsoft.Office.Interop.Excel.XlBorderWeight
7
+Imports Microsoft.Office.Interop.Excel.XlThemeFont
8
+Imports Microsoft.Office.Interop.Excel.XlThemeColor
9
+Imports Microsoft.Office.Interop.Excel.XlWindowState
10
+Public Class 未指定單價查詢表
11
+    Dim xlApp As Microsoft.Office.Interop.Excel.Application
12
+    Dim xlBook As Microsoft.Office.Interop.Excel.Workbook
13
+    Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet
14
+    ReadOnly ds1 As New DataSet : Dim ND1 As Integer
15
+    Private Sub Set_未建檔清單()
16
+        訂單流水號_dgv.DataSource = Nothing : ds1.Clear()
17
+        訂單流水號_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
18
+        訂單流水號_dgv.ColumnHeadersHeight = 25
19
+        訂單流水號_dgv.AllowUserToAddRows = False
20
+        SQL_訂單流水號1()
21
+        da.SelectCommand.CommandTimeout = 900
22
+        da.Fill(ds1) : 訂單流水號_dgv.DataSource = ds1.Tables(0) : conn.Close()
23
+    End Sub
24
+    Private Sub 未指定單價查詢表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
25
+        訂單資料庫選擇.ShowDialog() : Set_未建檔清單()
26
+    End Sub
27
+    Private Sub 資料庫選擇1_bt_Click(sender As Object, e As EventArgs) Handles 資料庫選擇1_bt.Click
28
+        SQL_訂單資料表選擇_VIONIC() : Set_未建檔清單()
29
+    End Sub
30
+    Private Sub 資料庫選擇2_bt_Click(sender As Object, e As EventArgs) Handles 資料庫選擇2_bt.Click
31
+        SQL_訂單資料表選擇_非VIONIC() : Set_未建檔清單()
32
+    End Sub
33
+    Private Sub 列印成EXCEL_bt_Click(sender As Object, e As EventArgs) Handles 列印成EXCEL_bt.Click
34
+        xlApp = CType(CreateObject("Excel.Application"), Microsoft.Office.Interop.Excel.Application)
35
+        xlBook = xlApp.Workbooks.Add
36
+        xlApp.DisplayAlerts = True
37
+        xlBook.Activate()
38
+        xlSheet = NewMethod(xlBook)
39
+        xlSheet.Activate()
40
+        xlApp.Visible = True
41
+        xlApp.Application.WindowState = xlMaximized
42
+
43
+        xlSheet.Cells(1, 1) = "訂單流水號" : xlSheet.Cells(1, 2) = "力威訂單號" : xlSheet.Cells(1, 3) = "客戶訂單號" : xlSheet.Cells(1, 4) = "年份季度"
44
+        xlSheet.Cells(1, 5) = "形體" : xlSheet.Cells(1, 6) = "顏色" : xlSheet.Cells(1, 7) = "訂單數量" : xlSheet.Cells(1, 8) = "楦型" : xlSheet.Cells(1, 9) = "客戶交期"
45
+        xlSheet.Cells(1, 10) = "工廠回復交期" : xlSheet.Cells(1, 11) = "ProductID"
46
+        ND1 = 0
47
+        For i As Integer = 0 To 訂單流水號_dgv.Rows.Count - 1 : ND1 += 1
48
+            xlSheet.Cells(i + 2, 1) = 訂單流水號_dgv.Rows(i).Cells(0).Value.ToString : xlSheet.Cells(i + 2, 2) = 訂單流水號_dgv.Rows(i).Cells(1).Value.ToString
49
+            xlSheet.Cells(i + 2, 3) = 訂單流水號_dgv.Rows(i).Cells(2).Value.ToString : xlSheet.Cells(i + 2, 4) = 訂單流水號_dgv.Rows(i).Cells(3).Value.ToString
50
+            xlSheet.Cells(i + 2, 5) = 訂單流水號_dgv.Rows(i).Cells(4).Value.ToString : xlSheet.Cells(i + 2, 6) = 訂單流水號_dgv.Rows(i).Cells(5).Value.ToString
51
+            xlSheet.Cells(i + 2, 7) = 訂單流水號_dgv.Rows(i).Cells(6).Value.ToString : xlSheet.Cells(i + 2, 8) = 訂單流水號_dgv.Rows(i).Cells(7).Value.ToString
52
+            xlSheet.Cells(i + 2, 9) = 訂單流水號_dgv.Rows(i).Cells(8).Value.ToString : xlSheet.Cells(i + 2, 10) = 訂單流水號_dgv.Rows(i).Cells(9).Value.ToString
53
+            xlSheet.Cells(i + 2, 11) = 訂單流水號_dgv.Rows(i).Cells(10).Value.ToString
54
+        Next i
55
+        AA(xlApp, xlSheet)
56
+        xlSheet.PageSetup.PrintArea = ""
57
+        xlApp.Cells.Select()
58
+        xlSheet.Range("B1").Select()
59
+        xlApp.Application.WindowState = xlMinimized
60
+        MsgBox("列印完成")
61
+    End Sub
62
+    Private Sub AA(ByVal myExcel As Microsoft.Office.Interop.Excel.Application, ByVal xlSheet As Microsoft.Office.Interop.Excel.Worksheet)
63
+        xlSheet.Cells.Select()
64
+        With myExcel.Selection.Font : .Name = "微軟正黑體" : .Size = 12 : .Strikethrough = False : .Superscript = False
65
+            .Subscript = False : .OutlineFont = False : .Shadow = False : .Underline = xlUnderlineStyleNone : .ThemeColor = xlThemeColorLight1
66
+            .TintAndShade = 0 : .ThemeFont = xlThemeFontNone : End With
67
+
68
+        xlSheet.Columns("A:K").Select : xlSheet.Columns("A:K").EntireColumn.AutoFit
69
+        xlSheet.Range("A1:K1").Select()
70
+        With myExcel.Selection.Interior : .Pattern = xlSolid : .PatternColorIndex = xlAutomatic : .ThemeColor = xlThemeColorLight2
71
+            .TintAndShade = 0.799981688894314 : .PatternTintAndShade = 0 : End With
72
+
73
+        xlSheet.Range("A1:K" & ND1 + 1).Select()
74
+        myExcel.Selection.Borders(xlDiagonalDown).LineStyle = xlNone : myExcel.Selection.Borders(xlDiagonalUp).LineStyle = xlNone
75
+        With myExcel.Selection.Borders(xlEdgeLeft) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
76
+        With myExcel.Selection.Borders(xlEdgeTop) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
77
+        With myExcel.Selection.Borders(xlEdgeBottom) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
78
+        With myExcel.Selection.Borders(xlEdgeRight) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
79
+        With myExcel.Selection.Borders(xlInsideVertical) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
80
+        With myExcel.Selection.Borders(xlInsideHorizontal) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
81
+        xlSheet.Rows("2:2").Select : myExcel.ActiveWindow.FreezePanes = True
82
+        xlSheet.Range("L3").Select()
83
+    End Sub
84
+    Private Shared Function NewMethod(xlBook As Microsoft.Office.Interop.Excel.Workbook) As Microsoft.Office.Interop.Excel.Worksheet
85
+        Return CType(xlBook.Worksheets.Add, Microsoft.Office.Interop.Excel.Worksheet)
86
+    End Function
87
+End Class

+ 24
- 0
TENDEN-MES-SYS/樣品訂單管理/中文樣品單系統/中文樣品單.vb 查看文件

@@ -1455,6 +1455,12 @@ Public Class 中文樣品單
1455 1455
                     SQL_修改確認樣品單明細表() : conn.Close()
1456 1456
                 Next i
1457 1457
             End If
1458
+            If 面料1_dgv.Rows.Count > 0 Then
1459
+                For i = 0 To 面料1_dgv.Rows.Count - 1
1460
+                    PA = 面料1_dgv.Rows(i).Cells("細項").Value.ToString : PA1 = 面料1_dgv.Rows(i).Cells("內容").Value.ToString
1461
+                    SQL_確認樣品單敘述欄_確認() : If dr.Read Then : SQL_確認樣品單敘述欄_修改() : Else : SQL_確認樣品單敘述欄_新增() : End If
1462
+                Next i
1463
+            End If
1458 1464
             If 內裡_dgv.Rows.Count > 0 Then
1459 1465
                 For i = 0 To 內裡_dgv.Rows.Count - 1
1460 1466
                     PA = 內裡_dgv.Rows(i).Cells("Item_N").Value.ToString : PA1 = 內裡_dgv.Rows(i).Cells("內容").Value.ToString
@@ -1463,6 +1469,12 @@ Public Class 中文樣品單
1463 1469
                     SQL_修改確認樣品單明細表4() : conn.Close()
1464 1470
                 Next i
1465 1471
             End If
1472
+            If 內裡1_dgv.Rows.Count > 0 Then
1473
+                For i = 0 To 內裡1_dgv.Rows.Count - 1
1474
+                    PA = 內裡1_dgv.Rows(i).Cells("細項").Value.ToString : PA1 = 內裡1_dgv.Rows(i).Cells("內容").Value.ToString
1475
+                    SQL_確認樣品單敘述欄_確認() : If dr.Read Then : SQL_確認樣品單敘述欄_修改() : Else : SQL_確認樣品單敘述欄_新增() : End If
1476
+                Next i
1477
+            End If
1466 1478
             If 底部_dgv.Rows.Count > 0 Then
1467 1479
                 For i = 0 To 底部_dgv.Rows.Count - 1
1468 1480
                     PA = 底部_dgv.Rows(i).Cells("Item_N").Value.ToString : PA1 = 底部_dgv.Rows(i).Cells("內容").Value.ToString
@@ -1471,6 +1483,12 @@ Public Class 中文樣品單
1471 1483
                     SQL_修改確認樣品單明細表5() : conn.Close()
1472 1484
                 Next i
1473 1485
             End If
1486
+            If 底部1_dgv.Rows.Count > 0 Then
1487
+                For i = 0 To 底部1_dgv.Rows.Count - 1
1488
+                    PA = 底部1_dgv.Rows(i).Cells("細項").Value.ToString : PA1 = 底部1_dgv.Rows(i).Cells("內容").Value.ToString
1489
+                    SQL_確認樣品單敘述欄_確認() : If dr.Read Then : SQL_確認樣品單敘述欄_修改() : Else : SQL_確認樣品單敘述欄_新增() : End If
1490
+                Next i
1491
+            End If
1474 1492
             If 飾物_dgv.Rows.Count > 0 Then
1475 1493
                 For i = 0 To 飾物_dgv.Rows.Count - 1
1476 1494
                     PA = 飾物_dgv.Rows(i).Cells("Item_N").Value.ToString : PA1 = 飾物_dgv.Rows(i).Cells("內容").Value.ToString
@@ -1479,6 +1497,12 @@ Public Class 中文樣品單
1479 1497
                     SQL_修改確認樣品單明細表6() : conn.Close()
1480 1498
                 Next i
1481 1499
             End If
1500
+            If 飾物1_dgv.Rows.Count > 0 Then
1501
+                For i = 0 To 飾物1_dgv.Rows.Count - 1
1502
+                    PA = 飾物1_dgv.Rows(i).Cells("細項").Value.ToString : PA1 = 飾物1_dgv.Rows(i).Cells("內容").Value.ToString
1503
+                    SQL_確認樣品單敘述欄_確認() : If dr.Read Then : SQL_確認樣品單敘述欄_修改() : Else : SQL_確認樣品單敘述欄_新增() : End If
1504
+                Next i
1505
+            End If
1482 1506
         End If
1483 1507
     End Sub
1484 1508
     Private Sub Button38_Click(sender As Object, e As EventArgs) Handles 刷新資料_bt.Click

+ 33
- 33
TENDEN-MES-SYS/財務系統管理/收款報表.Designer.vb 查看文件

@@ -22,7 +22,7 @@ Partial Class 收款報表
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private  Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26 26
         Me.收款流水帳_dgv = New System.Windows.Forms.DataGridView()
27 27
         Me.收款開始日期_dtp = New System.Windows.Forms.DateTimePicker()
28 28
         Me.出貨開始日期_dtp = New System.Windows.Forms.DateTimePicker()
@@ -96,8 +96,8 @@ Partial Class 收款報表
96 96
         '
97 97
         '收款流水帳_dgv
98 98
         '
99
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
100
-        Me.收款流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
99
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
100
+        Me.收款流水帳_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
101 101
         Me.收款流水帳_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
102 102
             Or System.Windows.Forms.AnchorStyles.Left) _
103 103
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -132,7 +132,7 @@ Partial Class 收款報表
132 132
         Me.收款日期_lb.AutoSize = True
133 133
         Me.收款日期_lb.Location = New System.Drawing.Point(33, 84)
134 134
         Me.收款日期_lb.Name = "收款日期_lb"
135
-        Me.收款日期_lb.Size = New System.Drawing.Size(56, 16)
135
+        Me.收款日期_lb.Size = New System.Drawing.Size(55, 16)
136 136
         Me.收款日期_lb.TabIndex = 4
137 137
         Me.收款日期_lb.Text = "收款日期"
138 138
         '
@@ -141,7 +141,7 @@ Partial Class 收款報表
141 141
         Me.出貨日期_lb.AutoSize = True
142 142
         Me.出貨日期_lb.Location = New System.Drawing.Point(260, 83)
143 143
         Me.出貨日期_lb.Name = "出貨日期_lb"
144
-        Me.出貨日期_lb.Size = New System.Drawing.Size(56, 16)
144
+        Me.出貨日期_lb.Size = New System.Drawing.Size(55, 16)
145 145
         Me.出貨日期_lb.TabIndex = 5
146 146
         Me.出貨日期_lb.Text = "出貨日期"
147 147
         '
@@ -160,7 +160,7 @@ Partial Class 收款報表
160 160
         Me.出貨工廠_lb.AutoSize = True
161 161
         Me.出貨工廠_lb.Location = New System.Drawing.Point(33, 57)
162 162
         Me.出貨工廠_lb.Name = "出貨工廠_lb"
163
-        Me.出貨工廠_lb.Size = New System.Drawing.Size(56, 16)
163
+        Me.出貨工廠_lb.Size = New System.Drawing.Size(55, 16)
164 164
         Me.出貨工廠_lb.TabIndex = 7
165 165
         Me.出貨工廠_lb.Text = "出貨工廠"
166 166
         '
@@ -177,7 +177,7 @@ Partial Class 收款報表
177 177
         Me.訂單號碼_lb.AutoSize = True
178 178
         Me.訂單號碼_lb.Location = New System.Drawing.Point(259, 8)
179 179
         Me.訂單號碼_lb.Name = "訂單號碼_lb"
180
-        Me.訂單號碼_lb.Size = New System.Drawing.Size(56, 16)
180
+        Me.訂單號碼_lb.Size = New System.Drawing.Size(55, 16)
181 181
         Me.訂單號碼_lb.TabIndex = 9
182 182
         Me.訂單號碼_lb.Text = "訂單號碼"
183 183
         '
@@ -193,7 +193,7 @@ Partial Class 收款報表
193 193
         Me.出貨數量_lb.AutoSize = True
194 194
         Me.出貨數量_lb.Location = New System.Drawing.Point(259, 33)
195 195
         Me.出貨數量_lb.Name = "出貨數量_lb"
196
-        Me.出貨數量_lb.Size = New System.Drawing.Size(56, 16)
196
+        Me.出貨數量_lb.Size = New System.Drawing.Size(55, 16)
197 197
         Me.出貨數量_lb.TabIndex = 11
198 198
         Me.出貨數量_lb.Text = "出貨數量"
199 199
         '
@@ -202,7 +202,7 @@ Partial Class 收款報表
202 202
         Me.出貨單價_lb.AutoSize = True
203 203
         Me.出貨單價_lb.Location = New System.Drawing.Point(260, 57)
204 204
         Me.出貨單價_lb.Name = "出貨單價_lb"
205
-        Me.出貨單價_lb.Size = New System.Drawing.Size(56, 16)
205
+        Me.出貨單價_lb.Size = New System.Drawing.Size(55, 16)
206 206
         Me.出貨單價_lb.TabIndex = 13
207 207
         Me.出貨單價_lb.Text = "出貨單價"
208 208
         '
@@ -218,7 +218,7 @@ Partial Class 收款報表
218 218
         Me.出貨金額_lb.AutoSize = True
219 219
         Me.出貨金額_lb.Location = New System.Drawing.Point(488, 9)
220 220
         Me.出貨金額_lb.Name = "出貨金額_lb"
221
-        Me.出貨金額_lb.Size = New System.Drawing.Size(56, 16)
221
+        Me.出貨金額_lb.Size = New System.Drawing.Size(55, 16)
222 222
         Me.出貨金額_lb.TabIndex = 15
223 223
         Me.出貨金額_lb.Text = "出貨金額"
224 224
         '
@@ -227,7 +227,7 @@ Partial Class 收款報表
227 227
         Me.國外費用提單扣款_lb.AutoSize = True
228 228
         Me.國外費用提單扣款_lb.Location = New System.Drawing.Point(464, 33)
229 229
         Me.國外費用提單扣款_lb.Name = "國外費用提單扣款_lb"
230
-        Me.國外費用提單扣款_lb.Size = New System.Drawing.Size(104, 16)
230
+        Me.國外費用提單扣款_lb.Size = New System.Drawing.Size(103, 16)
231 231
         Me.國外費用提單扣款_lb.TabIndex = 16
232 232
         Me.國外費用提單扣款_lb.Text = "國外費用提單扣款"
233 233
         '
@@ -250,7 +250,7 @@ Partial Class 收款報表
250 250
         Me.實際金額_lb.AutoSize = True
251 251
         Me.實際金額_lb.Location = New System.Drawing.Point(488, 57)
252 252
         Me.實際金額_lb.Name = "實際金額_lb"
253
-        Me.實際金額_lb.Size = New System.Drawing.Size(56, 16)
253
+        Me.實際金額_lb.Size = New System.Drawing.Size(55, 16)
254 254
         Me.實際金額_lb.TabIndex = 20
255 255
         Me.實際金額_lb.Text = "實際金額"
256 256
         '
@@ -266,7 +266,7 @@ Partial Class 收款報表
266 266
         Me.匯率_lb.AutoSize = True
267 267
         Me.匯率_lb.Location = New System.Drawing.Point(489, 81)
268 268
         Me.匯率_lb.Name = "匯率_lb"
269
-        Me.匯率_lb.Size = New System.Drawing.Size(56, 16)
269
+        Me.匯率_lb.Size = New System.Drawing.Size(55, 16)
270 270
         Me.匯率_lb.TabIndex = 22
271 271
         Me.匯率_lb.Text = "匯        率"
272 272
         '
@@ -282,7 +282,7 @@ Partial Class 收款報表
282 282
         Me.人民幣金額_lb.AutoSize = True
283 283
         Me.人民幣金額_lb.Location = New System.Drawing.Point(488, 105)
284 284
         Me.人民幣金額_lb.Name = "人民幣金額_lb"
285
-        Me.人民幣金額_lb.Size = New System.Drawing.Size(68, 16)
285
+        Me.人民幣金額_lb.Size = New System.Drawing.Size(67, 16)
286 286
         Me.人民幣金額_lb.TabIndex = 24
287 287
         Me.人民幣金額_lb.Text = "人民幣金額"
288 288
         '
@@ -298,7 +298,7 @@ Partial Class 收款報表
298 298
         Me.備註_lb.AutoSize = True
299 299
         Me.備註_lb.Location = New System.Drawing.Point(693, 9)
300 300
         Me.備註_lb.Name = "備註_lb"
301
-        Me.備註_lb.Size = New System.Drawing.Size(53, 16)
301
+        Me.備註_lb.Size = New System.Drawing.Size(52, 16)
302 302
         Me.備註_lb.TabIndex = 26
303 303
         Me.備註_lb.Text = "備       註"
304 304
         '
@@ -366,7 +366,7 @@ Partial Class 收款報表
366 366
         Me.資料新增或變更_ch.AutoSize = True
367 367
         Me.資料新增或變更_ch.Location = New System.Drawing.Point(12, 128)
368 368
         Me.資料新增或變更_ch.Name = "資料新增或變更_ch"
369
-        Me.資料新增或變更_ch.Size = New System.Drawing.Size(111, 20)
369
+        Me.資料新增或變更_ch.Size = New System.Drawing.Size(110, 20)
370 370
         Me.資料新增或變更_ch.TabIndex = 169
371 371
         Me.資料新增或變更_ch.Text = "資料新增或變更"
372 372
         Me.資料新增或變更_ch.UseVisualStyleBackColor = True
@@ -423,7 +423,7 @@ Partial Class 收款報表
423 423
         Me.不使用查詢條件_cb.CheckState = System.Windows.Forms.CheckState.Checked
424 424
         Me.不使用查詢條件_cb.Location = New System.Drawing.Point(12, 6)
425 425
         Me.不使用查詢條件_cb.Name = "不使用查詢條件_cb"
426
-        Me.不使用查詢條件_cb.Size = New System.Drawing.Size(111, 20)
426
+        Me.不使用查詢條件_cb.Size = New System.Drawing.Size(110, 20)
427 427
         Me.不使用查詢條件_cb.TabIndex = 175
428 428
         Me.不使用查詢條件_cb.Text = "不使用查詢條件"
429 429
         Me.不使用查詢條件_cb.UseVisualStyleBackColor = True
@@ -451,7 +451,7 @@ Partial Class 收款報表
451 451
         Me.結帳年份_lb.AutoSize = True
452 452
         Me.結帳年份_lb.Location = New System.Drawing.Point(35, 32)
453 453
         Me.結帳年份_lb.Name = "結帳年份_lb"
454
-        Me.結帳年份_lb.Size = New System.Drawing.Size(56, 16)
454
+        Me.結帳年份_lb.Size = New System.Drawing.Size(55, 16)
455 455
         Me.結帳年份_lb.TabIndex = 184
456 456
         Me.結帳年份_lb.Text = "結帳年份"
457 457
         '
@@ -459,7 +459,7 @@ Partial Class 收款報表
459 459
         '
460 460
         Me.結帳年份_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
461 461
         Me.結帳年份_cb.FormattingEnabled = True
462
-        Me.結帳年份_cb.Items.AddRange(New Object() {"2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
462
+        Me.結帳年份_cb.Items.AddRange(New Object() {"2025", "2024", "2023", "2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
463 463
         Me.結帳年份_cb.Location = New System.Drawing.Point(121, 29)
464 464
         Me.結帳年份_cb.Name = "結帳年份_cb"
465 465
         Me.結帳年份_cb.Size = New System.Drawing.Size(111, 24)
@@ -486,7 +486,7 @@ Partial Class 收款報表
486 486
         Me.至_lb.AutoSize = True
487 487
         Me.至_lb.Location = New System.Drawing.Point(322, 107)
488 488
         Me.至_lb.Name = "至_lb"
489
-        Me.至_lb.Size = New System.Drawing.Size(20, 16)
489
+        Me.至_lb.Size = New System.Drawing.Size(19, 16)
490 490
         Me.至_lb.TabIndex = 180
491 491
         Me.至_lb.Text = "至"
492 492
         '
@@ -495,7 +495,7 @@ Partial Class 收款報表
495 495
         Me.Label16.AutoSize = True
496 496
         Me.Label16.Location = New System.Drawing.Point(95, 108)
497 497
         Me.Label16.Name = "Label16"
498
-        Me.Label16.Size = New System.Drawing.Size(20, 16)
498
+        Me.Label16.Size = New System.Drawing.Size(19, 16)
499 499
         Me.Label16.TabIndex = 179
500 500
         Me.Label16.Text = "至"
501 501
         '
@@ -504,7 +504,7 @@ Partial Class 收款報表
504 504
         Me.由_lb.AutoSize = True
505 505
         Me.由_lb.Location = New System.Drawing.Point(322, 83)
506 506
         Me.由_lb.Name = "由_lb"
507
-        Me.由_lb.Size = New System.Drawing.Size(20, 16)
507
+        Me.由_lb.Size = New System.Drawing.Size(19, 16)
508 508
         Me.由_lb.TabIndex = 178
509 509
         Me.由_lb.Text = "由"
510 510
         '
@@ -513,7 +513,7 @@ Partial Class 收款報表
513 513
         Me.Label14.AutoSize = True
514 514
         Me.Label14.Location = New System.Drawing.Point(95, 84)
515 515
         Me.Label14.Name = "Label14"
516
-        Me.Label14.Size = New System.Drawing.Size(20, 16)
516
+        Me.Label14.Size = New System.Drawing.Size(19, 16)
517 517
         Me.Label14.TabIndex = 177
518 518
         Me.Label14.Text = "由"
519 519
         '
@@ -523,7 +523,7 @@ Partial Class 收款報表
523 523
         Me.總出貨數量_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
524 524
         Me.總出貨數量_lb.Location = New System.Drawing.Point(900, 7)
525 525
         Me.總出貨數量_lb.Name = "總出貨數量_lb"
526
-        Me.總出貨數量_lb.Size = New System.Drawing.Size(68, 16)
526
+        Me.總出貨數量_lb.Size = New System.Drawing.Size(67, 16)
527 527
         Me.總出貨數量_lb.TabIndex = 178
528 528
         Me.總出貨數量_lb.Text = "總出貨數量"
529 529
         '
@@ -533,7 +533,7 @@ Partial Class 收款報表
533 533
         Me.總出貨金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
534 534
         Me.總出貨金額_lb.Location = New System.Drawing.Point(900, 31)
535 535
         Me.總出貨金額_lb.Name = "總出貨金額_lb"
536
-        Me.總出貨金額_lb.Size = New System.Drawing.Size(68, 16)
536
+        Me.總出貨金額_lb.Size = New System.Drawing.Size(67, 16)
537 537
         Me.總出貨金額_lb.TabIndex = 179
538 538
         Me.總出貨金額_lb.Text = "總出貨金額"
539 539
         '
@@ -542,7 +542,7 @@ Partial Class 收款報表
542 542
         Me.結存餘額歸零_ch.AutoSize = True
543 543
         Me.結存餘額歸零_ch.Location = New System.Drawing.Point(1117, 79)
544 544
         Me.結存餘額歸零_ch.Name = "結存餘額歸零_ch"
545
-        Me.結存餘額歸零_ch.Size = New System.Drawing.Size(104, 20)
545
+        Me.結存餘額歸零_ch.Size = New System.Drawing.Size(103, 20)
546 546
         Me.結存餘額歸零_ch.TabIndex = 208
547 547
         Me.結存餘額歸零_ch.Text = "結存餘額-歸零"
548 548
         Me.結存餘額歸零_ch.UseVisualStyleBackColor = True
@@ -552,7 +552,7 @@ Partial Class 收款報表
552 552
         Me.結存日期_lb.AutoSize = True
553 553
         Me.結存日期_lb.Location = New System.Drawing.Point(1123, 107)
554 554
         Me.結存日期_lb.Name = "結存日期_lb"
555
-        Me.結存日期_lb.Size = New System.Drawing.Size(95, 16)
555
+        Me.結存日期_lb.Size = New System.Drawing.Size(94, 16)
556 556
         Me.結存日期_lb.TabIndex = 211
557 557
         Me.結存日期_lb.Text = "結     存    日    期"
558 558
         '
@@ -587,7 +587,7 @@ Partial Class 收款報表
587 587
         Me.國外費用提單總扣款_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
588 588
         Me.國外費用提單總扣款_lb.Location = New System.Drawing.Point(1100, 7)
589 589
         Me.國外費用提單總扣款_lb.Name = "國外費用提單總扣款_lb"
590
-        Me.國外費用提單總扣款_lb.Size = New System.Drawing.Size(116, 16)
590
+        Me.國外費用提單總扣款_lb.Size = New System.Drawing.Size(115, 16)
591 591
         Me.國外費用提單總扣款_lb.TabIndex = 192
592 592
         Me.國外費用提單總扣款_lb.Text = "國外費用提單總扣款"
593 593
         '
@@ -597,7 +597,7 @@ Partial Class 收款報表
597 597
         Me.人民幣平均單價_lb.ForeColor = System.Drawing.Color.Red
598 598
         Me.人民幣平均單價_lb.Location = New System.Drawing.Point(876, 105)
599 599
         Me.人民幣平均單價_lb.Name = "人民幣平均單價_lb"
600
-        Me.人民幣平均單價_lb.Size = New System.Drawing.Size(92, 16)
600
+        Me.人民幣平均單價_lb.Size = New System.Drawing.Size(91, 16)
601 601
         Me.人民幣平均單價_lb.TabIndex = 191
602 602
         Me.人民幣平均單價_lb.Text = "人民幣平均單價"
603 603
         '
@@ -623,7 +623,7 @@ Partial Class 收款報表
623 623
         Me.總人民幣金額_lb.ForeColor = System.Drawing.Color.Red
624 624
         Me.總人民幣金額_lb.Location = New System.Drawing.Point(888, 81)
625 625
         Me.總人民幣金額_lb.Name = "總人民幣金額_lb"
626
-        Me.總人民幣金額_lb.Size = New System.Drawing.Size(80, 16)
626
+        Me.總人民幣金額_lb.Size = New System.Drawing.Size(79, 16)
627 627
         Me.總人民幣金額_lb.TabIndex = 188
628 628
         Me.總人民幣金額_lb.Text = "總人民幣金額"
629 629
         '
@@ -641,7 +641,7 @@ Partial Class 收款報表
641 641
         Me.實際平均單價_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
642 642
         Me.實際平均單價_lb.Location = New System.Drawing.Point(1136, 55)
643 643
         Me.實際平均單價_lb.Name = "實際平均單價_lb"
644
-        Me.實際平均單價_lb.Size = New System.Drawing.Size(80, 16)
644
+        Me.實際平均單價_lb.Size = New System.Drawing.Size(79, 16)
645 645
         Me.實際平均單價_lb.TabIndex = 186
646 646
         Me.實際平均單價_lb.Text = "實際平均單價"
647 647
         '
@@ -659,7 +659,7 @@ Partial Class 收款報表
659 659
         Me.總實際金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
660 660
         Me.總實際金額_lb.Location = New System.Drawing.Point(1148, 31)
661 661
         Me.總實際金額_lb.Name = "總實際金額_lb"
662
-        Me.總實際金額_lb.Size = New System.Drawing.Size(68, 16)
662
+        Me.總實際金額_lb.Size = New System.Drawing.Size(67, 16)
663 663
         Me.總實際金額_lb.TabIndex = 184
664 664
         Me.總實際金額_lb.Text = "總實際金額"
665 665
         '
@@ -677,7 +677,7 @@ Partial Class 收款報表
677 677
         Me.平均單價_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
678 678
         Me.平均單價_lb.Location = New System.Drawing.Point(900, 55)
679 679
         Me.平均單價_lb.Name = "平均單價_lb"
680
-        Me.平均單價_lb.Size = New System.Drawing.Size(56, 16)
680
+        Me.平均單價_lb.Size = New System.Drawing.Size(55, 16)
681 681
         Me.平均單價_lb.TabIndex = 182
682 682
         Me.平均單價_lb.Text = "平均單價"
683 683
         '

+ 1
- 1
TENDEN-MES-SYS/財務系統管理/收款報表批量輸入.Designer.vb 查看文件

@@ -58,7 +58,7 @@ Partial Class 收款報表批量輸入
58 58
         '
59 59
         Me.結帳年份_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
60 60
         Me.結帳年份_cb.FormattingEnabled = True
61
-        Me.結帳年份_cb.Items.AddRange(New Object() {"2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
61
+        Me.結帳年份_cb.Items.AddRange(New Object() {"2025", "2024", "2023", "2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
62 62
         Me.結帳年份_cb.Location = New System.Drawing.Point(74, 6)
63 63
         Me.結帳年份_cb.Name = "結帳年份_cb"
64 64
         Me.結帳年份_cb.Size = New System.Drawing.Size(111, 24)

+ 23
- 23
TENDEN-MES-SYS/財務系統管理/費用報表.Designer.vb 查看文件

@@ -107,7 +107,7 @@ Partial Class 費用報表
107 107
         Me.資料新增或變動_cb.AutoSize = True
108 108
         Me.資料新增或變動_cb.Location = New System.Drawing.Point(715, 4)
109 109
         Me.資料新增或變動_cb.Name = "資料新增或變動_cb"
110
-        Me.資料新增或變動_cb.Size = New System.Drawing.Size(111, 20)
110
+        Me.資料新增或變動_cb.Size = New System.Drawing.Size(110, 20)
111 111
         Me.資料新增或變動_cb.TabIndex = 211
112 112
         Me.資料新增或變動_cb.Text = "資料新增或變動"
113 113
         Me.資料新增或變動_cb.UseVisualStyleBackColor = True
@@ -159,7 +159,7 @@ Partial Class 費用報表
159 159
         Me.結帳年份_lb.AutoSize = True
160 160
         Me.結帳年份_lb.Location = New System.Drawing.Point(33, 34)
161 161
         Me.結帳年份_lb.Name = "結帳年份_lb"
162
-        Me.結帳年份_lb.Size = New System.Drawing.Size(56, 16)
162
+        Me.結帳年份_lb.Size = New System.Drawing.Size(55, 16)
163 163
         Me.結帳年份_lb.TabIndex = 206
164 164
         Me.結帳年份_lb.Text = "結帳年份"
165 165
         '
@@ -167,7 +167,7 @@ Partial Class 費用報表
167 167
         '
168 168
         Me.結帳年份_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
169 169
         Me.結帳年份_cb.FormattingEnabled = True
170
-        Me.結帳年份_cb.Items.AddRange(New Object() {"2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
170
+        Me.結帳年份_cb.Items.AddRange(New Object() {"2025", "2024", "2023", "2022", "2021", "2020", "2019", "2018", "2017", "2016", "2015", "2014", "2013", "2012", "2011", "2010"})
171 171
         Me.結帳年份_cb.Location = New System.Drawing.Point(129, 31)
172 172
         Me.結帳年份_cb.Name = "結帳年份_cb"
173 173
         Me.結帳年份_cb.Size = New System.Drawing.Size(137, 24)
@@ -189,7 +189,7 @@ Partial Class 費用報表
189 189
         Me.不使用查詢條件_ch.CheckState = System.Windows.Forms.CheckState.Checked
190 190
         Me.不使用查詢條件_ch.Location = New System.Drawing.Point(12, 7)
191 191
         Me.不使用查詢條件_ch.Name = "不使用查詢條件_ch"
192
-        Me.不使用查詢條件_ch.Size = New System.Drawing.Size(111, 20)
192
+        Me.不使用查詢條件_ch.Size = New System.Drawing.Size(110, 20)
193 193
         Me.不使用查詢條件_ch.TabIndex = 203
194 194
         Me.不使用查詢條件_ch.Text = "不使用查詢條件"
195 195
         Me.不使用查詢條件_ch.UseVisualStyleBackColor = True
@@ -233,7 +233,7 @@ Partial Class 費用報表
233 233
         Me.匯率_lb.AutoSize = True
234 234
         Me.匯率_lb.Location = New System.Drawing.Point(484, 83)
235 235
         Me.匯率_lb.Name = "匯率_lb"
236
-        Me.匯率_lb.Size = New System.Drawing.Size(83, 16)
236
+        Me.匯率_lb.Size = New System.Drawing.Size(82, 16)
237 237
         Me.匯率_lb.TabIndex = 199
238 238
         Me.匯率_lb.Text = "匯                 率"
239 239
         '
@@ -251,7 +251,7 @@ Partial Class 費用報表
251 251
         Me.RMB支出金額_lb.ForeColor = System.Drawing.Color.Red
252 252
         Me.RMB支出金額_lb.Location = New System.Drawing.Point(484, 58)
253 253
         Me.RMB支出金額_lb.Name = "RMB支出金額_lb"
254
-        Me.RMB支出金額_lb.Size = New System.Drawing.Size(83, 16)
254
+        Me.RMB支出金額_lb.Size = New System.Drawing.Size(82, 16)
255 255
         Me.RMB支出金額_lb.TabIndex = 197
256 256
         Me.RMB支出金額_lb.Text = "RMB支出金額"
257 257
         '
@@ -269,7 +269,7 @@ Partial Class 費用報表
269 269
         Me.RMB收入金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
270 270
         Me.RMB收入金額_lb.Location = New System.Drawing.Point(484, 33)
271 271
         Me.RMB收入金額_lb.Name = "RMB收入金額_lb"
272
-        Me.RMB收入金額_lb.Size = New System.Drawing.Size(83, 16)
272
+        Me.RMB收入金額_lb.Size = New System.Drawing.Size(82, 16)
273 273
         Me.RMB收入金額_lb.TabIndex = 195
274 274
         Me.RMB收入金額_lb.Text = "RMB收入金額"
275 275
         '
@@ -287,7 +287,7 @@ Partial Class 費用報表
287 287
         Me.USD收入金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
288 288
         Me.USD收入金額_lb.Location = New System.Drawing.Point(484, 8)
289 289
         Me.USD收入金額_lb.Name = "USD收入金額_lb"
290
-        Me.USD收入金額_lb.Size = New System.Drawing.Size(81, 16)
290
+        Me.USD收入金額_lb.Size = New System.Drawing.Size(80, 16)
291 291
         Me.USD收入金額_lb.TabIndex = 193
292 292
         Me.USD收入金額_lb.Text = "USD收入金額"
293 293
         '
@@ -304,7 +304,7 @@ Partial Class 費用報表
304 304
         Me.項目_lb.AutoSize = True
305 305
         Me.項目_lb.Location = New System.Drawing.Point(282, 8)
306 306
         Me.項目_lb.Name = "項目_lb"
307
-        Me.項目_lb.Size = New System.Drawing.Size(53, 16)
307
+        Me.項目_lb.Size = New System.Drawing.Size(52, 16)
308 308
         Me.項目_lb.TabIndex = 191
309 309
         Me.項目_lb.Text = "項       目"
310 310
         '
@@ -321,7 +321,7 @@ Partial Class 費用報表
321 321
         Me.備註_lb.AutoSize = True
322 322
         Me.備註_lb.Location = New System.Drawing.Point(282, 69)
323 323
         Me.備註_lb.Name = "備註_lb"
324
-        Me.備註_lb.Size = New System.Drawing.Size(53, 16)
324
+        Me.備註_lb.Size = New System.Drawing.Size(52, 16)
325 325
         Me.備註_lb.TabIndex = 189
326 326
         Me.備註_lb.Text = "備       註"
327 327
         '
@@ -337,7 +337,7 @@ Partial Class 費用報表
337 337
         Me.Label16.AutoSize = True
338 338
         Me.Label16.Location = New System.Drawing.Point(95, 112)
339 339
         Me.Label16.Name = "Label16"
340
-        Me.Label16.Size = New System.Drawing.Size(20, 16)
340
+        Me.Label16.Size = New System.Drawing.Size(19, 16)
341 341
         Me.Label16.TabIndex = 186
342 342
         Me.Label16.Text = "至"
343 343
         '
@@ -346,7 +346,7 @@ Partial Class 費用報表
346 346
         Me.Label14.AutoSize = True
347 347
         Me.Label14.Location = New System.Drawing.Point(95, 88)
348 348
         Me.Label14.Name = "Label14"
349
-        Me.Label14.Size = New System.Drawing.Size(20, 16)
349
+        Me.Label14.Size = New System.Drawing.Size(19, 16)
350 350
         Me.Label14.TabIndex = 185
351 351
         Me.Label14.Text = "由"
352 352
         '
@@ -362,7 +362,7 @@ Partial Class 費用報表
362 362
         Me.收款日期_lb.AutoSize = True
363 363
         Me.收款日期_lb.Location = New System.Drawing.Point(33, 88)
364 364
         Me.收款日期_lb.Name = "收款日期_lb"
365
-        Me.收款日期_lb.Size = New System.Drawing.Size(56, 16)
365
+        Me.收款日期_lb.Size = New System.Drawing.Size(55, 16)
366 366
         Me.收款日期_lb.TabIndex = 183
367 367
         Me.收款日期_lb.Text = "收款日期"
368 368
         '
@@ -390,7 +390,7 @@ Partial Class 費用報表
390 390
         Me.帳務對象_lb.AutoSize = True
391 391
         Me.帳務對象_lb.Location = New System.Drawing.Point(33, 60)
392 392
         Me.帳務對象_lb.Name = "帳務對象_lb"
393
-        Me.帳務對象_lb.Size = New System.Drawing.Size(56, 16)
393
+        Me.帳務對象_lb.Size = New System.Drawing.Size(55, 16)
394 394
         Me.帳務對象_lb.TabIndex = 172
395 395
         Me.帳務對象_lb.Text = "帳務對象"
396 396
         '
@@ -417,7 +417,7 @@ Partial Class 費用報表
417 417
         Me.總人民幣收入金額_lb.ForeColor = System.Drawing.Color.Black
418 418
         Me.總人民幣收入金額_lb.Location = New System.Drawing.Point(841, 33)
419 419
         Me.總人民幣收入金額_lb.Name = "總人民幣收入金額_lb"
420
-        Me.總人民幣收入金額_lb.Size = New System.Drawing.Size(104, 16)
420
+        Me.總人民幣收入金額_lb.Size = New System.Drawing.Size(103, 16)
421 421
         Me.總人民幣收入金額_lb.TabIndex = 211
422 422
         Me.總人民幣收入金額_lb.Text = "總人民幣收入金額"
423 423
         '
@@ -435,7 +435,7 @@ Partial Class 費用報表
435 435
         Me.總實際收入金額_lb.ForeColor = System.Drawing.Color.Black
436 436
         Me.總實際收入金額_lb.Location = New System.Drawing.Point(853, 8)
437 437
         Me.總實際收入金額_lb.Name = "總實際收入金額_lb"
438
-        Me.總實際收入金額_lb.Size = New System.Drawing.Size(92, 16)
438
+        Me.總實際收入金額_lb.Size = New System.Drawing.Size(91, 16)
439 439
         Me.總實際收入金額_lb.TabIndex = 209
440 440
         Me.總實際收入金額_lb.Text = "總實際收入金額"
441 441
         '
@@ -444,7 +444,7 @@ Partial Class 費用報表
444 444
         Me.結存_lb.AutoSize = True
445 445
         Me.結存_lb.Location = New System.Drawing.Point(1106, 5)
446 446
         Me.結存_lb.Name = "結存_lb"
447
-        Me.結存_lb.Size = New System.Drawing.Size(236, 16)
447
+        Me.結存_lb.Size = New System.Drawing.Size(235, 16)
448 448
         Me.結存_lb.TabIndex = 208
449 449
         Me.結存_lb.Text = "結存前需到收款報表處結存該年度收入資料"
450 450
         '
@@ -453,7 +453,7 @@ Partial Class 費用報表
453 453
         Me.結存餘額歸零_ch.AutoSize = True
454 454
         Me.結存餘額歸零_ch.Location = New System.Drawing.Point(1100, 50)
455 455
         Me.結存餘額歸零_ch.Name = "結存餘額歸零_ch"
456
-        Me.結存餘額歸零_ch.Size = New System.Drawing.Size(104, 20)
456
+        Me.結存餘額歸零_ch.Size = New System.Drawing.Size(103, 20)
457 457
         Me.結存餘額歸零_ch.TabIndex = 205
458 458
         Me.結存餘額歸零_ch.Text = "結存餘額-歸零"
459 459
         Me.結存餘額歸零_ch.UseVisualStyleBackColor = True
@@ -471,7 +471,7 @@ Partial Class 費用報表
471 471
         Me.結存日期_lb.AutoSize = True
472 472
         Me.結存日期_lb.Location = New System.Drawing.Point(1106, 79)
473 473
         Me.結存日期_lb.Name = "結存日期_lb"
474
-        Me.結存日期_lb.Size = New System.Drawing.Size(95, 16)
474
+        Me.結存日期_lb.Size = New System.Drawing.Size(94, 16)
475 475
         Me.結存日期_lb.TabIndex = 207
476 476
         Me.結存日期_lb.Text = "結     存    日    期"
477 477
         '
@@ -480,7 +480,7 @@ Partial Class 費用報表
480 480
         Me.RMB結餘_lb.AutoSize = True
481 481
         Me.RMB結餘_lb.Location = New System.Drawing.Point(1106, 25)
482 482
         Me.RMB結餘_lb.Name = "RMB結餘_lb"
483
-        Me.RMB結餘_lb.Size = New System.Drawing.Size(95, 16)
483
+        Me.RMB結餘_lb.Size = New System.Drawing.Size(94, 16)
484 484
         Me.RMB結餘_lb.TabIndex = 201
485 485
         Me.RMB結餘_lb.Text = "RMB   結         餘"
486 486
         '
@@ -499,7 +499,7 @@ Partial Class 費用報表
499 499
         Me.總RMB支出金額_lb.ForeColor = System.Drawing.Color.Red
500 500
         Me.總RMB支出金額_lb.Location = New System.Drawing.Point(852, 107)
501 501
         Me.總RMB支出金額_lb.Name = "總RMB支出金額_lb"
502
-        Me.總RMB支出金額_lb.Size = New System.Drawing.Size(95, 16)
502
+        Me.總RMB支出金額_lb.Size = New System.Drawing.Size(94, 16)
503 503
         Me.總RMB支出金額_lb.TabIndex = 188
504 504
         Me.總RMB支出金額_lb.Text = "總RMB支出金額"
505 505
         '
@@ -519,7 +519,7 @@ Partial Class 費用報表
519 519
         Me.總RMB收入金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
520 520
         Me.總RMB收入金額_lb.Location = New System.Drawing.Point(852, 83)
521 521
         Me.總RMB收入金額_lb.Name = "總RMB收入金額_lb"
522
-        Me.總RMB收入金額_lb.Size = New System.Drawing.Size(95, 16)
522
+        Me.總RMB收入金額_lb.Size = New System.Drawing.Size(94, 16)
523 523
         Me.總RMB收入金額_lb.TabIndex = 184
524 524
         Me.總RMB收入金額_lb.Text = "總RMB收入金額"
525 525
         '
@@ -553,7 +553,7 @@ Partial Class 費用報表
553 553
         Me.總USD收入金額_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
554 554
         Me.總USD收入金額_lb.Location = New System.Drawing.Point(852, 58)
555 555
         Me.總USD收入金額_lb.Name = "總USD收入金額_lb"
556
-        Me.總USD收入金額_lb.Size = New System.Drawing.Size(93, 16)
556
+        Me.總USD收入金額_lb.Size = New System.Drawing.Size(92, 16)
557 557
         Me.總USD收入金額_lb.TabIndex = 178
558 558
         Me.總USD收入金額_lb.Text = "總USD收入金額"
559 559
         '

Loading…
取消
儲存