B70340 2年前
コミット
c4d8ce604d
31個のファイルの変更115133行の追加1001行の削除
  1. バイナリ
      .vs/YD-ERP-SYS/FileContentIndex/61b32861-1c0c-48e8-9b32-22b613a48955.vsidx
  2. バイナリ
      .vs/YD-ERP-SYS/FileContentIndex/be1fef27-a77c-4533-8a34-c6acd9317774.vsidx
  3. バイナリ
      .vs/YD-ERP-SYS/FileContentIndex/de8bf01d-187d-4522-836b-673e1c6b2116.vsidx
  4. バイナリ
      .vs/YD-ERP-SYS/v17/.suo
  5. 2
    2
      YD-ERP-SYS.sln
  6. 55
    18
      YD-ERP-SYS/Module/SQL_採購系統管理.vb
  7. 2
    2
      YD-ERP-SYS/Module/SQL_財務系統管理.vb
  8. 46
    0
      YD-ERP-SYS/Module/SQL_跨介面共用.vb
  9. 1
    1
      YD-ERP-SYS/Module/全域變數.vb
  10. 1
    0
      YD-ERP-SYS/My Project/licenses.licx
  11. 7
    0
      YD-ERP-SYS/YD-ERP-SYS.vbproj
  12. バイナリ
      YD-ERP-SYS/bin/Debug/Telerik.WinControls.UI.dll
  13. 89129
    0
      YD-ERP-SYS/bin/Debug/Telerik.WinControls.UI.xml
  14. バイナリ
      YD-ERP-SYS/bin/Debug/Telerik.WinControls.dll
  15. 24600
    0
      YD-ERP-SYS/bin/Debug/Telerik.WinControls.xml
  16. バイナリ
      YD-ERP-SYS/bin/Debug/TelerikCommon.dll
  17. バイナリ
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe
  18. バイナリ
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb
  19. バイナリ
      YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  20. バイナリ
      YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  21. バイナリ
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe
  22. バイナリ
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb
  23. バイナリ
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.AssemblyReference.cache
  24. 1
    1
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache
  25. 6
    0
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt
  26. バイナリ
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache
  27. バイナリ
      YD-ERP-SYS/obj/Debug/yd-erp-sys.exe.licenses
  28. 320
    125
      YD-ERP-SYS/採購系統管理/採購對帳單.Designer.vb
  29. 200
    142
      YD-ERP-SYS/採購系統管理/採購對帳單.vb
  30. 179
    113
      YD-ERP-SYS/採購系統管理/採購應付帳款.Designer.vb
  31. 584
    597
      YD-ERP-SYS/採購系統管理/採購應付帳款.vb

バイナリ
.vs/YD-ERP-SYS/FileContentIndex/61b32861-1c0c-48e8-9b32-22b613a48955.vsidx ファイルの表示


バイナリ
.vs/YD-ERP-SYS/FileContentIndex/be1fef27-a77c-4533-8a34-c6acd9317774.vsidx ファイルの表示


バイナリ
.vs/YD-ERP-SYS/FileContentIndex/de8bf01d-187d-4522-836b-673e1c6b2116.vsidx ファイルの表示


バイナリ
.vs/YD-ERP-SYS/v17/.suo ファイルの表示


+ 2
- 2
YD-ERP-SYS.sln ファイルの表示

@@ -1,7 +1,7 @@
1 1
 
2 2
 Microsoft Visual Studio Solution File, Format Version 12.00
3
-# Visual Studio Version 16
4
-VisualStudioVersion = 16.0.30011.22
3
+# Visual Studio Version 17
4
+VisualStudioVersion = 17.2.32630.192
5 5
 MinimumVisualStudioVersion = 10.0.40219.1
6 6
 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "YD-ERP-SYS", "YD-ERP-SYS\YD-ERP-SYS.vbproj", "{4AB4746C-E4AF-4F91-A2D4-72960D193B33}"
7 7
 EndProject

+ 55
- 18
YD-ERP-SYS/Module/SQL_採購系統管理.vb ファイルの表示

@@ -110,24 +110,61 @@
110 110
         CmdSet_For_DGV()
111 111
     End Sub
112 112
     '---------------------採購對帳單-----------------------------------------------------------------------------------------------------------------
113
+    Friend Sub SQL_採購對帳單_總表供應商外埔()
114
+        ConnOpen() : SQL1 = "SELECT  簡稱  FROM  供應商資料表  WHERE  (編號 LIKE '" & PA36 & "')" : CmdSet_For_dr()
115
+    End Sub
116
+    Friend Sub SQL_採購對帳單_總表1()
117
+        ConnOpen()
118
+        SQL1 = "SELECT     TOP (" & NN1 & ") SS.編號, SS.供應商, SS.當月貨款, SS.稅金1, SS.[稅金%], SS.稅金, SS.廣告1, SS.[廣告%], SS.廣告, SS.其他扣款, 
119
+                           SS.實付金額, SS.票期1, SS.票期, SS.[公司%], SS.[個人%], SS.公司, SS.個人, SS.支票_公司, SS.支票_私人, 
120
+                           採購外埔表.廠商編碼
121
+                FROM       採購外埔表 FULL OUTER JOIN
122
+                          (SELECT    TOP (100) PERCENT LEFT(採購控制表.料號, 4) AS 編號, 供應商資料表.簡稱 AS 供應商, 
123
+                                     SUM(採購控制表.數量 * 採購控制表.成本) AS 當月貨款, 供應商資料表.稅金倍率 AS 稅金1, 
124
+                                     QQ.稅金 AS [稅金%], QQ.稅金, 供應商資料表.廣告費倍率 AS 廣告1, QQ.廣告 AS [廣告%], QQ.廣告, 
125
+                                     QQ.其他扣款, QQ.其他扣款 AS 實付金額, 供應商資料表.票期 AS 票期1, QQ.票期, QQ.公帳 AS [公司%], 
126
+                                     QQ.私帳 AS [個人%], QQ.公帳 AS 公司, QQ.私帳 AS 個人, 供應商資料表.支票_公司, 
127
+                                     供應商資料表.支票_私人
128
+                           FROM     (SELECT  年月, 客編, 稅金, 廣告, 其他扣款, 票期, 公帳, 私帳  FROM  應付帳款基數
129
+                                     WHERE  (年月 LIKE '" & Strings.Left(Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd"), 7) & "')) AS QQ RIGHT OUTER JOIN
130
+                                     供應商資料表 ON QQ.客編 = 供應商資料表.編號 RIGHT OUTER JOIN
131
+                                     採購控制表 ON 供應商資料表.編號 = LEFT(採購控制表.料號, 4)
132
+                           WHERE    (採購控制表.過帳日期 BETWEEN '" & Format(採購應付帳款.開始日期_dtp.Value, "yyyy/MM/dd") & "' AND '" & Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd") & "') 
133
+                                     AND (採購控制表.已過帳 = 1)
134
+                           GROUP BY  LEFT(採購控制表.料號, 4), 供應商資料表.簡稱, 供應商資料表.票期, 供應商資料表.稅金倍率, 
135
+                                     供應商資料表.廣告費倍率, QQ.票期, QQ.稅金, QQ.廣告, QQ.其他扣款, QQ.公帳, QQ.私帳, 
136
+                                     供應商資料表.支票_公司, 供應商資料表.支票_私人) AS SS ON 採購外埔表.廠商編碼 = SS.編號
137
+                GROUP BY   SS.編號, SS.供應商, SS.當月貨款, SS.稅金1, SS.[稅金%], SS.稅金, SS.廣告1, SS.[廣告%], SS.廣告, SS.其他扣款, 
138
+                           SS.實付金額, SS.票期1, SS.票期, SS.[公司%], SS.[個人%], SS.公司, SS.個人, SS.支票_公司, SS.支票_私人, 
139
+                           採購外埔表.廠商編碼
140
+                ORDER BY   SS.編號"
141
+        CmdSet_For_DGV()
142
+    End Sub
113 143
     Friend Sub SQL_採購對帳單_總表()
114 144
         ConnOpen()
115
-        SQL1 = "SELECT      LEFT(採購控制表.料號, 4) AS 編號, 供應商資料表.簡稱 AS 供應商, SUM(採購控制表.數量 * 採購控制表.成本) 
116
-                            AS 當月貨款, 供應商資料表.稅金倍率 AS 稅金1, QQ.稅金 AS [稅金%], QQ.稅金, 供應商資料表.廣告費倍率 AS 廣告1, 
117
-                            QQ.廣告 AS [廣告%], QQ.廣告, QQ.其他扣款, QQ.其他扣款 AS 實付金額, 供應商資料表.票期 AS 票期1, QQ.票期, 
118
-                            QQ.公帳 AS [公司%], QQ.私帳 AS [個人%], QQ.公帳 AS 公司, QQ.私帳 AS 個人, 供應商資料表.支票_公司, 
119
-                            供應商資料表.支票_私人
120
-                 FROM      (SELECT   年月, 客編, 稅金, 廣告, 其他扣款, 票期, 公帳, 私帳
121
-                            FROM     應付帳款基數
122
-                            WHERE   (年月 LIKE '" & Strings.Left(Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd"), 7) & "')) AS QQ RIGHT OUTER JOIN
123
-                            供應商資料表 ON QQ.客編 = 供應商資料表.編號 RIGHT OUTER JOIN
124
-                            採購控制表 ON 供應商資料表.編號 = LEFT(採購控制表.料號, 4)
125
-                 WHERE     (採購控制表.過帳日期 BETWEEN '" & Format(採購應付帳款.開始日期_dtp.Value, "yyyy/MM/dd") & "' AND '" & Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd") & "') AND 
126
-                           (採購控制表.已過帳 = 1)
127
-                 GROUP BY   LEFT(採購控制表.料號, 4), 供應商資料表.簡稱, 供應商資料表.票期, 供應商資料表.稅金倍率, 
128
-                            供應商資料表.廣告費倍率, QQ.票期, QQ.稅金, QQ.廣告, QQ.其他扣款, QQ.公帳, QQ.私帳, 供應商資料表.支票_公司, 
129
-                            供應商資料表.支票_私人
130
-                 ORDER BY   編號"
145
+        SQL1 = "SELECT     SS.編號, SS.供應商, SS.當月貨款, SS.稅金1, SS.[稅金%], SS.稅金, SS.廣告1, SS.[廣告%], SS.廣告, SS.其他扣款, 
146
+                           SS.實付金額, SS.票期1, SS.票期, SS.[公司%], SS.[個人%], SS.公司, SS.個人, SS.支票_公司, SS.支票_私人, 
147
+                           採購外埔表.廠商編碼
148
+                FROM       採購外埔表 FULL OUTER JOIN
149
+                          (SELECT    TOP (100) PERCENT LEFT(採購控制表.料號, 4) AS 編號, 供應商資料表.簡稱 AS 供應商, 
150
+                                     SUM(採購控制表.數量 * 採購控制表.成本) AS 當月貨款, 供應商資料表.稅金倍率 AS 稅金1, 
151
+                                     QQ.稅金 AS [稅金%], QQ.稅金, 供應商資料表.廣告費倍率 AS 廣告1, QQ.廣告 AS [廣告%], QQ.廣告, 
152
+                                     QQ.其他扣款, QQ.其他扣款 AS 實付金額, 供應商資料表.票期 AS 票期1, QQ.票期, QQ.公帳 AS [公司%], 
153
+                                     QQ.私帳 AS [個人%], QQ.公帳 AS 公司, QQ.私帳 AS 個人, 供應商資料表.支票_公司, 
154
+                                     供應商資料表.支票_私人
155
+                           FROM     (SELECT  年月, 客編, 稅金, 廣告, 其他扣款, 票期, 公帳, 私帳  FROM  應付帳款基數
156
+                                     WHERE  (年月 LIKE '" & Strings.Left(Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd"), 7) & "')) AS QQ RIGHT OUTER JOIN
157
+                                     供應商資料表 ON QQ.客編 = 供應商資料表.編號 RIGHT OUTER JOIN
158
+                                     採購控制表 ON 供應商資料表.編號 = LEFT(採購控制表.料號, 4)
159
+                           WHERE    (採購控制表.過帳日期 BETWEEN '" & Format(採購應付帳款.開始日期_dtp.Value, "yyyy/MM/dd") & "' AND '" & Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd") & "') 
160
+                                     AND (採購控制表.已過帳 = 1)
161
+                           GROUP BY  LEFT(採購控制表.料號, 4), 供應商資料表.簡稱, 供應商資料表.票期, 供應商資料表.稅金倍率, 
162
+                                     供應商資料表.廣告費倍率, QQ.票期, QQ.稅金, QQ.廣告, QQ.其他扣款, QQ.公帳, QQ.私帳, 
163
+                                     供應商資料表.支票_公司, 供應商資料表.支票_私人) AS SS ON 採購外埔表.廠商編碼 = SS.編號
164
+                GROUP BY   SS.編號, SS.供應商, SS.當月貨款, SS.稅金1, SS.[稅金%], SS.稅金, SS.廣告1, SS.[廣告%], SS.廣告, SS.其他扣款, 
165
+                           SS.實付金額, SS.票期1, SS.票期, SS.[公司%], SS.[個人%], SS.公司, SS.個人, SS.支票_公司, SS.支票_私人, 
166
+                           採購外埔表.廠商編碼
167
+                ORDER BY   SS.編號"
131 168
         CmdSet_For_DGV()
132 169
     End Sub
133 170
     Friend Sub SQL_採購對帳單_明細()
@@ -169,7 +206,7 @@
169 206
     End Sub
170 207
     Friend Sub SQL_採購應付帳款_查詢公帳控制表會計科目()
171 208
         ConnOpen()
172
-        SQL1 = "SELECT 會計科目, 編號 FROM 會計科目 WHERE (LEFT(編號, 7) LIKE N'" & 採購應付帳款.ComboBox4.Text & "') AND (停用 = 0) AND (統制科目 = 0) ORDER BY 編號"
209
+        SQL1 = "SELECT 會計科目, 編號 FROM 會計科目 WHERE (LEFT(編號, 7) LIKE N'" & 採購應付帳款.副會科編號_cb.Text & "') AND (停用 = 0) AND (統制科目 = 0) ORDER BY 編號"
173 210
         CmdSet_For_dr()
174 211
     End Sub
175 212
     Friend Sub SQL_採購應付帳款_查詢最後一筆公帳控制表會計科目()
@@ -179,7 +216,7 @@
179 216
     End Sub
180 217
     Friend Sub SQL_採購應付帳款_查詢最左邊公帳控制表會計科目()
181 218
         ConnOpen()
182
-        SQL1 = "SELECT LEFT(編號, 7) AS 編號, 第二階, 層級 FROM  會計科目 WHERE (LEFT(編號, 4) LIKE N'" & 採購應付帳款.ComboBox2.Text & "') AND (層級 NOT LIKE '3') AND (停用 = 0)
219
+        SQL1 = "SELECT LEFT(編號, 7) AS 編號, 第二階, 層級 FROM  會計科目 WHERE (LEFT(編號, 4) LIKE N'" & 採購應付帳款.主會科編號_cb.Text & "') AND (層級 NOT LIKE '3') AND (停用 = 0)
183 220
                 GROUP BY   LEFT(編號, 7), 第二階, 層級 ORDER BY   編號"
184 221
         CmdSet_For_dr()
185 222
     End Sub

+ 2
- 2
YD-ERP-SYS/Module/SQL_財務系統管理.vb ファイルの表示

@@ -288,7 +288,7 @@
288 288
         ConnOpen()
289 289
         SQL1 = "INSERT INTO 公帳流水帳 (流水號, 銀行, 日期, 類別, 收入, 支出, 明細, 人員, 支付單號, 項次, 會計, 出納, 現金, 備用金, 公帳, 支票, 
290 290
                             出納日期, 零用金, 支票數, 匯率, 備註, 含稅) " &
291
-                   "VALUES (N'" & PA19 & "', N'" & 採購應付帳款.幣別_cb.Text & "', N'" & DTP4 & "', N'" & 採購應付帳款.ComboBox6.Text & "', N'0', N'" & PA2 & "', 
291
+                   "VALUES (N'" & PA19 & "', N'" & 採購應付帳款.幣別_cb.Text & "', N'" & DTP4 & "', N'" & 採購應付帳款.子會科編號_cb.Text & "', N'0', N'" & PA2 & "', 
292 292
                             N'" & PA1 & "-公司-[" & 採購應付帳款.開始日期_dtp.Value & "-" & 採購應付帳款.結束日期_dtp.Value & "]', N'" & gUserName & "', 
293 293
                             N'" & 採購應付帳款.營運成本收支單號_tb.Text & "', N'" & PA15 & "', N'0', N'0', N'0', N'0', N'0', N'0', N'" & DTP4 & "', N'0', N'0', N'" & PA16 & "', N'" & PA3 & "' ,'1')"
294 294
         CmdSet_For_dr()
@@ -297,7 +297,7 @@
297 297
         ConnOpen()
298 298
         SQL1 = "INSERT INTO 公帳流水帳 (流水號, 銀行, 日期, 類別, 收入, 支出, 明細, 人員, 支付單號, 項次, 會計, 出納, 現金, 備用金, 公帳, 支票, 
299 299
                             出納日期, 零用金, 支票數, 匯率, 備註, 含稅) " &
300
-                   "VALUES (N'" & PA19 & "', N'" & 採購應付帳款.幣別_cb.Text & "', N'" & DTP4 & "', N'" & 採購應付帳款.ComboBox6.Text & "', N'0', N'" & PA2 & "', 
300
+                   "VALUES (N'" & PA19 & "', N'" & 採購應付帳款.幣別_cb.Text & "', N'" & DTP4 & "', N'" & 採購應付帳款.子會科編號_cb.Text & "', N'0', N'" & PA2 & "', 
301 301
                             N'" & PA1 & "-個人-[" & 採購應付帳款.開始日期_dtp.Value & "-" & 採購應付帳款.結束日期_dtp.Value & "]', N'" & gUserName & "', 
302 302
                             N'" & 採購應付帳款.營運成本收支單號_tb.Text & "', N'" & PA15 & "', N'0', N'0', N'0', N'0', N'0', N'0', N'" & DTP4 & "', N'0', N'0', N'" & PA16 & "', N'" & PA3 & "' ,'0')"
303 303
         CmdSet_For_dr()

+ 46
- 0
YD-ERP-SYS/Module/SQL_跨介面共用.vb ファイルの表示

@@ -63,6 +63,24 @@
63 63
     Friend Sub SQL_採購控制表_最後一筆資料()
64 64
         ConnOpen() : SQL1 = "SELECT TOP (1) 資料流水號 FROM 採購控制表 ORDER BY 資料流水號 DESC" : CmdSet_For_dr()
65 65
     End Sub
66
+    Friend Sub SQL_採購外埔表_最後一筆資料()
67
+        ConnOpen() : SQL1 = "SELECT TOP (1) 流水號 FROM 採購外埔表 ORDER BY 流水號 DESC" : CmdSet_For_dr()
68
+    End Sub
69
+    Friend Sub SQL_採購外埔表_新增()
70
+        ConnOpen()
71
+        SQL1 = "INSERT INTO 採購外埔表 (銷售單號, 廠商編碼, 備註內容, 金額, 過帳日期, 流水號) 
72
+                VALUES (N'" & PA36 & "', N'" & PA35 & "', N'" & PA34 & "', N'" & PA33 & "', N'" & PA32 & "', N'" & PA31 & "')"
73
+        CmdSet_For_dr()
74
+    End Sub
75
+    Friend Sub SQL_採購外埔表_修改()
76
+        ConnOpen() : SQL1 = "UPDATE 採購外埔表 SET 備註內容 = N'" & PA34 & "', 金額 = N'" & PA33 & "' WHERE 流水號 LIKE N'" & PA35 & "'" : CmdSet_For_dr()
77
+    End Sub
78
+    Friend Sub SQL_採購外埔表_過帳()
79
+        ConnOpen() : SQL1 = "UPDATE 採購外埔表 SET 過帳日期 = N'" & PA32 & "' WHERE 流水號 LIKE N'" & PA35 & "'" : CmdSet_For_dr()
80
+    End Sub
81
+    Friend Sub SQL_採購外埔表_刪除()
82
+        ConnOpen() : SQL1 = "DELETE 採購外埔表 WHERE 流水號 LIKE N'" & PA35 & "'" : CmdSet_For_dr()
83
+    End Sub
66 84
     Friend Sub SQL_倉儲明細表_出入庫及修改()
67 85
         ConnOpen() : SQL1 = "UPDATE 倉儲明細表 SET 入庫 = N'" & NU1 & "', 出庫 = N'" & NU2 & "', 備註 = N'" & PA10 & "' WHERE (資料流水號 LIKE N'" & PA11 & "')" : CmdSet_For_dr()
68 86
     End Sub
@@ -544,6 +562,34 @@
544 562
         SQL1 = "SELECT 資料流水號, 單號, 版次 FROM 採購訂製圖庫 WHERE (資料流水號 LIKE '" & PA15 & "')"
545 563
         CmdSet_For_DGV()
546 564
     End Sub
565
+    Friend Sub SQL_採購控制表_外埔報表()
566
+        ConnOpen()
567
+        SQL1 = "SELECT      採購外埔表.銷售單號, 供應商資料表.簡稱 AS 供應商, 採購外埔表.備註內容, 採購外埔表.金額, 採購外埔表.過帳日期, 
568
+                            採購外埔表.流水號, 採購外埔表.廠商編碼
569
+                FROM        採購外埔表 INNER JOIN 供應商資料表 ON 採購外埔表.廠商編碼 = 供應商資料表.編號
570
+                WHERE      (採購外埔表.過帳日期 LIKE '') AND (採購外埔表.廠商編碼 LIKE  '%" & PA & "%') ORDER BY 過帳日期 DESC"
571
+        CmdSet_For_DGV()
572
+    End Sub
573
+    Friend Sub SQL_採購控制表_外埔報表_已過()
574
+        ConnOpen()
575
+        SQL1 = "SELECT      採購外埔表.銷售單號, 供應商資料表.簡稱 AS 供應商, 採購外埔表.備註內容, 採購外埔表.金額, 採購外埔表.過帳日期, 
576
+                            採購外埔表.流水號, 採購外埔表.廠商編碼
577
+                FROM        採購外埔表 INNER JOIN 供應商資料表 ON 採購外埔表.廠商編碼 = 供應商資料表.編號
578
+                WHERE      (採購外埔表.過帳日期 NOT LIKE '') AND (採購外埔表.廠商編碼 LIKE  '%" & PA & "%') ORDER BY 過帳日期 DESC"
579
+        CmdSet_For_DGV()
580
+    End Sub
581
+    Friend Sub SQL_應負帳款_外埔報表()
582
+        ConnOpen()
583
+        SQL1 = "SELECT      採購外埔表.銷售單號, 供應商資料表.簡稱 AS 供應商, 採購外埔表.備註內容, 採購外埔表.金額, 採購外埔表.過帳日期, 
584
+                            採購外埔表.流水號, 採購外埔表.廠商編碼
585
+                FROM        採購外埔表 INNER JOIN
586
+                            供應商資料表 ON 採購外埔表.廠商編碼 = 供應商資料表.編號
587
+                WHERE      (採購外埔表.過帳日期 BETWEEN '" & Format(採購應付帳款.開始日期_dtp.Value, "yyyy/MM/dd") & "' AND '" & Format(採購應付帳款.結束日期_dtp.Value, "yyyy/MM/dd") & "')"
588
+        CmdSet_For_DGV()
589
+    End Sub
590
+    Friend Sub SQL_採購控制表_供應商_下拉清單()
591
+        ConnOpen() : SQL1 = "SELECT  編號, 簡稱 FROM   供應商資料表 ORDER BY   編號" : CmdSet_For_dr()
592
+    End Sub
547 593
     Friend Sub SQL_採購控制表_圖片新增()
548 594
         ConnOpen()
549 595
         SQL1 = "INSERT INTO 採購訂製圖庫 (資料流水號, 單號, 版次, 圖片) SELECT N'" & PA1 & "',N'" & PA2 & "',

+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb ファイルの表示

@@ -3,7 +3,7 @@
3 3
     Public g_conn_type, gUserName, 登入人職稱, 登入人級別, 登入人組別, 登入人IP, 版本號, Target, Target1, Target2, FTP帳號, FTP密碼, FTP物理位置, 業務號碼, AA(99), 類別 As String
4 4
     Public BB(99), CC(99), 登入判斷 As Boolean
5 5
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6
-    Public 版本 As String = "2022102501"
6
+    Public 版本 As String = "2022120101"
7 7
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 8
     Public 列印用SQL, 列印用SQL2, 公司編號, 公司電話, 公司統編, 公司地址, 關鍵字編號, 進度條後墜 As String
9 9
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

+ 1
- 0
YD-ERP-SYS/My Project/licenses.licx ファイルの表示

@@ -0,0 +1 @@
1
+Telerik.WinControls.UI.RadVirtualKeyboard, Telerik.WinControls.UI, Version=2022.3.1109.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e

+ 7
- 0
YD-ERP-SYS/YD-ERP-SYS.vbproj ファイルの表示

@@ -75,6 +75,7 @@
75 75
       <HintPath>D:\OneDrive\HX-PGS-ERP-SYS\obj\Debug\Interop.VSTOEE100.dll</HintPath>
76 76
       <EmbedInteropTypes>True</EmbedInteropTypes>
77 77
     </Reference>
78
+    <Reference Include="Microsoft.CSharp" />
78 79
     <Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
79 80
       <SpecificVersion>False</SpecificVersion>
80 81
       <EmbedInteropTypes>True</EmbedInteropTypes>
@@ -105,6 +106,9 @@
105 106
     <Reference Include="System.Xml.Linq" />
106 107
     <Reference Include="System.Data.DataSetExtensions" />
107 108
     <Reference Include="System.Net.Http" />
109
+    <Reference Include="Telerik.WinControls, Version=2022.3.1109.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
110
+    <Reference Include="Telerik.WinControls.UI, Version=2022.3.1109.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL" />
111
+    <Reference Include="TelerikCommon, Version=2022.3.1109.48, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
108 112
   </ItemGroup>
109 113
   <ItemGroup>
110 114
     <Import Include="Microsoft.VisualBasic" />
@@ -478,6 +482,7 @@
478 482
     </Compile>
479 483
   </ItemGroup>
480 484
   <ItemGroup>
485
+    <EmbeddedResource Include="My Project\licenses.licx" />
481 486
     <EmbeddedResource Include="人事系統管理\人事資料表.resx">
482 487
       <DependentUpon>人事資料表.vb</DependentUpon>
483 488
     </EmbeddedResource>
@@ -510,6 +515,7 @@
510 515
     </EmbeddedResource>
511 516
     <EmbeddedResource Include="採購系統管理\一般申請_採購單.resx">
512 517
       <DependentUpon>一般申請_採購單.vb</DependentUpon>
518
+      <SubType>Designer</SubType>
513 519
     </EmbeddedResource>
514 520
     <EmbeddedResource Include="採購系統管理\銷售申請_採購單.resx">
515 521
       <DependentUpon>銷售申請_採購單.vb</DependentUpon>
@@ -531,6 +537,7 @@
531 537
     </EmbeddedResource>
532 538
     <EmbeddedResource Include="採購系統管理\採購訂製大圖.resx">
533 539
       <DependentUpon>採購訂製大圖.vb</DependentUpon>
540
+      <SubType>Designer</SubType>
534 541
     </EmbeddedResource>
535 542
     <EmbeddedResource Include="業務系統管理\客戶資料表.resx">
536 543
       <DependentUpon>客戶資料表.vb</DependentUpon>

バイナリ
YD-ERP-SYS/bin/Debug/Telerik.WinControls.UI.dll ファイルの表示


+ 89129
- 0
YD-ERP-SYS/bin/Debug/Telerik.WinControls.UI.xml
ファイル差分が大きすぎるため省略します
ファイルの表示


バイナリ
YD-ERP-SYS/bin/Debug/Telerik.WinControls.dll ファイルの表示


+ 24600
- 0
YD-ERP-SYS/bin/Debug/Telerik.WinControls.xml
ファイル差分が大きすぎるため省略します
ファイルの表示


バイナリ
YD-ERP-SYS/bin/Debug/TelerikCommon.dll ファイルの表示


バイナリ
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe ファイルの表示


バイナリ
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferences.cache ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.AssemblyReference.cache ファイルの表示


+ 1
- 1
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache ファイルの表示

@@ -1 +1 @@
1
-21ef17a105a508ce8a3a3be640e5be9a4573ffdb
1
+9b7dae8c1069e1a5eef0811d72bae56ae40161a0

+ 6
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt ファイルの表示

@@ -581,3 +581,9 @@ D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運日報表.resou
581 581
 D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.高層客製報表.resources
582 582
 D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.AssemblyReference.cache
583 583
 D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.SuggestedBindingRedirects.cache
584
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\Telerik.WinControls.dll
585
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\Telerik.WinControls.UI.dll
586
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\TelerikCommon.dll
587
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\Telerik.WinControls.xml
588
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\Telerik.WinControls.UI.xml
589
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe.licenses

バイナリ
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache ファイルの表示


バイナリ
YD-ERP-SYS/obj/Debug/yd-erp-sys.exe.licenses ファイルの表示


+ 320
- 125
YD-ERP-SYS/採購系統管理/採購對帳單.Designer.vb ファイルの表示

@@ -24,9 +24,10 @@ Partial Class 採購對帳單
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26 26
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(採購對帳單))
27
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 31
         Me.下載檔名_tb = New System.Windows.Forms.TextBox()
31 32
         Me.料號_tb = New System.Windows.Forms.TextBox()
32 33
         Me.單號1_tb = New System.Windows.Forms.TextBox()
@@ -83,6 +84,21 @@ Partial Class 採購對帳單
83 84
         Me.說明_lb = New System.Windows.Forms.Label()
84 85
         Me.TabControl1 = New System.Windows.Forms.TabControl()
85 86
         Me.TabPage1 = New System.Windows.Forms.TabPage()
87
+        Me.供應商編碼_cb = New System.Windows.Forms.ComboBox()
88
+        Me.供應商_cb = New System.Windows.Forms.ComboBox()
89
+        Me.Label23 = New System.Windows.Forms.Label()
90
+        Me.外埔過帳_bt = New System.Windows.Forms.Button()
91
+        Me.外埔刪除_bt = New System.Windows.Forms.Button()
92
+        Me.外埔修改_bt = New System.Windows.Forms.Button()
93
+        Me.外埔新增_bt = New System.Windows.Forms.Button()
94
+        Me.金額_nud = New System.Windows.Forms.NumericUpDown()
95
+        Me.Label21 = New System.Windows.Forms.Label()
96
+        Me.內容_tb = New System.Windows.Forms.TextBox()
97
+        Me.Label20 = New System.Windows.Forms.Label()
98
+        Me.外埔報表_dgv = New System.Windows.Forms.DataGridView()
99
+        Me.Panel1 = New System.Windows.Forms.Panel()
100
+        Me.流水號_tb = New System.Windows.Forms.TextBox()
101
+        Me.TextBox2 = New System.Windows.Forms.TextBox()
86 102
         Me.Label8 = New System.Windows.Forms.Label()
87 103
         Me.物料圖_pb = New System.Windows.Forms.PictureBox()
88 104
         Me.Label7 = New System.Windows.Forms.Label()
@@ -110,6 +126,9 @@ Partial Class 採購對帳單
110 126
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
111 127
         Me.TabControl1.SuspendLayout()
112 128
         Me.TabPage1.SuspendLayout()
129
+        CType(Me.金額_nud, System.ComponentModel.ISupportInitialize).BeginInit()
130
+        CType(Me.外埔報表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
131
+        Me.Panel1.SuspendLayout()
113 132
         CType(Me.物料圖_pb, System.ComponentModel.ISupportInitialize).BeginInit()
114 133
         Me.TabPage2.SuspendLayout()
115 134
         CType(Me.訂製圖檔_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -120,56 +139,49 @@ Partial Class 採購對帳單
120 139
         '
121 140
         Me.下載檔名_tb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
122 141
         Me.下載檔名_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
123
-        Me.下載檔名_tb.Location = New System.Drawing.Point(574, 291)
142
+        Me.下載檔名_tb.Location = New System.Drawing.Point(12, 90)
124 143
         Me.下載檔名_tb.Name = "下載檔名_tb"
125 144
         Me.下載檔名_tb.Size = New System.Drawing.Size(122, 23)
126 145
         Me.下載檔名_tb.TabIndex = 1394
127 146
         Me.下載檔名_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
128
-        Me.下載檔名_tb.Visible = False
129 147
         '
130 148
         '料號_tb
131 149
         '
132
-        Me.料號_tb.Enabled = False
133
-        Me.料號_tb.Location = New System.Drawing.Point(574, 349)
150
+        Me.料號_tb.Location = New System.Drawing.Point(12, 148)
134 151
         Me.料號_tb.Name = "料號_tb"
135 152
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
136 153
         Me.料號_tb.TabIndex = 1393
137
-        Me.料號_tb.Visible = False
138 154
         '
139 155
         '單號1_tb
140 156
         '
141
-        Me.單號1_tb.Enabled = False
142
-        Me.單號1_tb.Location = New System.Drawing.Point(574, 320)
157
+        Me.單號1_tb.Location = New System.Drawing.Point(12, 119)
143 158
         Me.單號1_tb.Name = "單號1_tb"
144 159
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
145 160
         Me.單號1_tb.TabIndex = 1392
146
-        Me.單號1_tb.Visible = False
147 161
         '
148 162
         '版次_tb
149 163
         '
150
-        Me.版次_tb.Location = New System.Drawing.Point(574, 264)
164
+        Me.版次_tb.Location = New System.Drawing.Point(140, 148)
151 165
         Me.版次_tb.Name = "版次_tb"
152 166
         Me.版次_tb.Size = New System.Drawing.Size(122, 23)
153 167
         Me.版次_tb.TabIndex = 1390
154
-        Me.版次_tb.Visible = False
155 168
         '
156 169
         '檔名讀取_tb
157 170
         '
158 171
         Me.檔名讀取_tb.AllowDrop = True
159 172
         Me.檔名讀取_tb.ForeColor = System.Drawing.Color.Black
160
-        Me.檔名讀取_tb.Location = New System.Drawing.Point(574, 206)
173
+        Me.檔名讀取_tb.Location = New System.Drawing.Point(140, 90)
161 174
         Me.檔名讀取_tb.Multiline = True
162 175
         Me.檔名讀取_tb.Name = "檔名讀取_tb"
163 176
         Me.檔名讀取_tb.Size = New System.Drawing.Size(122, 23)
164 177
         Me.檔名讀取_tb.TabIndex = 1386
165
-        Me.檔名讀取_tb.Visible = False
166 178
         '
167 179
         '大間距_ch
168 180
         '
169 181
         Me.大間距_ch.AutoSize = True
170
-        Me.大間距_ch.Location = New System.Drawing.Point(147, 62)
182
+        Me.大間距_ch.Location = New System.Drawing.Point(147, 57)
171 183
         Me.大間距_ch.Name = "大間距_ch"
172
-        Me.大間距_ch.Size = New System.Drawing.Size(63, 20)
184
+        Me.大間距_ch.Size = New System.Drawing.Size(62, 20)
173 185
         Me.大間距_ch.TabIndex = 1377
174 186
         Me.大間距_ch.Text = "大間距"
175 187
         Me.大間距_ch.UseVisualStyleBackColor = True
@@ -177,9 +189,9 @@ Partial Class 採購對帳單
177 189
         '中間距_ch
178 190
         '
179 191
         Me.中間距_ch.AutoSize = True
180
-        Me.中間距_ch.Location = New System.Drawing.Point(78, 62)
192
+        Me.中間距_ch.Location = New System.Drawing.Point(78, 57)
181 193
         Me.中間距_ch.Name = "中間距_ch"
182
-        Me.中間距_ch.Size = New System.Drawing.Size(63, 20)
194
+        Me.中間距_ch.Size = New System.Drawing.Size(62, 20)
183 195
         Me.中間距_ch.TabIndex = 1376
184 196
         Me.中間距_ch.Text = "中間距"
185 197
         Me.中間距_ch.UseVisualStyleBackColor = True
@@ -187,7 +199,7 @@ Partial Class 採購對帳單
187 199
         '申請人_tb
188 200
         '
189 201
         Me.申請人_tb.Enabled = False
190
-        Me.申請人_tb.Location = New System.Drawing.Point(254, 86)
202
+        Me.申請人_tb.Location = New System.Drawing.Point(254, 80)
191 203
         Me.申請人_tb.Name = "申請人_tb"
192 204
         Me.申請人_tb.Size = New System.Drawing.Size(105, 23)
193 205
         Me.申請人_tb.TabIndex = 1375
@@ -195,36 +207,32 @@ Partial Class 採購對帳單
195 207
         'Label19
196 208
         '
197 209
         Me.Label19.AutoSize = True
198
-        Me.Label19.Location = New System.Drawing.Point(211, 90)
210
+        Me.Label19.Location = New System.Drawing.Point(211, 84)
199 211
         Me.Label19.Name = "Label19"
200
-        Me.Label19.Size = New System.Drawing.Size(44, 16)
212
+        Me.Label19.Size = New System.Drawing.Size(43, 16)
201 213
         Me.Label19.TabIndex = 1374
202 214
         Me.Label19.Text = "申請人"
203 215
         '
204 216
         '日期2_dtp
205 217
         '
206
-        Me.日期2_dtp.Enabled = False
207
-        Me.日期2_dtp.Location = New System.Drawing.Point(574, 177)
218
+        Me.日期2_dtp.Location = New System.Drawing.Point(140, 61)
208 219
         Me.日期2_dtp.Name = "日期2_dtp"
209 220
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
210 221
         Me.日期2_dtp.TabIndex = 1373
211
-        Me.日期2_dtp.Visible = False
212 222
         '
213 223
         '日期1_dtp
214 224
         '
215
-        Me.日期1_dtp.Enabled = False
216
-        Me.日期1_dtp.Location = New System.Drawing.Point(574, 148)
225
+        Me.日期1_dtp.Location = New System.Drawing.Point(140, 32)
217 226
         Me.日期1_dtp.Name = "日期1_dtp"
218 227
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
219 228
         Me.日期1_dtp.TabIndex = 1372
220
-        Me.日期1_dtp.Visible = False
221 229
         '
222 230
         'Label3
223 231
         '
224 232
         Me.Label3.AutoSize = True
225
-        Me.Label3.Location = New System.Drawing.Point(323, 12)
233
+        Me.Label3.Location = New System.Drawing.Point(323, 10)
226 234
         Me.Label3.Name = "Label3"
227
-        Me.Label3.Size = New System.Drawing.Size(32, 16)
235
+        Me.Label3.Size = New System.Drawing.Size(31, 16)
228 236
         Me.Label3.TabIndex = 1371
229 237
         Me.Label3.Text = "業務"
230 238
         '
@@ -233,24 +241,22 @@ Partial Class 採購對帳單
233 241
         Me.業務1_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
234 242
         Me.業務1_cb.FormattingEnabled = True
235 243
         Me.業務1_cb.Items.AddRange(New Object() {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "B", "Y"})
236
-        Me.業務1_cb.Location = New System.Drawing.Point(317, 29)
244
+        Me.業務1_cb.Location = New System.Drawing.Point(317, 27)
237 245
         Me.業務1_cb.Name = "業務1_cb"
238 246
         Me.業務1_cb.Size = New System.Drawing.Size(42, 24)
239 247
         Me.業務1_cb.TabIndex = 1370
240 248
         '
241 249
         '單號_tb
242 250
         '
243
-        Me.單號_tb.Enabled = False
244
-        Me.單號_tb.Location = New System.Drawing.Point(574, 119)
251
+        Me.單號_tb.Location = New System.Drawing.Point(140, 3)
245 252
         Me.單號_tb.Name = "單號_tb"
246 253
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
247 254
         Me.單號_tb.TabIndex = 1369
248
-        Me.單號_tb.Visible = False
249 255
         '
250 256
         '採購金額_tb
251 257
         '
252 258
         Me.採購金額_tb.ForeColor = System.Drawing.Color.Blue
253
-        Me.採購金額_tb.Location = New System.Drawing.Point(283, 60)
259
+        Me.採購金額_tb.Location = New System.Drawing.Point(283, 55)
254 260
         Me.採購金額_tb.Name = "採購金額_tb"
255 261
         Me.採購金額_tb.Size = New System.Drawing.Size(130, 23)
256 262
         Me.採購金額_tb.TabIndex = 1368
@@ -260,18 +266,18 @@ Partial Class 採購對帳單
260 266
         '
261 267
         Me.Label16.AutoSize = True
262 268
         Me.Label16.ForeColor = System.Drawing.Color.Blue
263
-        Me.Label16.Location = New System.Drawing.Point(216, 63)
269
+        Me.Label16.Location = New System.Drawing.Point(216, 58)
264 270
         Me.Label16.Name = "Label16"
265
-        Me.Label16.Size = New System.Drawing.Size(68, 16)
271
+        Me.Label16.Size = New System.Drawing.Size(67, 16)
266 272
         Me.Label16.TabIndex = 1367
267 273
         Me.Label16.Text = "總採購金額"
268 274
         '
269 275
         '小間距_ch
270 276
         '
271 277
         Me.小間距_ch.AutoSize = True
272
-        Me.小間距_ch.Location = New System.Drawing.Point(9, 62)
278
+        Me.小間距_ch.Location = New System.Drawing.Point(9, 57)
273 279
         Me.小間距_ch.Name = "小間距_ch"
274
-        Me.小間距_ch.Size = New System.Drawing.Size(63, 20)
280
+        Me.小間距_ch.Size = New System.Drawing.Size(62, 20)
275 281
         Me.小間距_ch.TabIndex = 1366
276 282
         Me.小間距_ch.Text = "小間距"
277 283
         Me.小間距_ch.UseVisualStyleBackColor = True
@@ -280,7 +286,7 @@ Partial Class 採購對帳單
280 286
         '
281 287
         Me.清空1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
282 288
         Me.清空1_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
283
-        Me.清空1_bt.Location = New System.Drawing.Point(362, 2)
289
+        Me.清空1_bt.Location = New System.Drawing.Point(362, 0)
284 290
         Me.清空1_bt.Name = "清空1_bt"
285 291
         Me.清空1_bt.Size = New System.Drawing.Size(59, 52)
286 292
         Me.清空1_bt.TabIndex = 1364
@@ -289,11 +295,10 @@ Partial Class 採購對帳單
289 295
         '
290 296
         '供應商編碼1_tb
291 297
         '
292
-        Me.供應商編碼1_tb.Location = New System.Drawing.Point(574, 235)
298
+        Me.供應商編碼1_tb.Location = New System.Drawing.Point(140, 119)
293 299
         Me.供應商編碼1_tb.Name = "供應商編碼1_tb"
294 300
         Me.供應商編碼1_tb.Size = New System.Drawing.Size(122, 23)
295 301
         Me.供應商編碼1_tb.TabIndex = 1363
296
-        Me.供應商編碼1_tb.Visible = False
297 302
         '
298 303
         '查詢1_tb
299 304
         '
@@ -318,7 +323,7 @@ Partial Class 採購對帳單
318 323
         Me.Label14.ForeColor = System.Drawing.Color.Red
319 324
         Me.Label14.Location = New System.Drawing.Point(6, 7)
320 325
         Me.Label14.Name = "Label14"
321
-        Me.Label14.Size = New System.Drawing.Size(56, 16)
326
+        Me.Label14.Size = New System.Drawing.Size(55, 16)
322 327
         Me.Label14.TabIndex = 1359
323 328
         Me.Label14.Text = "地        區"
324 329
         '
@@ -326,7 +331,7 @@ Partial Class 採購對帳單
326 331
         '
327 332
         Me.供應商1_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
328 333
         Me.供應商1_cb.FormattingEnabled = True
329
-        Me.供應商1_cb.Location = New System.Drawing.Point(180, 29)
334
+        Me.供應商1_cb.Location = New System.Drawing.Point(180, 27)
330 335
         Me.供應商1_cb.Name = "供應商1_cb"
331 336
         Me.供應商1_cb.Size = New System.Drawing.Size(134, 24)
332 337
         Me.供應商1_cb.TabIndex = 1358
@@ -335,9 +340,9 @@ Partial Class 採購對帳單
335 340
         '
336 341
         Me.Label13.AutoSize = True
337 342
         Me.Label13.ForeColor = System.Drawing.Color.Red
338
-        Me.Label13.Location = New System.Drawing.Point(139, 34)
343
+        Me.Label13.Location = New System.Drawing.Point(139, 32)
339 344
         Me.Label13.Name = "Label13"
340
-        Me.Label13.Size = New System.Drawing.Size(44, 16)
345
+        Me.Label13.Size = New System.Drawing.Size(43, 16)
341 346
         Me.Label13.TabIndex = 1357
342 347
         Me.Label13.Text = "供應商"
343 348
         '
@@ -345,7 +350,7 @@ Partial Class 採購對帳單
345 350
         '
346 351
         Me.供應商編碼1_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
347 352
         Me.供應商編碼1_cb.FormattingEnabled = True
348
-        Me.供應商編碼1_cb.Location = New System.Drawing.Point(61, 29)
353
+        Me.供應商編碼1_cb.Location = New System.Drawing.Point(61, 27)
349 354
         Me.供應商編碼1_cb.Name = "供應商編碼1_cb"
350 355
         Me.供應商編碼1_cb.Size = New System.Drawing.Size(76, 24)
351 356
         Me.供應商編碼1_cb.TabIndex = 1356
@@ -354,9 +359,9 @@ Partial Class 採購對帳單
354 359
         '
355 360
         Me.Label1.AutoSize = True
356 361
         Me.Label1.ForeColor = System.Drawing.Color.Red
357
-        Me.Label1.Location = New System.Drawing.Point(6, 33)
362
+        Me.Label1.Location = New System.Drawing.Point(6, 31)
358 363
         Me.Label1.Name = "Label1"
359
-        Me.Label1.Size = New System.Drawing.Size(56, 16)
364
+        Me.Label1.Size = New System.Drawing.Size(55, 16)
360 365
         Me.Label1.TabIndex = 1355
361 366
         Me.Label1.Text = "廠商編碼"
362 367
         '
@@ -364,7 +369,7 @@ Partial Class 採購對帳單
364 369
         '
365 370
         Me.存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
366 371
         Me.存檔_bt.ForeColor = System.Drawing.Color.Green
367
-        Me.存檔_bt.Location = New System.Drawing.Point(422, 2)
372
+        Me.存檔_bt.Location = New System.Drawing.Point(422, 0)
368 373
         Me.存檔_bt.Name = "存檔_bt"
369 374
         Me.存檔_bt.Size = New System.Drawing.Size(59, 52)
370 375
         Me.存檔_bt.TabIndex = 1349
@@ -375,7 +380,7 @@ Partial Class 採購對帳單
375 380
         '
376 381
         Me.刪除單據上點選的資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
377 382
         Me.刪除單據上點選的資料_bt.ForeColor = System.Drawing.Color.Red
378
-        Me.刪除單據上點選的資料_bt.Location = New System.Drawing.Point(361, 85)
383
+        Me.刪除單據上點選的資料_bt.Location = New System.Drawing.Point(361, 79)
379 384
         Me.刪除單據上點選的資料_bt.Name = "刪除單據上點選的資料_bt"
380 385
         Me.刪除單據上點選的資料_bt.Size = New System.Drawing.Size(190, 25)
381 386
         Me.刪除單據上點選的資料_bt.TabIndex = 1350
@@ -386,15 +391,15 @@ Partial Class 採購對帳單
386 391
         '
387 392
         Me.Label9.AutoSize = True
388 393
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
389
-        Me.Label9.Location = New System.Drawing.Point(776, 89)
394
+        Me.Label9.Location = New System.Drawing.Point(776, 83)
390 395
         Me.Label9.Name = "Label9"
391
-        Me.Label9.Size = New System.Drawing.Size(44, 16)
396
+        Me.Label9.Size = New System.Drawing.Size(43, 16)
392 397
         Me.Label9.TabIndex = 1353
393 398
         Me.Label9.Text = "筆資料"
394 399
         '
395 400
         '資料筆數1_tb
396 401
         '
397
-        Me.資料筆數1_tb.Location = New System.Drawing.Point(734, 86)
402
+        Me.資料筆數1_tb.Location = New System.Drawing.Point(734, 80)
398 403
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
399 404
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
400 405
         Me.資料筆數1_tb.TabIndex = 1352
@@ -404,16 +409,16 @@ Partial Class 採購對帳單
404 409
         '
405 410
         Me.Label10.AutoSize = True
406 411
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
407
-        Me.Label10.Location = New System.Drawing.Point(712, 89)
412
+        Me.Label10.Location = New System.Drawing.Point(712, 83)
408 413
         Me.Label10.Name = "Label10"
409
-        Me.Label10.Size = New System.Drawing.Size(20, 16)
414
+        Me.Label10.Size = New System.Drawing.Size(19, 16)
410 415
         Me.Label10.TabIndex = 1351
411 416
         Me.Label10.Text = "共"
412 417
         '
413 418
         '項次_tb
414 419
         '
415 420
         Me.項次_tb.Enabled = False
416
-        Me.項次_tb.Location = New System.Drawing.Point(75, 86)
421
+        Me.項次_tb.Location = New System.Drawing.Point(75, 80)
417 422
         Me.項次_tb.Name = "項次_tb"
418 423
         Me.項次_tb.Size = New System.Drawing.Size(130, 23)
419 424
         Me.項次_tb.TabIndex = 1348
@@ -421,9 +426,9 @@ Partial Class 採購對帳單
421 426
         '選擇_lb
422 427
         '
423 428
         Me.選擇_lb.AutoSize = True
424
-        Me.選擇_lb.Location = New System.Drawing.Point(7, 90)
429
+        Me.選擇_lb.Location = New System.Drawing.Point(7, 84)
425 430
         Me.選擇_lb.Name = "選擇_lb"
426
-        Me.選擇_lb.Size = New System.Drawing.Size(68, 16)
431
+        Me.選擇_lb.Size = New System.Drawing.Size(67, 16)
427 432
         Me.選擇_lb.TabIndex = 1347
428 433
         Me.選擇_lb.Text = "資料流水號"
429 434
         '
@@ -433,16 +438,16 @@ Partial Class 採購對帳單
433 438
         Me.Label15.ImeMode = System.Windows.Forms.ImeMode.NoControl
434 439
         Me.Label15.Location = New System.Drawing.Point(139, 6)
435 440
         Me.Label15.Name = "Label15"
436
-        Me.Label15.Size = New System.Drawing.Size(44, 16)
441
+        Me.Label15.Size = New System.Drawing.Size(43, 16)
437 442
         Me.Label15.TabIndex = 1362
438 443
         Me.Label15.Text = "關鍵字"
439 444
         '
440 445
         'Label17
441 446
         '
442 447
         Me.Label17.AutoSize = True
443
-        Me.Label17.Location = New System.Drawing.Point(4, 43)
448
+        Me.Label17.Location = New System.Drawing.Point(4, 39)
444 449
         Me.Label17.Name = "Label17"
445
-        Me.Label17.Size = New System.Drawing.Size(1153, 16)
450
+        Me.Label17.Size = New System.Drawing.Size(1152, 16)
446 451
         Me.Label17.TabIndex = 1365
447 452
         Me.Label17.Text = resources.GetString("Label17.Text")
448 453
         '
@@ -452,15 +457,16 @@ Partial Class 採購對帳單
452 457
             Or System.Windows.Forms.AnchorStyles.Left) _
453 458
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
454 459
         Me.採購清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
460
+        Me.採購清單_dgv.BackgroundColor = System.Drawing.Color.White
455 461
         Me.採購清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
456
-        Me.採購清單_dgv.Location = New System.Drawing.Point(4, 113)
462
+        Me.採購清單_dgv.Location = New System.Drawing.Point(2, 106)
457 463
         Me.採購清單_dgv.Name = "採購清單_dgv"
458 464
         Me.採購清單_dgv.RowHeadersWidth = 5
459
-        DataGridViewCellStyle1.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
460
-        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
461
-        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
465
+        DataGridViewCellStyle5.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
466
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
467
+        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
462 468
         Me.採購清單_dgv.RowTemplate.Height = 24
463
-        Me.採購清單_dgv.Size = New System.Drawing.Size(1319, 523)
469
+        Me.採購清單_dgv.Size = New System.Drawing.Size(1328, 417)
464 470
         Me.採購清單_dgv.TabIndex = 1346
465 471
         '
466 472
         'SaveFileDialog1
@@ -472,7 +478,7 @@ Partial Class 採購對帳單
472 478
         '採購金額1_tb
473 479
         '
474 480
         Me.採購金額1_tb.ForeColor = System.Drawing.Color.Green
475
-        Me.採購金額1_tb.Location = New System.Drawing.Point(624, 60)
481
+        Me.採購金額1_tb.Location = New System.Drawing.Point(624, 55)
476 482
         Me.採購金額1_tb.Name = "採購金額1_tb"
477 483
         Me.採購金額1_tb.Size = New System.Drawing.Size(117, 23)
478 484
         Me.採購金額1_tb.TabIndex = 1454
@@ -482,16 +488,16 @@ Partial Class 採購對帳單
482 488
         '
483 489
         Me.Label6.AutoSize = True
484 490
         Me.Label6.ForeColor = System.Drawing.Color.Green
485
-        Me.Label6.Location = New System.Drawing.Point(557, 63)
491
+        Me.Label6.Location = New System.Drawing.Point(557, 58)
486 492
         Me.Label6.Name = "Label6"
487
-        Me.Label6.Size = New System.Drawing.Size(56, 16)
493
+        Me.Label6.Size = New System.Drawing.Size(55, 16)
488 494
         Me.Label6.TabIndex = 1453
489 495
         Me.Label6.Text = "採購金額"
490 496
         '
491 497
         '供應商_tb
492 498
         '
493 499
         Me.供應商_tb.ForeColor = System.Drawing.Color.Green
494
-        Me.供應商_tb.Location = New System.Drawing.Point(463, 60)
500
+        Me.供應商_tb.Location = New System.Drawing.Point(463, 55)
495 501
         Me.供應商_tb.Name = "供應商_tb"
496 502
         Me.供應商_tb.Size = New System.Drawing.Size(88, 23)
497 503
         Me.供應商_tb.TabIndex = 1452
@@ -501,9 +507,9 @@ Partial Class 採購對帳單
501 507
         '
502 508
         Me.Label2.AutoSize = True
503 509
         Me.Label2.ForeColor = System.Drawing.Color.Green
504
-        Me.Label2.Location = New System.Drawing.Point(419, 63)
510
+        Me.Label2.Location = New System.Drawing.Point(419, 58)
505 511
         Me.Label2.Name = "Label2"
506
-        Me.Label2.Size = New System.Drawing.Size(44, 16)
512
+        Me.Label2.Size = New System.Drawing.Size(43, 16)
507 513
         Me.Label2.TabIndex = 1451
508 514
         Me.Label2.Text = "供應商"
509 515
         '
@@ -521,28 +527,24 @@ Partial Class 採購對帳單
521 527
         '
522 528
         '日期3_dtp
523 529
         '
524
-        Me.日期3_dtp.Enabled = False
525
-        Me.日期3_dtp.Location = New System.Drawing.Point(446, 148)
530
+        Me.日期3_dtp.Location = New System.Drawing.Point(12, 32)
526 531
         Me.日期3_dtp.Name = "日期3_dtp"
527 532
         Me.日期3_dtp.Size = New System.Drawing.Size(122, 23)
528 533
         Me.日期3_dtp.TabIndex = 1455
529
-        Me.日期3_dtp.Visible = False
530 534
         '
531 535
         '日期4_dtp
532 536
         '
533
-        Me.日期4_dtp.Enabled = False
534
-        Me.日期4_dtp.Location = New System.Drawing.Point(446, 177)
537
+        Me.日期4_dtp.Location = New System.Drawing.Point(12, 61)
535 538
         Me.日期4_dtp.Name = "日期4_dtp"
536 539
         Me.日期4_dtp.Size = New System.Drawing.Size(122, 23)
537 540
         Me.日期4_dtp.TabIndex = 1456
538
-        Me.日期4_dtp.Visible = False
539 541
         '
540 542
         '批量勾選_cb
541 543
         '
542 544
         Me.批量勾選_cb.AutoSize = True
543
-        Me.批量勾選_cb.Location = New System.Drawing.Point(747, 61)
545
+        Me.批量勾選_cb.Location = New System.Drawing.Point(747, 56)
544 546
         Me.批量勾選_cb.Name = "批量勾選_cb"
545
-        Me.批量勾選_cb.Size = New System.Drawing.Size(75, 20)
547
+        Me.批量勾選_cb.Size = New System.Drawing.Size(74, 20)
546 548
         Me.批量勾選_cb.TabIndex = 1457
547 549
         Me.批量勾選_cb.Text = "批量勾選"
548 550
         Me.批量勾選_cb.UseVisualStyleBackColor = True
@@ -551,7 +553,7 @@ Partial Class 採購對帳單
551 553
         '
552 554
         Me.過帳_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
553 555
         Me.過帳_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
554
-        Me.過帳_bt.Location = New System.Drawing.Point(602, 2)
556
+        Me.過帳_bt.Location = New System.Drawing.Point(602, 0)
555 557
         Me.過帳_bt.Name = "過帳_bt"
556 558
         Me.過帳_bt.Size = New System.Drawing.Size(59, 52)
557 559
         Me.過帳_bt.TabIndex = 1458
@@ -562,7 +564,7 @@ Partial Class 採購對帳單
562 564
         '
563 565
         Me.列印Excel_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
564 566
         Me.列印Excel_bt.ForeColor = System.Drawing.Color.Green
565
-        Me.列印Excel_bt.Location = New System.Drawing.Point(662, 2)
567
+        Me.列印Excel_bt.Location = New System.Drawing.Point(662, 0)
566 568
         Me.列印Excel_bt.Name = "列印Excel_bt"
567 569
         Me.列印Excel_bt.Size = New System.Drawing.Size(59, 52)
568 570
         Me.列印Excel_bt.TabIndex = 1459
@@ -599,7 +601,7 @@ Partial Class 採購對帳單
599 601
         '
600 602
         Me.全部選擇_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
601 603
         Me.全部選擇_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(0, Byte), Integer))
602
-        Me.全部選擇_bt.Location = New System.Drawing.Point(482, 2)
604
+        Me.全部選擇_bt.Location = New System.Drawing.Point(482, 0)
603 605
         Me.全部選擇_bt.Name = "全部選擇_bt"
604 606
         Me.全部選擇_bt.Size = New System.Drawing.Size(59, 52)
605 607
         Me.全部選擇_bt.TabIndex = 1464
@@ -610,7 +612,7 @@ Partial Class 採購對帳單
610 612
         '
611 613
         Me.全部取消_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
612 614
         Me.全部取消_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(0, Byte), Integer))
613
-        Me.全部取消_bt.Location = New System.Drawing.Point(542, 2)
615
+        Me.全部取消_bt.Location = New System.Drawing.Point(542, 0)
614 616
         Me.全部取消_bt.Name = "全部取消_bt"
615 617
         Me.全部取消_bt.Size = New System.Drawing.Size(59, 52)
616 618
         Me.全部取消_bt.TabIndex = 1465
@@ -622,7 +624,7 @@ Partial Class 採購對帳單
622 624
         Me.說明_lb.AutoSize = True
623 625
         Me.說明_lb.Location = New System.Drawing.Point(726, 5)
624 626
         Me.說明_lb.Name = "說明_lb"
625
-        Me.說明_lb.Size = New System.Drawing.Size(36, 16)
627
+        Me.說明_lb.Size = New System.Drawing.Size(35, 16)
626 628
         Me.說明_lb.TabIndex = 1466
627 629
         Me.說明_lb.Text = "1234"
628 630
         '
@@ -637,12 +639,25 @@ Partial Class 採購對帳單
637 639
         Me.TabControl1.Location = New System.Drawing.Point(-1, 5)
638 640
         Me.TabControl1.Name = "TabControl1"
639 641
         Me.TabControl1.SelectedIndex = 0
640
-        Me.TabControl1.Size = New System.Drawing.Size(1340, 675)
642
+        Me.TabControl1.Size = New System.Drawing.Size(1343, 679)
641 643
         Me.TabControl1.TabIndex = 1467
642 644
         '
643 645
         'TabPage1
644 646
         '
645 647
         Me.TabPage1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
648
+        Me.TabPage1.Controls.Add(Me.供應商編碼_cb)
649
+        Me.TabPage1.Controls.Add(Me.供應商_cb)
650
+        Me.TabPage1.Controls.Add(Me.Label23)
651
+        Me.TabPage1.Controls.Add(Me.外埔過帳_bt)
652
+        Me.TabPage1.Controls.Add(Me.外埔刪除_bt)
653
+        Me.TabPage1.Controls.Add(Me.外埔修改_bt)
654
+        Me.TabPage1.Controls.Add(Me.外埔新增_bt)
655
+        Me.TabPage1.Controls.Add(Me.金額_nud)
656
+        Me.TabPage1.Controls.Add(Me.Label21)
657
+        Me.TabPage1.Controls.Add(Me.內容_tb)
658
+        Me.TabPage1.Controls.Add(Me.Label20)
659
+        Me.TabPage1.Controls.Add(Me.外埔報表_dgv)
660
+        Me.TabPage1.Controls.Add(Me.Panel1)
646 661
         Me.TabPage1.Controls.Add(Me.Label8)
647 662
         Me.TabPage1.Controls.Add(Me.物料圖_pb)
648 663
         Me.TabPage1.Controls.Add(Me.說明_lb)
@@ -657,9 +672,7 @@ Partial Class 採購對帳單
657 672
         Me.TabPage1.Controls.Add(Me.Label9)
658 673
         Me.TabPage1.Controls.Add(Me.批量勾選_cb)
659 674
         Me.TabPage1.Controls.Add(Me.刪除單據上點選的資料_bt)
660
-        Me.TabPage1.Controls.Add(Me.日期4_dtp)
661 675
         Me.TabPage1.Controls.Add(Me.存檔_bt)
662
-        Me.TabPage1.Controls.Add(Me.日期3_dtp)
663 676
         Me.TabPage1.Controls.Add(Me.採購金額1_tb)
664 677
         Me.TabPage1.Controls.Add(Me.供應商編碼1_cb)
665 678
         Me.TabPage1.Controls.Add(Me.Label6)
@@ -667,26 +680,16 @@ Partial Class 採購對帳單
667 680
         Me.TabPage1.Controls.Add(Me.供應商1_cb)
668 681
         Me.TabPage1.Controls.Add(Me.Label2)
669 682
         Me.TabPage1.Controls.Add(Me.地區1_cb)
670
-        Me.TabPage1.Controls.Add(Me.下載檔名_tb)
671 683
         Me.TabPage1.Controls.Add(Me.查詢1_tb)
672
-        Me.TabPage1.Controls.Add(Me.料號_tb)
673
-        Me.TabPage1.Controls.Add(Me.供應商編碼1_tb)
674
-        Me.TabPage1.Controls.Add(Me.單號1_tb)
675 684
         Me.TabPage1.Controls.Add(Me.清空1_bt)
676
-        Me.TabPage1.Controls.Add(Me.版次_tb)
677 685
         Me.TabPage1.Controls.Add(Me.小間距_ch)
678
-        Me.TabPage1.Controls.Add(Me.檔名讀取_tb)
679 686
         Me.TabPage1.Controls.Add(Me.大間距_ch)
680 687
         Me.TabPage1.Controls.Add(Me.採購金額_tb)
681 688
         Me.TabPage1.Controls.Add(Me.中間距_ch)
682
-        Me.TabPage1.Controls.Add(Me.單號_tb)
683 689
         Me.TabPage1.Controls.Add(Me.申請人_tb)
684 690
         Me.TabPage1.Controls.Add(Me.業務1_cb)
685 691
         Me.TabPage1.Controls.Add(Me.Label19)
686 692
         Me.TabPage1.Controls.Add(Me.Label3)
687
-        Me.TabPage1.Controls.Add(Me.日期2_dtp)
688
-        Me.TabPage1.Controls.Add(Me.日期1_dtp)
689
-        Me.TabPage1.Controls.Add(Me.採購清單_dgv)
690 693
         Me.TabPage1.Controls.Add(Me.Label7)
691 694
         Me.TabPage1.Controls.Add(Me.Label16)
692 695
         Me.TabPage1.Controls.Add(Me.Label1)
@@ -694,20 +697,193 @@ Partial Class 採購對帳單
694 697
         Me.TabPage1.Controls.Add(Me.Label15)
695 698
         Me.TabPage1.Controls.Add(Me.Label13)
696 699
         Me.TabPage1.Controls.Add(Me.Label17)
700
+        Me.TabPage1.Controls.Add(Me.採購清單_dgv)
697 701
         Me.TabPage1.Location = New System.Drawing.Point(4, 28)
698 702
         Me.TabPage1.Name = "TabPage1"
699 703
         Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
700
-        Me.TabPage1.Size = New System.Drawing.Size(1332, 643)
704
+        Me.TabPage1.Size = New System.Drawing.Size(1335, 647)
701 705
         Me.TabPage1.TabIndex = 0
702 706
         Me.TabPage1.Text = "---採購對帳單---"
703 707
         Me.TabPage1.UseVisualStyleBackColor = True
704 708
         '
709
+        '供應商編碼_cb
710
+        '
711
+        Me.供應商編碼_cb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
712
+        Me.供應商編碼_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
713
+        Me.供應商編碼_cb.FormattingEnabled = True
714
+        Me.供應商編碼_cb.Location = New System.Drawing.Point(192, 524)
715
+        Me.供應商編碼_cb.Name = "供應商編碼_cb"
716
+        Me.供應商編碼_cb.Size = New System.Drawing.Size(76, 24)
717
+        Me.供應商編碼_cb.TabIndex = 1483
718
+        '
719
+        '供應商_cb
720
+        '
721
+        Me.供應商_cb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
722
+        Me.供應商_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
723
+        Me.供應商_cb.FormattingEnabled = True
724
+        Me.供應商_cb.Location = New System.Drawing.Point(59, 524)
725
+        Me.供應商_cb.Name = "供應商_cb"
726
+        Me.供應商_cb.Size = New System.Drawing.Size(132, 24)
727
+        Me.供應商_cb.TabIndex = 1485
728
+        '
729
+        'Label23
730
+        '
731
+        Me.Label23.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
732
+        Me.Label23.AutoSize = True
733
+        Me.Label23.ForeColor = System.Drawing.Color.Red
734
+        Me.Label23.Location = New System.Drawing.Point(4, 529)
735
+        Me.Label23.Name = "Label23"
736
+        Me.Label23.Size = New System.Drawing.Size(55, 16)
737
+        Me.Label23.TabIndex = 1484
738
+        Me.Label23.Text = "供  應  商"
739
+        '
740
+        '外埔過帳_bt
741
+        '
742
+        Me.外埔過帳_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
743
+        Me.外埔過帳_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
744
+        Me.外埔過帳_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
745
+        Me.外埔過帳_bt.Location = New System.Drawing.Point(356, 524)
746
+        Me.外埔過帳_bt.Name = "外埔過帳_bt"
747
+        Me.外埔過帳_bt.Size = New System.Drawing.Size(86, 60)
748
+        Me.外埔過帳_bt.TabIndex = 1481
749
+        Me.外埔過帳_bt.Text = "過帳"
750
+        Me.外埔過帳_bt.UseVisualStyleBackColor = True
751
+        '
752
+        '外埔刪除_bt
753
+        '
754
+        Me.外埔刪除_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
755
+        Me.外埔刪除_bt.ForeColor = System.Drawing.Color.Red
756
+        Me.外埔刪除_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
757
+        Me.外埔刪除_bt.Location = New System.Drawing.Point(356, 584)
758
+        Me.外埔刪除_bt.Name = "外埔刪除_bt"
759
+        Me.外埔刪除_bt.Size = New System.Drawing.Size(86, 60)
760
+        Me.外埔刪除_bt.TabIndex = 1480
761
+        Me.外埔刪除_bt.Text = "刪除"
762
+        Me.外埔刪除_bt.UseVisualStyleBackColor = True
763
+        '
764
+        '外埔修改_bt
765
+        '
766
+        Me.外埔修改_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
767
+        Me.外埔修改_bt.ForeColor = System.Drawing.Color.Green
768
+        Me.外埔修改_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
769
+        Me.外埔修改_bt.Location = New System.Drawing.Point(270, 584)
770
+        Me.外埔修改_bt.Name = "外埔修改_bt"
771
+        Me.外埔修改_bt.Size = New System.Drawing.Size(86, 60)
772
+        Me.外埔修改_bt.TabIndex = 1479
773
+        Me.外埔修改_bt.Text = "修改"
774
+        Me.外埔修改_bt.UseVisualStyleBackColor = True
775
+        '
776
+        '外埔新增_bt
777
+        '
778
+        Me.外埔新增_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
779
+        Me.外埔新增_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
780
+        Me.外埔新增_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
781
+        Me.外埔新增_bt.Location = New System.Drawing.Point(270, 524)
782
+        Me.外埔新增_bt.Name = "外埔新增_bt"
783
+        Me.外埔新增_bt.Size = New System.Drawing.Size(86, 60)
784
+        Me.外埔新增_bt.TabIndex = 1478
785
+        Me.外埔新增_bt.Text = "新增"
786
+        Me.外埔新增_bt.UseVisualStyleBackColor = True
787
+        '
788
+        '金額_nud
789
+        '
790
+        Me.金額_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
791
+        Me.金額_nud.Location = New System.Drawing.Point(68, 618)
792
+        Me.金額_nud.Maximum = New Decimal(New Integer() {1000000, 0, 0, 0})
793
+        Me.金額_nud.Minimum = New Decimal(New Integer() {1000000, 0, 0, -2147483648})
794
+        Me.金額_nud.Name = "金額_nud"
795
+        Me.金額_nud.Size = New System.Drawing.Size(200, 23)
796
+        Me.金額_nud.TabIndex = 1477
797
+        '
798
+        'Label21
799
+        '
800
+        Me.Label21.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
801
+        Me.Label21.AutoSize = True
802
+        Me.Label21.ForeColor = System.Drawing.Color.Green
803
+        Me.Label21.Location = New System.Drawing.Point(7, 622)
804
+        Me.Label21.Name = "Label21"
805
+        Me.Label21.Size = New System.Drawing.Size(55, 16)
806
+        Me.Label21.TabIndex = 1475
807
+        Me.Label21.Text = "差異金額"
808
+        '
809
+        '內容_tb
810
+        '
811
+        Me.內容_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
812
+        Me.內容_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
813
+        Me.內容_tb.Location = New System.Drawing.Point(3, 565)
814
+        Me.內容_tb.Multiline = True
815
+        Me.內容_tb.Name = "內容_tb"
816
+        Me.內容_tb.Size = New System.Drawing.Size(265, 50)
817
+        Me.內容_tb.TabIndex = 1474
818
+        '
819
+        'Label20
820
+        '
821
+        Me.Label20.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
822
+        Me.Label20.AutoSize = True
823
+        Me.Label20.Location = New System.Drawing.Point(4, 549)
824
+        Me.Label20.Name = "Label20"
825
+        Me.Label20.Size = New System.Drawing.Size(91, 16)
826
+        Me.Label20.TabIndex = 1473
827
+        Me.Label20.Text = "補充、備註內容"
828
+        '
829
+        '外埔報表_dgv
830
+        '
831
+        Me.外埔報表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
832
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
833
+        Me.外埔報表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
834
+        Me.外埔報表_dgv.BackgroundColor = System.Drawing.Color.White
835
+        Me.外埔報表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
836
+        Me.外埔報表_dgv.Location = New System.Drawing.Point(443, 522)
837
+        Me.外埔報表_dgv.Name = "外埔報表_dgv"
838
+        Me.外埔報表_dgv.RowHeadersWidth = 5
839
+        DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
840
+        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
841
+        Me.外埔報表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
842
+        Me.外埔報表_dgv.RowTemplate.Height = 24
843
+        Me.外埔報表_dgv.Size = New System.Drawing.Size(887, 120)
844
+        Me.外埔報表_dgv.TabIndex = 1472
845
+        '
846
+        'Panel1
847
+        '
848
+        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
849
+        Me.Panel1.Controls.Add(Me.流水號_tb)
850
+        Me.Panel1.Controls.Add(Me.TextBox2)
851
+        Me.Panel1.Controls.Add(Me.單號_tb)
852
+        Me.Panel1.Controls.Add(Me.日期1_dtp)
853
+        Me.Panel1.Controls.Add(Me.日期2_dtp)
854
+        Me.Panel1.Controls.Add(Me.檔名讀取_tb)
855
+        Me.Panel1.Controls.Add(Me.版次_tb)
856
+        Me.Panel1.Controls.Add(Me.單號1_tb)
857
+        Me.Panel1.Controls.Add(Me.供應商編碼1_tb)
858
+        Me.Panel1.Controls.Add(Me.料號_tb)
859
+        Me.Panel1.Controls.Add(Me.下載檔名_tb)
860
+        Me.Panel1.Controls.Add(Me.日期3_dtp)
861
+        Me.Panel1.Controls.Add(Me.日期4_dtp)
862
+        Me.Panel1.Location = New System.Drawing.Point(542, 292)
863
+        Me.Panel1.Name = "Panel1"
864
+        Me.Panel1.Size = New System.Drawing.Size(270, 214)
865
+        Me.Panel1.TabIndex = 1470
866
+        '
867
+        '流水號_tb
868
+        '
869
+        Me.流水號_tb.Location = New System.Drawing.Point(12, 177)
870
+        Me.流水號_tb.Name = "流水號_tb"
871
+        Me.流水號_tb.Size = New System.Drawing.Size(122, 23)
872
+        Me.流水號_tb.TabIndex = 1458
873
+        '
874
+        'TextBox2
875
+        '
876
+        Me.TextBox2.Location = New System.Drawing.Point(12, 3)
877
+        Me.TextBox2.Name = "TextBox2"
878
+        Me.TextBox2.Size = New System.Drawing.Size(122, 23)
879
+        Me.TextBox2.TabIndex = 1457
880
+        '
705 881
         'Label8
706 882
         '
707 883
         Me.Label8.AutoSize = True
708
-        Me.Label8.Location = New System.Drawing.Point(828, 63)
884
+        Me.Label8.Location = New System.Drawing.Point(828, 58)
709 885
         Me.Label8.Name = "Label8"
710
-        Me.Label8.Size = New System.Drawing.Size(224, 32)
886
+        Me.Label8.Size = New System.Drawing.Size(223, 32)
711 887
         Me.Label8.TabIndex = 1469
712 888
         Me.Label8.Text = "打勾批量勾選,點一下清單式選擇," & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "                            點兩下清單式取消選擇。"
713 889
         '
@@ -717,7 +893,7 @@ Partial Class 採購對帳單
717 893
         Me.物料圖_pb.BackgroundImage = Global.YD_ERP_SYS.My.Resources.Resources.底圖1
718 894
         Me.物料圖_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
719 895
         Me.物料圖_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
720
-        Me.物料圖_pb.Location = New System.Drawing.Point(1142, 2)
896
+        Me.物料圖_pb.Location = New System.Drawing.Point(1145, -2)
721 897
         Me.物料圖_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
722 898
         Me.物料圖_pb.Name = "物料圖_pb"
723 899
         Me.物料圖_pb.Size = New System.Drawing.Size(182, 107)
@@ -728,9 +904,9 @@ Partial Class 採購對帳單
728 904
         '
729 905
         Me.Label7.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
730 906
         Me.Label7.AutoSize = True
731
-        Me.Label7.Location = New System.Drawing.Point(214, 43)
907
+        Me.Label7.Location = New System.Drawing.Point(217, 39)
732 908
         Me.Label7.Name = "Label7"
733
-        Me.Label7.Size = New System.Drawing.Size(928, 16)
909
+        Me.Label7.Size = New System.Drawing.Size(927, 16)
734 910
         Me.Label7.TabIndex = 1467
735 911
         Me.Label7.Text = "_________________________________________________________________________________" &
736 912
     "________________________________________________________________________________" &
@@ -755,7 +931,7 @@ Partial Class 採購對帳單
755 931
         Me.TabPage2.Location = New System.Drawing.Point(4, 28)
756 932
         Me.TabPage2.Name = "TabPage2"
757 933
         Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
758
-        Me.TabPage2.Size = New System.Drawing.Size(1332, 643)
934
+        Me.TabPage2.Size = New System.Drawing.Size(1335, 647)
759 935
         Me.TabPage2.TabIndex = 1
760 936
         Me.TabPage2.Text = "訂製資料圖片圖庫"
761 937
         Me.TabPage2.UseVisualStyleBackColor = True
@@ -777,14 +953,14 @@ Partial Class 採購對帳單
777 953
         Me.Label11.ForeColor = System.Drawing.Color.Red
778 954
         Me.Label11.Location = New System.Drawing.Point(105, 48)
779 955
         Me.Label11.Name = "Label11"
780
-        Me.Label11.Size = New System.Drawing.Size(244, 32)
956
+        Me.Label11.Size = New System.Drawing.Size(243, 32)
781 957
         Me.Label11.TabIndex = 1398
782 958
         Me.Label11.Text = "如檔案無法拖曳至伺服器FTP文件夾,請修改" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "檔案名稱不要帶有中文字或是符號"
783 959
         '
784 960
         'FTP資料夾_wb
785 961
         '
786 962
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
787
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(97, 479)
963
+        Me.FTP資料夾_wb.Location = New System.Drawing.Point(97, 483)
788 964
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
789 965
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
790 966
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
@@ -798,7 +974,7 @@ Partial Class 採購對帳單
798 974
         Me.本機資料夾_wb.Location = New System.Drawing.Point(97, 82)
799 975
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
800 976
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
801
-        Me.本機資料夾_wb.Size = New System.Drawing.Size(282, 348)
977
+        Me.本機資料夾_wb.Size = New System.Drawing.Size(282, 352)
802 978
         Me.本機資料夾_wb.TabIndex = 1394
803 979
         Me.本機資料夾_wb.Url = New System.Uri("", System.UriKind.Relative)
804 980
         '
@@ -808,7 +984,7 @@ Partial Class 採購對帳單
808 984
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
809 985
         Me.Label4.Location = New System.Drawing.Point(98, 31)
810 986
         Me.Label4.Name = "Label4"
811
-        Me.Label4.Size = New System.Drawing.Size(56, 16)
987
+        Me.Label4.Size = New System.Drawing.Size(55, 16)
812 988
         Me.Label4.TabIndex = 1396
813 989
         Me.Label4.Text = "我的電腦"
814 990
         '
@@ -817,7 +993,7 @@ Partial Class 採購對帳單
817 993
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
818 994
         Me.Label12.AutoSize = True
819 995
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
820
-        Me.Label12.Location = New System.Drawing.Point(96, 462)
996
+        Me.Label12.Location = New System.Drawing.Point(96, 466)
821 997
         Me.Label12.Name = "Label12"
822 998
         Me.Label12.Size = New System.Drawing.Size(108, 17)
823 999
         Me.Label12.TabIndex = 1397
@@ -828,7 +1004,7 @@ Partial Class 採購對帳單
828 1004
         Me.檔案名稱_tb.AllowDrop = True
829 1005
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
830 1006
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
831
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(148, 436)
1007
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(148, 440)
832 1008
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
833 1009
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
834 1010
         Me.檔案名稱_tb.TabIndex = 1399
@@ -857,8 +1033,8 @@ Partial Class 採購對帳單
857 1033
         '
858 1034
         '訂製圖檔_dgv
859 1035
         '
860
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
861
-        Me.訂製圖檔_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
1036
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1037
+        Me.訂製圖檔_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
862 1038
         Me.訂製圖檔_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
863 1039
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
864 1040
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -866,11 +1042,11 @@ Partial Class 採購對帳單
866 1042
         Me.訂製圖檔_dgv.Location = New System.Drawing.Point(2, 54)
867 1043
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
868 1044
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
869
-        DataGridViewCellStyle3.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
870
-        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
871
-        Me.訂製圖檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
1045
+        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1046
+        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1047
+        Me.訂製圖檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
872 1048
         Me.訂製圖檔_dgv.RowTemplate.Height = 24
873
-        Me.訂製圖檔_dgv.Size = New System.Drawing.Size(90, 580)
1049
+        Me.訂製圖檔_dgv.Size = New System.Drawing.Size(90, 584)
874 1050
         Me.訂製圖檔_dgv.TabIndex = 1403
875 1051
         '
876 1052
         '大圖預覽_bt
@@ -888,9 +1064,9 @@ Partial Class 採購對帳單
888 1064
         '
889 1065
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
890 1066
         Me.Label5.AutoSize = True
891
-        Me.Label5.Location = New System.Drawing.Point(94, 439)
1067
+        Me.Label5.Location = New System.Drawing.Point(94, 443)
892 1068
         Me.Label5.Name = "Label5"
893
-        Me.Label5.Size = New System.Drawing.Size(56, 16)
1069
+        Me.Label5.Size = New System.Drawing.Size(55, 16)
894 1070
         Me.Label5.TabIndex = 1400
895 1071
         Me.Label5.Text = "檔案名稱"
896 1072
         '
@@ -905,7 +1081,7 @@ Partial Class 採購對帳單
905 1081
         Me.物料圖1_pb.Location = New System.Drawing.Point(385, 2)
906 1082
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
907 1083
         Me.物料圖1_pb.Name = "物料圖1_pb"
908
-        Me.物料圖1_pb.Size = New System.Drawing.Size(942, 631)
1084
+        Me.物料圖1_pb.Size = New System.Drawing.Size(945, 635)
909 1085
         Me.物料圖1_pb.TabIndex = 1392
910 1086
         Me.物料圖1_pb.TabStop = False
911 1087
         '
@@ -924,7 +1100,7 @@ Partial Class 採購對帳單
924 1100
         Me.Label18.ImeMode = System.Windows.Forms.ImeMode.NoControl
925 1101
         Me.Label18.Location = New System.Drawing.Point(489, 9)
926 1102
         Me.Label18.Name = "Label18"
927
-        Me.Label18.Size = New System.Drawing.Size(56, 16)
1103
+        Me.Label18.Size = New System.Drawing.Size(55, 16)
928 1104
         Me.Label18.TabIndex = 1469
929 1105
         Me.Label18.Text = "過帳日期"
930 1106
         '
@@ -933,7 +1109,7 @@ Partial Class 採購對帳單
933 1109
         Me.已確認_ch.AutoSize = True
934 1110
         Me.已確認_ch.Location = New System.Drawing.Point(673, 7)
935 1111
         Me.已確認_ch.Name = "已確認_ch"
936
-        Me.已確認_ch.Size = New System.Drawing.Size(63, 20)
1112
+        Me.已確認_ch.Size = New System.Drawing.Size(62, 20)
937 1113
         Me.已確認_ch.TabIndex = 1470
938 1114
         Me.已確認_ch.Text = "已確認"
939 1115
         Me.已確認_ch.UseVisualStyleBackColor = True
@@ -945,7 +1121,7 @@ Partial Class 採購對帳單
945 1121
         Me.未過帳_ch.CheckState = System.Windows.Forms.CheckState.Checked
946 1122
         Me.未過帳_ch.Location = New System.Drawing.Point(322, 6)
947 1123
         Me.未過帳_ch.Name = "未過帳_ch"
948
-        Me.未過帳_ch.Size = New System.Drawing.Size(63, 20)
1124
+        Me.未過帳_ch.Size = New System.Drawing.Size(62, 20)
949 1125
         Me.未過帳_ch.TabIndex = 1471
950 1126
         Me.未過帳_ch.Text = "未過帳"
951 1127
         Me.未過帳_ch.UseVisualStyleBackColor = True
@@ -955,7 +1131,7 @@ Partial Class 採購對帳單
955 1131
         Me.已過帳_ch.AutoSize = True
956 1132
         Me.已過帳_ch.Location = New System.Drawing.Point(397, 6)
957 1133
         Me.已過帳_ch.Name = "已過帳_ch"
958
-        Me.已過帳_ch.Size = New System.Drawing.Size(63, 20)
1134
+        Me.已過帳_ch.Size = New System.Drawing.Size(62, 20)
959 1135
         Me.已過帳_ch.TabIndex = 1472
960 1136
         Me.已過帳_ch.Text = "已過帳"
961 1137
         Me.已過帳_ch.UseVisualStyleBackColor = True
@@ -985,6 +1161,10 @@ Partial Class 採購對帳單
985 1161
         Me.TabControl1.ResumeLayout(False)
986 1162
         Me.TabPage1.ResumeLayout(False)
987 1163
         Me.TabPage1.PerformLayout()
1164
+        CType(Me.金額_nud, System.ComponentModel.ISupportInitialize).EndInit()
1165
+        CType(Me.外埔報表_dgv, System.ComponentModel.ISupportInitialize).EndInit()
1166
+        Me.Panel1.ResumeLayout(False)
1167
+        Me.Panel1.PerformLayout()
988 1168
         CType(Me.物料圖_pb, System.ComponentModel.ISupportInitialize).EndInit()
989 1169
         Me.TabPage2.ResumeLayout(False)
990 1170
         Me.TabPage2.PerformLayout()
@@ -1073,4 +1253,19 @@ Partial Class 採購對帳單
1073 1253
     Friend WithEvents 已確認_ch As CheckBox
1074 1254
     Friend WithEvents 未過帳_ch As CheckBox
1075 1255
     Friend WithEvents 已過帳_ch As CheckBox
1256
+    Friend WithEvents Panel1 As Panel
1257
+    Friend WithEvents 外埔報表_dgv As DataGridView
1258
+    Friend WithEvents 外埔刪除_bt As Button
1259
+    Friend WithEvents 外埔修改_bt As Button
1260
+    Friend WithEvents 外埔新增_bt As Button
1261
+    Friend WithEvents 金額_nud As NumericUpDown
1262
+    Friend WithEvents Label21 As Label
1263
+    Friend WithEvents 內容_tb As TextBox
1264
+    Friend WithEvents Label20 As Label
1265
+    Friend WithEvents TextBox2 As TextBox
1266
+    Friend WithEvents 外埔過帳_bt As Button
1267
+    Friend WithEvents 供應商編碼_cb As ComboBox
1268
+    Friend WithEvents 供應商_cb As ComboBox
1269
+    Friend WithEvents Label23 As Label
1270
+    Friend WithEvents 流水號_tb As TextBox
1076 1271
 End Class

+ 200
- 142
YD-ERP-SYS/採購系統管理/採購對帳單.vb ファイルの表示

@@ -8,70 +8,66 @@ Imports Microsoft.Office.Interop.Excel.XlThemeFont
8 8
 Imports Microsoft.Office.Interop.Excel.XlThemeColor
9 9
 Imports Microsoft.Office.Interop.Excel.XlWindowState
10 10
 Public Class 採購對帳單
11
-    ReadOnly ds As New DataSet : ReadOnly ds1 As New DataSet : ReadOnly ds2 As New DataSet : ReadOnly ds3 As New DataSet : ReadOnly ds4 As New DataSet
11
+    ReadOnly ds, ds1, ds2, ds3, ds4, ds5 As New DataSet
12 12
     Dim EDR As Integer = 0 : Dim ESTR As String : Dim 關鍵字, 首次開啟 As Boolean
13 13
     Dim xlApp As Microsoft.Office.Interop.Excel.Application
14 14
     Dim xlBook As Microsoft.Office.Interop.Excel.Workbook
15 15
     Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet
16 16
     Dim N2 As Integer
17 17
     Private Sub Set_清單1()
18
-        Try
19
-            採購清單_dgv.DataSource = Nothing : ds1.Clear()
20
-            採購清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
21
-            採購清單_dgv.ColumnHeadersHeight = 40
22
-            採購清單_dgv.AllowUserToAddRows = False
23
-
24
-            If 小間距_ch.Checked = False And 中間距_ch.Checked = False And 大間距_ch.Checked = True Then
25
-                採購清單_dgv.RowTemplate.Height = 95
26
-            ElseIf 小間距_ch.Checked = False And 中間距_ch.Checked = True And 大間距_ch.Checked = False Then
27
-                採購清單_dgv.RowTemplate.Height = 60
28
-            ElseIf 小間距_ch.Checked = True And 中間距_ch.Checked = False And 大間距_ch.Checked = False Then
29
-                採購清單_dgv.RowTemplate.Height = 25
30
-            End If
31
-
32
-            If 關鍵字 = True Then : Else : PA = 供應商編碼1_cb.Text : End If
33
-            PA20 = 業務1_cb.Text
34
-            If 未過帳_ch.Checked = True Then
35
-                SQL_採購控制表_未過帳()
36
-            Else
37
-                SQL_採購控制表_已過帳()
38
-            End If
18
+        採購清單_dgv.DataSource = Nothing : ds1.Clear()
19
+        採購清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
20
+        採購清單_dgv.ColumnHeadersHeight = 40
21
+        採購清單_dgv.AllowUserToAddRows = False
22
+
23
+        If 小間距_ch.Checked = False And 中間距_ch.Checked = False And 大間距_ch.Checked = True Then
24
+            採購清單_dgv.RowTemplate.Height = 95
25
+        ElseIf 小間距_ch.Checked = False And 中間距_ch.Checked = True And 大間距_ch.Checked = False Then
26
+            採購清單_dgv.RowTemplate.Height = 60
27
+        ElseIf 小間距_ch.Checked = True And 中間距_ch.Checked = False And 大間距_ch.Checked = False Then
28
+            採購清單_dgv.RowTemplate.Height = 25
29
+        End If
39 30
 
40
-            da.Fill(ds1) : 採購清單_dgv.DataSource = ds1.Tables(0) : conn.Close()
41
-            Set_採購清單_dgv_下拉式清單1() : Set_採購清單_dgv_下拉式清單2() : Set_採購清單_dgv_下拉式清單3()
42
-
43
-            採購清單_dgv.Columns(0).FillWeight = 40 : 採購清單_dgv.Columns(1).Visible = False : 採購清單_dgv.Columns(2).FillWeight = 70 : 採購清單_dgv.Columns(3).Visible = False
44
-            採購清單_dgv.Columns(4).FillWeight = 80 : 採購清單_dgv.Columns(5).FillWeight = 80 : 採購清單_dgv.Columns(6).FillWeight = 200 : 採購清單_dgv.Columns(7).Visible = False
45
-            採購清單_dgv.Columns(8).FillWeight = 100 : 採購清單_dgv.Columns(9).Visible = False : 採購清單_dgv.Columns(10).Visible = False : 採購清單_dgv.Columns(11).FillWeight = 160
46
-            採購清單_dgv.Columns(12).Visible = False : 採購清單_dgv.Columns(13).Visible = False : 採購清單_dgv.Columns(14).FillWeight = 95 : 採購清單_dgv.Columns(15).Visible = False
47
-            採購清單_dgv.Columns(16).FillWeight = 195 : 採購清單_dgv.Columns(17).Visible = False : 採購清單_dgv.Columns(18).FillWeight = 45 : 採購清單_dgv.Columns(19).FillWeight = 80
48
-            採購清單_dgv.Columns(20).Visible = False : 採購清單_dgv.Columns(21).Visible = False : 採購清單_dgv.Columns(22).Visible = False : 採購清單_dgv.Columns(23).FillWeight = 80
49
-            採購清單_dgv.Columns(24).FillWeight = 80 : 採購清單_dgv.Columns(25).FillWeight = 80 : 採購清單_dgv.Columns(26).FillWeight = 80 : 採購清單_dgv.Columns(27).FillWeight = 45
50
-            採購清單_dgv.Columns(28).FillWeight = 45 : 採購清單_dgv.Columns(29).Visible = False
51
-
52
-            採購清單_dgv.Columns("數量").DefaultCellStyle.Format = "#,##0" : 採購清單_dgv.Columns("成本").DefaultCellStyle.Format = "#,##0"
53
-            採購清單_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
54
-            採購清單_dgv.Columns("數量").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
55
-            採購清單_dgv.Columns("數量").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
56
-            採購清單_dgv.Columns("成本").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
57
-            採購清單_dgv.Columns("成本").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
58
-            採購清單_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
59
-            採購清單_dgv.Columns("金額").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
60
-
61
-            採購清單_dgv.Columns(0).ReadOnly = True : 採購清單_dgv.Columns(2).ReadOnly = True : 採購清單_dgv.Columns(21).ReadOnly = True
62
-            採購清單_dgv.Columns(4).ReadOnly = True : 採購清單_dgv.Columns(5).ReadOnly = True : 採購清單_dgv.Columns(6).ReadOnly = True
63
-            採購清單_dgv.Columns(22).ReadOnly = True : 採購清單_dgv.Columns(17).ReadOnly = True : 採購清單_dgv.Columns(20).ReadOnly = True
64
-
65
-            採購清單_dgv.EditMode = DataGridViewEditMode.EditOnEnter : 資料筆數1_tb.Text = 採購清單_dgv.Rows.Count
66
-            關鍵字 = False
31
+        If 關鍵字 = True Then : Else : PA = 供應商編碼1_cb.Text : End If
32
+        PA20 = 業務1_cb.Text
33
+        If 未過帳_ch.Checked = True Then
34
+            SQL_採購控制表_未過帳()
35
+        Else
36
+            SQL_採購控制表_已過帳()
37
+        End If
67 38
 
68
-            For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
69
-                採購清單_dgv("選擇", i).Value = False
70
-            Next
71
-            Set_合記計算()
72
-        Catch ex As Exception
73
-            MsgBox(ex.Message)
74
-        End Try
39
+        da.Fill(ds1) : 採購清單_dgv.DataSource = ds1.Tables(0) : conn.Close()
40
+        Set_採購清單_dgv_下拉式清單1() : Set_採購清單_dgv_下拉式清單2() : Set_採購清單_dgv_下拉式清單3()
41
+
42
+        採購清單_dgv.Columns(0).FillWeight = 40 : 採購清單_dgv.Columns(1).Visible = False : 採購清單_dgv.Columns(2).FillWeight = 70 : 採購清單_dgv.Columns(3).Visible = False
43
+        採購清單_dgv.Columns(4).FillWeight = 80 : 採購清單_dgv.Columns(5).FillWeight = 80 : 採購清單_dgv.Columns(6).FillWeight = 200 : 採購清單_dgv.Columns(7).Visible = False
44
+        採購清單_dgv.Columns(8).FillWeight = 100 : 採購清單_dgv.Columns(9).Visible = False : 採購清單_dgv.Columns(10).Visible = False : 採購清單_dgv.Columns(11).FillWeight = 160
45
+        採購清單_dgv.Columns(12).Visible = False : 採購清單_dgv.Columns(13).Visible = False : 採購清單_dgv.Columns(14).FillWeight = 95 : 採購清單_dgv.Columns(15).Visible = False
46
+        採購清單_dgv.Columns(16).FillWeight = 195 : 採購清單_dgv.Columns(17).Visible = False : 採購清單_dgv.Columns(18).FillWeight = 45 : 採購清單_dgv.Columns(19).FillWeight = 80
47
+        採購清單_dgv.Columns(20).Visible = False : 採購清單_dgv.Columns(21).Visible = False : 採購清單_dgv.Columns(22).Visible = False : 採購清單_dgv.Columns(23).FillWeight = 80
48
+        採購清單_dgv.Columns(24).FillWeight = 80 : 採購清單_dgv.Columns(25).FillWeight = 80 : 採購清單_dgv.Columns(26).FillWeight = 80 : 採購清單_dgv.Columns(27).FillWeight = 45
49
+        採購清單_dgv.Columns(28).FillWeight = 45 : 採購清單_dgv.Columns(29).Visible = False
50
+
51
+        採購清單_dgv.Columns("數量").DefaultCellStyle.Format = "#,##0" : 採購清單_dgv.Columns("成本").DefaultCellStyle.Format = "#,##0"
52
+        採購清單_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
53
+        採購清單_dgv.Columns("數量").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
54
+        採購清單_dgv.Columns("數量").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
55
+        採購清單_dgv.Columns("成本").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
56
+        採購清單_dgv.Columns("成本").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
57
+        採購清單_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
58
+        採購清單_dgv.Columns("金額").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
59
+
60
+        採購清單_dgv.Columns(0).ReadOnly = True : 採購清單_dgv.Columns(2).ReadOnly = True : 採購清單_dgv.Columns(21).ReadOnly = True
61
+        採購清單_dgv.Columns(4).ReadOnly = True : 採購清單_dgv.Columns(5).ReadOnly = True : 採購清單_dgv.Columns(6).ReadOnly = True
62
+        採購清單_dgv.Columns(22).ReadOnly = True : 採購清單_dgv.Columns(17).ReadOnly = True : 採購清單_dgv.Columns(20).ReadOnly = True
63
+
64
+        採購清單_dgv.EditMode = DataGridViewEditMode.EditOnEnter : 資料筆數1_tb.Text = 採購清單_dgv.Rows.Count
65
+        關鍵字 = False
66
+
67
+        For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
68
+            採購清單_dgv("選擇", i).Value = False
69
+        Next
70
+        Set_合記計算() : Set_清單4()
75 71
     End Sub
76 72
     Private Sub Set_採購清單_dgv_下拉式清單1()
77 73
         Dim Col As New DataGridViewComboBoxColumn With {
@@ -122,21 +118,37 @@ Public Class 採購對帳單
122 118
             MsgBox(ex.Message)
123 119
         End Try
124 120
     End Sub
121
+    Private Sub Set_清單4()
122
+        外埔報表_dgv.DataSource = Nothing : ds5.Clear()
123
+        外埔報表_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
124
+        外埔報表_dgv.ColumnHeadersHeight = 25
125
+        外埔報表_dgv.AllowUserToAddRows = False
126
+        外埔報表_dgv.RowTemplate.Height = 25
127
+        PA = 供應商編碼1_cb.Text
128
+        If 未過帳_ch.Checked = True Then
129
+            SQL_採購控制表_外埔報表()
130
+        Else
131
+            SQL_採購控制表_外埔報表_已過()
132
+        End If
133
+
134
+        da.Fill(ds5) : 外埔報表_dgv.DataSource = ds5.Tables(0) : conn.Close()
135
+
136
+        外埔報表_dgv.Columns(0).Visible = False : 外埔報表_dgv.Columns(1).FillWeight = 100 : 外埔報表_dgv.Columns(2).FillWeight = 250 : 外埔報表_dgv.Columns(3).FillWeight = 80
137
+        外埔報表_dgv.Columns(4).FillWeight = 90 : 外埔報表_dgv.Columns(5).Visible = False : 外埔報表_dgv.Columns(6).Visible = False
138
+        外埔報表_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
139
+        外埔報表_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
140
+    End Sub
125 141
     Private Sub Set_清單5()
126
-        Try
127
-            訂製圖檔_dgv.DataSource = Nothing : ds2.Clear()
128
-            訂製圖檔_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
129
-            訂製圖檔_dgv.ColumnHeadersHeight = 25
130
-            訂製圖檔_dgv.AllowUserToAddRows = False
131
-            訂製圖檔_dgv.RowTemplate.Height = 25
142
+        訂製圖檔_dgv.DataSource = Nothing : ds2.Clear()
143
+        訂製圖檔_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
144
+        訂製圖檔_dgv.ColumnHeadersHeight = 25
145
+        訂製圖檔_dgv.AllowUserToAddRows = False
146
+        訂製圖檔_dgv.RowTemplate.Height = 25
132 147
 
133
-            SQL_採購控制表_訂製圖檔清單()
134
-            da.Fill(ds2) : 訂製圖檔_dgv.DataSource = ds2.Tables(0) : conn.Close()
148
+        SQL_採購控制表_訂製圖檔清單()
149
+        da.Fill(ds2) : 訂製圖檔_dgv.DataSource = ds2.Tables(0) : conn.Close()
135 150
 
136
-            訂製圖檔_dgv.Columns(0).Visible = False : 訂製圖檔_dgv.Columns(1).Visible = False : 訂製圖檔_dgv.Columns(2).FillWeight = 100
137
-        Catch ex As Exception
138
-            MsgBox(ex.Message)
139
-        End Try
151
+        訂製圖檔_dgv.Columns(0).Visible = False : 訂製圖檔_dgv.Columns(1).Visible = False : 訂製圖檔_dgv.Columns(2).FillWeight = 100
140 152
     End Sub
141 153
     Private Sub 供應商1_下拉表單資料載入()
142 154
         BL1 = False : PA3 = "" : PA4 = ""
@@ -153,29 +165,29 @@ Public Class 採購對帳單
153 165
         SQL_業務編號_下拉清單() : 業務1_cb.Items.Clear() : 業務1_cb.Items.Clear()
154 166
         While (dr.Read()) : 業務1_cb.Items.Add(dr("業務號")) : End While : conn.Close()
155 167
     End Sub
168
+    Private Sub 供應商_下拉表單資料載入()
169
+        SQL_採購控制表_供應商_下拉清單() : 供應商_cb.Items.Clear() : 供應商編碼_cb.Items.Clear()
170
+        While (dr.Read()) : 供應商_cb.Items.Add(dr("簡稱")) : 供應商編碼_cb.Items.Add(dr("編號")) : End While : conn.Close()
171
+    End Sub
156 172
     Private Sub 採購控制表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
157
-        Try
158
-            Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
159
-            Dim type0 As Type = 採購清單_dgv.GetType()
160
-            Dim pi0 As Reflection.PropertyInfo = type0.GetProperty("DoubleBuffered", System.Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.NonPublic)
161
-            pi0.SetValue(採購清單_dgv, True, Nothing)
162
-            小間距_ch.Checked = True   '--------------------控件隱藏、操作許可設定與其他基本顯示設定
163
-            業務_cb_下拉表單資料載入()
164
-            首次開啟 = True : Set_清單1() : 首次開啟 = False
165
-            Target1 = Target & AA(1) & "/" : FTP資料夾_wb.Url = New Uri(Target1) '--------------------指定伺服器ftp資料夾位置
166
-            說明_lb.Text = "注意實際進廠日,已經有日期!!" & vbCrLf & "會自動帶入過帳日期。如果需要手動修改,請記得要先存檔再按過帳。"
167
-
168
-            If YD_ERP_SYS.Size.Width > 1440 And YD_ERP_SYS.Size.Height > 900 Then
169
-                字體_NUD.Value = 9
170
-            ElseIf YD_ERP_SYS.Size.Width <= 1440 And YD_ERP_SYS.Size.Height <= 900 Then
171
-                字體_NUD.Value = 7.6
172
-            End If
173
+        Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True : Panel1.SendToBack()
174
+        Dim type0 As Type = 採購清單_dgv.GetType()
175
+        Dim pi0 As Reflection.PropertyInfo = type0.GetProperty("DoubleBuffered", System.Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.NonPublic)
176
+        pi0.SetValue(採購清單_dgv, True, Nothing)
177
+        小間距_ch.Checked = True   '--------------------控件隱藏、操作許可設定與其他基本顯示設定
178
+        業務_cb_下拉表單資料載入() : 供應商_下拉表單資料載入()
179
+        首次開啟 = True : Set_清單1() : 首次開啟 = False
180
+        Target1 = Target & AA(1) & "/" : FTP資料夾_wb.Url = New Uri(Target1) '--------------------指定伺服器ftp資料夾位置
181
+        說明_lb.Text = "注意實際進廠日,已經有日期!!" & vbCrLf & "會自動帶入過帳日期。如果需要手動修改,請記得要先存檔再按過帳。"
182
+
183
+        If YD_ERP_SYS.Size.Width > 1440 And YD_ERP_SYS.Size.Height > 900 Then
184
+            字體_NUD.Value = 9
185
+        ElseIf YD_ERP_SYS.Size.Width <= 1440 And YD_ERP_SYS.Size.Height <= 900 Then
186
+            字體_NUD.Value = 7.6
187
+        End If
173 188
 
174
-            MsgBox("請先確認預設過帳日期!!")
175
-            已確認_ch.Checked = True
176
-        Catch ex As Exception
177
-            MsgBox(ex.Message)
178
-        End Try
189
+        MsgBox("請先確認預設過帳日期!!")
190
+        已確認_ch.Checked = True
179 191
     End Sub
180 192
     Private Sub 一般性申請採購單_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
181 193
         If 首次開啟 = True Then
@@ -266,69 +278,75 @@ Public Class 採購對帳單
266 278
         Try
267 279
             If e.RowIndex = -1 Then : Else
268 280
                 項次_tb.Text = 採購清單_dgv(1, e.RowIndex).Value.ToString : 申請人_tb.Text = 採購清單_dgv("申請人", e.RowIndex).Value.ToString
269
-                    版次_tb.Text = 採購清單_dgv("訂製圖號", e.RowIndex).Value.ToString : 單號1_tb.Text = 採購清單_dgv("銷售單號", e.RowIndex).Value.ToString
270
-                    料號_tb.Text = 採購清單_dgv("料號", e.RowIndex).Value.ToString : 供應商_tb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
271
-
272
-                    Set_合記計算()
273
-                    PA15 = 採購清單_dgv(0, e.RowIndex).Value.ToString : Set_清單5()
274
-
275
-                    物料圖_pb.Image = Nothing : PA1 = 採購清單_dgv.Rows(e.RowIndex).Cells("料號").Value : SQL_物料檔案_是否有圖()
276
-                    If dr.Read() Then
277
-                        If dr("是否有圖") = True Then
278
-                            物料圖_pb.BackgroundImage = Nothing
279
-                            PA = 採購清單_dgv.Rows(e.RowIndex).Cells("料號").Value : SQL_物料圖庫_圖片顯示() '--------------------圖片顯示
280
-                            While dr.Read() = True
281
-                                Dim unused As Byte() = New Byte(-1) {}
282
-                                Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
283
-                                Dim oStream As New MemoryStream(bytes)
284
-                                物料圖_pb.Image = Bitmap.FromStream(oStream)
285
-                            End While
286
-                            conn.Close()
287
-                            物料圖_pb.SizeMode = 4
288
-                        Else
289
-                            物料圖_pb.BackgroundImage = My.Resources.底圖1 : 物料圖_pb.BackgroundImageLayout = 3
290
-                            物料圖_pb.Image = Nothing
291
-                        End If
292
-                    End If : conn.Close()
293
-                    If 批量勾選_cb.Checked = True Then
294
-                        If 採購清單_dgv("選擇", e.RowIndex).Value = False Then
295
-                            採購清單_dgv("選擇", e.RowIndex).Value = True
296
-                            If 採購清單_dgv("實際進廠日", e.RowIndex).Value.ToString = "" Then
297
-                                If 已確認_ch.Checked = False Then
298
-                                    PA = InputBox("請輸入指定過帳日期")
299
-                                Else
300
-                                    PA = InputBox("請輸入指定過帳日期", "", Strings.Format(日期5_dtp.Value, "yyyy/MM/dd"))
301
-                                End If
302
-                                If IsDate(PA) Then
303
-                                    If 已確認_ch.Checked = False Then
304
-                                        採購清單_dgv("過帳日期", e.RowIndex).Value = PA
305
-                                    Else
306
-                                        採購清單_dgv("過帳日期", e.RowIndex).Value = Strings.Format(日期5_dtp.Value, "yyyy/MM/dd")
307
-                                    End If
308
-                                    Dim EU As String
309
-                                    EU = 採購清單_dgv("過帳日期", e.RowIndex).Value.ToString
310
-                                    If EU = "" Then : Else
311
-                                        日期4_dtp.Text = EU : 採購清單_dgv.Rows(e.RowIndex).Cells("過帳日期").Value = Strings.Format(日期4_dtp.Value, "yyyy/MM/dd")
312
-                                    End If
313
-                                Else
314
-                                    MsgBox("請輸入日期格式資料!!!!")
315
-                                    採購清單_dgv("過帳日期", e.RowIndex).Value = ""
316
-                                    採購清單_dgv("選擇", e.RowIndex).Value = False
317
-                                End If
281
+                版次_tb.Text = 採購清單_dgv("訂製圖號", e.RowIndex).Value.ToString : 單號1_tb.Text = 採購清單_dgv("銷售單號", e.RowIndex).Value.ToString
282
+                料號_tb.Text = 採購清單_dgv("料號", e.RowIndex).Value.ToString : 供應商_tb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
283
+                供應商_cb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
284
+                Set_合記計算()
285
+                PA15 = 採購清單_dgv(0, e.RowIndex).Value.ToString : Set_清單5()
286
+
287
+                物料圖_pb.Image = Nothing : PA1 = 採購清單_dgv.Rows(e.RowIndex).Cells("料號").Value : SQL_物料檔案_是否有圖()
288
+                If dr.Read() Then
289
+                    If dr("是否有圖") = True Then
290
+                        物料圖_pb.BackgroundImage = Nothing
291
+                        PA = 採購清單_dgv.Rows(e.RowIndex).Cells("料號").Value : SQL_物料圖庫_圖片顯示() '--------------------圖片顯示
292
+                        While dr.Read() = True
293
+                            Dim unused As Byte() = New Byte(-1) {}
294
+                            Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
295
+                            Dim oStream As New MemoryStream(bytes)
296
+                            物料圖_pb.Image = Bitmap.FromStream(oStream)
297
+                        End While
298
+                        conn.Close()
299
+                        物料圖_pb.SizeMode = 4
300
+                    Else
301
+                        物料圖_pb.BackgroundImage = My.Resources.底圖1 : 物料圖_pb.BackgroundImageLayout = 3
302
+                        物料圖_pb.Image = Nothing
303
+                    End If
304
+                End If : conn.Close()
305
+                If 批量勾選_cb.Checked = True Then
306
+                    If 採購清單_dgv("選擇", e.RowIndex).Value = False Then
307
+                        採購清單_dgv("選擇", e.RowIndex).Value = True
308
+                        If 採購清單_dgv("實際進廠日", e.RowIndex).Value.ToString = "" Then
309
+                            If 已確認_ch.Checked = False Then
310
+                                PA = InputBox("請輸入指定過帳日期")
318 311
                             Else
312
+                                PA = InputBox("請輸入指定過帳日期", "", Strings.Format(日期5_dtp.Value, "yyyy/MM/dd"))
313
+                            End If
314
+                            If IsDate(PA) Then
319 315
                                 If 已確認_ch.Checked = False Then
320
-                                    採購清單_dgv("過帳日期", e.RowIndex).Value = 採購清單_dgv("預計進廠日", e.RowIndex).Value.ToString
316
+                                    採購清單_dgv("過帳日期", e.RowIndex).Value = PA
321 317
                                 Else
322 318
                                     採購清單_dgv("過帳日期", e.RowIndex).Value = Strings.Format(日期5_dtp.Value, "yyyy/MM/dd")
323 319
                                 End If
320
+                                Dim EU As String
321
+                                EU = 採購清單_dgv("過帳日期", e.RowIndex).Value.ToString
322
+                                If EU = "" Then : Else
323
+                                    日期4_dtp.Text = EU : 採購清單_dgv.Rows(e.RowIndex).Cells("過帳日期").Value = Strings.Format(日期4_dtp.Value, "yyyy/MM/dd")
324
+                                End If
325
+                            Else
326
+                                MsgBox("請輸入日期格式資料!!!!")
327
+                                採購清單_dgv("過帳日期", e.RowIndex).Value = ""
328
+                                採購清單_dgv("選擇", e.RowIndex).Value = False
329
+                            End If
330
+                        Else
331
+                            If 已確認_ch.Checked = False Then
332
+                                採購清單_dgv("過帳日期", e.RowIndex).Value = 採購清單_dgv("預計進廠日", e.RowIndex).Value.ToString
333
+                            Else
334
+                                採購清單_dgv("過帳日期", e.RowIndex).Value = Strings.Format(日期5_dtp.Value, "yyyy/MM/dd")
324 335
                             End If
325 336
                         End If
326 337
                     End If
327 338
                 End If
339
+            End If
328 340
         Catch ex As Exception
329 341
             MsgBox(ex.Message)
330 342
         End Try
331 343
     End Sub
344
+    Private Sub 外埔報表_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 外埔報表_dgv.CellClick
345
+        If e.RowIndex = -1 Then : Else
346
+            流水號_tb.Text = 外埔報表_dgv("流水號", e.RowIndex).Value.ToString : 供應商編碼_cb.Text = 外埔報表_dgv("廠商編碼", e.RowIndex).Value.ToString
347
+            內容_tb.Text = 外埔報表_dgv("備註內容", e.RowIndex).Value.ToString : 金額_nud.Text = 外埔報表_dgv("金額", e.RowIndex).Value.ToString
348
+        End If
349
+    End Sub
332 350
     Private Sub 採購清單_dgv_CellDoubleClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 採購清單_dgv.CellDoubleClick
333 351
         If e.RowIndex = -1 Then : Else
334 352
             採購清單_dgv("選擇", e.RowIndex).Value = False
@@ -373,6 +391,15 @@ Public Class 採購對帳單
373 391
             查詢1_tb.Text = "" : 供應商1_cb.SelectedIndex = 供應商編碼1_cb.SelectedIndex : 供應商編碼1_tb.Text = 供應商編碼1_cb.Text : Set_清單1()
374 392
         End If
375 393
     End Sub
394
+    Private Sub 供應商_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 供應商_cb.SelectedIndexChanged
395
+        供應商編碼_cb.SelectedIndex = 供應商_cb.SelectedIndex
396
+    End Sub
397
+    Private Sub 供應商編碼_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 供應商編碼_cb.SelectedIndexChanged
398
+        供應商_cb.SelectedIndex = 供應商編碼_cb.SelectedIndex
399
+    End Sub
400
+    Private Sub 業務1_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 業務1_cb.SelectedIndexChanged
401
+        Set_清單1()
402
+    End Sub
376 403
     Private Sub 查詢1_tb_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 查詢1_tb.KeyPress
377 404
         If e.KeyChar = Chr(13) Then
378 405
             供應商1_cb.Items.Clear() : 供應商編碼1_cb.Items.Clear()
@@ -409,9 +436,6 @@ Public Class 採購對帳單
409 436
             Set_清單1()
410 437
         End If
411 438
     End Sub
412
-    Private Sub 業務1_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 業務1_cb.SelectedIndexChanged
413
-        Set_清單1()
414
-    End Sub
415 439
     Private Sub 檔案名稱_tb_DragEnter(sender As Object, e As DragEventArgs) Handles 檔案名稱_tb.DragEnter
416 440
         Try
417 441
             If e.Data.GetDataPresent(DataFormats.FileDrop) Then
@@ -684,6 +708,40 @@ Public Class 採購對帳單
684 708
             MsgBox(ex.Message)
685 709
         End Try
686 710
     End Sub
711
+    Private Sub 外埔新增_bt_Click(sender As Object, e As EventArgs) Handles 外埔新增_bt.Click
712
+        If 供應商編碼_cb.Text = "" Then
713
+            MsgBox("請先選擇上方單據,再新增備註內容!!")
714
+        Else
715
+            SQL_採購外埔表_最後一筆資料()
716
+            If dr.Read() Then : EDR = Double.Parse(Strings.Right(dr("流水號").ToString, 9)) : Else : EDR = 0 : End If
717
+            conn.Close() : EDR += 1
718
+            If EDR < 10 Then : ESTR = "ES" & "00000000" & EDR
719
+            ElseIf EDR > 9 And EDR < 100 Then : ESTR = "ES" & "0000000" & EDR
720
+            ElseIf EDR > 99 And EDR < 1000 Then : ESTR = "ES" & "000000" & EDR
721
+            ElseIf EDR > 999 And EDR < 10000 Then : ESTR = "ES" & "00000" & EDR
722
+            ElseIf EDR > 9999 And EDR < 100000 Then : ESTR = "ES" & "0000" & EDR
723
+            ElseIf EDR > 99999 And EDR < 100000 Then : ESTR = "ES" & "000" & EDR
724
+            ElseIf EDR > 999999 And EDR < 1000000 Then : ESTR = "ES" & "00" & EDR
725
+            ElseIf EDR > 9999999 And EDR < 10000000 Then : ESTR = "ES" & "0" & EDR
726
+            ElseIf EDR > 99999999 Then : ESTR = "ES" & EDR : End If
727
+
728
+            PA31 = ESTR : PA32 = "" : PA33 = 金額_nud.Value : PA34 = 內容_tb.Text : PA35 = 供應商編碼_cb.Text : PA36 = 單號1_tb.Text
729
+            SQL_採購外埔表_新增() : Set_清單4() : MsgBox("新增完成!!")
730
+        End If
731
+    End Sub
732
+    Private Sub 外埔修改_bt_Click(sender As Object, e As EventArgs) Handles 外埔修改_bt.Click
733
+        If 流水號_tb.Text = "" Then : MsgBox("請先選擇單據!!") : Else
734
+            PA33 = 金額_nud.Value : PA34 = 內容_tb.Text : PA35 = 流水號_tb.Text : SQL_採購外埔表_修改() : Set_清單4() : MsgBox("修改完成!!")
735
+        End If
736
+    End Sub
737
+    Private Sub 外埔刪除_bt_Click(sender As Object, e As EventArgs) Handles 外埔刪除_bt.Click
738
+        If 流水號_tb.Text = "" Then : MsgBox("請先選擇單據!!") : Else : PA35 = 流水號_tb.Text : SQL_採購外埔表_刪除() : Set_清單4() : MsgBox("刪除完成!!") : End If
739
+    End Sub
740
+    Private Sub 外埔過帳_bt_Click(sender As Object, e As EventArgs) Handles 外埔過帳_bt.Click
741
+        If 流水號_tb.Text = "" Then : MsgBox("請先選擇單據!!") : Else
742
+            PA32 = Strings.Format(日期5_dtp.Value, "yyyy/MM/dd") : PA35 = 流水號_tb.Text : SQL_採購外埔表_過帳() : Set_清單4() : MsgBox("修改完成!!")
743
+        End If
744
+    End Sub
687 745
     Private Sub 重新整理_tsm_Click(sender As Object, e As EventArgs) Handles 重新整理_tsm.Click
688 746
         Set_清單1()
689 747
     End Sub

+ 179
- 113
YD-ERP-SYS/採購系統管理/採購應付帳款.Designer.vb ファイルの表示

@@ -28,6 +28,9 @@ Partial Class 採購應付帳款
28 28
         Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29 29
         Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 34
         Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
32 35
         Me.一般月_ch = New System.Windows.Forms.CheckBox()
33 36
         Me.會計月_ch = New System.Windows.Forms.CheckBox()
@@ -85,17 +88,15 @@ Partial Class 採購應付帳款
85 88
         Me.開單_bt = New System.Windows.Forms.Button()
86 89
         Me.轉財務系統_bt = New System.Windows.Forms.Button()
87 90
         Me.Label14 = New System.Windows.Forms.Label()
88
-        Me.ComboBox5 = New System.Windows.Forms.ComboBox()
89
-        Me.ComboBox2 = New System.Windows.Forms.ComboBox()
90
-        Me.ComboBox3 = New System.Windows.Forms.ComboBox()
91
-        Me.ComboBox4 = New System.Windows.Forms.ComboBox()
92
-        Me.ComboBox1 = New System.Windows.Forms.ComboBox()
91
+        Me.主會科_cb = New System.Windows.Forms.ComboBox()
92
+        Me.主會科編號_cb = New System.Windows.Forms.ComboBox()
93
+        Me.副會科_cb = New System.Windows.Forms.ComboBox()
94
+        Me.副會科編號_cb = New System.Windows.Forms.ComboBox()
95
+        Me.子會科_cb = New System.Windows.Forms.ComboBox()
93 96
         Me.幣別_cb = New System.Windows.Forms.ComboBox()
94
-        Me.ComboBox6 = New System.Windows.Forms.ComboBox()
97
+        Me.子會科編號_cb = New System.Windows.Forms.ComboBox()
95 98
         Me.營運成本收支單號_tb = New System.Windows.Forms.TextBox()
96
-        Me.Label15 = New System.Windows.Forms.Label()
97 99
         Me.申請人_tb = New System.Windows.Forms.TextBox()
98
-        Me.Label17 = New System.Windows.Forms.Label()
99 100
         Me.日期_dtp = New System.Windows.Forms.DateTimePicker()
100 101
         Me.備註_ch = New System.Windows.Forms.CheckBox()
101 102
         Me.申請與採購日期_ch = New System.Windows.Forms.CheckBox()
@@ -105,11 +106,19 @@ Partial Class 採購應付帳款
105 106
         Me.Label19 = New System.Windows.Forms.Label()
106 107
         Me.日期5_dtp = New System.Windows.Forms.DateTimePicker()
107 108
         Me.指定_bt = New System.Windows.Forms.Button()
109
+        Me.Panel1 = New System.Windows.Forms.Panel()
110
+        Me.流水號_tb = New System.Windows.Forms.TextBox()
111
+        Me.外埔報表_dgv = New System.Windows.Forms.DataGridView()
112
+        Me.補充備註_bt = New System.Windows.Forms.Button()
113
+        Me.供應商1_dgv = New System.Windows.Forms.DataGridView()
108 114
         CType(Me.供應商_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
109 115
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
110 116
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
111 117
         CType(Me.合計_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
112 118
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
119
+        Me.Panel1.SuspendLayout()
120
+        CType(Me.外埔報表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
121
+        CType(Me.供應商1_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
113 122
         Me.SuspendLayout()
114 123
         '
115 124
         '中間日期_dtp
@@ -117,7 +126,7 @@ Partial Class 採購應付帳款
117 126
         Me.中間日期_dtp.Cursor = System.Windows.Forms.Cursors.WaitCursor
118 127
         Me.中間日期_dtp.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right
119 128
         Me.中間日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
120
-        Me.中間日期_dtp.Location = New System.Drawing.Point(937, 324)
129
+        Me.中間日期_dtp.Location = New System.Drawing.Point(131, 5)
121 130
         Me.中間日期_dtp.Name = "中間日期_dtp"
122 131
         Me.中間日期_dtp.Size = New System.Drawing.Size(122, 23)
123 132
         Me.中間日期_dtp.TabIndex = 1175
@@ -211,6 +220,7 @@ Partial Class 採購應付帳款
211 220
             Or System.Windows.Forms.AnchorStyles.Left) _
212 221
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
213 222
         Me.供應商_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
223
+        Me.供應商_dgv.BackgroundColor = System.Drawing.Color.White
214 224
         Me.供應商_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
215 225
         Me.供應商_dgv.Cursor = System.Windows.Forms.Cursors.Default
216 226
         Me.供應商_dgv.Location = New System.Drawing.Point(247, 81)
@@ -262,6 +272,7 @@ Partial Class 採購應付帳款
262 272
             Or System.Windows.Forms.AnchorStyles.Left) _
263 273
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
264 274
         Me.採購清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
275
+        Me.採購清單_dgv.BackgroundColor = System.Drawing.Color.White
265 276
         Me.採購清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
266 277
         Me.採購清單_dgv.Cursor = System.Windows.Forms.Cursors.Default
267 278
         Me.採購清單_dgv.Location = New System.Drawing.Point(247, 81)
@@ -404,11 +415,10 @@ Partial Class 採購應付帳款
404 415
         '
405 416
         '日期2_dtp
406 417
         '
407
-        Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
408 418
         Me.日期2_dtp.Cursor = System.Windows.Forms.Cursors.WaitCursor
409 419
         Me.日期2_dtp.Enabled = False
410 420
         Me.日期2_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
411
-        Me.日期2_dtp.Location = New System.Drawing.Point(937, 238)
421
+        Me.日期2_dtp.Location = New System.Drawing.Point(1, 64)
412 422
         Me.日期2_dtp.Name = "日期2_dtp"
413 423
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
414 424
         Me.日期2_dtp.TabIndex = 1458
@@ -417,11 +427,10 @@ Partial Class 採購應付帳款
417 427
         '
418 428
         '日期1_dtp
419 429
         '
420
-        Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
421 430
         Me.日期1_dtp.Cursor = System.Windows.Forms.Cursors.WaitCursor
422 431
         Me.日期1_dtp.Enabled = False
423 432
         Me.日期1_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
424
-        Me.日期1_dtp.Location = New System.Drawing.Point(937, 209)
433
+        Me.日期1_dtp.Location = New System.Drawing.Point(1, 35)
425 434
         Me.日期1_dtp.Name = "日期1_dtp"
426 435
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
427 436
         Me.日期1_dtp.TabIndex = 1457
@@ -449,7 +458,7 @@ Partial Class 採購應付帳款
449 458
         Me.採購明細_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
450 459
         Me.採購明細_bt.Location = New System.Drawing.Point(4, 585)
451 460
         Me.採購明細_bt.Name = "採購明細_bt"
452
-        Me.採購明細_bt.Size = New System.Drawing.Size(119, 25)
461
+        Me.採購明細_bt.Size = New System.Drawing.Size(77, 25)
453 462
         Me.採購明細_bt.TabIndex = 1460
454 463
         Me.採購明細_bt.Text = "採購明細"
455 464
         Me.採購明細_bt.UseVisualStyleBackColor = True
@@ -461,20 +470,19 @@ Partial Class 採購應付帳款
461 470
         Me.應負帳款_bt.Enabled = False
462 471
         Me.應負帳款_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
463 472
         Me.應負帳款_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
464
-        Me.應負帳款_bt.Location = New System.Drawing.Point(129, 585)
473
+        Me.應負帳款_bt.Location = New System.Drawing.Point(84, 585)
465 474
         Me.應負帳款_bt.Name = "應負帳款_bt"
466
-        Me.應負帳款_bt.Size = New System.Drawing.Size(112, 25)
475
+        Me.應負帳款_bt.Size = New System.Drawing.Size(77, 25)
467 476
         Me.應負帳款_bt.TabIndex = 1461
468 477
         Me.應負帳款_bt.Text = "應付帳款"
469 478
         Me.應負帳款_bt.UseVisualStyleBackColor = True
470 479
         '
471 480
         'DTP1
472 481
         '
473
-        Me.DTP1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
474 482
         Me.DTP1.Cursor = System.Windows.Forms.Cursors.WaitCursor
475 483
         Me.DTP1.Enabled = False
476 484
         Me.DTP1.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
477
-        Me.DTP1.Location = New System.Drawing.Point(937, 266)
485
+        Me.DTP1.Location = New System.Drawing.Point(1, 92)
478 486
         Me.DTP1.Name = "DTP1"
479 487
         Me.DTP1.Size = New System.Drawing.Size(122, 23)
480 488
         Me.DTP1.TabIndex = 1462
@@ -483,11 +491,10 @@ Partial Class 採購應付帳款
483 491
         '
484 492
         'DTP2
485 493
         '
486
-        Me.DTP2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
487 494
         Me.DTP2.Cursor = System.Windows.Forms.Cursors.WaitCursor
488 495
         Me.DTP2.Enabled = False
489 496
         Me.DTP2.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
490
-        Me.DTP2.Location = New System.Drawing.Point(937, 295)
497
+        Me.DTP2.Location = New System.Drawing.Point(1, 121)
491 498
         Me.DTP2.Name = "DTP2"
492 499
         Me.DTP2.Size = New System.Drawing.Size(122, 23)
493 500
         Me.DTP2.TabIndex = 1463
@@ -773,51 +780,51 @@ Partial Class 採購應付帳款
773 780
         Me.Label14.TabIndex = 1496
774 781
         Me.Label14.Text = "會計科目"
775 782
         '
776
-        'ComboBox5
783
+        '主會科_cb
777 784
         '
778
-        Me.ComboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
779
-        Me.ComboBox5.FormattingEnabled = True
780
-        Me.ComboBox5.Location = New System.Drawing.Point(301, 55)
781
-        Me.ComboBox5.Name = "ComboBox5"
782
-        Me.ComboBox5.Size = New System.Drawing.Size(121, 24)
783
-        Me.ComboBox5.TabIndex = 1497
785
+        Me.主會科_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
786
+        Me.主會科_cb.FormattingEnabled = True
787
+        Me.主會科_cb.Location = New System.Drawing.Point(301, 55)
788
+        Me.主會科_cb.Name = "主會科_cb"
789
+        Me.主會科_cb.Size = New System.Drawing.Size(121, 24)
790
+        Me.主會科_cb.TabIndex = 1497
784 791
         '
785
-        'ComboBox2
792
+        '主會科編號_cb
786 793
         '
787
-        Me.ComboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
788
-        Me.ComboBox2.FormattingEnabled = True
789
-        Me.ComboBox2.Location = New System.Drawing.Point(425, 55)
790
-        Me.ComboBox2.Name = "ComboBox2"
791
-        Me.ComboBox2.Size = New System.Drawing.Size(61, 24)
792
-        Me.ComboBox2.TabIndex = 1498
794
+        Me.主會科編號_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
795
+        Me.主會科編號_cb.FormattingEnabled = True
796
+        Me.主會科編號_cb.Location = New System.Drawing.Point(425, 55)
797
+        Me.主會科編號_cb.Name = "主會科編號_cb"
798
+        Me.主會科編號_cb.Size = New System.Drawing.Size(61, 24)
799
+        Me.主會科編號_cb.TabIndex = 1498
793 800
         '
794
-        'ComboBox3
801
+        '副會科_cb
795 802
         '
796
-        Me.ComboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
797
-        Me.ComboBox3.FormattingEnabled = True
798
-        Me.ComboBox3.Location = New System.Drawing.Point(489, 55)
799
-        Me.ComboBox3.Name = "ComboBox3"
800
-        Me.ComboBox3.Size = New System.Drawing.Size(121, 24)
801
-        Me.ComboBox3.TabIndex = 1499
803
+        Me.副會科_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
804
+        Me.副會科_cb.FormattingEnabled = True
805
+        Me.副會科_cb.Location = New System.Drawing.Point(489, 55)
806
+        Me.副會科_cb.Name = "副會科_cb"
807
+        Me.副會科_cb.Size = New System.Drawing.Size(121, 24)
808
+        Me.副會科_cb.TabIndex = 1499
802 809
         '
803
-        'ComboBox4
810
+        '副會科編號_cb
804 811
         '
805
-        Me.ComboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
806
-        Me.ComboBox4.FormattingEnabled = True
807
-        Me.ComboBox4.Location = New System.Drawing.Point(613, 55)
808
-        Me.ComboBox4.Name = "ComboBox4"
809
-        Me.ComboBox4.Size = New System.Drawing.Size(78, 24)
810
-        Me.ComboBox4.TabIndex = 1500
812
+        Me.副會科編號_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
813
+        Me.副會科編號_cb.FormattingEnabled = True
814
+        Me.副會科編號_cb.Location = New System.Drawing.Point(613, 55)
815
+        Me.副會科編號_cb.Name = "副會科編號_cb"
816
+        Me.副會科編號_cb.Size = New System.Drawing.Size(78, 24)
817
+        Me.副會科編號_cb.TabIndex = 1500
811 818
         '
812
-        'ComboBox1
819
+        '子會科_cb
813 820
         '
814
-        Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
815
-        Me.ComboBox1.FormattingEnabled = True
816
-        Me.ComboBox1.Location = New System.Drawing.Point(694, 55)
817
-        Me.ComboBox1.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
818
-        Me.ComboBox1.Name = "ComboBox1"
819
-        Me.ComboBox1.Size = New System.Drawing.Size(188, 24)
820
-        Me.ComboBox1.TabIndex = 1501
821
+        Me.子會科_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
822
+        Me.子會科_cb.FormattingEnabled = True
823
+        Me.子會科_cb.Location = New System.Drawing.Point(694, 55)
824
+        Me.子會科_cb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
825
+        Me.子會科_cb.Name = "子會科_cb"
826
+        Me.子會科_cb.Size = New System.Drawing.Size(188, 24)
827
+        Me.子會科_cb.TabIndex = 1501
821 828
         '
822 829
         '幣別_cb
823 830
         '
@@ -830,19 +837,19 @@ Partial Class 採購應付帳款
830 837
         Me.幣別_cb.Size = New System.Drawing.Size(119, 24)
831 838
         Me.幣別_cb.TabIndex = 1502
832 839
         '
833
-        'ComboBox6
840
+        '子會科編號_cb
834 841
         '
835
-        Me.ComboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
836
-        Me.ComboBox6.FormattingEnabled = True
837
-        Me.ComboBox6.Location = New System.Drawing.Point(937, 149)
838
-        Me.ComboBox6.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
839
-        Me.ComboBox6.Name = "ComboBox6"
840
-        Me.ComboBox6.Size = New System.Drawing.Size(122, 24)
841
-        Me.ComboBox6.TabIndex = 1508
842
+        Me.子會科編號_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
843
+        Me.子會科編號_cb.FormattingEnabled = True
844
+        Me.子會科編號_cb.Location = New System.Drawing.Point(3, 4)
845
+        Me.子會科編號_cb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
846
+        Me.子會科編號_cb.Name = "子會科編號_cb"
847
+        Me.子會科編號_cb.Size = New System.Drawing.Size(122, 24)
848
+        Me.子會科編號_cb.TabIndex = 1508
842 849
         '
843 850
         '營運成本收支單號_tb
844 851
         '
845
-        Me.營運成本收支單號_tb.Location = New System.Drawing.Point(937, 355)
852
+        Me.營運成本收支單號_tb.Location = New System.Drawing.Point(131, 35)
846 853
         Me.營運成本收支單號_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
847 854
         Me.營運成本收支單號_tb.Name = "營運成本收支單號_tb"
848 855
         Me.營運成本收支單號_tb.Size = New System.Drawing.Size(122, 23)
@@ -850,19 +857,9 @@ Partial Class 採購應付帳款
850 857
         Me.營運成本收支單號_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
851 858
         Me.營運成本收支單號_tb.Visible = False
852 859
         '
853
-        'Label15
854
-        '
855
-        Me.Label15.AutoSize = True
856
-        Me.Label15.Location = New System.Drawing.Point(827, 359)
857
-        Me.Label15.Name = "Label15"
858
-        Me.Label15.Size = New System.Drawing.Size(103, 16)
859
-        Me.Label15.TabIndex = 1510
860
-        Me.Label15.Text = "營運成本收支單號"
861
-        Me.Label15.Visible = False
862
-        '
863 860
         '申請人_tb
864 861
         '
865
-        Me.申請人_tb.Location = New System.Drawing.Point(937, 385)
862
+        Me.申請人_tb.Location = New System.Drawing.Point(131, 64)
866 863
         Me.申請人_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
867 864
         Me.申請人_tb.Name = "申請人_tb"
868 865
         Me.申請人_tb.Size = New System.Drawing.Size(122, 23)
@@ -870,16 +867,6 @@ Partial Class 採購應付帳款
870 867
         Me.申請人_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
871 868
         Me.申請人_tb.Visible = False
872 869
         '
873
-        'Label17
874
-        '
875
-        Me.Label17.AutoSize = True
876
-        Me.Label17.Location = New System.Drawing.Point(887, 389)
877
-        Me.Label17.Name = "Label17"
878
-        Me.Label17.Size = New System.Drawing.Size(43, 16)
879
-        Me.Label17.TabIndex = 1512
880
-        Me.Label17.Text = "申請人"
881
-        Me.Label17.Visible = False
882
-        '
883 870
         '日期_dtp
884 871
         '
885 872
         Me.日期_dtp.Cursor = System.Windows.Forms.Cursors.Default
@@ -922,10 +909,9 @@ Partial Class 採購應付帳款
922 909
         '
923 910
         '日期3_dtp
924 911
         '
925
-        Me.日期3_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
926 912
         Me.日期3_dtp.Cursor = System.Windows.Forms.Cursors.Default
927 913
         Me.日期3_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
928
-        Me.日期3_dtp.Location = New System.Drawing.Point(937, 415)
914
+        Me.日期3_dtp.Location = New System.Drawing.Point(133, 92)
929 915
         Me.日期3_dtp.Name = "日期3_dtp"
930 916
         Me.日期3_dtp.Size = New System.Drawing.Size(122, 23)
931 917
         Me.日期3_dtp.TabIndex = 1517
@@ -972,32 +958,108 @@ Partial Class 採購應付帳款
972 958
         Me.指定_bt.Text = "指定"
973 959
         Me.指定_bt.UseVisualStyleBackColor = True
974 960
         '
961
+        'Panel1
962
+        '
963
+        Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
964
+        Me.Panel1.Controls.Add(Me.流水號_tb)
965
+        Me.Panel1.Controls.Add(Me.子會科編號_cb)
966
+        Me.Panel1.Controls.Add(Me.日期1_dtp)
967
+        Me.Panel1.Controls.Add(Me.中間日期_dtp)
968
+        Me.Panel1.Controls.Add(Me.日期2_dtp)
969
+        Me.Panel1.Controls.Add(Me.DTP1)
970
+        Me.Panel1.Controls.Add(Me.日期3_dtp)
971
+        Me.Panel1.Controls.Add(Me.DTP2)
972
+        Me.Panel1.Controls.Add(Me.營運成本收支單號_tb)
973
+        Me.Panel1.Controls.Add(Me.申請人_tb)
974
+        Me.Panel1.Location = New System.Drawing.Point(423, 193)
975
+        Me.Panel1.Name = "Panel1"
976
+        Me.Panel1.Size = New System.Drawing.Size(268, 154)
977
+        Me.Panel1.TabIndex = 1522
978
+        '
979
+        '流水號_tb
980
+        '
981
+        Me.流水號_tb.Location = New System.Drawing.Point(131, 121)
982
+        Me.流水號_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
983
+        Me.流水號_tb.Name = "流水號_tb"
984
+        Me.流水號_tb.Size = New System.Drawing.Size(122, 23)
985
+        Me.流水號_tb.TabIndex = 1518
986
+        Me.流水號_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
987
+        Me.流水號_tb.Visible = False
988
+        '
989
+        '外埔報表_dgv
990
+        '
991
+        Me.外埔報表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
992
+            Or System.Windows.Forms.AnchorStyles.Left) _
993
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
994
+        Me.外埔報表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
995
+        Me.外埔報表_dgv.BackgroundColor = System.Drawing.Color.White
996
+        Me.外埔報表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
997
+        Me.外埔報表_dgv.Location = New System.Drawing.Point(247, 81)
998
+        Me.外埔報表_dgv.Name = "外埔報表_dgv"
999
+        Me.外埔報表_dgv.RowHeadersWidth = 5
1000
+        DataGridViewCellStyle7.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1001
+        DataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1002
+        Me.外埔報表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle7
1003
+        Me.外埔報表_dgv.RowTemplate.Height = 24
1004
+        Me.外埔報表_dgv.Size = New System.Drawing.Size(1092, 607)
1005
+        Me.外埔報表_dgv.TabIndex = 1523
1006
+        '
1007
+        '補充備註_bt
1008
+        '
1009
+        Me.補充備註_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1010
+        Me.補充備註_bt.Cursor = System.Windows.Forms.Cursors.Default
1011
+        Me.補充備註_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1012
+        Me.補充備註_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
1013
+        Me.補充備註_bt.Location = New System.Drawing.Point(164, 585)
1014
+        Me.補充備註_bt.Name = "補充備註_bt"
1015
+        Me.補充備註_bt.Size = New System.Drawing.Size(77, 25)
1016
+        Me.補充備註_bt.TabIndex = 1524
1017
+        Me.補充備註_bt.Text = "補充、備註"
1018
+        Me.補充備註_bt.UseVisualStyleBackColor = True
1019
+        '
1020
+        '供應商1_dgv
1021
+        '
1022
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.Lavender
1023
+        Me.供應商1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
1024
+        Me.供應商1_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1025
+            Or System.Windows.Forms.AnchorStyles.Left) _
1026
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1027
+        Me.供應商1_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1028
+        Me.供應商1_dgv.BackgroundColor = System.Drawing.Color.White
1029
+        Me.供應商1_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1030
+        Me.供應商1_dgv.Cursor = System.Windows.Forms.Cursors.Default
1031
+        Me.供應商1_dgv.Location = New System.Drawing.Point(247, 81)
1032
+        Me.供應商1_dgv.Name = "供應商1_dgv"
1033
+        Me.供應商1_dgv.RowHeadersWidth = 5
1034
+        DataGridViewCellStyle9.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1035
+        DataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1036
+        Me.供應商1_dgv.RowsDefaultCellStyle = DataGridViewCellStyle9
1037
+        Me.供應商1_dgv.RowTemplate.Height = 24
1038
+        Me.供應商1_dgv.Size = New System.Drawing.Size(1092, 607)
1039
+        Me.供應商1_dgv.TabIndex = 1525
1040
+        '
975 1041
         '採購應付帳款
976 1042
         '
977 1043
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
978 1044
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
979 1045
         Me.ClientSize = New System.Drawing.Size(1344, 691)
1046
+        Me.Controls.Add(Me.補充備註_bt)
1047
+        Me.Controls.Add(Me.Panel1)
980 1048
         Me.Controls.Add(Me.指定_bt)
981 1049
         Me.Controls.Add(Me.Label19)
982 1050
         Me.Controls.Add(Me.日期5_dtp)
983 1051
         Me.Controls.Add(Me.明細表存檔_bt)
984
-        Me.Controls.Add(Me.日期3_dtp)
985 1052
         Me.Controls.Add(Me.Label18)
986 1053
         Me.Controls.Add(Me.申請與採購日期_ch)
987 1054
         Me.Controls.Add(Me.備註_ch)
988 1055
         Me.Controls.Add(Me.物料圖1_pb)
989 1056
         Me.Controls.Add(Me.日期_dtp)
990
-        Me.Controls.Add(Me.Label17)
991
-        Me.Controls.Add(Me.申請人_tb)
992
-        Me.Controls.Add(Me.Label15)
993
-        Me.Controls.Add(Me.營運成本收支單號_tb)
994
-        Me.Controls.Add(Me.ComboBox6)
995 1057
         Me.Controls.Add(Me.幣別_cb)
996
-        Me.Controls.Add(Me.ComboBox1)
997
-        Me.Controls.Add(Me.ComboBox4)
998
-        Me.Controls.Add(Me.ComboBox3)
999
-        Me.Controls.Add(Me.ComboBox2)
1000
-        Me.Controls.Add(Me.ComboBox5)
1058
+        Me.Controls.Add(Me.子會科_cb)
1059
+        Me.Controls.Add(Me.副會科編號_cb)
1060
+        Me.Controls.Add(Me.副會科_cb)
1061
+        Me.Controls.Add(Me.主會科編號_cb)
1062
+        Me.Controls.Add(Me.主會科_cb)
1001 1063
         Me.Controls.Add(Me.Label14)
1002 1064
         Me.Controls.Add(Me.轉財務系統_bt)
1003 1065
         Me.Controls.Add(Me.開單_bt)
@@ -1021,13 +1083,9 @@ Partial Class 採購應付帳款
1021 1083
         Me.Controls.Add(Me.存檔_bt)
1022 1084
         Me.Controls.Add(Me.重新讀取_bt)
1023 1085
         Me.Controls.Add(Me.開啟供應商資料表_bt)
1024
-        Me.Controls.Add(Me.DTP2)
1025
-        Me.Controls.Add(Me.DTP1)
1026 1086
         Me.Controls.Add(Me.採購明細_bt)
1027 1087
         Me.Controls.Add(Me.應負帳款_bt)
1028 1088
         Me.Controls.Add(Me.上個月_bt)
1029
-        Me.Controls.Add(Me.日期2_dtp)
1030
-        Me.Controls.Add(Me.日期1_dtp)
1031 1089
         Me.Controls.Add(Me.採購金額1_tb)
1032 1090
         Me.Controls.Add(Me.Label6)
1033 1091
         Me.Controls.Add(Me.供應商_tb)
@@ -1043,16 +1101,17 @@ Partial Class 採購應付帳款
1043 1101
         Me.Controls.Add(Me.Label9)
1044 1102
         Me.Controls.Add(Me.資料筆數1_tb)
1045 1103
         Me.Controls.Add(Me.Label10)
1046
-        Me.Controls.Add(Me.中間日期_dtp)
1047 1104
         Me.Controls.Add(Me.一般月_ch)
1048 1105
         Me.Controls.Add(Me.會計月_ch)
1049 1106
         Me.Controls.Add(Me.下個月_bt)
1050 1107
         Me.Controls.Add(Me.Label4)
1051 1108
         Me.Controls.Add(Me.結束日期_dtp)
1052 1109
         Me.Controls.Add(Me.開始日期_dtp)
1053
-        Me.Controls.Add(Me.供應商_dgv)
1054 1110
         Me.Controls.Add(Me.字體大小調整_lb)
1055 1111
         Me.Controls.Add(Me.提示_lb)
1112
+        Me.Controls.Add(Me.供應商1_dgv)
1113
+        Me.Controls.Add(Me.供應商_dgv)
1114
+        Me.Controls.Add(Me.外埔報表_dgv)
1056 1115
         Me.Controls.Add(Me.採購清單_dgv)
1057 1116
         Me.Cursor = System.Windows.Forms.Cursors.Default
1058 1117
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -1064,6 +1123,10 @@ Partial Class 採購應付帳款
1064 1123
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).EndInit()
1065 1124
         CType(Me.合計_dgv, System.ComponentModel.ISupportInitialize).EndInit()
1066 1125
         CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
1126
+        Me.Panel1.ResumeLayout(False)
1127
+        Me.Panel1.PerformLayout()
1128
+        CType(Me.外埔報表_dgv, System.ComponentModel.ISupportInitialize).EndInit()
1129
+        CType(Me.供應商1_dgv, System.ComponentModel.ISupportInitialize).EndInit()
1067 1130
         Me.ResumeLayout(False)
1068 1131
         Me.PerformLayout()
1069 1132
 
@@ -1126,17 +1189,15 @@ Partial Class 採購應付帳款
1126 1189
     Friend WithEvents 開單_bt As Button
1127 1190
     Friend WithEvents 轉財務系統_bt As Button
1128 1191
     Friend WithEvents Label14 As Label
1129
-    Friend WithEvents ComboBox5 As ComboBox
1130
-    Friend WithEvents ComboBox2 As ComboBox
1131
-    Friend WithEvents ComboBox3 As ComboBox
1132
-    Friend WithEvents ComboBox4 As ComboBox
1133
-    Friend WithEvents ComboBox1 As ComboBox
1192
+    Friend WithEvents 主會科_cb As ComboBox
1193
+    Friend WithEvents 主會科編號_cb As ComboBox
1194
+    Friend WithEvents 副會科_cb As ComboBox
1195
+    Friend WithEvents 副會科編號_cb As ComboBox
1196
+    Friend WithEvents 子會科_cb As ComboBox
1134 1197
     Friend WithEvents 幣別_cb As ComboBox
1135
-    Friend WithEvents ComboBox6 As ComboBox
1198
+    Friend WithEvents 子會科編號_cb As ComboBox
1136 1199
     Friend WithEvents 營運成本收支單號_tb As TextBox
1137
-    Friend WithEvents Label15 As Label
1138 1200
     Friend WithEvents 申請人_tb As TextBox
1139
-    Friend WithEvents Label17 As Label
1140 1201
     Friend WithEvents 日期_dtp As DateTimePicker
1141 1202
     Friend WithEvents 備註_ch As CheckBox
1142 1203
     Friend WithEvents 申請與採購日期_ch As CheckBox
@@ -1146,4 +1207,9 @@ Partial Class 採購應付帳款
1146 1207
     Friend WithEvents Label19 As Label
1147 1208
     Friend WithEvents 日期5_dtp As DateTimePicker
1148 1209
     Friend WithEvents 指定_bt As Button
1210
+    Friend WithEvents Panel1 As Panel
1211
+    Friend WithEvents 外埔報表_dgv As DataGridView
1212
+    Friend WithEvents 補充備註_bt As Button
1213
+    Friend WithEvents 流水號_tb As TextBox
1214
+    Friend WithEvents 供應商1_dgv As DataGridView
1149 1215
 End Class

+ 584
- 597
YD-ERP-SYS/採購系統管理/採購應付帳款.vb
ファイル差分が大きすぎるため省略します
ファイルの表示


読み込み中…
キャンセル
保存