Browse Source

版本號 : 2021051302

更新內容如下
1、修正不含管銷會把成本一起歸零的BUG
B70340 4 years ago
parent
commit
ad855373db
44 changed files with 1669 additions and 350 deletions
  1. BIN
      .vs/YD-ERP-SYS/v16/.suo
  2. 3
    2
      YD-ERP-SYS/Module/SQL_採購系統管理.vb
  3. 33
    2
      YD-ERP-SYS/Module/SQL_業務系統管理.vb
  4. 2
    2
      YD-ERP-SYS/Module/SQL_跨介面共用.vb
  5. 1
    1
      YD-ERP-SYS/Module/全域變數.vb
  6. 55
    28
      YD-ERP-SYS/YD-ERP-SYS.Designer.vb
  7. 8
    0
      YD-ERP-SYS/YD-ERP-SYS.vb
  8. 18
    0
      YD-ERP-SYS/YD-ERP-SYS.vbproj
  9. BIN
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe
  10. BIN
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb
  11. BIN
      YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  12. BIN
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe
  13. BIN
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb
  14. 1
    1
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache
  15. 120
    0
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt
  16. BIN
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache
  17. BIN
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache
  18. BIN
      YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款已收.resources
  19. BIN
      YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款未收.resources
  20. 19
    21
      YD-ERP-SYS/倉儲系統管理/物料檔案.Designer.vb
  21. 14
    11
      YD-ERP-SYS/倉儲系統管理/盤盈盤損控制表.Designer.vb
  22. 26
    28
      YD-ERP-SYS/採購系統管理/依銷售申請採購單.Designer.vb
  23. 339
    0
      YD-ERP-SYS/採購系統管理/應收帳款已收.Designer.vb
  24. 120
    0
      YD-ERP-SYS/採購系統管理/應收帳款已收.resx
  25. 105
    0
      YD-ERP-SYS/採購系統管理/應收帳款已收.vb
  26. 251
    0
      YD-ERP-SYS/採購系統管理/應收帳款未收.Designer.vb
  27. 120
    0
      YD-ERP-SYS/採購系統管理/應收帳款未收.resx
  28. 37
    0
      YD-ERP-SYS/採購系統管理/應收帳款未收.vb
  29. 27
    29
      YD-ERP-SYS/採購系統管理/採購單審核.Designer.vb
  30. 67
    39
      YD-ERP-SYS/採購系統管理/採購對帳單.Designer.vb
  31. 28
    2
      YD-ERP-SYS/採購系統管理/採購對帳單.vb
  32. 64
    23
      YD-ERP-SYS/採購系統管理/採購應負帳款.Designer.vb
  33. 17
    3
      YD-ERP-SYS/採購系統管理/採購應負帳款.vb
  34. 6
    6
      YD-ERP-SYS/業務系統管理/訂單控制表.Designer.vb
  35. 7
    4
      YD-ERP-SYS/業務系統管理/訂單控制表.vb
  36. 10
    10
      YD-ERP-SYS/業務系統管理/銷售分析表.Designer.vb
  37. 8
    6
      YD-ERP-SYS/業務系統管理/銷售分析表.vb
  38. 74
    72
      YD-ERP-SYS/業務系統管理/銷售單審核.Designer.vb
  39. 22
    11
      YD-ERP-SYS/業務系統管理/銷售單審核.vb
  40. 20
    18
      YD-ERP-SYS/業務系統管理/銷售單申請.Designer.vb
  41. 28
    12
      YD-ERP-SYS/業務系統管理/銷售單申請.vb
  42. 7
    7
      YD-ERP-SYS/財務系統管理/會計科目管理.Designer.vb
  43. 7
    7
      YD-ERP-SYS/財務系統管理/營運成本收支單 - 對帳表.Designer.vb
  44. 5
    5
      YD-ERP-SYS/資料庫系統管理/FTP資料夾管理.Designer.vb

BIN
.vs/YD-ERP-SYS/v16/.suo View File


+ 3
- 2
YD-ERP-SYS/Module/SQL_採購系統管理.vb View File

64
     Friend Sub SQL_供應商資料表_新增()
64
     Friend Sub SQL_供應商資料表_新增()
65
         ConnOpen()
65
         ConnOpen()
66
         SQL1 = "INSERT INTO 供應商資料表 (編號, 簡稱, 供應商, 公司地址, 電話1, 電話2, 電話3, 電話4, 店面地址, 店面電話, 工廠地址, 聯繫人1, 聯繫人2, 電話, 傳真, POS, 備註1, 
66
         SQL1 = "INSERT INTO 供應商資料表 (編號, 簡稱, 供應商, 公司地址, 電話1, 電話2, 電話3, 電話4, 店面地址, 店面電話, 工廠地址, 聯繫人1, 聯繫人2, 電話, 傳真, POS, 備註1, 
67
-                                          備註2, 登入日期, 結算日, KR1, KR2, KR3, PEC, 停用) 
68
-                VALUES (N'" & PA & "', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'" & DTP & "', N'0', N'0', N'0', N'0', N'0', N'0')"
67
+                                          備註2, 登入日期, 結算日, KR1, KR2, KR3, PEC, 停用, 票期, 支票_私人, 支票_公司, 稅金倍率, 廣告費倍率) 
68
+                VALUES (N'" & PA & "', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'', N'" & DTP & "', N'0', N'0', N'0', N'0', N'0', 
69
+                        N'0', N'15', N'', N'', N'0', N'0')"
69
         CmdSet_For_dr()
70
         CmdSet_For_dr()
70
     End Sub
71
     End Sub
71
     Friend Sub SQL_供應商資料表_修改()
72
     Friend Sub SQL_供應商資料表_修改()

+ 33
- 2
YD-ERP-SYS/Module/SQL_業務系統管理.vb View File

116
                             供應商資料表 ON 物料資料庫.供應商編號 = 供應商資料表.編號 ON 
116
                             供應商資料表 ON 物料資料庫.供應商編號 = 供應商資料表.編號 ON 
117
                             銷售明細表.料號 = 物料資料庫.料號 LEFT OUTER JOIN
117
                             銷售明細表.料號 = 物料資料庫.料號 LEFT OUTER JOIN
118
                             銷售控制表 ON 銷售明細表.單號 = 銷售控制表.單號
118
                             銷售控制表 ON 銷售明細表.單號 = 銷售控制表.單號
119
-                WHERE      (銷售控制表.單號 NOT LIKE '4%') AND (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售明細表.料號 NOT LIKE '1%') AND (銷售明細表.成本 > 0) AND 
120
-                           (銷售明細表.售價 > 0) AND " & SQL2 & " 
119
+                WHERE      (銷售控制表.單號 NOT LIKE '4%') AND (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售明細表.料號 NOT LIKE '1%') AND  " & SQL2 & " 
121
                 ORDER BY    銷售控制表.單號 DESC"
120
                 ORDER BY    銷售控制表.單號 DESC"
122
         CmdSet_For_DGV()
121
         CmdSet_For_DGV()
123
     End Sub
122
     End Sub
249
                 ORDER BY    銷售控制表.單號 DESC"
248
                 ORDER BY    銷售控制表.單號 DESC"
250
         CmdSet_For_DGV()
249
         CmdSet_For_DGV()
251
     End Sub
250
     End Sub
251
+    '---------------------應收帳款未收-----------------------------------------------------------------------------------------------------------------
252
+    Friend Sub SQL_應收帳款未收_訂單控制表()
253
+        ConnOpen()
254
+        SQL1 = "SELECT      銷售控制表.流水號, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.開單日期, 銷售控制表.交貨日期, 
255
+                            銷售控制表.含稅, 銷售控制表.單位主管, 銷售控制表.審核日期, 銷售收款事項.內容, 銷售收款事項.金額, 
256
+                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2,
257
+                            客戶資料表.地址, 客戶資料表.公司名稱, 客戶資料表.統編, 銷售控制表.稅金
258
+                FROM        銷售控制表 INNER JOIN
259
+                            客戶資料表 ON 銷售控制表.客戶編號 = 客戶資料表.舊編 LEFT OUTER JOIN
260
+                            銷售收款事項 ON 銷售控制表.單號 = 銷售收款事項.單號
261
+                WHERE      (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (銷售收款事項.金額 > 0) AND (客戶資料表.名稱 LIKE N'%" & PA20 & "%' OR 
262
+                            客戶資料表.電話1 LIKE N'%" & PA20 & "%' OR 客戶資料表.電話2 LIKE N'%" & PA20 & "%' OR 客戶資料表.地址 LIKE N'%" & PA20 & "%' OR 
263
+                            客戶資料表.公司名稱 LIKE N'%" & PA20 & "%' OR 客戶資料表.統編 LIKE N'%" & PA20 & "%') 
264
+                ORDER BY    銷售控制表.單號 DESC"
265
+        CmdSet_For_DGV()
266
+    End Sub
267
+    '---------------------應收帳款已收-----------------------------------------------------------------------------------------------------------------
268
+    Friend Sub SQL_應收帳款已收_訂單控制表()
269
+        ConnOpen()
270
+        SQL1 = "SELECT      銷售控制表.流水號, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.開單日期, 銷售控制表.交貨日期, 
271
+                            銷售控制表.含稅, 銷售控制表.單位主管, 銷售控制表.審核日期, 銷售收款事項.內容, 銷售收款事項.金額, 
272
+                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2,
273
+                            客戶資料表.地址, 客戶資料表.公司名稱, 客戶資料表.統編, 銷售控制表.稅金
274
+                FROM        銷售控制表 INNER JOIN
275
+                            客戶資料表 ON 銷售控制表.客戶編號 = 客戶資料表.舊編 LEFT OUTER JOIN
276
+                            銷售收款事項 ON 銷售控制表.單號 = 銷售收款事項.單號
277
+                WHERE      (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (銷售收款事項.金額 = 0) AND (客戶資料表.名稱 LIKE N'%" & PA20 & "%' OR 
278
+                            客戶資料表.電話1 LIKE N'%" & PA20 & "%' OR 客戶資料表.電話2 LIKE N'%" & PA20 & "%' OR 客戶資料表.地址 LIKE N'%" & PA20 & "%' OR 
279
+                            客戶資料表.公司名稱 LIKE N'%" & PA20 & "%' OR 客戶資料表.統編 LIKE N'%" & PA20 & "%')
280
+                ORDER BY    銷售控制表.單號 DESC"
281
+        CmdSet_For_DGV()
282
+    End Sub
252
 End Module
283
 End Module

+ 2
- 2
YD-ERP-SYS/Module/SQL_跨介面共用.vb View File

181
     Friend Sub SQL_銷售明細表_修改()
181
     Friend Sub SQL_銷售明細表_修改()
182
         ConnOpen()
182
         ConnOpen()
183
         SQL1 = "UPDATE 銷售明細表 SET 備註 = N'" & PA10 & "', 成本 = N'" & NU1 & "', 售價 = N'" & NU2 & "', 含稅 = N'" & BL5 & "',倉儲狀態 = N'" & PA9 & "', 
183
         SQL1 = "UPDATE 銷售明細表 SET 備註 = N'" & PA10 & "', 成本 = N'" & NU1 & "', 售價 = N'" & NU2 & "', 含稅 = N'" & BL5 & "',倉儲狀態 = N'" & PA9 & "', 
184
-                                      物料狀態 = N'" & PA8 & "', 訂製狀態 = N'" & PA7 & "', 不含管銷 = N'" & BL5 & "' 
184
+                                      物料狀態 = N'" & PA8 & "', 訂製狀態 = N'" & PA7 & "', 不含管銷 = N'" & BL6 & "' 
185
                 WHERE (資料流水號 LIKE N'" & PA11 & "')"
185
                 WHERE (資料流水號 LIKE N'" & PA11 & "')"
186
         CmdSet_For_dr()
186
         CmdSet_For_dr()
187
     End Sub
187
     End Sub
485
     End Sub
485
     End Sub
486
     Friend Sub SQL_採購控制表_過帳()
486
     Friend Sub SQL_採購控制表_過帳()
487
         ConnOpen()
487
         ConnOpen()
488
-        SQL1 = "UPDATE 採購控制表 SET 已過帳 = '" & PA2 & "', 過帳日期 = N'" & PA1 & "' WHERE 資料流水號 LIKE '" & PA & "%'"
488
+        SQL1 = "UPDATE 採購控制表 SET 已過帳 = '" & PA2 & "', 過帳日期 = N'" & PA1 & "' WHERE 資料流水號 LIKE '" & PA & "'"
489
         CmdSet_For_dr()
489
         CmdSet_For_dr()
490
     End Sub
490
     End Sub
491
     Friend Sub SQL_帳號讀取()
491
     Friend Sub SQL_帳號讀取()

+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb View File

4
     Public 版本號 As String : Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public FTP物理位置 As String
4
     Public 版本號 As String : Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public FTP物理位置 As String
5
     Public AA(99) As String : Public BB(99) As Boolean : Public CC(99) As Boolean : Public 登入判斷 As Boolean : Public 業務號碼 As String
5
     Public AA(99) As String : Public BB(99) As Boolean : Public CC(99) As Boolean : Public 登入判斷 As Boolean : Public 業務號碼 As String
6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7
-    Public 版本 As String = "2021050601"
7
+    Public 版本 As String = "2021051302"
8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9
     Public 列印用SQL As String = "" : Public 列印用SQL2 As String : Public 公司編號 As String : Public 公司電話 As String : Public 公司統編 As String : Public 公司地址 As String
9
     Public 列印用SQL As String = "" : Public 列印用SQL2 As String : Public 公司編號 As String : Public 公司電話 As String : Public 公司統編 As String : Public 公司地址 As String
10
     Public 關鍵字編號 As String
10
     Public 關鍵字編號 As String

+ 55
- 28
YD-ERP-SYS/YD-ERP-SYS.Designer.vb View File

44
         Me.訂單控制表_tsm = New System.Windows.Forms.ToolStripMenuItem()
44
         Me.訂單控制表_tsm = New System.Windows.Forms.ToolStripMenuItem()
45
         Me.銷售分析表_tsm = New System.Windows.Forms.ToolStripMenuItem()
45
         Me.銷售分析表_tsm = New System.Windows.Forms.ToolStripMenuItem()
46
         Me.貨款試算表_tsm = New System.Windows.Forms.ToolStripMenuItem()
46
         Me.貨款試算表_tsm = New System.Windows.Forms.ToolStripMenuItem()
47
+        Me.ToolStripSeparator16 = New System.Windows.Forms.ToolStripSeparator()
48
+        Me.應收帳款未收_tsm = New System.Windows.Forms.ToolStripMenuItem()
49
+        Me.應收帳款已收_tsm = New System.Windows.Forms.ToolStripMenuItem()
47
         Me.ToolStripSeparator9 = New System.Windows.Forms.ToolStripSeparator()
50
         Me.ToolStripSeparator9 = New System.Windows.Forms.ToolStripSeparator()
48
-        Me.銷售單申請_tsm = New System.Windows.Forms.ToolStripMenuItem()
49
         Me.銷售單審核_tsm = New System.Windows.Forms.ToolStripMenuItem()
51
         Me.銷售單審核_tsm = New System.Windows.Forms.ToolStripMenuItem()
52
+        Me.銷售單申請_tsm = New System.Windows.Forms.ToolStripMenuItem()
50
         Me.ToolStripSeparator8 = New System.Windows.Forms.ToolStripSeparator()
53
         Me.ToolStripSeparator8 = New System.Windows.Forms.ToolStripSeparator()
51
         Me.客戶資料表_tsm = New System.Windows.Forms.ToolStripMenuItem()
54
         Me.客戶資料表_tsm = New System.Windows.Forms.ToolStripMenuItem()
52
         Me.採購系統管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
55
         Me.採購系統管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
215
         '
218
         '
216
         '業務系統管理_tsm
219
         '業務系統管理_tsm
217
         '
220
         '
218
-        Me.業務系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.訂單控制表_tsm, Me.銷售分析表_tsm, Me.貨款試算表_tsm, Me.ToolStripSeparator9, Me.銷售單申請_tsm, Me.銷售單審核_tsm, Me.ToolStripSeparator8, Me.客戶資料表_tsm})
221
+        Me.業務系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.訂單控制表_tsm, Me.銷售分析表_tsm, Me.貨款試算表_tsm, Me.ToolStripSeparator16, Me.銷售單申請_tsm, Me.銷售單審核_tsm, Me.ToolStripSeparator9, Me.應收帳款未收_tsm, Me.應收帳款已收_tsm, Me.ToolStripSeparator8, Me.客戶資料表_tsm})
219
         Me.業務系統管理_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
222
         Me.業務系統管理_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
220
         Me.業務系統管理_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
223
         Me.業務系統管理_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
221
         Me.業務系統管理_tsm.Name = "業務系統管理_tsm"
224
         Me.業務系統管理_tsm.Name = "業務系統管理_tsm"
227
         Me.訂單控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
230
         Me.訂單控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
228
         Me.訂單控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
231
         Me.訂單控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
229
         Me.訂單控制表_tsm.Name = "訂單控制表_tsm"
232
         Me.訂單控制表_tsm.Name = "訂單控制表_tsm"
230
-        Me.訂單控制表_tsm.Size = New System.Drawing.Size(134, 22)
233
+        Me.訂單控制表_tsm.Size = New System.Drawing.Size(180, 22)
231
         Me.訂單控制表_tsm.Text = "訂單控制表"
234
         Me.訂單控制表_tsm.Text = "訂單控制表"
232
         '
235
         '
233
         '銷售分析表_tsm
236
         '銷售分析表_tsm
235
         Me.銷售分析表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
238
         Me.銷售分析表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
236
         Me.銷售分析表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
239
         Me.銷售分析表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
237
         Me.銷售分析表_tsm.Name = "銷售分析表_tsm"
240
         Me.銷售分析表_tsm.Name = "銷售分析表_tsm"
238
-        Me.銷售分析表_tsm.Size = New System.Drawing.Size(134, 22)
241
+        Me.銷售分析表_tsm.Size = New System.Drawing.Size(180, 22)
239
         Me.銷售分析表_tsm.Text = "銷售分析表"
242
         Me.銷售分析表_tsm.Text = "銷售分析表"
240
         '
243
         '
241
         '貨款試算表_tsm
244
         '貨款試算表_tsm
243
         Me.貨款試算表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
246
         Me.貨款試算表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
244
         Me.貨款試算表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
247
         Me.貨款試算表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
245
         Me.貨款試算表_tsm.Name = "貨款試算表_tsm"
248
         Me.貨款試算表_tsm.Name = "貨款試算表_tsm"
246
-        Me.貨款試算表_tsm.Size = New System.Drawing.Size(134, 22)
249
+        Me.貨款試算表_tsm.Size = New System.Drawing.Size(180, 22)
247
         Me.貨款試算表_tsm.Text = "貨款試算表"
250
         Me.貨款試算表_tsm.Text = "貨款試算表"
248
         '
251
         '
249
-        'ToolStripSeparator9
252
+        'ToolStripSeparator16
250
         '
253
         '
251
-        Me.ToolStripSeparator9.Name = "ToolStripSeparator9"
252
-        Me.ToolStripSeparator9.Size = New System.Drawing.Size(131, 6)
254
+        Me.ToolStripSeparator16.Name = "ToolStripSeparator16"
255
+        Me.ToolStripSeparator16.Size = New System.Drawing.Size(177, 6)
253
         '
256
         '
254
-        '銷售單申請_tsm
257
+        '應收帳款未收_tsm
255
         '
258
         '
256
-        Me.銷售單申請_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
257
-        Me.銷售單申請_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
258
-        Me.銷售單申請_tsm.Name = "銷售單申請_tsm"
259
-        Me.銷售單申請_tsm.Size = New System.Drawing.Size(134, 22)
260
-        Me.銷售單申請_tsm.Text = "銷售單申請"
259
+        Me.應收帳款未收_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
260
+        Me.應收帳款未收_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
261
+        Me.應收帳款未收_tsm.Name = "應收帳款未收_tsm"
262
+        Me.應收帳款未收_tsm.Size = New System.Drawing.Size(180, 22)
263
+        Me.應收帳款未收_tsm.Text = "應收帳款未收"
264
+        '
265
+        '應收帳款已收_tsm
266
+        '
267
+        Me.應收帳款已收_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
268
+        Me.應收帳款已收_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
269
+        Me.應收帳款已收_tsm.Name = "應收帳款已收_tsm"
270
+        Me.應收帳款已收_tsm.Size = New System.Drawing.Size(180, 22)
271
+        Me.應收帳款已收_tsm.Text = "應收帳款已收"
272
+        '
273
+        'ToolStripSeparator9
274
+        '
275
+        Me.ToolStripSeparator9.Name = "ToolStripSeparator9"
276
+        Me.ToolStripSeparator9.Size = New System.Drawing.Size(177, 6)
261
         '
277
         '
262
         '銷售單審核_tsm
278
         '銷售單審核_tsm
263
         '
279
         '
264
         Me.銷售單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
280
         Me.銷售單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
265
         Me.銷售單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
281
         Me.銷售單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
266
         Me.銷售單審核_tsm.Name = "銷售單審核_tsm"
282
         Me.銷售單審核_tsm.Name = "銷售單審核_tsm"
267
-        Me.銷售單審核_tsm.Size = New System.Drawing.Size(134, 22)
283
+        Me.銷售單審核_tsm.Size = New System.Drawing.Size(180, 22)
268
         Me.銷售單審核_tsm.Text = "銷售單審核"
284
         Me.銷售單審核_tsm.Text = "銷售單審核"
269
         '
285
         '
286
+        '銷售單申請_tsm
287
+        '
288
+        Me.銷售單申請_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
289
+        Me.銷售單申請_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
290
+        Me.銷售單申請_tsm.Name = "銷售單申請_tsm"
291
+        Me.銷售單申請_tsm.Size = New System.Drawing.Size(180, 22)
292
+        Me.銷售單申請_tsm.Text = "銷售單申請"
293
+        '
270
         'ToolStripSeparator8
294
         'ToolStripSeparator8
271
         '
295
         '
272
         Me.ToolStripSeparator8.Name = "ToolStripSeparator8"
296
         Me.ToolStripSeparator8.Name = "ToolStripSeparator8"
273
-        Me.ToolStripSeparator8.Size = New System.Drawing.Size(131, 6)
297
+        Me.ToolStripSeparator8.Size = New System.Drawing.Size(177, 6)
274
         '
298
         '
275
         '客戶資料表_tsm
299
         '客戶資料表_tsm
276
         '
300
         '
277
         Me.客戶資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
301
         Me.客戶資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
278
         Me.客戶資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
302
         Me.客戶資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
279
         Me.客戶資料表_tsm.Name = "客戶資料表_tsm"
303
         Me.客戶資料表_tsm.Name = "客戶資料表_tsm"
280
-        Me.客戶資料表_tsm.Size = New System.Drawing.Size(134, 22)
304
+        Me.客戶資料表_tsm.Size = New System.Drawing.Size(180, 22)
281
         Me.客戶資料表_tsm.Text = "客戶資料表"
305
         Me.客戶資料表_tsm.Text = "客戶資料表"
282
         '
306
         '
283
         '採購系統管理_tsm
307
         '採購系統管理_tsm
294
         Me.採購控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
318
         Me.採購控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
295
         Me.採購控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
319
         Me.採購控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
296
         Me.採購控制表_tsm.Name = "採購控制表_tsm"
320
         Me.採購控制表_tsm.Name = "採購控制表_tsm"
297
-        Me.採購控制表_tsm.Size = New System.Drawing.Size(180, 22)
321
+        Me.採購控制表_tsm.Size = New System.Drawing.Size(170, 22)
298
         Me.採購控制表_tsm.Text = "採購對帳單"
322
         Me.採購控制表_tsm.Text = "採購對帳單"
299
         '
323
         '
300
         '採購對帳單_tsm
324
         '採購對帳單_tsm
302
         Me.採購對帳單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
326
         Me.採購對帳單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
303
         Me.採購對帳單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
327
         Me.採購對帳單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
304
         Me.採購對帳單_tsm.Name = "採購對帳單_tsm"
328
         Me.採購對帳單_tsm.Name = "採購對帳單_tsm"
305
-        Me.採購對帳單_tsm.Size = New System.Drawing.Size(180, 22)
329
+        Me.採購對帳單_tsm.Size = New System.Drawing.Size(170, 22)
306
         Me.採購對帳單_tsm.Text = "採購應付帳款"
330
         Me.採購對帳單_tsm.Text = "採購應付帳款"
307
         '
331
         '
308
         'ToolStripSeparator3
332
         'ToolStripSeparator3
309
         '
333
         '
310
         Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
334
         Me.ToolStripSeparator3.Name = "ToolStripSeparator3"
311
-        Me.ToolStripSeparator3.Size = New System.Drawing.Size(177, 6)
335
+        Me.ToolStripSeparator3.Size = New System.Drawing.Size(167, 6)
312
         '
336
         '
313
         '一般性申請採購單_tsm
337
         '一般性申請採購單_tsm
314
         '
338
         '
315
         Me.一般性申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
339
         Me.一般性申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
316
         Me.一般性申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
340
         Me.一般性申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
317
         Me.一般性申請採購單_tsm.Name = "一般性申請採購單_tsm"
341
         Me.一般性申請採購單_tsm.Name = "一般性申請採購單_tsm"
318
-        Me.一般性申請採購單_tsm.Size = New System.Drawing.Size(180, 22)
342
+        Me.一般性申請採購單_tsm.Size = New System.Drawing.Size(170, 22)
319
         Me.一般性申請採購單_tsm.Text = "一般性申請採購單"
343
         Me.一般性申請採購單_tsm.Text = "一般性申請採購單"
320
         '
344
         '
321
         '依銷售申請採購單_tsm
345
         '依銷售申請採購單_tsm
323
         Me.依銷售申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
347
         Me.依銷售申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
324
         Me.依銷售申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
348
         Me.依銷售申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
325
         Me.依銷售申請採購單_tsm.Name = "依銷售申請採購單_tsm"
349
         Me.依銷售申請採購單_tsm.Name = "依銷售申請採購單_tsm"
326
-        Me.依銷售申請採購單_tsm.Size = New System.Drawing.Size(180, 22)
350
+        Me.依銷售申請採購單_tsm.Size = New System.Drawing.Size(170, 22)
327
         Me.依銷售申請採購單_tsm.Text = "依銷售申請採購單"
351
         Me.依銷售申請採購單_tsm.Text = "依銷售申請採購單"
328
         '
352
         '
329
         '採購單審核_tsm
353
         '採購單審核_tsm
331
         Me.採購單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
355
         Me.採購單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
332
         Me.採購單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
356
         Me.採購單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
333
         Me.採購單審核_tsm.Name = "採購單審核_tsm"
357
         Me.採購單審核_tsm.Name = "採購單審核_tsm"
334
-        Me.採購單審核_tsm.Size = New System.Drawing.Size(180, 22)
358
+        Me.採購單審核_tsm.Size = New System.Drawing.Size(170, 22)
335
         Me.採購單審核_tsm.Text = "採購單審核"
359
         Me.採購單審核_tsm.Text = "採購單審核"
336
         '
360
         '
337
         'ToolStripSeparator7
361
         'ToolStripSeparator7
338
         '
362
         '
339
         Me.ToolStripSeparator7.Name = "ToolStripSeparator7"
363
         Me.ToolStripSeparator7.Name = "ToolStripSeparator7"
340
-        Me.ToolStripSeparator7.Size = New System.Drawing.Size(177, 6)
364
+        Me.ToolStripSeparator7.Size = New System.Drawing.Size(167, 6)
341
         '
365
         '
342
         '採購退貨申請_tsm
366
         '採購退貨申請_tsm
343
         '
367
         '
344
         Me.採購退貨申請_tsm.ForeColor = System.Drawing.Color.Black
368
         Me.採購退貨申請_tsm.ForeColor = System.Drawing.Color.Black
345
         Me.採購退貨申請_tsm.Name = "採購退貨申請_tsm"
369
         Me.採購退貨申請_tsm.Name = "採購退貨申請_tsm"
346
-        Me.採購退貨申請_tsm.Size = New System.Drawing.Size(180, 22)
370
+        Me.採購退貨申請_tsm.Size = New System.Drawing.Size(170, 22)
347
         Me.採購退貨申請_tsm.Text = "採購退貨申請"
371
         Me.採購退貨申請_tsm.Text = "採購退貨申請"
348
         Me.採購退貨申請_tsm.Visible = False
372
         Me.採購退貨申請_tsm.Visible = False
349
         '
373
         '
351
         '
375
         '
352
         Me.採購退貨審核_tsm.ForeColor = System.Drawing.Color.Black
376
         Me.採購退貨審核_tsm.ForeColor = System.Drawing.Color.Black
353
         Me.採購退貨審核_tsm.Name = "採購退貨審核_tsm"
377
         Me.採購退貨審核_tsm.Name = "採購退貨審核_tsm"
354
-        Me.採購退貨審核_tsm.Size = New System.Drawing.Size(180, 22)
378
+        Me.採購退貨審核_tsm.Size = New System.Drawing.Size(170, 22)
355
         Me.採購退貨審核_tsm.Text = "採購退貨審核"
379
         Me.採購退貨審核_tsm.Text = "採購退貨審核"
356
         Me.採購退貨審核_tsm.Visible = False
380
         Me.採購退貨審核_tsm.Visible = False
357
         '
381
         '
358
         'ToolStripSeparator1
382
         'ToolStripSeparator1
359
         '
383
         '
360
         Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
384
         Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
361
-        Me.ToolStripSeparator1.Size = New System.Drawing.Size(177, 6)
385
+        Me.ToolStripSeparator1.Size = New System.Drawing.Size(167, 6)
362
         Me.ToolStripSeparator1.Visible = False
386
         Me.ToolStripSeparator1.Visible = False
363
         '
387
         '
364
         '供應商資料表_tsm
388
         '供應商資料表_tsm
366
         Me.供應商資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
390
         Me.供應商資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
367
         Me.供應商資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
391
         Me.供應商資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
368
         Me.供應商資料表_tsm.Name = "供應商資料表_tsm"
392
         Me.供應商資料表_tsm.Name = "供應商資料表_tsm"
369
-        Me.供應商資料表_tsm.Size = New System.Drawing.Size(180, 22)
393
+        Me.供應商資料表_tsm.Size = New System.Drawing.Size(170, 22)
370
         Me.供應商資料表_tsm.Text = "供應商資料表"
394
         Me.供應商資料表_tsm.Text = "供應商資料表"
371
         '
395
         '
372
         '倉儲系統管理_tsm
396
         '倉儲系統管理_tsm
756
     Friend WithEvents ToolStripSeparator14 As ToolStripSeparator
780
     Friend WithEvents ToolStripSeparator14 As ToolStripSeparator
757
     Friend WithEvents 薪資轉帳表_tsm As ToolStripMenuItem
781
     Friend WithEvents 薪資轉帳表_tsm As ToolStripMenuItem
758
     Friend WithEvents ToolStripSeparator15 As ToolStripSeparator
782
     Friend WithEvents ToolStripSeparator15 As ToolStripSeparator
783
+    Friend WithEvents ToolStripSeparator16 As ToolStripSeparator
784
+    Friend WithEvents 應收帳款未收_tsm As ToolStripMenuItem
785
+    Friend WithEvents 應收帳款已收_tsm As ToolStripMenuItem
759
 End Class
786
 End Class

+ 8
- 0
YD-ERP-SYS/YD-ERP-SYS.vb View File

185
     Private Sub 薪資轉帳表ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 薪資轉帳表_tsm.Click
185
     Private Sub 薪資轉帳表ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 薪資轉帳表_tsm.Click
186
         PA = "" : 薪資轉帳表.Show() : 薪資轉帳表.BringToFront()
186
         PA = "" : 薪資轉帳表.Show() : 薪資轉帳表.BringToFront()
187
     End Sub
187
     End Sub
188
+
189
+    Private Sub 應收帳款未收ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 應收帳款未收_tsm.Click
190
+        PA = "" : 應收帳款未收.Show() : 應收帳款未收.BringToFront()
191
+    End Sub
192
+
193
+    Private Sub 應收帳款已收_tsm_Click(sender As Object, e As EventArgs) Handles 應收帳款已收_tsm.Click
194
+        PA = "" : 應收帳款已收.Show() : 應收帳款已收.BringToFront()
195
+    End Sub
188
 End Class
196
 End Class

+ 18
- 0
YD-ERP-SYS/YD-ERP-SYS.vbproj View File

203
     <Compile Include="採購系統管理\依銷售申請採購單.vb">
203
     <Compile Include="採購系統管理\依銷售申請採購單.vb">
204
       <SubType>Form</SubType>
204
       <SubType>Form</SubType>
205
     </Compile>
205
     </Compile>
206
+    <Compile Include="採購系統管理\應收帳款已收.Designer.vb">
207
+      <DependentUpon>應收帳款已收.vb</DependentUpon>
208
+    </Compile>
209
+    <Compile Include="採購系統管理\應收帳款已收.vb">
210
+      <SubType>Form</SubType>
211
+    </Compile>
212
+    <Compile Include="採購系統管理\應收帳款未收.Designer.vb">
213
+      <DependentUpon>應收帳款未收.vb</DependentUpon>
214
+    </Compile>
215
+    <Compile Include="採購系統管理\應收帳款未收.vb">
216
+      <SubType>Form</SubType>
217
+    </Compile>
206
     <Compile Include="採購系統管理\採購單審核.Designer.vb">
218
     <Compile Include="採購系統管理\採購單審核.Designer.vb">
207
       <DependentUpon>採購單審核.vb</DependentUpon>
219
       <DependentUpon>採購單審核.vb</DependentUpon>
208
     </Compile>
220
     </Compile>
448
     <EmbeddedResource Include="採購系統管理\依銷售申請採購單.resx">
460
     <EmbeddedResource Include="採購系統管理\依銷售申請採購單.resx">
449
       <DependentUpon>依銷售申請採購單.vb</DependentUpon>
461
       <DependentUpon>依銷售申請採購單.vb</DependentUpon>
450
     </EmbeddedResource>
462
     </EmbeddedResource>
463
+    <EmbeddedResource Include="採購系統管理\應收帳款已收.resx">
464
+      <DependentUpon>應收帳款已收.vb</DependentUpon>
465
+    </EmbeddedResource>
466
+    <EmbeddedResource Include="採購系統管理\應收帳款未收.resx">
467
+      <DependentUpon>應收帳款未收.vb</DependentUpon>
468
+    </EmbeddedResource>
451
     <EmbeddedResource Include="採購系統管理\採購單審核.resx">
469
     <EmbeddedResource Include="採購系統管理\採購單審核.resx">
452
       <DependentUpon>採購單審核.vb</DependentUpon>
470
       <DependentUpon>採購單審核.vb</DependentUpon>
453
     </EmbeddedResource>
471
     </EmbeddedResource>

BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe View File


BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb View File


BIN
YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache View File


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe View File


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb View File


+ 1
- 1
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache View File

1
-134da36bc1a476ecd17ffb6779b8ecef1e31298c
1
+60a1219e988220db087d64bf23fc6d950054aa15

+ 120
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt View File

211
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe
211
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe
212
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.xml
212
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.xml
213
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.pdb
213
 C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.pdb
214
+D:\yd-erp-sys-team\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款已收.resources
215
+D:\yd-erp-sys-team\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款未收.resources
216
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe.config
217
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe
218
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.pdb
219
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.xml
220
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\PInvoke.Windows.Core.xml
221
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbprojAssemblyReference.cache
222
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人事資料表.resources
223
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人員ID卡系統配置設定.resources
224
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲入庫.resources
225
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲出庫.resources
226
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲分區控制表.resources
227
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲控制表.resources
228
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.單據狀態查詢.resources
229
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損控制表.resources
230
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損申請.resources
231
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損審核_倉儲調整.resources
232
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.一般性申請採購單.resources
233
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.依銷售申請採購單.resources
234
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款已收.resources
235
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款未收.resources
236
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購單審核.resources
237
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購應負帳款.resources
238
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購對帳單.resources
239
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購訂製大圖.resources
240
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.客戶資料表.resources
241
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.供應商資料表.resources
242
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.物料檔案.resources
243
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.訂單控制表.resources
244
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.貨款試算表.resources
245
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售分析表.resources
246
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單審核.resources
247
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單申請.resources
248
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯入EXCEL.resources
249
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯出EXCEL.resources
250
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯率管理.resources
251
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.會計科目管理.resources
252
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運報表.resources
253
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單_對帳表.resources
254
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單一覽表.resources
255
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單審核.resources
256
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單申請.resources
257
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.薪資轉帳表.resources
258
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.FTP資料夾管理.resources
259
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.LoginForm1.resources
260
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.Resources.resources
261
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.YD_ERP_SYS.resources
262
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.個人帳號管理.resources
263
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.簽名檔管理.resources
264
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統使用者管理.resources
265
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統執行檔版本管理.resources
266
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統編碼規則.resources
267
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.網段.resources
268
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.GenerateResource.cache
269
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CoreCompileInputs.cache
270
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CopyComplete
271
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe
272
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.xml
273
+C:\Users\陳億\Desktop\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.pdb
274
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe.config
275
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe
276
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.pdb
277
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.xml
278
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\bin\Debug\PInvoke.Windows.Core.xml
279
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbprojAssemblyReference.cache
280
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人事資料表.resources
281
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人員ID卡系統配置設定.resources
282
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲入庫.resources
283
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲出庫.resources
284
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲分區控制表.resources
285
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲控制表.resources
286
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.單據狀態查詢.resources
287
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損控制表.resources
288
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損申請.resources
289
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損審核_倉儲調整.resources
290
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.一般性申請採購單.resources
291
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.依銷售申請採購單.resources
292
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款已收.resources
293
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款未收.resources
294
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購單審核.resources
295
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購應負帳款.resources
296
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購對帳單.resources
297
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購訂製大圖.resources
298
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.客戶資料表.resources
299
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.供應商資料表.resources
300
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.物料檔案.resources
301
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.訂單控制表.resources
302
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.貨款試算表.resources
303
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售分析表.resources
304
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單審核.resources
305
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單申請.resources
306
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯入EXCEL.resources
307
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯出EXCEL.resources
308
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯率管理.resources
309
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.會計科目管理.resources
310
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運報表.resources
311
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單_對帳表.resources
312
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單一覽表.resources
313
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單審核.resources
314
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單申請.resources
315
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.薪資轉帳表.resources
316
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.FTP資料夾管理.resources
317
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.LoginForm1.resources
318
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.Resources.resources
319
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.YD_ERP_SYS.resources
320
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.個人帳號管理.resources
321
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.簽名檔管理.resources
322
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統使用者管理.resources
323
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統執行檔版本管理.resources
324
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統編碼規則.resources
325
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.網段.resources
326
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.GenerateResource.cache
327
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CoreCompileInputs.cache
328
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CopyComplete
329
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe
330
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.xml
331
+C:\Users\user\OneDrive\桌面\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.pdb
332
+C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款已收.resources
333
+C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款未收.resources

BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache View File


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache View File


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款已收.resources View File


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款未收.resources View File


+ 19
- 21
YD-ERP-SYS/倉儲系統管理/物料檔案.Designer.vb View File

23
     <System.Diagnostics.DebuggerStepThrough()>
23
     <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
         Me.物料清單_dgv = New System.Windows.Forms.DataGridView()
27
         Me.物料清單_dgv = New System.Windows.Forms.DataGridView()
28
         Me.Label3 = New System.Windows.Forms.Label()
28
         Me.Label3 = New System.Windows.Forms.Label()
29
         Me.資料筆數_tb = New System.Windows.Forms.TextBox()
29
         Me.資料筆數_tb = New System.Windows.Forms.TextBox()
99
         Me.物料清單_dgv.Location = New System.Drawing.Point(12, 83)
99
         Me.物料清單_dgv.Location = New System.Drawing.Point(12, 83)
100
         Me.物料清單_dgv.Name = "物料清單_dgv"
100
         Me.物料清單_dgv.Name = "物料清單_dgv"
101
         Me.物料清單_dgv.RowHeadersWidth = 5
101
         Me.物料清單_dgv.RowHeadersWidth = 5
102
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
103
-        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
102
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
103
+        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
104
         Me.物料清單_dgv.RowTemplate.Height = 24
104
         Me.物料清單_dgv.RowTemplate.Height = 24
105
         Me.物料清單_dgv.Size = New System.Drawing.Size(570, 572)
105
         Me.物料清單_dgv.Size = New System.Drawing.Size(570, 572)
106
         Me.物料清單_dgv.TabIndex = 668
106
         Me.物料清單_dgv.TabIndex = 668
320
         Me.狀態_lb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
320
         Me.狀態_lb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
321
         Me.狀態_lb.ForeColor = System.Drawing.Color.Red
321
         Me.狀態_lb.ForeColor = System.Drawing.Color.Red
322
         Me.狀態_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
322
         Me.狀態_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
323
-        Me.狀態_lb.Location = New System.Drawing.Point(953, 65)
323
+        Me.狀態_lb.Location = New System.Drawing.Point(1029, 65)
324
         Me.狀態_lb.Name = "狀態_lb"
324
         Me.狀態_lb.Name = "狀態_lb"
325
         Me.狀態_lb.Size = New System.Drawing.Size(56, 16)
325
         Me.狀態_lb.Size = New System.Drawing.Size(56, 16)
326
         Me.狀態_lb.TabIndex = 1102
326
         Me.狀態_lb.TabIndex = 1102
402
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
402
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
403
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
403
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
404
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
404
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
405
-        Me.下載圖檔_bt.Location = New System.Drawing.Point(1206, 4)
405
+        Me.下載圖檔_bt.Location = New System.Drawing.Point(1282, 4)
406
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
406
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
407
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 51)
407
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 51)
408
         Me.下載圖檔_bt.TabIndex = 1123
408
         Me.下載圖檔_bt.TabIndex = 1123
414
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
414
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
415
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
415
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
416
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
416
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
417
-        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1111, 4)
417
+        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1187, 4)
418
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
418
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
419
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(94, 51)
419
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(94, 51)
420
         Me.圖檔入系統_bt.TabIndex = 1121
420
         Me.圖檔入系統_bt.TabIndex = 1121
426
         Me.檔案名稱_tb.AllowDrop = True
426
         Me.檔案名稱_tb.AllowDrop = True
427
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
427
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
428
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
428
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
429
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(1069, 439)
429
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(1145, 439)
430
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
430
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
431
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
431
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
432
         Me.檔案名稱_tb.TabIndex = 1119
432
         Me.檔案名稱_tb.TabIndex = 1119
436
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
436
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
437
         Me.Label12.AutoSize = True
437
         Me.Label12.AutoSize = True
438
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
438
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
439
-        Me.Label12.Location = New System.Drawing.Point(1017, 465)
439
+        Me.Label12.Location = New System.Drawing.Point(1093, 465)
440
         Me.Label12.Name = "Label12"
440
         Me.Label12.Name = "Label12"
441
         Me.Label12.Size = New System.Drawing.Size(108, 17)
441
         Me.Label12.Size = New System.Drawing.Size(108, 17)
442
         Me.Label12.TabIndex = 1117
442
         Me.Label12.TabIndex = 1117
447
         Me.Label13.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
447
         Me.Label13.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
448
         Me.Label13.AutoSize = True
448
         Me.Label13.AutoSize = True
449
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
449
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
450
-        Me.Label13.Location = New System.Drawing.Point(1020, 56)
450
+        Me.Label13.Location = New System.Drawing.Point(1096, 56)
451
         Me.Label13.Name = "Label13"
451
         Me.Label13.Name = "Label13"
452
         Me.Label13.Size = New System.Drawing.Size(56, 16)
452
         Me.Label13.Size = New System.Drawing.Size(56, 16)
453
         Me.Label13.TabIndex = 1116
453
         Me.Label13.TabIndex = 1116
458
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
458
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
459
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
459
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
460
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
460
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
461
-        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1015, 4)
461
+        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1091, 4)
462
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
462
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
463
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(94, 51)
463
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(94, 51)
464
         Me.讀取資料夾路徑_bt.TabIndex = 1115
464
         Me.讀取資料夾路徑_bt.TabIndex = 1115
469
         '
469
         '
470
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
470
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
471
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
471
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
472
-        Me.本機資料夾_wb.Location = New System.Drawing.Point(1015, 112)
472
+        Me.本機資料夾_wb.Location = New System.Drawing.Point(1091, 112)
473
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
473
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
474
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
474
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
475
         Me.本機資料夾_wb.Size = New System.Drawing.Size(285, 321)
475
         Me.本機資料夾_wb.Size = New System.Drawing.Size(285, 321)
479
         'FTP資料夾_wb
479
         'FTP資料夾_wb
480
         '
480
         '
481
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
481
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
482
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1015, 485)
482
+        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1091, 485)
483
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
483
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
484
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
484
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
485
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(285, 198)
485
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(285, 198)
491
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
491
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
492
         Me.Label11.AutoSize = True
492
         Me.Label11.AutoSize = True
493
         Me.Label11.ForeColor = System.Drawing.Color.Red
493
         Me.Label11.ForeColor = System.Drawing.Color.Red
494
-        Me.Label11.Location = New System.Drawing.Point(1018, 79)
494
+        Me.Label11.Location = New System.Drawing.Point(1094, 79)
495
         Me.Label11.Name = "Label11"
495
         Me.Label11.Name = "Label11"
496
         Me.Label11.Size = New System.Drawing.Size(244, 32)
496
         Me.Label11.Size = New System.Drawing.Size(244, 32)
497
         Me.Label11.TabIndex = 1118
497
         Me.Label11.TabIndex = 1118
501
         '
501
         '
502
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
502
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
503
         Me.Label10.AutoSize = True
503
         Me.Label10.AutoSize = True
504
-        Me.Label10.Location = New System.Drawing.Point(1015, 442)
504
+        Me.Label10.Location = New System.Drawing.Point(1091, 442)
505
         Me.Label10.Name = "Label10"
505
         Me.Label10.Name = "Label10"
506
         Me.Label10.Size = New System.Drawing.Size(56, 16)
506
         Me.Label10.Size = New System.Drawing.Size(56, 16)
507
         Me.Label10.TabIndex = 1120
507
         Me.Label10.TabIndex = 1120
596
         Me.物料圖_pb.Location = New System.Drawing.Point(588, 84)
596
         Me.物料圖_pb.Location = New System.Drawing.Point(588, 84)
597
         Me.物料圖_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
597
         Me.物料圖_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
598
         Me.物料圖_pb.Name = "物料圖_pb"
598
         Me.物料圖_pb.Name = "物料圖_pb"
599
-        Me.物料圖_pb.Size = New System.Drawing.Size(421, 599)
599
+        Me.物料圖_pb.Size = New System.Drawing.Size(497, 599)
600
         Me.物料圖_pb.TabIndex = 1112
600
         Me.物料圖_pb.TabIndex = 1112
601
         Me.物料圖_pb.TabStop = False
601
         Me.物料圖_pb.TabStop = False
602
         '
602
         '
623
         Me.列印_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
623
         Me.列印_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
624
         Me.列印_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
624
         Me.列印_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
625
         Me.列印_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
625
         Me.列印_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
626
-        Me.列印_bt.Location = New System.Drawing.Point(945, 4)
626
+        Me.列印_bt.Location = New System.Drawing.Point(1021, 4)
627
         Me.列印_bt.Name = "列印_bt"
627
         Me.列印_bt.Name = "列印_bt"
628
         Me.列印_bt.Size = New System.Drawing.Size(64, 51)
628
         Me.列印_bt.Size = New System.Drawing.Size(64, 51)
629
         Me.列印_bt.TabIndex = 1133
629
         Me.列印_bt.TabIndex = 1133
632
         '
632
         '
633
         '字體大小調整_lb
633
         '字體大小調整_lb
634
         '
634
         '
635
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
636
         Me.字體大小調整_lb.AutoSize = True
635
         Me.字體大小調整_lb.AutoSize = True
637
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
636
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
638
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
637
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
639
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
638
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
640
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1185, 59)
639
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(879, 58)
641
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
640
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
642
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
641
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
643
         Me.字體大小調整_lb.TabIndex = 1485
642
         Me.字體大小調整_lb.TabIndex = 1485
645
         '
644
         '
646
         '字體_NUD
645
         '字體_NUD
647
         '
646
         '
648
-        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
649
-        Me.字體_NUD.Location = New System.Drawing.Point(1247, 56)
647
+        Me.字體_NUD.Location = New System.Drawing.Point(941, 55)
650
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
648
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
651
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
649
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
652
         Me.字體_NUD.Name = "字體_NUD"
650
         Me.字體_NUD.Name = "字體_NUD"
658
         '
656
         '
659
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
657
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
660
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
658
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
661
-        Me.ClientSize = New System.Drawing.Size(1312, 691)
659
+        Me.ClientSize = New System.Drawing.Size(1388, 691)
662
         Me.ContextMenuStrip = Me.ContextMenuStrip1
660
         Me.ContextMenuStrip = Me.ContextMenuStrip1
663
         Me.Controls.Add(Me.字體大小調整_lb)
661
         Me.Controls.Add(Me.字體大小調整_lb)
664
         Me.Controls.Add(Me.字體_NUD)
662
         Me.Controls.Add(Me.字體_NUD)

+ 14
- 11
YD-ERP-SYS/倉儲系統管理/盤盈盤損控制表.Designer.vb View File

147
         DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
147
         DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
148
         Me.調庫明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
148
         Me.調庫明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
149
         Me.調庫明細_dgv.RowTemplate.Height = 24
149
         Me.調庫明細_dgv.RowTemplate.Height = 24
150
-        Me.調庫明細_dgv.Size = New System.Drawing.Size(735, 631)
150
+        Me.調庫明細_dgv.Size = New System.Drawing.Size(858, 631)
151
         Me.調庫明細_dgv.TabIndex = 1203
151
         Me.調庫明細_dgv.TabIndex = 1203
152
         '
152
         '
153
         'Label9
153
         'Label9
154
         '
154
         '
155
+        Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
155
         Me.Label9.AutoSize = True
156
         Me.Label9.AutoSize = True
156
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
157
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
157
-        Me.Label9.Location = New System.Drawing.Point(1294, 12)
158
+        Me.Label9.Location = New System.Drawing.Point(1417, 12)
158
         Me.Label9.Name = "Label9"
159
         Me.Label9.Name = "Label9"
159
         Me.Label9.Size = New System.Drawing.Size(44, 16)
160
         Me.Label9.Size = New System.Drawing.Size(44, 16)
160
         Me.Label9.TabIndex = 1207
161
         Me.Label9.TabIndex = 1207
162
         '
163
         '
163
         '資料筆數1_tb
164
         '資料筆數1_tb
164
         '
165
         '
165
-        Me.資料筆數1_tb.Location = New System.Drawing.Point(1252, 9)
166
+        Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
167
+        Me.資料筆數1_tb.Location = New System.Drawing.Point(1375, 9)
166
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
168
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
167
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
169
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
168
         Me.資料筆數1_tb.TabIndex = 1206
170
         Me.資料筆數1_tb.TabIndex = 1206
170
         '
172
         '
171
         'Label10
173
         'Label10
172
         '
174
         '
175
+        Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
173
         Me.Label10.AutoSize = True
176
         Me.Label10.AutoSize = True
174
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
177
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
175
-        Me.Label10.Location = New System.Drawing.Point(1230, 12)
178
+        Me.Label10.Location = New System.Drawing.Point(1353, 12)
176
         Me.Label10.Name = "Label10"
179
         Me.Label10.Name = "Label10"
177
         Me.Label10.Size = New System.Drawing.Size(20, 16)
180
         Me.Label10.Size = New System.Drawing.Size(20, 16)
178
         Me.Label10.TabIndex = 1205
181
         Me.Label10.TabIndex = 1205
211
         '
214
         '
212
         '字體大小調整_lb
215
         '字體大小調整_lb
213
         '
216
         '
214
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
217
+        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
215
         Me.字體大小調整_lb.AutoSize = True
218
         Me.字體大小調整_lb.AutoSize = True
216
-        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
219
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
217
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
220
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
218
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
221
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
219
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(12, 148)
222
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1223, 11)
220
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
223
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
221
-        Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
224
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
222
         Me.字體大小調整_lb.TabIndex = 1491
225
         Me.字體大小調整_lb.TabIndex = 1491
223
         Me.字體大小調整_lb.Text = "字體調整"
226
         Me.字體大小調整_lb.Text = "字體調整"
224
         '
227
         '
225
         '字體_NUD
228
         '字體_NUD
226
         '
229
         '
227
-        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
228
-        Me.字體_NUD.Location = New System.Drawing.Point(73, 146)
230
+        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
231
+        Me.字體_NUD.Location = New System.Drawing.Point(1295, 9)
229
         Me.字體_NUD.Maximum = New Decimal(New Integer() {13, 0, 0, 0})
232
         Me.字體_NUD.Maximum = New Decimal(New Integer() {13, 0, 0, 0})
230
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
233
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
231
         Me.字體_NUD.Name = "字體_NUD"
234
         Me.字體_NUD.Name = "字體_NUD"
237
         '
240
         '
238
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
241
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
239
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
242
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
240
-        Me.ClientSize = New System.Drawing.Size(1350, 681)
243
+        Me.ClientSize = New System.Drawing.Size(1473, 681)
241
         Me.Controls.Add(Me.字體大小調整_lb)
244
         Me.Controls.Add(Me.字體大小調整_lb)
242
         Me.Controls.Add(Me.字體_NUD)
245
         Me.Controls.Add(Me.字體_NUD)
243
         Me.Controls.Add(Me.Label3)
246
         Me.Controls.Add(Me.Label3)

+ 26
- 28
YD-ERP-SYS/採購系統管理/依銷售申請採購單.Designer.vb View File

272
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
272
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
273
         Me.Label9.AutoSize = True
273
         Me.Label9.AutoSize = True
274
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
274
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
275
-        Me.Label9.Location = New System.Drawing.Point(915, 65)
275
+        Me.Label9.Location = New System.Drawing.Point(1075, 65)
276
         Me.Label9.Name = "Label9"
276
         Me.Label9.Name = "Label9"
277
         Me.Label9.Size = New System.Drawing.Size(44, 16)
277
         Me.Label9.Size = New System.Drawing.Size(44, 16)
278
         Me.Label9.TabIndex = 1289
278
         Me.Label9.TabIndex = 1289
281
         '資料筆數1_tb
281
         '資料筆數1_tb
282
         '
282
         '
283
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
283
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
284
-        Me.資料筆數1_tb.Location = New System.Drawing.Point(873, 62)
284
+        Me.資料筆數1_tb.Location = New System.Drawing.Point(1033, 62)
285
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
285
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
286
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
286
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
287
         Me.資料筆數1_tb.TabIndex = 1288
287
         Me.資料筆數1_tb.TabIndex = 1288
292
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
292
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
293
         Me.Label10.AutoSize = True
293
         Me.Label10.AutoSize = True
294
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
294
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
295
-        Me.Label10.Location = New System.Drawing.Point(851, 65)
295
+        Me.Label10.Location = New System.Drawing.Point(1011, 65)
296
         Me.Label10.Name = "Label10"
296
         Me.Label10.Name = "Label10"
297
         Me.Label10.Size = New System.Drawing.Size(20, 16)
297
         Me.Label10.Size = New System.Drawing.Size(20, 16)
298
         Me.Label10.TabIndex = 1287
298
         Me.Label10.TabIndex = 1287
329
         DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
329
         DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
330
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
330
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
331
         Me.採購清單_dgv.RowTemplate.Height = 24
331
         Me.採購清單_dgv.RowTemplate.Height = 24
332
-        Me.採購清單_dgv.Size = New System.Drawing.Size(870, 585)
332
+        Me.採購清單_dgv.Size = New System.Drawing.Size(1030, 585)
333
         Me.採購清單_dgv.TabIndex = 1235
333
         Me.採購清單_dgv.TabIndex = 1235
334
         '
334
         '
335
         'Label15
335
         'Label15
386
         DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
386
         DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
387
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle12
387
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle12
388
         Me.銷售明細_dgv.RowTemplate.Height = 24
388
         Me.銷售明細_dgv.RowTemplate.Height = 24
389
-        Me.銷售明細_dgv.Size = New System.Drawing.Size(871, 673)
389
+        Me.銷售明細_dgv.Size = New System.Drawing.Size(1031, 673)
390
         Me.銷售明細_dgv.TabIndex = 1308
390
         Me.銷售明細_dgv.TabIndex = 1308
391
         '
391
         '
392
         '單號_tb
392
         '單號_tb
393
         '
393
         '
394
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
394
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
395
         Me.單號_tb.Enabled = False
395
         Me.單號_tb.Enabled = False
396
-        Me.單號_tb.Location = New System.Drawing.Point(827, 123)
396
+        Me.單號_tb.Location = New System.Drawing.Point(987, 123)
397
         Me.單號_tb.Name = "單號_tb"
397
         Me.單號_tb.Name = "單號_tb"
398
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
398
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
399
         Me.單號_tb.TabIndex = 1309
399
         Me.單號_tb.TabIndex = 1309
443
         '
443
         '
444
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
444
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
445
         Me.日期2_dtp.Enabled = False
445
         Me.日期2_dtp.Enabled = False
446
-        Me.日期2_dtp.Location = New System.Drawing.Point(827, 181)
446
+        Me.日期2_dtp.Location = New System.Drawing.Point(987, 181)
447
         Me.日期2_dtp.Name = "日期2_dtp"
447
         Me.日期2_dtp.Name = "日期2_dtp"
448
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
448
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
449
         Me.日期2_dtp.TabIndex = 1315
449
         Me.日期2_dtp.TabIndex = 1315
453
         '
453
         '
454
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
454
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
455
         Me.日期1_dtp.Enabled = False
455
         Me.日期1_dtp.Enabled = False
456
-        Me.日期1_dtp.Location = New System.Drawing.Point(827, 152)
456
+        Me.日期1_dtp.Location = New System.Drawing.Point(987, 152)
457
         Me.日期1_dtp.Name = "日期1_dtp"
457
         Me.日期1_dtp.Name = "日期1_dtp"
458
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
458
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
459
         Me.日期1_dtp.TabIndex = 1314
459
         Me.日期1_dtp.TabIndex = 1314
512
         Me.檔案名稱_tb.AllowDrop = True
512
         Me.檔案名稱_tb.AllowDrop = True
513
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
513
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
514
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
514
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
515
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(1107, 480)
515
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(1267, 480)
516
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
516
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
517
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
517
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
518
         Me.檔案名稱_tb.TabIndex = 1335
518
         Me.檔案名稱_tb.TabIndex = 1335
522
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
522
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
523
         Me.Label12.AutoSize = True
523
         Me.Label12.AutoSize = True
524
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
524
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
525
-        Me.Label12.Location = New System.Drawing.Point(1055, 506)
525
+        Me.Label12.Location = New System.Drawing.Point(1215, 506)
526
         Me.Label12.Name = "Label12"
526
         Me.Label12.Name = "Label12"
527
         Me.Label12.Size = New System.Drawing.Size(108, 17)
527
         Me.Label12.Size = New System.Drawing.Size(108, 17)
528
         Me.Label12.TabIndex = 1333
528
         Me.Label12.TabIndex = 1333
533
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
533
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
534
         Me.Label4.AutoSize = True
534
         Me.Label4.AutoSize = True
535
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
535
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
536
-        Me.Label4.Location = New System.Drawing.Point(1057, 298)
536
+        Me.Label4.Location = New System.Drawing.Point(1217, 298)
537
         Me.Label4.Name = "Label4"
537
         Me.Label4.Name = "Label4"
538
         Me.Label4.Size = New System.Drawing.Size(56, 16)
538
         Me.Label4.Size = New System.Drawing.Size(56, 16)
539
         Me.Label4.TabIndex = 1332
539
         Me.Label4.TabIndex = 1332
544
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
544
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
545
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
545
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
546
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
546
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
547
-        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(962, 269)
547
+        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1122, 269)
548
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
548
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
549
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
549
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
550
         Me.讀取資料夾路徑_bt.TabIndex = 1331
550
         Me.讀取資料夾路徑_bt.TabIndex = 1331
555
         '
555
         '
556
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
556
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
557
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
557
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
558
-        Me.本機資料夾_wb.Location = New System.Drawing.Point(1056, 354)
558
+        Me.本機資料夾_wb.Location = New System.Drawing.Point(1216, 354)
559
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
559
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
560
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
560
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
561
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
561
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
565
         'FTP資料夾_wb
565
         'FTP資料夾_wb
566
         '
566
         '
567
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
567
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
568
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1056, 523)
568
+        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1216, 523)
569
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
569
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
570
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
570
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
571
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
571
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
577
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
577
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
578
         Me.Label11.AutoSize = True
578
         Me.Label11.AutoSize = True
579
         Me.Label11.ForeColor = System.Drawing.Color.Red
579
         Me.Label11.ForeColor = System.Drawing.Color.Red
580
-        Me.Label11.Location = New System.Drawing.Point(1064, 319)
580
+        Me.Label11.Location = New System.Drawing.Point(1224, 319)
581
         Me.Label11.Name = "Label11"
581
         Me.Label11.Name = "Label11"
582
         Me.Label11.Size = New System.Drawing.Size(244, 32)
582
         Me.Label11.Size = New System.Drawing.Size(244, 32)
583
         Me.Label11.TabIndex = 1334
583
         Me.Label11.TabIndex = 1334
587
         '
587
         '
588
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
588
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
589
         Me.Label5.AutoSize = True
589
         Me.Label5.AutoSize = True
590
-        Me.Label5.Location = New System.Drawing.Point(1053, 483)
590
+        Me.Label5.Location = New System.Drawing.Point(1213, 483)
591
         Me.Label5.Name = "Label5"
591
         Me.Label5.Name = "Label5"
592
         Me.Label5.Size = New System.Drawing.Size(56, 16)
592
         Me.Label5.Size = New System.Drawing.Size(56, 16)
593
         Me.Label5.TabIndex = 1336
593
         Me.Label5.TabIndex = 1336
598
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
598
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
599
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
599
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
600
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
600
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
601
-        Me.下載圖檔_bt.Location = New System.Drawing.Point(1226, 269)
601
+        Me.下載圖檔_bt.Location = New System.Drawing.Point(1386, 269)
602
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
602
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
603
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
603
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
604
         Me.下載圖檔_bt.TabIndex = 1339
604
         Me.下載圖檔_bt.TabIndex = 1339
610
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
610
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
611
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
611
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
612
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
612
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
613
-        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1052, 269)
613
+        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1212, 269)
614
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
614
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
615
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
615
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
616
         Me.圖檔入系統_bt.TabIndex = 1338
616
         Me.圖檔入系統_bt.TabIndex = 1338
625
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
625
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
626
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
626
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
627
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
627
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
628
-        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(961, 321)
628
+        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(1121, 321)
629
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
629
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
630
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
630
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
631
         DataGridViewCellStyle14.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
631
         DataGridViewCellStyle14.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
648
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
648
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
649
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
649
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
650
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
650
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
651
-        Me.大圖預覽_bt.Location = New System.Drawing.Point(962, 295)
651
+        Me.大圖預覽_bt.Location = New System.Drawing.Point(1122, 295)
652
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
652
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
653
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
653
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
654
         Me.大圖預覽_bt.TabIndex = 1342
654
         Me.大圖預覽_bt.TabIndex = 1342
659
         '
659
         '
660
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
660
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
661
         Me.單號1_tb.Enabled = False
661
         Me.單號1_tb.Enabled = False
662
-        Me.單號1_tb.Location = New System.Drawing.Point(827, 296)
662
+        Me.單號1_tb.Location = New System.Drawing.Point(987, 296)
663
         Me.單號1_tb.Name = "單號1_tb"
663
         Me.單號1_tb.Name = "單號1_tb"
664
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
664
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
665
         Me.單號1_tb.TabIndex = 1343
665
         Me.單號1_tb.TabIndex = 1343
675
         '
675
         '
676
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
676
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
677
         Me.料號_tb.Enabled = False
677
         Me.料號_tb.Enabled = False
678
-        Me.料號_tb.Location = New System.Drawing.Point(827, 325)
678
+        Me.料號_tb.Location = New System.Drawing.Point(987, 325)
679
         Me.料號_tb.Name = "料號_tb"
679
         Me.料號_tb.Name = "料號_tb"
680
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
680
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
681
         Me.料號_tb.TabIndex = 1344
681
         Me.料號_tb.TabIndex = 1344
697
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
697
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
698
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
698
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
699
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
699
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
700
-        Me.物料圖1_pb.Location = New System.Drawing.Point(965, 4)
700
+        Me.物料圖1_pb.Location = New System.Drawing.Point(1125, 4)
701
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
701
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
702
         Me.物料圖1_pb.Name = "物料圖1_pb"
702
         Me.物料圖1_pb.Name = "物料圖1_pb"
703
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
703
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
766
         '
766
         '
767
         '字體大小調整_lb
767
         '字體大小調整_lb
768
         '
768
         '
769
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
770
         Me.字體大小調整_lb.AutoSize = True
769
         Me.字體大小調整_lb.AutoSize = True
771
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
770
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
772
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.DarkRed
771
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.DarkRed
773
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
772
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
774
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1184, 296)
773
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(979, 32)
775
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
774
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
776
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
775
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
777
         Me.字體大小調整_lb.TabIndex = 1462
776
         Me.字體大小調整_lb.TabIndex = 1462
779
         '
778
         '
780
         '字體_NUD
779
         '字體_NUD
781
         '
780
         '
782
-        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
783
-        Me.字體_NUD.Location = New System.Drawing.Point(1255, 295)
781
+        Me.字體_NUD.Location = New System.Drawing.Point(1050, 31)
784
         Me.字體_NUD.Maximum = New Decimal(New Integer() {14, 0, 0, 0})
782
         Me.字體_NUD.Maximum = New Decimal(New Integer() {14, 0, 0, 0})
785
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
783
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
786
         Me.字體_NUD.Name = "字體_NUD"
784
         Me.字體_NUD.Name = "字體_NUD"
792
         '
790
         '
793
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
791
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
794
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
792
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
795
-        Me.ClientSize = New System.Drawing.Size(1344, 681)
793
+        Me.ClientSize = New System.Drawing.Size(1504, 681)
796
         Me.Controls.Add(Me.字體大小調整_lb)
794
         Me.Controls.Add(Me.字體大小調整_lb)
797
         Me.Controls.Add(Me.字體_NUD)
795
         Me.Controls.Add(Me.字體_NUD)
798
         Me.Controls.Add(Me.交貨日期_tb)
796
         Me.Controls.Add(Me.交貨日期_tb)

+ 339
- 0
YD-ERP-SYS/採購系統管理/應收帳款已收.Designer.vb View File

1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class 應收帳款已收
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Me.銷售單據_dgv = New System.Windows.Forms.DataGridView()
30
+        Me.Panel1 = New System.Windows.Forms.Panel()
31
+        Me.未審核_lb = New System.Windows.Forms.Label()
32
+        Me.客戶1_tb = New System.Windows.Forms.TextBox()
33
+        Me.Label12 = New System.Windows.Forms.Label()
34
+        Me.業務_cb = New System.Windows.Forms.ComboBox()
35
+        Me.Label13 = New System.Windows.Forms.Label()
36
+        Me.字體大小調整_lb = New System.Windows.Forms.Label()
37
+        Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
38
+        Me.刪除收款事項上點選的資料_bt = New System.Windows.Forms.Button()
39
+        Me.新增一筆收款事項_bt = New System.Windows.Forms.Button()
40
+        Me.項次2_tb = New System.Windows.Forms.TextBox()
41
+        Me.Label36 = New System.Windows.Forms.Label()
42
+        Me.收款事項_dgv = New System.Windows.Forms.DataGridView()
43
+        Me.Panel2 = New System.Windows.Forms.Panel()
44
+        Me.流水號_tb = New System.Windows.Forms.TextBox()
45
+        Me.Label1 = New System.Windows.Forms.Label()
46
+        Me.客戶編號_tb = New System.Windows.Forms.TextBox()
47
+        Me.Label5 = New System.Windows.Forms.Label()
48
+        Me.單號_tb = New System.Windows.Forms.TextBox()
49
+        Me.Label2 = New System.Windows.Forms.Label()
50
+        CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
51
+        Me.Panel1.SuspendLayout()
52
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
53
+        CType(Me.收款事項_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
54
+        Me.Panel2.SuspendLayout()
55
+        Me.SuspendLayout()
56
+        '
57
+        '銷售單據_dgv
58
+        '
59
+        DataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
60
+        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
61
+        Me.銷售單據_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
62
+            Or System.Windows.Forms.AnchorStyles.Left) _
63
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
64
+        Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
65
+        Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
66
+        Me.銷售單據_dgv.Location = New System.Drawing.Point(3, 29)
67
+        Me.銷售單據_dgv.Name = "銷售單據_dgv"
68
+        Me.銷售單據_dgv.RowHeadersWidth = 5
69
+        DataGridViewCellStyle18.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
70
+        DataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
71
+        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle18
72
+        Me.銷售單據_dgv.RowTemplate.Height = 24
73
+        Me.銷售單據_dgv.Size = New System.Drawing.Size(660, 686)
74
+        Me.銷售單據_dgv.TabIndex = 1339
75
+        '
76
+        'Panel1
77
+        '
78
+        Me.Panel1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
79
+            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
80
+        Me.Panel1.Controls.Add(Me.字體大小調整_lb)
81
+        Me.Panel1.Controls.Add(Me.字體_NUD)
82
+        Me.Panel1.Controls.Add(Me.未審核_lb)
83
+        Me.Panel1.Controls.Add(Me.客戶1_tb)
84
+        Me.Panel1.Controls.Add(Me.Label12)
85
+        Me.Panel1.Controls.Add(Me.業務_cb)
86
+        Me.Panel1.Controls.Add(Me.Label13)
87
+        Me.Panel1.Controls.Add(Me.銷售單據_dgv)
88
+        Me.Panel1.Location = New System.Drawing.Point(2, 2)
89
+        Me.Panel1.Name = "Panel1"
90
+        Me.Panel1.Size = New System.Drawing.Size(667, 719)
91
+        Me.Panel1.TabIndex = 2
92
+        '
93
+        '未審核_lb
94
+        '
95
+        Me.未審核_lb.AutoSize = True
96
+        Me.未審核_lb.Location = New System.Drawing.Point(5, 8)
97
+        Me.未審核_lb.Name = "未審核_lb"
98
+        Me.未審核_lb.Size = New System.Drawing.Size(68, 16)
99
+        Me.未審核_lb.TabIndex = 1340
100
+        Me.未審核_lb.Text = "業務銷售單"
101
+        '
102
+        '客戶1_tb
103
+        '
104
+        Me.客戶1_tb.ForeColor = System.Drawing.Color.Black
105
+        Me.客戶1_tb.Location = New System.Drawing.Point(173, 4)
106
+        Me.客戶1_tb.Name = "客戶1_tb"
107
+        Me.客戶1_tb.Size = New System.Drawing.Size(122, 23)
108
+        Me.客戶1_tb.TabIndex = 1343
109
+        '
110
+        'Label12
111
+        '
112
+        Me.Label12.AutoSize = True
113
+        Me.Label12.ForeColor = System.Drawing.Color.Black
114
+        Me.Label12.ImeMode = System.Windows.Forms.ImeMode.NoControl
115
+        Me.Label12.Location = New System.Drawing.Point(118, 8)
116
+        Me.Label12.Name = "Label12"
117
+        Me.Label12.Size = New System.Drawing.Size(56, 16)
118
+        Me.Label12.TabIndex = 1342
119
+        Me.Label12.Text = "客戶資料"
120
+        '
121
+        '業務_cb
122
+        '
123
+        Me.業務_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
124
+        Me.業務_cb.FormattingEnabled = True
125
+        Me.業務_cb.Items.AddRange(New Object() {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "B", "Y"})
126
+        Me.業務_cb.Location = New System.Drawing.Point(74, 3)
127
+        Me.業務_cb.Name = "業務_cb"
128
+        Me.業務_cb.Size = New System.Drawing.Size(40, 24)
129
+        Me.業務_cb.TabIndex = 1341
130
+        '
131
+        'Label13
132
+        '
133
+        Me.Label13.AutoSize = True
134
+        Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
135
+        Me.Label13.ForeColor = System.Drawing.Color.Red
136
+        Me.Label13.Location = New System.Drawing.Point(301, 9)
137
+        Me.Label13.Name = "Label13"
138
+        Me.Label13.Size = New System.Drawing.Size(260, 15)
139
+        Me.Label13.TabIndex = 1344
140
+        Me.Label13.Text = "可以使用客戶名稱,電話,地址,統篇等資料作查詢"
141
+        '
142
+        '字體大小調整_lb
143
+        '
144
+        Me.字體大小調整_lb.AutoSize = True
145
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
146
+        Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
147
+        Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
148
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(565, 5)
149
+        Me.字體大小調整_lb.Name = "字體大小調整_lb"
150
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
151
+        Me.字體大小調整_lb.TabIndex = 1455
152
+        Me.字體大小調整_lb.Text = "字體調整"
153
+        '
154
+        '字體_NUD
155
+        '
156
+        Me.字體_NUD.Location = New System.Drawing.Point(635, 3)
157
+        Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
158
+        Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
159
+        Me.字體_NUD.Name = "字體_NUD"
160
+        Me.字體_NUD.Size = New System.Drawing.Size(27, 23)
161
+        Me.字體_NUD.TabIndex = 1454
162
+        Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
163
+        '
164
+        '刪除收款事項上點選的資料_bt
165
+        '
166
+        Me.刪除收款事項上點選的資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
167
+        Me.刪除收款事項上點選的資料_bt.ForeColor = System.Drawing.Color.Red
168
+        Me.刪除收款事項上點選的資料_bt.Location = New System.Drawing.Point(137, 596)
169
+        Me.刪除收款事項上點選的資料_bt.Name = "刪除收款事項上點選的資料_bt"
170
+        Me.刪除收款事項上點選的資料_bt.Size = New System.Drawing.Size(163, 23)
171
+        Me.刪除收款事項上點選的資料_bt.TabIndex = 1292
172
+        Me.刪除收款事項上點選的資料_bt.Text = "刪除收款事項上點選的資料"
173
+        Me.刪除收款事項上點選的資料_bt.UseVisualStyleBackColor = True
174
+        '
175
+        '新增一筆收款事項_bt
176
+        '
177
+        Me.新增一筆收款事項_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
178
+        Me.新增一筆收款事項_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
179
+        Me.新增一筆收款事項_bt.Location = New System.Drawing.Point(41, 596)
180
+        Me.新增一筆收款事項_bt.Name = "新增一筆收款事項_bt"
181
+        Me.新增一筆收款事項_bt.Size = New System.Drawing.Size(94, 23)
182
+        Me.新增一筆收款事項_bt.TabIndex = 1291
183
+        Me.新增一筆收款事項_bt.Text = "新增一筆收款事項"
184
+        Me.新增一筆收款事項_bt.UseVisualStyleBackColor = True
185
+        '
186
+        '項次2_tb
187
+        '
188
+        Me.項次2_tb.Enabled = False
189
+        Me.項次2_tb.Location = New System.Drawing.Point(4, 596)
190
+        Me.項次2_tb.Name = "項次2_tb"
191
+        Me.項次2_tb.Size = New System.Drawing.Size(35, 23)
192
+        Me.項次2_tb.TabIndex = 1289
193
+        '
194
+        'Label36
195
+        '
196
+        Me.Label36.AutoSize = True
197
+        Me.Label36.Location = New System.Drawing.Point(672, 603)
198
+        Me.Label36.Name = "Label36"
199
+        Me.Label36.Size = New System.Drawing.Size(32, 16)
200
+        Me.Label36.TabIndex = 1290
201
+        Me.Label36.Text = "項次"
202
+        '
203
+        '收款事項_dgv
204
+        '
205
+        DataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
206
+        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle19
207
+        Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
208
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
209
+        Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
210
+        Me.收款事項_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
211
+        Me.收款事項_dgv.Location = New System.Drawing.Point(3, 621)
212
+        Me.收款事項_dgv.Name = "收款事項_dgv"
213
+        Me.收款事項_dgv.RowHeadersWidth = 5
214
+        DataGridViewCellStyle20.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
215
+        DataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
216
+        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle20
217
+        Me.收款事項_dgv.RowTemplate.Height = 24
218
+        Me.收款事項_dgv.Size = New System.Drawing.Size(629, 93)
219
+        Me.收款事項_dgv.TabIndex = 1288
220
+        '
221
+        'Panel2
222
+        '
223
+        Me.Panel2.Controls.Add(Me.單號_tb)
224
+        Me.Panel2.Controls.Add(Me.Label2)
225
+        Me.Panel2.Controls.Add(Me.客戶編號_tb)
226
+        Me.Panel2.Controls.Add(Me.Label5)
227
+        Me.Panel2.Controls.Add(Me.流水號_tb)
228
+        Me.Panel2.Controls.Add(Me.Label1)
229
+        Me.Panel2.Controls.Add(Me.刪除收款事項上點選的資料_bt)
230
+        Me.Panel2.Controls.Add(Me.新增一筆收款事項_bt)
231
+        Me.Panel2.Controls.Add(Me.項次2_tb)
232
+        Me.Panel2.Controls.Add(Me.收款事項_dgv)
233
+        Me.Panel2.Location = New System.Drawing.Point(674, 3)
234
+        Me.Panel2.Name = "Panel2"
235
+        Me.Panel2.Size = New System.Drawing.Size(635, 717)
236
+        Me.Panel2.TabIndex = 1293
237
+        '
238
+        '流水號_tb
239
+        '
240
+        Me.流水號_tb.Enabled = False
241
+        Me.流水號_tb.Location = New System.Drawing.Point(96, 641)
242
+        Me.流水號_tb.Name = "流水號_tb"
243
+        Me.流水號_tb.Size = New System.Drawing.Size(100, 23)
244
+        Me.流水號_tb.TabIndex = 1293
245
+        Me.流水號_tb.Visible = False
246
+        '
247
+        'Label1
248
+        '
249
+        Me.Label1.AutoSize = True
250
+        Me.Label1.Location = New System.Drawing.Point(38, 644)
251
+        Me.Label1.Name = "Label1"
252
+        Me.Label1.Size = New System.Drawing.Size(44, 16)
253
+        Me.Label1.TabIndex = 1294
254
+        Me.Label1.Text = "流水號"
255
+        Me.Label1.Visible = False
256
+        '
257
+        '客戶編號_tb
258
+        '
259
+        Me.客戶編號_tb.Enabled = False
260
+        Me.客戶編號_tb.Location = New System.Drawing.Point(377, 517)
261
+        Me.客戶編號_tb.Name = "客戶編號_tb"
262
+        Me.客戶編號_tb.Size = New System.Drawing.Size(99, 23)
263
+        Me.客戶編號_tb.TabIndex = 1296
264
+        '
265
+        'Label5
266
+        '
267
+        Me.Label5.AutoSize = True
268
+        Me.Label5.ForeColor = System.Drawing.Color.Red
269
+        Me.Label5.ImeMode = System.Windows.Forms.ImeMode.NoControl
270
+        Me.Label5.Location = New System.Drawing.Point(317, 522)
271
+        Me.Label5.Name = "Label5"
272
+        Me.Label5.Size = New System.Drawing.Size(56, 16)
273
+        Me.Label5.TabIndex = 1295
274
+        Me.Label5.Text = "編號客戶"
275
+        '
276
+        '單號_tb
277
+        '
278
+        Me.單號_tb.Enabled = False
279
+        Me.單號_tb.Location = New System.Drawing.Point(354, 552)
280
+        Me.單號_tb.Name = "單號_tb"
281
+        Me.單號_tb.Size = New System.Drawing.Size(122, 23)
282
+        Me.單號_tb.TabIndex = 1297
283
+        '
284
+        'Label2
285
+        '
286
+        Me.Label2.AutoSize = True
287
+        Me.Label2.ForeColor = System.Drawing.Color.Red
288
+        Me.Label2.Location = New System.Drawing.Point(317, 555)
289
+        Me.Label2.Name = "Label2"
290
+        Me.Label2.Size = New System.Drawing.Size(32, 16)
291
+        Me.Label2.TabIndex = 1298
292
+        Me.Label2.Text = "單號"
293
+        '
294
+        '應收帳款已收
295
+        '
296
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
297
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
298
+        Me.ClientSize = New System.Drawing.Size(1314, 724)
299
+        Me.Controls.Add(Me.Panel2)
300
+        Me.Controls.Add(Me.Label36)
301
+        Me.Controls.Add(Me.Panel1)
302
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!)
303
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
304
+        Me.Name = "應收帳款已收"
305
+        Me.Text = "應收帳款已收"
306
+        CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).EndInit()
307
+        Me.Panel1.ResumeLayout(False)
308
+        Me.Panel1.PerformLayout()
309
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
310
+        CType(Me.收款事項_dgv, System.ComponentModel.ISupportInitialize).EndInit()
311
+        Me.Panel2.ResumeLayout(False)
312
+        Me.Panel2.PerformLayout()
313
+        Me.ResumeLayout(False)
314
+        Me.PerformLayout()
315
+
316
+    End Sub
317
+
318
+    Protected WithEvents 銷售單據_dgv As DataGridView
319
+    Friend WithEvents Panel1 As Panel
320
+    Friend WithEvents 未審核_lb As Label
321
+    Friend WithEvents 客戶1_tb As TextBox
322
+    Friend WithEvents Label12 As Label
323
+    Friend WithEvents 業務_cb As ComboBox
324
+    Friend WithEvents Label13 As Label
325
+    Friend WithEvents 字體大小調整_lb As Label
326
+    Friend WithEvents 字體_NUD As NumericUpDown
327
+    Friend WithEvents 刪除收款事項上點選的資料_bt As Button
328
+    Friend WithEvents 新增一筆收款事項_bt As Button
329
+    Friend WithEvents 項次2_tb As TextBox
330
+    Friend WithEvents Label36 As Label
331
+    Friend WithEvents 收款事項_dgv As DataGridView
332
+    Friend WithEvents Panel2 As Panel
333
+    Friend WithEvents 流水號_tb As TextBox
334
+    Friend WithEvents Label1 As Label
335
+    Friend WithEvents 客戶編號_tb As TextBox
336
+    Friend WithEvents Label5 As Label
337
+    Friend WithEvents 單號_tb As TextBox
338
+    Friend WithEvents Label2 As Label
339
+End Class

+ 120
- 0
YD-ERP-SYS/採購系統管理/應收帳款已收.resx View File

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

+ 105
- 0
YD-ERP-SYS/採購系統管理/應收帳款已收.vb View File

1
+Public Class 應收帳款已收
2
+    ReadOnly ds1, ds2, ds4, ds5, ds6, ds7 As New DataSet
3
+    Dim EDR As Integer : Dim ESTR As String
4
+    Private Sub Set_清單6()
5
+        收款事項_dgv.DataSource = Nothing : ds6.Clear()
6
+        收款事項_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
7
+        收款事項_dgv.ColumnHeadersHeight = 25
8
+        收款事項_dgv.AllowUserToAddRows = False
9
+        收款事項_dgv.RowTemplate.Height = 25
10
+
11
+        PA2 = "" : PA2 = 單號_tb.Text : SQL_銷售收款事項()
12
+        da.Fill(ds6) : 收款事項_dgv.DataSource = ds6.Tables(0) : conn.Close()
13
+
14
+        收款事項_dgv.Columns(0).Visible = False : 收款事項_dgv.Columns(1).Visible = False : 收款事項_dgv.Columns(2).Visible = False : 收款事項_dgv.Columns(3).FillWeight = 120
15
+        收款事項_dgv.Columns(4).FillWeight = 960 : 收款事項_dgv.Columns(5).FillWeight = 180
16
+
17
+        收款事項_dgv.Columns(2).ReadOnly = True
18
+
19
+        收款事項_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
20
+        收款事項_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
21
+        收款事項_dgv.Columns("金額").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
22
+        收款事項_dgv.Columns("項次").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
23
+        收款事項_dgv.Columns("項次").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
24
+
25
+        For i As Integer = 0 To 收款事項_dgv.Rows.Count - 1
26
+            收款事項_dgv("項次", i).Value = i + 1
27
+        Next
28
+        收款事項_dgv.EditMode = DataGridViewEditMode.EditOnEnter
29
+        'Set_合記計算()
30
+    End Sub
31
+    Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
32
+        '採購清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
33
+        '訂製圖檔_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
34
+    End Sub
35
+
36
+    Private Sub Set_清單1()
37
+        銷售單據_dgv.DataSource = Nothing : ds1.Clear()
38
+        銷售單據_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
39
+        銷售單據_dgv.ColumnHeadersHeight = 25
40
+        銷售單據_dgv.AllowUserToAddRows = False
41
+        銷售單據_dgv.RowTemplate.Height = 35
42
+
43
+        PA19 = 業務_cb.Text : PA20 = 客戶1_tb.Text
44
+        SQL_應收帳款已收_訂單控制表()
45
+        da.Fill(ds1) : 銷售單據_dgv.DataSource = ds1.Tables(0) : conn.Close()
46
+
47
+        銷售單據_dgv.Columns(0).Visible = False : 銷售單據_dgv.Columns(1).FillWeight = 85 : 銷售單據_dgv.Columns(2).FillWeight = 100 : 銷售單據_dgv.Columns(3).FillWeight = 110
48
+        銷售單據_dgv.Columns(4).FillWeight = 110 : 銷售單據_dgv.Columns(5).FillWeight = 50 : 銷售單據_dgv.Columns(6).Visible = False : 銷售單據_dgv.Columns(7).FillWeight = 110
49
+        銷售單據_dgv.Columns(8).FillWeight = 85 : 銷售單據_dgv.Columns(9).FillWeight = 100 : 銷售單據_dgv.Columns(10).Visible = False : 銷售單據_dgv.Columns(11).Visible = False
50
+        銷售單據_dgv.Columns(12).Visible = False : 銷售單據_dgv.Columns(13).Visible = False : 銷售單據_dgv.Columns(14).Visible = False : 銷售單據_dgv.Columns(15).Visible = False
51
+        銷售單據_dgv.Columns(16).Visible = False : 銷售單據_dgv.Columns(17).Visible = False : 銷售單據_dgv.Columns(18).Visible = False
52
+
53
+        銷售單據_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
54
+        銷售單據_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
55
+        銷售單據_dgv.Columns("金額").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
56
+    End Sub
57
+
58
+    Private Sub 應收帳款已收_Load(sender As Object, e As EventArgs) Handles MyBase.Load
59
+        Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
60
+        業務_cb.Text = 業務號碼 : Set_清單1()
61
+    End Sub
62
+    Private Sub 新增一筆收款事項_bt_Click(sender As Object, e As EventArgs) Handles 新增一筆收款事項_bt.Click
63
+        If 流水號_tb.Text = "" Then
64
+            MsgBox("沒有銷售單號,無法作業。")
65
+        Else
66
+            If 客戶編號_tb.Text = "" Then
67
+                MsgBox("銷售單據要指定完客戶才可存檔,如你已手動輸入客戶資料請按一下  [客戶驗證]  ,系統會自動判斷客戶資訊。")
68
+            Else
69
+                SQL_銷售收款事項_最後一筆資料()
70
+                If dr.Read() Then : EDR = Double.Parse(Strings.Right(dr("資料流水號").ToString, 9)) : Else : EDR = 0 : End If
71
+                conn.Close() : EDR += 1
72
+                If EDR < 10 Then : ESTR = "ST" & "00000000" & EDR
73
+                ElseIf EDR > 9 And EDR < 100 Then : ESTR = "ST" & "0000000" & EDR
74
+                ElseIf EDR > 99 And EDR < 1000 Then : ESTR = "ST" & "000000" & EDR
75
+                ElseIf EDR > 999 And EDR < 10000 Then : ESTR = "ST" & "00000" & EDR
76
+                ElseIf EDR > 9999 And EDR < 100000 Then : ESTR = "ST" & "0000" & EDR
77
+                ElseIf EDR > 99999 And EDR < 100000 Then : ESTR = "ST" & "000" & EDR
78
+                ElseIf EDR > 999999 And EDR < 1000000 Then : ESTR = "ST" & "00" & EDR
79
+                ElseIf EDR > 9999999 And EDR < 10000000 Then : ESTR = "ST" & "0" & EDR
80
+                ElseIf EDR > 99999999 Then : ESTR = "ST" & EDR : End If
81
+                PA1 = ESTR
82
+
83
+                SQL_銷售收款事項_最後一筆項次()
84
+                If dr.Read() Then : EDR = dr("項次").ToString : Else : EDR = 0 : End If
85
+                conn.Close() : EDR += 1
86
+                If EDR < 10 Then : ESTR = EDR
87
+                ElseIf EDR > 9 And EDR < 100 Then : ESTR = EDR : End If
88
+                PA2 = ESTR : PA = 單號_tb.Text
89
+                SQL_銷售收款事項_新增2()
90
+
91
+                For i As Integer = 0 To 收款事項_dgv.Rows.Count - 1
92
+                    資料數 = 收款事項_dgv.Rows.Count : MyModule1.進度條()
93
+                    PA10 = 收款事項_dgv.Rows(i).Cells("內容").Value : PA11 = 收款事項_dgv.Rows(i).Cells("資料流水號").Value
94
+                    NU1 = 收款事項_dgv.Rows(i).Cells("金額").Value
95
+                    SQL_銷售收款事項_修改() : conn.Close()
96
+                Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
97
+
98
+                Set_清單6()
99
+            End If
100
+        End If
101
+    End Sub
102
+    Private Sub 業務_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 業務_cb.SelectedIndexChanged
103
+        Set_清單1()
104
+    End Sub
105
+End Class

+ 251
- 0
YD-ERP-SYS/採購系統管理/應收帳款未收.Designer.vb View File

1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
2
+Partial Class 應收帳款未收
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()>
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()>
24
+    Private Sub InitializeComponent()
25
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Me.Panel1 = New System.Windows.Forms.Panel()
30
+        Me.未審核_lb = New System.Windows.Forms.Label()
31
+        Me.客戶1_tb = New System.Windows.Forms.TextBox()
32
+        Me.Label12 = New System.Windows.Forms.Label()
33
+        Me.業務_cb = New System.Windows.Forms.ComboBox()
34
+        Me.Label13 = New System.Windows.Forms.Label()
35
+        Me.銷售單據_dgv = New System.Windows.Forms.DataGridView()
36
+        Me.字體大小調整_lb = New System.Windows.Forms.Label()
37
+        Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
38
+        Me.刪除收款事項上點選的資料_bt = New System.Windows.Forms.Button()
39
+        Me.新增一筆收款事項_bt = New System.Windows.Forms.Button()
40
+        Me.項次2_tb = New System.Windows.Forms.TextBox()
41
+        Me.Label36 = New System.Windows.Forms.Label()
42
+        Me.收款事項_dgv = New System.Windows.Forms.DataGridView()
43
+        Me.Panel1.SuspendLayout()
44
+        CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
45
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
46
+        CType(Me.收款事項_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
47
+        Me.SuspendLayout()
48
+        '
49
+        'Panel1
50
+        '
51
+        Me.Panel1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
52
+            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
53
+        Me.Panel1.Controls.Add(Me.字體大小調整_lb)
54
+        Me.Panel1.Controls.Add(Me.字體_NUD)
55
+        Me.Panel1.Controls.Add(Me.未審核_lb)
56
+        Me.Panel1.Controls.Add(Me.客戶1_tb)
57
+        Me.Panel1.Controls.Add(Me.Label12)
58
+        Me.Panel1.Controls.Add(Me.業務_cb)
59
+        Me.Panel1.Controls.Add(Me.Label13)
60
+        Me.Panel1.Controls.Add(Me.銷售單據_dgv)
61
+        Me.Panel1.Location = New System.Drawing.Point(2, 2)
62
+        Me.Panel1.Name = "Panel1"
63
+        Me.Panel1.Size = New System.Drawing.Size(667, 719)
64
+        Me.Panel1.TabIndex = 1
65
+        '
66
+        '未審核_lb
67
+        '
68
+        Me.未審核_lb.AutoSize = True
69
+        Me.未審核_lb.Location = New System.Drawing.Point(5, 8)
70
+        Me.未審核_lb.Name = "未審核_lb"
71
+        Me.未審核_lb.Size = New System.Drawing.Size(68, 16)
72
+        Me.未審核_lb.TabIndex = 1340
73
+        Me.未審核_lb.Text = "業務銷售單"
74
+        '
75
+        '客戶1_tb
76
+        '
77
+        Me.客戶1_tb.ForeColor = System.Drawing.Color.Black
78
+        Me.客戶1_tb.Location = New System.Drawing.Point(173, 4)
79
+        Me.客戶1_tb.Name = "客戶1_tb"
80
+        Me.客戶1_tb.Size = New System.Drawing.Size(122, 23)
81
+        Me.客戶1_tb.TabIndex = 1343
82
+        '
83
+        'Label12
84
+        '
85
+        Me.Label12.AutoSize = True
86
+        Me.Label12.ForeColor = System.Drawing.Color.Black
87
+        Me.Label12.ImeMode = System.Windows.Forms.ImeMode.NoControl
88
+        Me.Label12.Location = New System.Drawing.Point(118, 8)
89
+        Me.Label12.Name = "Label12"
90
+        Me.Label12.Size = New System.Drawing.Size(56, 16)
91
+        Me.Label12.TabIndex = 1342
92
+        Me.Label12.Text = "客戶資料"
93
+        '
94
+        '業務_cb
95
+        '
96
+        Me.業務_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
97
+        Me.業務_cb.FormattingEnabled = True
98
+        Me.業務_cb.Items.AddRange(New Object() {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "B", "Y"})
99
+        Me.業務_cb.Location = New System.Drawing.Point(74, 3)
100
+        Me.業務_cb.Name = "業務_cb"
101
+        Me.業務_cb.Size = New System.Drawing.Size(40, 24)
102
+        Me.業務_cb.TabIndex = 1341
103
+        '
104
+        'Label13
105
+        '
106
+        Me.Label13.AutoSize = True
107
+        Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
108
+        Me.Label13.ForeColor = System.Drawing.Color.Red
109
+        Me.Label13.Location = New System.Drawing.Point(301, 7)
110
+        Me.Label13.Name = "Label13"
111
+        Me.Label13.Size = New System.Drawing.Size(260, 15)
112
+        Me.Label13.TabIndex = 1344
113
+        Me.Label13.Text = "可以使用客戶名稱,電話,地址,統篇等資料作查詢"
114
+        '
115
+        '銷售單據_dgv
116
+        '
117
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
118
+        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
119
+        Me.銷售單據_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
120
+            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
121
+        Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
122
+        Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
123
+        Me.銷售單據_dgv.Location = New System.Drawing.Point(3, 29)
124
+        Me.銷售單據_dgv.Name = "銷售單據_dgv"
125
+        Me.銷售單據_dgv.RowHeadersWidth = 5
126
+        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
127
+        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
128
+        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
129
+        Me.銷售單據_dgv.RowTemplate.Height = 24
130
+        Me.銷售單據_dgv.Size = New System.Drawing.Size(661, 686)
131
+        Me.銷售單據_dgv.TabIndex = 1339
132
+        '
133
+        '字體大小調整_lb
134
+        '
135
+        Me.字體大小調整_lb.AutoSize = True
136
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
137
+        Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
138
+        Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
139
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(567, 5)
140
+        Me.字體大小調整_lb.Name = "字體大小調整_lb"
141
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
142
+        Me.字體大小調整_lb.TabIndex = 1457
143
+        Me.字體大小調整_lb.Text = "字體調整"
144
+        '
145
+        '字體_NUD
146
+        '
147
+        Me.字體_NUD.Location = New System.Drawing.Point(637, 3)
148
+        Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
149
+        Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
150
+        Me.字體_NUD.Name = "字體_NUD"
151
+        Me.字體_NUD.Size = New System.Drawing.Size(27, 23)
152
+        Me.字體_NUD.TabIndex = 1456
153
+        Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
154
+        '
155
+        '刪除收款事項上點選的資料_bt
156
+        '
157
+        Me.刪除收款事項上點選的資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
158
+        Me.刪除收款事項上點選的資料_bt.ForeColor = System.Drawing.Color.Red
159
+        Me.刪除收款事項上點選的資料_bt.Location = New System.Drawing.Point(838, 601)
160
+        Me.刪除收款事項上點選的資料_bt.Name = "刪除收款事項上點選的資料_bt"
161
+        Me.刪除收款事項上點選的資料_bt.Size = New System.Drawing.Size(163, 23)
162
+        Me.刪除收款事項上點選的資料_bt.TabIndex = 1462
163
+        Me.刪除收款事項上點選的資料_bt.Text = "刪除收款事項上點選的資料"
164
+        Me.刪除收款事項上點選的資料_bt.UseVisualStyleBackColor = True
165
+        '
166
+        '新增一筆收款事項_bt
167
+        '
168
+        Me.新增一筆收款事項_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
169
+        Me.新增一筆收款事項_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
170
+        Me.新增一筆收款事項_bt.Location = New System.Drawing.Point(742, 601)
171
+        Me.新增一筆收款事項_bt.Name = "新增一筆收款事項_bt"
172
+        Me.新增一筆收款事項_bt.Size = New System.Drawing.Size(94, 23)
173
+        Me.新增一筆收款事項_bt.TabIndex = 1461
174
+        Me.新增一筆收款事項_bt.Text = "新增一筆收款事項"
175
+        Me.新增一筆收款事項_bt.UseVisualStyleBackColor = True
176
+        '
177
+        '項次2_tb
178
+        '
179
+        Me.項次2_tb.Enabled = False
180
+        Me.項次2_tb.Location = New System.Drawing.Point(704, 602)
181
+        Me.項次2_tb.Name = "項次2_tb"
182
+        Me.項次2_tb.Size = New System.Drawing.Size(35, 23)
183
+        Me.項次2_tb.TabIndex = 1459
184
+        '
185
+        'Label36
186
+        '
187
+        Me.Label36.AutoSize = True
188
+        Me.Label36.Location = New System.Drawing.Point(673, 605)
189
+        Me.Label36.Name = "Label36"
190
+        Me.Label36.Size = New System.Drawing.Size(32, 16)
191
+        Me.Label36.TabIndex = 1460
192
+        Me.Label36.Text = "項次"
193
+        '
194
+        '收款事項_dgv
195
+        '
196
+        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
197
+        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
198
+        Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
199
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
200
+        Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
201
+        Me.收款事項_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
202
+        Me.收款事項_dgv.Location = New System.Drawing.Point(674, 626)
203
+        Me.收款事項_dgv.Name = "收款事項_dgv"
204
+        Me.收款事項_dgv.RowHeadersWidth = 5
205
+        DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
206
+        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
207
+        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
208
+        Me.收款事項_dgv.RowTemplate.Height = 24
209
+        Me.收款事項_dgv.Size = New System.Drawing.Size(543, 93)
210
+        Me.收款事項_dgv.TabIndex = 1458
211
+        '
212
+        '應收帳款未收
213
+        '
214
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
215
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
216
+        Me.ClientSize = New System.Drawing.Size(1334, 724)
217
+        Me.Controls.Add(Me.刪除收款事項上點選的資料_bt)
218
+        Me.Controls.Add(Me.新增一筆收款事項_bt)
219
+        Me.Controls.Add(Me.Panel1)
220
+        Me.Controls.Add(Me.項次2_tb)
221
+        Me.Controls.Add(Me.收款事項_dgv)
222
+        Me.Controls.Add(Me.Label36)
223
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
224
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
225
+        Me.Name = "應收帳款未收"
226
+        Me.Text = "應收帳款未收"
227
+        Me.Panel1.ResumeLayout(False)
228
+        Me.Panel1.PerformLayout()
229
+        CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).EndInit()
230
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
231
+        CType(Me.收款事項_dgv, System.ComponentModel.ISupportInitialize).EndInit()
232
+        Me.ResumeLayout(False)
233
+        Me.PerformLayout()
234
+
235
+    End Sub
236
+
237
+    Friend WithEvents Panel1 As Panel
238
+    Friend WithEvents 未審核_lb As Label
239
+    Friend WithEvents 客戶1_tb As TextBox
240
+    Friend WithEvents Label12 As Label
241
+    Friend WithEvents 業務_cb As ComboBox
242
+    Friend WithEvents Label13 As Label
243
+    Protected WithEvents 銷售單據_dgv As DataGridView
244
+    Friend WithEvents 字體大小調整_lb As Label
245
+    Friend WithEvents 字體_NUD As NumericUpDown
246
+    Friend WithEvents 刪除收款事項上點選的資料_bt As Button
247
+    Friend WithEvents 新增一筆收款事項_bt As Button
248
+    Friend WithEvents 項次2_tb As TextBox
249
+    Friend WithEvents Label36 As Label
250
+    Friend WithEvents 收款事項_dgv As DataGridView
251
+End Class

+ 120
- 0
YD-ERP-SYS/採購系統管理/應收帳款未收.resx View File

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

+ 37
- 0
YD-ERP-SYS/採購系統管理/應收帳款未收.vb View File

1
+Public Class 應收帳款未收
2
+    ReadOnly ds1, ds2, ds4, ds5, ds6, ds7 As New DataSet
3
+
4
+    Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
5
+        '採購清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
6
+        '訂製圖檔_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
7
+    End Sub
8
+
9
+    Private Sub Set_清單1()
10
+        銷售單據_dgv.DataSource = Nothing : ds1.Clear()
11
+        銷售單據_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
12
+        銷售單據_dgv.ColumnHeadersHeight = 25
13
+        銷售單據_dgv.AllowUserToAddRows = False
14
+        銷售單據_dgv.RowTemplate.Height = 35
15
+
16
+        PA19 = 業務_cb.Text : PA20 = 客戶1_tb.Text
17
+        SQL_應收帳款未收_訂單控制表()
18
+        da.Fill(ds1) : 銷售單據_dgv.DataSource = ds1.Tables(0) : conn.Close()
19
+
20
+        銷售單據_dgv.Columns(0).Visible = False : 銷售單據_dgv.Columns(1).FillWeight = 85 : 銷售單據_dgv.Columns(2).FillWeight = 100 : 銷售單據_dgv.Columns(3).FillWeight = 110
21
+        銷售單據_dgv.Columns(4).FillWeight = 110 : 銷售單據_dgv.Columns(5).FillWeight = 50 : 銷售單據_dgv.Columns(6).Visible = False : 銷售單據_dgv.Columns(7).FillWeight = 110
22
+        銷售單據_dgv.Columns(8).FillWeight = 85 : 銷售單據_dgv.Columns(9).FillWeight = 100 : 銷售單據_dgv.Columns(10).Visible = False : 銷售單據_dgv.Columns(11).Visible = False
23
+        銷售單據_dgv.Columns(12).Visible = False : 銷售單據_dgv.Columns(13).Visible = False : 銷售單據_dgv.Columns(14).Visible = False : 銷售單據_dgv.Columns(15).Visible = False
24
+        銷售單據_dgv.Columns(16).Visible = False : 銷售單據_dgv.Columns(17).Visible = False : 銷售單據_dgv.Columns(18).Visible = False
25
+
26
+        銷售單據_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
27
+        銷售單據_dgv.Columns("金額").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
28
+        銷售單據_dgv.Columns("金額").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
29
+    End Sub
30
+    Private Sub 應收帳款未收_Load(sender As Object, e As EventArgs) Handles MyBase.Load
31
+        Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
32
+        業務_cb.Text = 業務號碼 : Set_清單1()
33
+    End Sub
34
+    Private Sub 業務_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 業務_cb.SelectedIndexChanged
35
+        Set_清單1()
36
+    End Sub
37
+End Class

+ 27
- 29
YD-ERP-SYS/採購系統管理/採購單審核.Designer.vb View File

109
         '
109
         '
110
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
110
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
111
         Me.料號_tb.Enabled = False
111
         Me.料號_tb.Enabled = False
112
-        Me.料號_tb.Location = New System.Drawing.Point(744, 296)
112
+        Me.料號_tb.Location = New System.Drawing.Point(895, 296)
113
         Me.料號_tb.Name = "料號_tb"
113
         Me.料號_tb.Name = "料號_tb"
114
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
114
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
115
         Me.料號_tb.TabIndex = 1442
115
         Me.料號_tb.TabIndex = 1442
119
         '
119
         '
120
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
120
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
121
         Me.單號1_tb.Enabled = False
121
         Me.單號1_tb.Enabled = False
122
-        Me.單號1_tb.Location = New System.Drawing.Point(744, 267)
122
+        Me.單號1_tb.Location = New System.Drawing.Point(895, 267)
123
         Me.單號1_tb.Name = "單號1_tb"
123
         Me.單號1_tb.Name = "單號1_tb"
124
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
124
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
125
         Me.單號1_tb.TabIndex = 1441
125
         Me.單號1_tb.TabIndex = 1441
130
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
130
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
131
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
131
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
132
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
132
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
133
-        Me.大圖預覽_bt.Location = New System.Drawing.Point(960, 295)
133
+        Me.大圖預覽_bt.Location = New System.Drawing.Point(1111, 295)
134
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
134
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
135
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
135
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
136
         Me.大圖預覽_bt.TabIndex = 1440
136
         Me.大圖預覽_bt.TabIndex = 1440
153
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
153
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
154
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
154
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
155
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
155
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
156
-        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(959, 321)
156
+        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(1110, 321)
157
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
157
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
158
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
158
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
159
         DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
159
         DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
168
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
168
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
169
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
169
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
170
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
170
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
171
-        Me.下載圖檔_bt.Location = New System.Drawing.Point(1224, 269)
171
+        Me.下載圖檔_bt.Location = New System.Drawing.Point(1375, 269)
172
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
172
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
173
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
173
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
174
         Me.下載圖檔_bt.TabIndex = 1437
174
         Me.下載圖檔_bt.TabIndex = 1437
180
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
180
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
181
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
181
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
182
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
182
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
183
-        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1050, 269)
183
+        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1201, 269)
184
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
184
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
185
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
185
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
186
         Me.圖檔入系統_bt.TabIndex = 1436
186
         Me.圖檔入系統_bt.TabIndex = 1436
203
         Me.檔案名稱_tb.AllowDrop = True
203
         Me.檔案名稱_tb.AllowDrop = True
204
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
204
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
205
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
205
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
206
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(1105, 480)
206
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(1256, 480)
207
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
207
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
208
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
208
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
209
         Me.檔案名稱_tb.TabIndex = 1433
209
         Me.檔案名稱_tb.TabIndex = 1433
213
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
213
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
214
         Me.Label12.AutoSize = True
214
         Me.Label12.AutoSize = True
215
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
215
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
216
-        Me.Label12.Location = New System.Drawing.Point(1053, 506)
216
+        Me.Label12.Location = New System.Drawing.Point(1204, 506)
217
         Me.Label12.Name = "Label12"
217
         Me.Label12.Name = "Label12"
218
         Me.Label12.Size = New System.Drawing.Size(108, 17)
218
         Me.Label12.Size = New System.Drawing.Size(108, 17)
219
         Me.Label12.TabIndex = 1431
219
         Me.Label12.TabIndex = 1431
224
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
224
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
225
         Me.Label4.AutoSize = True
225
         Me.Label4.AutoSize = True
226
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
226
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
227
-        Me.Label4.Location = New System.Drawing.Point(1055, 298)
227
+        Me.Label4.Location = New System.Drawing.Point(1206, 298)
228
         Me.Label4.Name = "Label4"
228
         Me.Label4.Name = "Label4"
229
         Me.Label4.Size = New System.Drawing.Size(56, 16)
229
         Me.Label4.Size = New System.Drawing.Size(56, 16)
230
         Me.Label4.TabIndex = 1430
230
         Me.Label4.TabIndex = 1430
235
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
235
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
236
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
236
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
237
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
237
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
238
-        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(960, 269)
238
+        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1111, 269)
239
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
239
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
240
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
240
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
241
         Me.讀取資料夾路徑_bt.TabIndex = 1429
241
         Me.讀取資料夾路徑_bt.TabIndex = 1429
246
         '
246
         '
247
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
247
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
248
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
248
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
249
-        Me.本機資料夾_wb.Location = New System.Drawing.Point(1054, 354)
249
+        Me.本機資料夾_wb.Location = New System.Drawing.Point(1205, 354)
250
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
250
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
251
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
251
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
252
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
252
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
256
         'FTP資料夾_wb
256
         'FTP資料夾_wb
257
         '
257
         '
258
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
258
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
259
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1054, 523)
259
+        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1205, 523)
260
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
260
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
261
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
261
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
262
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
262
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
268
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
268
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
269
         Me.Label11.AutoSize = True
269
         Me.Label11.AutoSize = True
270
         Me.Label11.ForeColor = System.Drawing.Color.Red
270
         Me.Label11.ForeColor = System.Drawing.Color.Red
271
-        Me.Label11.Location = New System.Drawing.Point(1062, 319)
271
+        Me.Label11.Location = New System.Drawing.Point(1213, 319)
272
         Me.Label11.Name = "Label11"
272
         Me.Label11.Name = "Label11"
273
         Me.Label11.Size = New System.Drawing.Size(244, 32)
273
         Me.Label11.Size = New System.Drawing.Size(244, 32)
274
         Me.Label11.TabIndex = 1432
274
         Me.Label11.TabIndex = 1432
278
         '
278
         '
279
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
279
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
280
         Me.Label5.AutoSize = True
280
         Me.Label5.AutoSize = True
281
-        Me.Label5.Location = New System.Drawing.Point(1051, 483)
281
+        Me.Label5.Location = New System.Drawing.Point(1202, 483)
282
         Me.Label5.Name = "Label5"
282
         Me.Label5.Name = "Label5"
283
         Me.Label5.Size = New System.Drawing.Size(56, 16)
283
         Me.Label5.Size = New System.Drawing.Size(56, 16)
284
         Me.Label5.TabIndex = 1434
284
         Me.Label5.TabIndex = 1434
325
         '
325
         '
326
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
326
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
327
         Me.日期2_dtp.Enabled = False
327
         Me.日期2_dtp.Enabled = False
328
-        Me.日期2_dtp.Location = New System.Drawing.Point(744, 152)
328
+        Me.日期2_dtp.Location = New System.Drawing.Point(895, 152)
329
         Me.日期2_dtp.Name = "日期2_dtp"
329
         Me.日期2_dtp.Name = "日期2_dtp"
330
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
330
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
331
         Me.日期2_dtp.TabIndex = 1422
331
         Me.日期2_dtp.TabIndex = 1422
335
         '
335
         '
336
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
336
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
337
         Me.日期1_dtp.Enabled = False
337
         Me.日期1_dtp.Enabled = False
338
-        Me.日期1_dtp.Location = New System.Drawing.Point(744, 123)
338
+        Me.日期1_dtp.Location = New System.Drawing.Point(895, 123)
339
         Me.日期1_dtp.Name = "日期1_dtp"
339
         Me.日期1_dtp.Name = "日期1_dtp"
340
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
340
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
341
         Me.日期1_dtp.TabIndex = 1421
341
         Me.日期1_dtp.TabIndex = 1421
364
         '
364
         '
365
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
365
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
366
         Me.單號_tb.Enabled = False
366
         Me.單號_tb.Enabled = False
367
-        Me.單號_tb.Location = New System.Drawing.Point(744, 94)
367
+        Me.單號_tb.Location = New System.Drawing.Point(895, 94)
368
         Me.單號_tb.Name = "單號_tb"
368
         Me.單號_tb.Name = "單號_tb"
369
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
369
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
370
         Me.單號_tb.TabIndex = 1418
370
         Me.單號_tb.TabIndex = 1418
510
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
510
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
511
         Me.Label9.AutoSize = True
511
         Me.Label9.AutoSize = True
512
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
512
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
513
-        Me.Label9.Location = New System.Drawing.Point(913, 61)
513
+        Me.Label9.Location = New System.Drawing.Point(1064, 61)
514
         Me.Label9.Name = "Label9"
514
         Me.Label9.Name = "Label9"
515
         Me.Label9.Size = New System.Drawing.Size(44, 16)
515
         Me.Label9.Size = New System.Drawing.Size(44, 16)
516
         Me.Label9.TabIndex = 1402
516
         Me.Label9.TabIndex = 1402
519
         '資料筆數1_tb
519
         '資料筆數1_tb
520
         '
520
         '
521
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
521
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
522
-        Me.資料筆數1_tb.Location = New System.Drawing.Point(871, 58)
522
+        Me.資料筆數1_tb.Location = New System.Drawing.Point(1022, 58)
523
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
523
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
524
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
524
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
525
         Me.資料筆數1_tb.TabIndex = 1401
525
         Me.資料筆數1_tb.TabIndex = 1401
530
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
530
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
531
         Me.Label10.AutoSize = True
531
         Me.Label10.AutoSize = True
532
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
532
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
533
-        Me.Label10.Location = New System.Drawing.Point(849, 61)
533
+        Me.Label10.Location = New System.Drawing.Point(1000, 61)
534
         Me.Label10.Name = "Label10"
534
         Me.Label10.Name = "Label10"
535
         Me.Label10.Size = New System.Drawing.Size(20, 16)
535
         Me.Label10.Size = New System.Drawing.Size(20, 16)
536
         Me.Label10.TabIndex = 1400
536
         Me.Label10.TabIndex = 1400
588
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
588
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
589
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
589
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
590
         Me.採購清單_dgv.RowTemplate.Height = 24
590
         Me.採購清單_dgv.RowTemplate.Height = 24
591
-        Me.採購清單_dgv.Size = New System.Drawing.Size(951, 591)
591
+        Me.採購清單_dgv.Size = New System.Drawing.Size(1102, 591)
592
         Me.採購清單_dgv.TabIndex = 1395
592
         Me.採購清單_dgv.TabIndex = 1395
593
         '
593
         '
594
         '物料圖1_pb
594
         '物料圖1_pb
596
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
596
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
597
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
597
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
598
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
598
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
599
-        Me.物料圖1_pb.Location = New System.Drawing.Point(963, 4)
599
+        Me.物料圖1_pb.Location = New System.Drawing.Point(1114, 4)
600
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
600
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
601
         Me.物料圖1_pb.Name = "物料圖1_pb"
601
         Me.物料圖1_pb.Name = "物料圖1_pb"
602
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
602
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
693
         '
693
         '
694
         '字體大小調整_lb
694
         '字體大小調整_lb
695
         '
695
         '
696
-        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
697
         Me.字體大小調整_lb.AutoSize = True
696
         Me.字體大小調整_lb.AutoSize = True
698
-        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
697
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
699
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
698
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
700
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
699
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
701
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1213, 298)
700
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(966, 30)
702
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
701
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
703
-        Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
702
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
704
         Me.字體大小調整_lb.TabIndex = 1453
703
         Me.字體大小調整_lb.TabIndex = 1453
705
         Me.字體大小調整_lb.Text = "字體調整"
704
         Me.字體大小調整_lb.Text = "字體調整"
706
         '
705
         '
707
         '字體_NUD
706
         '字體_NUD
708
         '
707
         '
709
-        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
710
-        Me.字體_NUD.Location = New System.Drawing.Point(1274, 295)
708
+        Me.字體_NUD.Location = New System.Drawing.Point(1036, 28)
711
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
709
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
712
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
710
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
713
         Me.字體_NUD.Name = "字體_NUD"
711
         Me.字體_NUD.Name = "字體_NUD"
719
         '
717
         '
720
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
718
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
721
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
719
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
722
-        Me.ClientSize = New System.Drawing.Size(1344, 681)
720
+        Me.ClientSize = New System.Drawing.Size(1495, 681)
723
         Me.Controls.Add(Me.字體大小調整_lb)
721
         Me.Controls.Add(Me.字體大小調整_lb)
724
         Me.Controls.Add(Me.字體_NUD)
722
         Me.Controls.Add(Me.字體_NUD)
725
         Me.Controls.Add(Me.依廠商選擇_bt)
723
         Me.Controls.Add(Me.依廠商選擇_bt)

+ 67
- 39
YD-ERP-SYS/採購系統管理/採購對帳單.Designer.vb View File

23
     <System.Diagnostics.DebuggerStepThrough()> _
23
     <System.Diagnostics.DebuggerStepThrough()> _
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(採購對帳單))
28
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(採購對帳單))
29
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
         Me.下載檔名_tb = New System.Windows.Forms.TextBox()
30
         Me.下載檔名_tb = New System.Windows.Forms.TextBox()
31
         Me.料號_tb = New System.Windows.Forms.TextBox()
31
         Me.料號_tb = New System.Windows.Forms.TextBox()
32
         Me.單號1_tb = New System.Windows.Forms.TextBox()
32
         Me.單號1_tb = New System.Windows.Forms.TextBox()
91
         Me.列印Excel_bt = New System.Windows.Forms.Button()
91
         Me.列印Excel_bt = New System.Windows.Forms.Button()
92
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
92
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
93
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
93
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
94
+        Me.全部選擇_bt = New System.Windows.Forms.Button()
95
+        Me.全部取消_bt = New System.Windows.Forms.Button()
94
         CType(Me.訂製圖檔_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
96
         CType(Me.訂製圖檔_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
95
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
97
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
96
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
98
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
113
         '
115
         '
114
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
116
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
115
         Me.料號_tb.Enabled = False
117
         Me.料號_tb.Enabled = False
116
-        Me.料號_tb.Location = New System.Drawing.Point(851, 327)
118
+        Me.料號_tb.Location = New System.Drawing.Point(1044, 327)
117
         Me.料號_tb.Name = "料號_tb"
119
         Me.料號_tb.Name = "料號_tb"
118
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
120
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
119
         Me.料號_tb.TabIndex = 1393
121
         Me.料號_tb.TabIndex = 1393
123
         '
125
         '
124
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
126
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
125
         Me.單號1_tb.Enabled = False
127
         Me.單號1_tb.Enabled = False
126
-        Me.單號1_tb.Location = New System.Drawing.Point(851, 298)
128
+        Me.單號1_tb.Location = New System.Drawing.Point(1044, 298)
127
         Me.單號1_tb.Name = "單號1_tb"
129
         Me.單號1_tb.Name = "單號1_tb"
128
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
130
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
129
         Me.單號1_tb.TabIndex = 1392
131
         Me.單號1_tb.TabIndex = 1392
134
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
136
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
135
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
137
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
136
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
138
         Me.大圖預覽_bt.ForeColor = System.Drawing.Color.Blue
137
-        Me.大圖預覽_bt.Location = New System.Drawing.Point(1067, 297)
139
+        Me.大圖預覽_bt.Location = New System.Drawing.Point(1260, 297)
138
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
140
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
139
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
141
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
140
         Me.大圖預覽_bt.TabIndex = 1391
142
         Me.大圖預覽_bt.TabIndex = 1391
151
         '
153
         '
152
         '訂製圖檔_dgv
154
         '訂製圖檔_dgv
153
         '
155
         '
154
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
155
-        Me.訂製圖檔_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
156
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
157
+        Me.訂製圖檔_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
156
         Me.訂製圖檔_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
158
         Me.訂製圖檔_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
157
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
159
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
158
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
160
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
159
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
161
         Me.訂製圖檔_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
160
-        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(1066, 323)
162
+        Me.訂製圖檔_dgv.Location = New System.Drawing.Point(1259, 323)
161
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
163
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
162
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
164
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
163
-        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
164
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
165
-        Me.訂製圖檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
165
+        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
166
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
167
+        Me.訂製圖檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
166
         Me.訂製圖檔_dgv.RowTemplate.Height = 24
168
         Me.訂製圖檔_dgv.RowTemplate.Height = 24
167
         Me.訂製圖檔_dgv.Size = New System.Drawing.Size(90, 354)
169
         Me.訂製圖檔_dgv.Size = New System.Drawing.Size(90, 354)
168
         Me.訂製圖檔_dgv.TabIndex = 1389
170
         Me.訂製圖檔_dgv.TabIndex = 1389
172
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
174
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
173
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
175
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
174
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
176
         Me.下載圖檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
175
-        Me.下載圖檔_bt.Location = New System.Drawing.Point(1331, 271)
177
+        Me.下載圖檔_bt.Location = New System.Drawing.Point(1524, 271)
176
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
178
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
177
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
179
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
178
         Me.下載圖檔_bt.TabIndex = 1388
180
         Me.下載圖檔_bt.TabIndex = 1388
184
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
186
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
185
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
187
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
186
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
188
         Me.圖檔入系統_bt.ForeColor = System.Drawing.Color.Green
187
-        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1157, 271)
189
+        Me.圖檔入系統_bt.Location = New System.Drawing.Point(1350, 271)
188
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
190
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
189
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
191
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
190
         Me.圖檔入系統_bt.TabIndex = 1387
192
         Me.圖檔入系統_bt.TabIndex = 1387
207
         Me.檔案名稱_tb.AllowDrop = True
209
         Me.檔案名稱_tb.AllowDrop = True
208
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
210
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
209
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
211
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
210
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(1212, 482)
212
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(1405, 482)
211
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
213
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
212
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
214
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
213
         Me.檔案名稱_tb.TabIndex = 1384
215
         Me.檔案名稱_tb.TabIndex = 1384
217
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
219
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
218
         Me.Label12.AutoSize = True
220
         Me.Label12.AutoSize = True
219
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
221
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
220
-        Me.Label12.Location = New System.Drawing.Point(1160, 508)
222
+        Me.Label12.Location = New System.Drawing.Point(1353, 508)
221
         Me.Label12.Name = "Label12"
223
         Me.Label12.Name = "Label12"
222
         Me.Label12.Size = New System.Drawing.Size(108, 17)
224
         Me.Label12.Size = New System.Drawing.Size(108, 17)
223
         Me.Label12.TabIndex = 1382
225
         Me.Label12.TabIndex = 1382
228
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
230
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
229
         Me.Label4.AutoSize = True
231
         Me.Label4.AutoSize = True
230
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
232
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
231
-        Me.Label4.Location = New System.Drawing.Point(1162, 300)
233
+        Me.Label4.Location = New System.Drawing.Point(1355, 300)
232
         Me.Label4.Name = "Label4"
234
         Me.Label4.Name = "Label4"
233
         Me.Label4.Size = New System.Drawing.Size(56, 16)
235
         Me.Label4.Size = New System.Drawing.Size(56, 16)
234
         Me.Label4.TabIndex = 1381
236
         Me.Label4.TabIndex = 1381
239
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
241
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
240
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
242
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
241
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
243
         Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
242
-        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1067, 271)
244
+        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1260, 271)
243
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
245
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
244
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
246
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
245
         Me.讀取資料夾路徑_bt.TabIndex = 1380
247
         Me.讀取資料夾路徑_bt.TabIndex = 1380
250
         '
252
         '
251
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
253
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
252
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
254
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
253
-        Me.本機資料夾_wb.Location = New System.Drawing.Point(1161, 356)
255
+        Me.本機資料夾_wb.Location = New System.Drawing.Point(1354, 356)
254
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
256
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
255
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
257
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
256
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
258
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
260
         'FTP資料夾_wb
262
         'FTP資料夾_wb
261
         '
263
         '
262
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
264
         Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
263
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1161, 525)
265
+        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1354, 525)
264
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
266
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
265
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
267
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
266
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
268
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
272
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
274
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
273
         Me.Label11.AutoSize = True
275
         Me.Label11.AutoSize = True
274
         Me.Label11.ForeColor = System.Drawing.Color.Red
276
         Me.Label11.ForeColor = System.Drawing.Color.Red
275
-        Me.Label11.Location = New System.Drawing.Point(1169, 321)
277
+        Me.Label11.Location = New System.Drawing.Point(1362, 321)
276
         Me.Label11.Name = "Label11"
278
         Me.Label11.Name = "Label11"
277
         Me.Label11.Size = New System.Drawing.Size(244, 32)
279
         Me.Label11.Size = New System.Drawing.Size(244, 32)
278
         Me.Label11.TabIndex = 1383
280
         Me.Label11.TabIndex = 1383
282
         '
284
         '
283
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
285
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
284
         Me.Label5.AutoSize = True
286
         Me.Label5.AutoSize = True
285
-        Me.Label5.Location = New System.Drawing.Point(1158, 485)
287
+        Me.Label5.Location = New System.Drawing.Point(1351, 485)
286
         Me.Label5.Name = "Label5"
288
         Me.Label5.Name = "Label5"
287
         Me.Label5.Size = New System.Drawing.Size(56, 16)
289
         Me.Label5.Size = New System.Drawing.Size(56, 16)
288
         Me.Label5.TabIndex = 1385
290
         Me.Label5.TabIndex = 1385
329
         '
331
         '
330
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
332
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
331
         Me.日期2_dtp.Enabled = False
333
         Me.日期2_dtp.Enabled = False
332
-        Me.日期2_dtp.Location = New System.Drawing.Point(851, 183)
334
+        Me.日期2_dtp.Location = New System.Drawing.Point(1044, 183)
333
         Me.日期2_dtp.Name = "日期2_dtp"
335
         Me.日期2_dtp.Name = "日期2_dtp"
334
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
336
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
335
         Me.日期2_dtp.TabIndex = 1373
337
         Me.日期2_dtp.TabIndex = 1373
339
         '
341
         '
340
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
342
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
341
         Me.日期1_dtp.Enabled = False
343
         Me.日期1_dtp.Enabled = False
342
-        Me.日期1_dtp.Location = New System.Drawing.Point(851, 154)
344
+        Me.日期1_dtp.Location = New System.Drawing.Point(1044, 154)
343
         Me.日期1_dtp.Name = "日期1_dtp"
345
         Me.日期1_dtp.Name = "日期1_dtp"
344
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
346
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
345
         Me.日期1_dtp.TabIndex = 1372
347
         Me.日期1_dtp.TabIndex = 1372
368
         '
370
         '
369
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
371
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
370
         Me.單號_tb.Enabled = False
372
         Me.單號_tb.Enabled = False
371
-        Me.單號_tb.Location = New System.Drawing.Point(851, 125)
373
+        Me.單號_tb.Location = New System.Drawing.Point(1044, 125)
372
         Me.單號_tb.Name = "單號_tb"
374
         Me.單號_tb.Name = "單號_tb"
373
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
375
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
374
         Me.單號_tb.TabIndex = 1369
376
         Me.單號_tb.TabIndex = 1369
408
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
410
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
409
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
411
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
410
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
412
         Me.物料圖1_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
411
-        Me.物料圖1_pb.Location = New System.Drawing.Point(1070, 6)
413
+        Me.物料圖1_pb.Location = New System.Drawing.Point(1263, 6)
412
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
414
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
413
         Me.物料圖1_pb.Name = "物料圖1_pb"
415
         Me.物料圖1_pb.Name = "物料圖1_pb"
414
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
416
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
526
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
528
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
527
         Me.Label9.AutoSize = True
529
         Me.Label9.AutoSize = True
528
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
530
         Me.Label9.ImeMode = System.Windows.Forms.ImeMode.NoControl
529
-        Me.Label9.Location = New System.Drawing.Point(1020, 67)
531
+        Me.Label9.Location = New System.Drawing.Point(1213, 67)
530
         Me.Label9.Name = "Label9"
532
         Me.Label9.Name = "Label9"
531
         Me.Label9.Size = New System.Drawing.Size(44, 16)
533
         Me.Label9.Size = New System.Drawing.Size(44, 16)
532
         Me.Label9.TabIndex = 1353
534
         Me.Label9.TabIndex = 1353
535
         '資料筆數1_tb
537
         '資料筆數1_tb
536
         '
538
         '
537
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
539
         Me.資料筆數1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
538
-        Me.資料筆數1_tb.Location = New System.Drawing.Point(978, 64)
540
+        Me.資料筆數1_tb.Location = New System.Drawing.Point(1171, 64)
539
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
541
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
540
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
542
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
541
         Me.資料筆數1_tb.TabIndex = 1352
543
         Me.資料筆數1_tb.TabIndex = 1352
546
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
548
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
547
         Me.Label10.AutoSize = True
549
         Me.Label10.AutoSize = True
548
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
550
         Me.Label10.ImeMode = System.Windows.Forms.ImeMode.NoControl
549
-        Me.Label10.Location = New System.Drawing.Point(956, 67)
551
+        Me.Label10.Location = New System.Drawing.Point(1149, 67)
550
         Me.Label10.Name = "Label10"
552
         Me.Label10.Name = "Label10"
551
         Me.Label10.Size = New System.Drawing.Size(20, 16)
553
         Me.Label10.Size = New System.Drawing.Size(20, 16)
552
         Me.Label10.TabIndex = 1351
554
         Me.Label10.TabIndex = 1351
598
         Me.採購清單_dgv.Location = New System.Drawing.Point(5, 92)
600
         Me.採購清單_dgv.Location = New System.Drawing.Point(5, 92)
599
         Me.採購清單_dgv.Name = "採購清單_dgv"
601
         Me.採購清單_dgv.Name = "採購清單_dgv"
600
         Me.採購清單_dgv.RowHeadersWidth = 5
602
         Me.採購清單_dgv.RowHeadersWidth = 5
601
-        DataGridViewCellStyle9.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
602
-        DataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
603
-        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle9
603
+        DataGridViewCellStyle3.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
604
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
605
+        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
604
         Me.採購清單_dgv.RowTemplate.Height = 24
606
         Me.採購清單_dgv.RowTemplate.Height = 24
605
-        Me.採購清單_dgv.Size = New System.Drawing.Size(1059, 585)
607
+        Me.採購清單_dgv.Size = New System.Drawing.Size(1252, 585)
606
         Me.採購清單_dgv.TabIndex = 1346
608
         Me.採購清單_dgv.TabIndex = 1346
607
         '
609
         '
608
         'SaveFileDialog1
610
         'SaveFileDialog1
665
         '
667
         '
666
         Me.日期3_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
668
         Me.日期3_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
667
         Me.日期3_dtp.Enabled = False
669
         Me.日期3_dtp.Enabled = False
668
-        Me.日期3_dtp.Location = New System.Drawing.Point(723, 154)
670
+        Me.日期3_dtp.Location = New System.Drawing.Point(916, 154)
669
         Me.日期3_dtp.Name = "日期3_dtp"
671
         Me.日期3_dtp.Name = "日期3_dtp"
670
         Me.日期3_dtp.Size = New System.Drawing.Size(122, 23)
672
         Me.日期3_dtp.Size = New System.Drawing.Size(122, 23)
671
         Me.日期3_dtp.TabIndex = 1455
673
         Me.日期3_dtp.TabIndex = 1455
675
         '
677
         '
676
         Me.日期4_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
678
         Me.日期4_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
677
         Me.日期4_dtp.Enabled = False
679
         Me.日期4_dtp.Enabled = False
678
-        Me.日期4_dtp.Location = New System.Drawing.Point(723, 183)
680
+        Me.日期4_dtp.Location = New System.Drawing.Point(916, 183)
679
         Me.日期4_dtp.Name = "日期4_dtp"
681
         Me.日期4_dtp.Name = "日期4_dtp"
680
         Me.日期4_dtp.Size = New System.Drawing.Size(122, 23)
682
         Me.日期4_dtp.Size = New System.Drawing.Size(122, 23)
681
         Me.日期4_dtp.TabIndex = 1456
683
         Me.日期4_dtp.TabIndex = 1456
696
         Me.過帳_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
698
         Me.過帳_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
697
         Me.過帳_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
699
         Me.過帳_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
698
         Me.過帳_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
700
         Me.過帳_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
699
-        Me.過帳_bt.Location = New System.Drawing.Point(948, 4)
701
+        Me.過帳_bt.Location = New System.Drawing.Point(1141, 4)
700
         Me.過帳_bt.Name = "過帳_bt"
702
         Me.過帳_bt.Name = "過帳_bt"
701
         Me.過帳_bt.Size = New System.Drawing.Size(116, 52)
703
         Me.過帳_bt.Size = New System.Drawing.Size(116, 52)
702
         Me.過帳_bt.TabIndex = 1458
704
         Me.過帳_bt.TabIndex = 1458
721
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
723
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
722
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
724
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
723
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
725
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
724
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(833, 67)
726
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1026, 67)
725
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
727
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
726
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
728
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
727
         Me.字體大小調整_lb.TabIndex = 1461
729
         Me.字體大小調整_lb.TabIndex = 1461
730
         '字體_NUD
732
         '字體_NUD
731
         '
733
         '
732
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
734
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
733
-        Me.字體_NUD.Location = New System.Drawing.Point(893, 64)
735
+        Me.字體_NUD.Location = New System.Drawing.Point(1086, 64)
734
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
736
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
735
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
737
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
736
         Me.字體_NUD.Name = "字體_NUD"
738
         Me.字體_NUD.Name = "字體_NUD"
738
         Me.字體_NUD.TabIndex = 1460
740
         Me.字體_NUD.TabIndex = 1460
739
         Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
741
         Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
740
         '
742
         '
743
+        '全部選擇_bt
744
+        '
745
+        Me.全部選擇_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
746
+        Me.全部選擇_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(0, Byte), Integer))
747
+        Me.全部選擇_bt.Location = New System.Drawing.Point(824, 63)
748
+        Me.全部選擇_bt.Name = "全部選擇_bt"
749
+        Me.全部選擇_bt.Size = New System.Drawing.Size(76, 23)
750
+        Me.全部選擇_bt.TabIndex = 1464
751
+        Me.全部選擇_bt.Text = "批量選擇"
752
+        Me.全部選擇_bt.UseVisualStyleBackColor = True
753
+        '
754
+        '全部取消_bt
755
+        '
756
+        Me.全部取消_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
757
+        Me.全部取消_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(64, Byte), Integer), CType(CType(0, Byte), Integer))
758
+        Me.全部取消_bt.Location = New System.Drawing.Point(903, 63)
759
+        Me.全部取消_bt.Name = "全部取消_bt"
760
+        Me.全部取消_bt.Size = New System.Drawing.Size(76, 23)
761
+        Me.全部取消_bt.TabIndex = 1465
762
+        Me.全部取消_bt.Text = "批量取消"
763
+        Me.全部取消_bt.UseVisualStyleBackColor = True
764
+        '
741
         '採購對帳單
765
         '採購對帳單
742
         '
766
         '
743
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
767
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
744
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
768
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
745
-        Me.ClientSize = New System.Drawing.Size(1452, 681)
769
+        Me.ClientSize = New System.Drawing.Size(1645, 681)
746
         Me.ContextMenuStrip = Me.ContextMenuStrip1
770
         Me.ContextMenuStrip = Me.ContextMenuStrip1
771
+        Me.Controls.Add(Me.全部取消_bt)
772
+        Me.Controls.Add(Me.全部選擇_bt)
747
         Me.Controls.Add(Me.字體大小調整_lb)
773
         Me.Controls.Add(Me.字體大小調整_lb)
748
         Me.Controls.Add(Me.字體_NUD)
774
         Me.Controls.Add(Me.字體_NUD)
749
         Me.Controls.Add(Me.列印Excel_bt)
775
         Me.Controls.Add(Me.列印Excel_bt)
883
     Friend WithEvents 列印Excel_bt As Button
909
     Friend WithEvents 列印Excel_bt As Button
884
     Friend WithEvents 字體大小調整_lb As Label
910
     Friend WithEvents 字體大小調整_lb As Label
885
     Friend WithEvents 字體_NUD As NumericUpDown
911
     Friend WithEvents 字體_NUD As NumericUpDown
912
+    Friend WithEvents 全部選擇_bt As Button
913
+    Friend WithEvents 全部取消_bt As Button
886
 End Class
914
 End Class

+ 28
- 2
YD-ERP-SYS/採購系統管理/採購對帳單.vb View File

505
         For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
505
         For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
506
             資料數 = 採購清單_dgv.Rows.Count : MyModule1.進度條()
506
             資料數 = 採購清單_dgv.Rows.Count : MyModule1.進度條()
507
             If 採購清單_dgv("選擇", i).Value = True Then
507
             If 採購清單_dgv("選擇", i).Value = True Then
508
-                PA = 採購清單_dgv("資料流水號", i).Value : PA2 = "1" : PA1 = 採購清單_dgv("過帳日期", i).Value
509
-                SQL_採購控制表_過帳()
508
+                If 採購清單_dgv("實際進廠日", i).Value.ToString <> "" Then
509
+                    PA = 採購清單_dgv("資料流水號", i).Value : PA2 = "1" : PA1 = 採購清單_dgv("實際進廠日", i).Value
510
+                    SQL_採購控制表_過帳()
511
+                End If
510
             End If
512
             End If
511
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
513
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
512
         Set_清單1()
514
         Set_清單1()
924
             .ShrinkToFit = False : .ReadingOrder = xlContext
926
             .ShrinkToFit = False : .ReadingOrder = xlContext
925
         End With
927
         End With
926
     End Sub
928
     End Sub
929
+
930
+    Private Sub 全部選擇_bt_Click(sender As Object, e As EventArgs) Handles 全部選擇_bt.Click
931
+        If 供應商_tb.Text = "" Then
932
+            MsgBox("請先點選供應商!")
933
+        Else
934
+            For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
935
+                If 供應商_tb.Text = 採購清單_dgv.Rows(i).Cells("供應商").Value Then
936
+                    If 採購清單_dgv.Rows(i).Cells("實際進廠日").Value.ToString <> "" Then
937
+                        採購清單_dgv.Rows(i).Cells("選擇").Value = True
938
+                    End If
939
+                End If
940
+            Next
941
+        End If
942
+
943
+    End Sub
944
+
945
+    Private Sub 全部取消_bt_Click(sender As Object, e As EventArgs) Handles 全部取消_bt.Click
946
+        For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
947
+            If 供應商_tb.Text = 採購清單_dgv.Rows(i).Cells("供應商").Value Then
948
+                採購清單_dgv.Rows(i).Cells("選擇").Value = False
949
+            End If
950
+        Next
951
+    End Sub
952
+
927
     Private Sub 重新整理_tsm_Click(sender As Object, e As EventArgs) Handles 重新整理_tsm.Click
953
     Private Sub 重新整理_tsm_Click(sender As Object, e As EventArgs) Handles 重新整理_tsm.Click
928
         Set_清單1()
954
         Set_清單1()
929
     End Sub
955
     End Sub

+ 64
- 23
YD-ERP-SYS/採購系統管理/採購應負帳款.Designer.vb View File

22
     '請勿使用程式碼編輯器進行修改。
22
     '請勿使用程式碼編輯器進行修改。
23
     <System.Diagnostics.DebuggerStepThrough()>
23
     <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle27 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle28 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle29 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle30 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
         Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
31
         Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
32
         Me.一般月_ch = New System.Windows.Forms.CheckBox()
32
         Me.一般月_ch = New System.Windows.Forms.CheckBox()
33
         Me.會計月_ch = New System.Windows.Forms.CheckBox()
33
         Me.會計月_ch = New System.Windows.Forms.CheckBox()
79
         Me.匯出Excel_bt = New System.Windows.Forms.Button()
79
         Me.匯出Excel_bt = New System.Windows.Forms.Button()
80
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
80
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
81
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
81
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
82
+        Me.應負帳款退回_bt = New System.Windows.Forms.Button()
83
+        Me.資料流水號_tb = New System.Windows.Forms.TextBox()
84
+        Me.提示_lb = New System.Windows.Forms.Label()
82
         CType(Me.供應商_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
85
         CType(Me.供應商_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
83
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
86
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
84
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
87
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
179
         '
182
         '
180
         '供應商_dgv
183
         '供應商_dgv
181
         '
184
         '
182
-        DataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
183
-        Me.供應商_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle25
185
+        DataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
186
+        Me.供應商_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle13
184
         Me.供應商_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
187
         Me.供應商_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
185
             Or System.Windows.Forms.AnchorStyles.Left) _
188
             Or System.Windows.Forms.AnchorStyles.Left) _
186
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
189
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
190
         Me.供應商_dgv.Location = New System.Drawing.Point(247, 34)
193
         Me.供應商_dgv.Location = New System.Drawing.Point(247, 34)
191
         Me.供應商_dgv.Name = "供應商_dgv"
194
         Me.供應商_dgv.Name = "供應商_dgv"
192
         Me.供應商_dgv.RowHeadersWidth = 5
195
         Me.供應商_dgv.RowHeadersWidth = 5
193
-        DataGridViewCellStyle26.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
194
-        DataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
195
-        Me.供應商_dgv.RowsDefaultCellStyle = DataGridViewCellStyle26
196
+        DataGridViewCellStyle14.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
197
+        DataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
198
+        Me.供應商_dgv.RowsDefaultCellStyle = DataGridViewCellStyle14
196
         Me.供應商_dgv.RowTemplate.Height = 24
199
         Me.供應商_dgv.RowTemplate.Height = 24
197
         Me.供應商_dgv.Size = New System.Drawing.Size(1092, 711)
200
         Me.供應商_dgv.Size = New System.Drawing.Size(1092, 711)
198
         Me.供應商_dgv.TabIndex = 1439
201
         Me.供應商_dgv.TabIndex = 1439
230
         '
233
         '
231
         '採購清單_dgv
234
         '採購清單_dgv
232
         '
235
         '
233
-        DataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
234
-        Me.採購清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle27
236
+        DataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
237
+        Me.採購清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle15
235
         Me.採購清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
238
         Me.採購清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
236
             Or System.Windows.Forms.AnchorStyles.Left) _
239
             Or System.Windows.Forms.AnchorStyles.Left) _
237
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
240
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
241
         Me.採購清單_dgv.Location = New System.Drawing.Point(247, 34)
244
         Me.採購清單_dgv.Location = New System.Drawing.Point(247, 34)
242
         Me.採購清單_dgv.Name = "採購清單_dgv"
245
         Me.採購清單_dgv.Name = "採購清單_dgv"
243
         Me.採購清單_dgv.RowHeadersWidth = 5
246
         Me.採購清單_dgv.RowHeadersWidth = 5
244
-        DataGridViewCellStyle28.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
245
-        DataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
246
-        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle28
247
+        DataGridViewCellStyle16.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
248
+        DataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
249
+        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle16
247
         Me.採購清單_dgv.RowTemplate.Height = 24
250
         Me.採購清單_dgv.RowTemplate.Height = 24
248
         Me.採購清單_dgv.Size = New System.Drawing.Size(1092, 711)
251
         Me.採購清單_dgv.Size = New System.Drawing.Size(1092, 711)
249
         Me.採購清單_dgv.TabIndex = 1443
252
         Me.採購清單_dgv.TabIndex = 1443
635
         '
638
         '
636
         '合計_dgv
639
         '合計_dgv
637
         '
640
         '
638
-        DataGridViewCellStyle29.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
639
-        Me.合計_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle29
641
+        DataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
642
+        Me.合計_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
640
         Me.合計_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
643
         Me.合計_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
641
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
644
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
642
         Me.合計_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
645
         Me.合計_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
645
         Me.合計_dgv.Location = New System.Drawing.Point(4, 557)
648
         Me.合計_dgv.Location = New System.Drawing.Point(4, 557)
646
         Me.合計_dgv.Name = "合計_dgv"
649
         Me.合計_dgv.Name = "合計_dgv"
647
         Me.合計_dgv.RowHeadersWidth = 5
650
         Me.合計_dgv.RowHeadersWidth = 5
648
-        DataGridViewCellStyle30.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
649
-        DataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
650
-        Me.合計_dgv.RowsDefaultCellStyle = DataGridViewCellStyle30
651
+        DataGridViewCellStyle18.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
652
+        DataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
653
+        Me.合計_dgv.RowsDefaultCellStyle = DataGridViewCellStyle18
651
         Me.合計_dgv.RowTemplate.Height = 24
654
         Me.合計_dgv.RowTemplate.Height = 24
652
         Me.合計_dgv.Size = New System.Drawing.Size(237, 107)
655
         Me.合計_dgv.Size = New System.Drawing.Size(237, 107)
653
         Me.合計_dgv.TabIndex = 1479
656
         Me.合計_dgv.TabIndex = 1479
667
         '
670
         '
668
         '字體_NUD
671
         '字體_NUD
669
         '
672
         '
670
-        Me.字體_NUD.Location = New System.Drawing.Point(327, 7)
673
+        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
674
+        Me.字體_NUD.Location = New System.Drawing.Point(1287, 4)
671
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
675
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
672
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
676
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
673
         Me.字體_NUD.Name = "字體_NUD"
677
         Me.字體_NUD.Name = "字體_NUD"
677
         '
681
         '
678
         '字體大小調整_lb
682
         '字體大小調整_lb
679
         '
683
         '
684
+        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
680
         Me.字體大小調整_lb.AutoSize = True
685
         Me.字體大小調整_lb.AutoSize = True
681
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
686
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
682
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
687
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
683
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
688
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
684
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(257, 8)
689
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1217, 5)
685
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
690
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
686
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
691
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
687
         Me.字體大小調整_lb.TabIndex = 1483
692
         Me.字體大小調整_lb.TabIndex = 1483
688
         Me.字體大小調整_lb.Text = "字體調整"
693
         Me.字體大小調整_lb.Text = "字體調整"
689
         '
694
         '
695
+        '應負帳款退回_bt
696
+        '
697
+        Me.應負帳款退回_bt.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
698
+        Me.應負帳款退回_bt.ForeColor = System.Drawing.Color.Brown
699
+        Me.應負帳款退回_bt.Location = New System.Drawing.Point(247, 2)
700
+        Me.應負帳款退回_bt.Name = "應負帳款退回_bt"
701
+        Me.應負帳款退回_bt.Size = New System.Drawing.Size(122, 29)
702
+        Me.應負帳款退回_bt.TabIndex = 1484
703
+        Me.應負帳款退回_bt.Text = "應負帳款退回"
704
+        Me.應負帳款退回_bt.UseVisualStyleBackColor = True
705
+        '
706
+        '資料流水號_tb
707
+        '
708
+        Me.資料流水號_tb.Location = New System.Drawing.Point(937, 180)
709
+        Me.資料流水號_tb.Name = "資料流水號_tb"
710
+        Me.資料流水號_tb.Size = New System.Drawing.Size(122, 23)
711
+        Me.資料流水號_tb.TabIndex = 1485
712
+        Me.資料流水號_tb.Visible = False
713
+        '
714
+        '提示_lb
715
+        '
716
+        Me.提示_lb.AutoSize = True
717
+        Me.提示_lb.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
718
+        Me.提示_lb.ForeColor = System.Drawing.Color.Red
719
+        Me.提示_lb.Location = New System.Drawing.Point(385, 7)
720
+        Me.提示_lb.Name = "提示_lb"
721
+        Me.提示_lb.Size = New System.Drawing.Size(67, 20)
722
+        Me.提示_lb.TabIndex = 1486
723
+        Me.提示_lb.Text = "Label14"
724
+        '
690
         '採購應負帳款
725
         '採購應負帳款
691
         '
726
         '
692
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
727
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
693
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
728
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
694
         Me.ClientSize = New System.Drawing.Size(1344, 782)
729
         Me.ClientSize = New System.Drawing.Size(1344, 782)
730
+        Me.Controls.Add(Me.提示_lb)
731
+        Me.Controls.Add(Me.資料流水號_tb)
732
+        Me.Controls.Add(Me.應負帳款退回_bt)
695
         Me.Controls.Add(Me.字體大小調整_lb)
733
         Me.Controls.Add(Me.字體大小調整_lb)
696
         Me.Controls.Add(Me.字體_NUD)
734
         Me.Controls.Add(Me.字體_NUD)
697
         Me.Controls.Add(Me.匯出Excel_bt)
735
         Me.Controls.Add(Me.匯出Excel_bt)
809
     Friend WithEvents 匯出Excel_bt As Button
847
     Friend WithEvents 匯出Excel_bt As Button
810
     Friend WithEvents 字體_NUD As NumericUpDown
848
     Friend WithEvents 字體_NUD As NumericUpDown
811
     Friend WithEvents 字體大小調整_lb As Label
849
     Friend WithEvents 字體大小調整_lb As Label
850
+    Friend WithEvents 應負帳款退回_bt As Button
851
+    Friend WithEvents 資料流水號_tb As TextBox
852
+    Friend WithEvents 提示_lb As Label
812
 End Class
853
 End Class

+ 17
- 3
YD-ERP-SYS/採購系統管理/採購應負帳款.vb View File

22
         供應商_dgv.ColumnHeadersHeight = 40
22
         供應商_dgv.ColumnHeadersHeight = 40
23
         供應商_dgv.AllowUserToAddRows = False
23
         供應商_dgv.AllowUserToAddRows = False
24
         供應商_dgv.RowTemplate.Height = 30
24
         供應商_dgv.RowTemplate.Height = 30
25
-        採購清單_dgv.RowTemplate.Height = 30
25
+
26
         合計_dgv.RowTemplate.Height = 30
26
         合計_dgv.RowTemplate.Height = 30
27
 
27
 
28
         SQL_採購對帳單_總表()
28
         SQL_採購對帳單_總表()
229
     End Sub
229
     End Sub
230
     Private Sub 採購對帳單_Load(sender As Object, e As EventArgs) Handles MyBase.Load
230
     Private Sub 採購對帳單_Load(sender As Object, e As EventArgs) Handles MyBase.Load
231
         Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
231
         Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
232
-        小間距_ch.Checked = True : 供應商_dgv.Visible = False : 供應商_dgv.Visible = True
232
+        小間距_ch.Checked = True : 供應商_dgv.Visible = False : 供應商_dgv.Visible = True : 應負帳款退回_bt.Visible = False
233
+        提示_lb.Text = "目前呈現表單為應付帳款,若要退回採購明細資料請點選下方採購明細"
233
         首次 = True : 日期格式() : 首次 = False : Set_清單3()
234
         首次 = True : 日期格式() : 首次 = False : Set_清單3()
234
     End Sub
235
     End Sub
235
     Private Sub 供應商_dgv_CellEndEdit(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 供應商_dgv.CellEndEdit
236
     Private Sub 供應商_dgv_CellEndEdit(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 供應商_dgv.CellEndEdit
311
     Private Sub 採購清單_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 採購清單_dgv.CellClick
312
     Private Sub 採購清單_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 採購清單_dgv.CellClick
312
         If e.RowIndex = -1 Then : Else
313
         If e.RowIndex = -1 Then : Else
313
             供應商_tb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
314
             供應商_tb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
314
-
315
+            資料流水號_tb.Text = 採購清單_dgv.Rows(e.RowIndex).Cells("資料流水號").Value.ToString
315
             Set_合記計算()
316
             Set_合記計算()
316
 
317
 
317
             PA15 = 採購清單_dgv(0, e.RowIndex).Value.ToString
318
             PA15 = 採購清單_dgv(0, e.RowIndex).Value.ToString
384
     End Sub
385
     End Sub
385
     Private Sub 採購明細_bt_Click(sender As Object, e As EventArgs) Handles 採購明細_bt.Click
386
     Private Sub 採購明細_bt_Click(sender As Object, e As EventArgs) Handles 採購明細_bt.Click
386
         採購明細_bt.Enabled = False : 應負帳款_bt.Enabled = True : 採購清單_dgv.Visible = True : 供應商_dgv.Visible = False
387
         採購明細_bt.Enabled = False : 應負帳款_bt.Enabled = True : 採購清單_dgv.Visible = True : 供應商_dgv.Visible = False
388
+        應負帳款退回_bt.Visible = True : 提示_lb.Text = "要將採購明細資料退回時,請點選採購明細中要退回的資料後點選左邊的應負帳款退回"
387
     End Sub
389
     End Sub
388
     Private Sub 應負帳款_bt_Click(sender As Object, e As EventArgs) Handles 應負帳款_bt.Click
390
     Private Sub 應負帳款_bt_Click(sender As Object, e As EventArgs) Handles 應負帳款_bt.Click
389
         採購明細_bt.Enabled = True : 應負帳款_bt.Enabled = False : 採購清單_dgv.Visible = False : 供應商_dgv.Visible = True
391
         採購明細_bt.Enabled = True : 應負帳款_bt.Enabled = False : 採購清單_dgv.Visible = False : 供應商_dgv.Visible = True
392
+        應負帳款退回_bt.Visible = False : 提示_lb.Text = "目前呈現表單為應付帳款,若要退回採購明細資料請點選下方採購明細"
390
     End Sub
393
     End Sub
391
     Private Sub 重新讀取_bt_Click(sender As Object, e As EventArgs) Handles 重新讀取_bt.Click
394
     Private Sub 重新讀取_bt_Click(sender As Object, e As EventArgs) Handles 重新讀取_bt.Click
392
         Set_清單1() : Set_清單2()
395
         Set_清單1() : Set_清單2()
753
         合計_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
756
         合計_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
754
         採購清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
757
         採購清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
755
     End Sub
758
     End Sub
759
+
760
+    Private Sub 應負帳款退回_bt_Click(sender As Object, e As EventArgs) Handles 應負帳款退回_bt.Click
761
+        If 資料流水號_tb.Text <> "" Then
762
+            PA = 資料流水號_tb.Text : PA2 = "0" : PA1 = ""
763
+            SQL_採購控制表_過帳()
764
+        Else
765
+            MsgBox("沒有選擇資料!!!")
766
+        End If
767
+        Set_清單2() : 資料流水號_tb.Text = ""
768
+    End Sub
769
+
756
     Private Sub 開啟供應商資料表_bt_Click(sender As Object, e As EventArgs) Handles 開啟供應商資料表_bt.Click
770
     Private Sub 開啟供應商資料表_bt_Click(sender As Object, e As EventArgs) Handles 開啟供應商資料表_bt.Click
757
         PA = "" : 供應商資料表.Show() : 供應商資料表.BringToFront()
771
         PA = "" : 供應商資料表.Show() : 供應商資料表.BringToFront()
758
     End Sub
772
     End Sub

+ 6
- 6
YD-ERP-SYS/業務系統管理/訂單控制表.Designer.vb View File

181
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
181
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
182
         Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
182
         Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
183
         Me.銷售單據_dgv.RowTemplate.Height = 24
183
         Me.銷售單據_dgv.RowTemplate.Height = 24
184
-        Me.銷售單據_dgv.Size = New System.Drawing.Size(548, 644)
184
+        Me.銷售單據_dgv.Size = New System.Drawing.Size(548, 686)
185
         Me.銷售單據_dgv.TabIndex = 1256
185
         Me.銷售單據_dgv.TabIndex = 1256
186
         '
186
         '
187
         '未審核_lb
187
         '未審核_lb
434
         Me.Panel1.Controls.Add(Me.銷售明細_dgv)
434
         Me.Panel1.Controls.Add(Me.銷售明細_dgv)
435
         Me.Panel1.Location = New System.Drawing.Point(1, 173)
435
         Me.Panel1.Location = New System.Drawing.Point(1, 173)
436
         Me.Panel1.Name = "Panel1"
436
         Me.Panel1.Name = "Panel1"
437
-        Me.Panel1.Size = New System.Drawing.Size(769, 500)
437
+        Me.Panel1.Size = New System.Drawing.Size(769, 542)
438
         Me.Panel1.TabIndex = 1278
438
         Me.Panel1.TabIndex = 1278
439
         '
439
         '
440
         '項次4_tb
440
         '項次4_tb
908
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
908
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
909
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
909
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
910
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
910
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
911
-        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 9669)
911
+        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 10185)
912
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
912
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
913
         Me.客戶資料_dgv.RowHeadersWidth = 5
913
         Me.客戶資料_dgv.RowHeadersWidth = 5
914
         DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
914
         DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1296
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1296
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1297
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1297
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1298
         Me.Panel2.Name = "Panel2"
1298
         Me.Panel2.Name = "Panel2"
1299
-        Me.Panel2.Size = New System.Drawing.Size(556, 677)
1299
+        Me.Panel2.Size = New System.Drawing.Size(556, 719)
1300
         Me.Panel2.TabIndex = 1339
1300
         Me.Panel2.TabIndex = 1339
1301
         '
1301
         '
1302
         'Panel3
1302
         'Panel3
1335
         Me.Panel3.Controls.Add(Me.Label7)
1335
         Me.Panel3.Controls.Add(Me.Label7)
1336
         Me.Panel3.Location = New System.Drawing.Point(559, 2)
1336
         Me.Panel3.Location = New System.Drawing.Point(559, 2)
1337
         Me.Panel3.Name = "Panel3"
1337
         Me.Panel3.Name = "Panel3"
1338
-        Me.Panel3.Size = New System.Drawing.Size(778, 677)
1338
+        Me.Panel3.Size = New System.Drawing.Size(778, 719)
1339
         Me.Panel3.TabIndex = 1340
1339
         Me.Panel3.TabIndex = 1340
1340
         '
1340
         '
1341
         '字體大小調整_lb
1341
         '字體大小調整_lb
1384
         '
1384
         '
1385
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
1385
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
1386
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
1386
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
1387
-        Me.ClientSize = New System.Drawing.Size(1344, 682)
1387
+        Me.ClientSize = New System.Drawing.Size(1344, 724)
1388
         Me.Controls.Add(Me.Panel3)
1388
         Me.Controls.Add(Me.Panel3)
1389
         Me.Controls.Add(Me.Panel2)
1389
         Me.Controls.Add(Me.Panel2)
1390
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1390
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))

+ 7
- 4
YD-ERP-SYS/業務系統管理/訂單控制表.vb View File

179
         DTP = Format(開單日期_dtp.Value, "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
179
         DTP = Format(開單日期_dtp.Value, "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
180
     End Sub
180
     End Sub
181
     Private Sub Set_合記計算()
181
     Private Sub Set_合記計算()
182
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
182
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
183
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
183
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
184
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
184
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
185
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
185
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
193
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
193
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
194
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
194
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
195
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
195
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
196
-
196
+            If 銷售明細_dgv("無管銷", i).Value = False Then
197
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
198
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
199
+                End If
200
+            End If
197
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
201
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
198
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
202
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
199
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
203
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
206
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
210
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
207
             End If
211
             End If
208
         Next
212
         Next
209
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
210
-
213
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
211
 
214
 
212
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
215
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
213
             通知_lb.Text = "無稅金"
216
             通知_lb.Text = "無稅金"

+ 10
- 10
YD-ERP-SYS/業務系統管理/銷售分析表.Designer.vb View File

209
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
209
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
210
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
210
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
211
         Me.銷售明細_dgv.RowTemplate.Height = 24
211
         Me.銷售明細_dgv.RowTemplate.Height = 24
212
-        Me.銷售明細_dgv.Size = New System.Drawing.Size(1082, 238)
212
+        Me.銷售明細_dgv.Size = New System.Drawing.Size(1109, 238)
213
         Me.銷售明細_dgv.TabIndex = 1258
213
         Me.銷售明細_dgv.TabIndex = 1258
214
         '
214
         '
215
         '依開單日期_ch
215
         '依開單日期_ch
249
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
249
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
250
         Me.銷售它項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
250
         Me.銷售它項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
251
         Me.銷售它項_dgv.RowTemplate.Height = 24
251
         Me.銷售它項_dgv.RowTemplate.Height = 24
252
-        Me.銷售它項_dgv.Size = New System.Drawing.Size(717, 180)
252
+        Me.銷售它項_dgv.Size = New System.Drawing.Size(744, 180)
253
         Me.銷售它項_dgv.TabIndex = 1261
253
         Me.銷售它項_dgv.TabIndex = 1261
254
         '
254
         '
255
         '銷售備註_dgv
255
         '銷售備註_dgv
267
         DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
267
         DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
268
         Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
268
         Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
269
         Me.銷售備註_dgv.RowTemplate.Height = 24
269
         Me.銷售備註_dgv.RowTemplate.Height = 24
270
-        Me.銷售備註_dgv.Size = New System.Drawing.Size(428, 165)
270
+        Me.銷售備註_dgv.Size = New System.Drawing.Size(455, 165)
271
         Me.銷售備註_dgv.TabIndex = 1262
271
         Me.銷售備註_dgv.TabIndex = 1262
272
         '
272
         '
273
         '運費_dgv
273
         '運費_dgv
277
         Me.運費_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
277
         Me.運費_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
278
         Me.運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
278
         Me.運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
279
         Me.運費_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
279
         Me.運費_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
280
-        Me.運費_dgv.Location = New System.Drawing.Point(730, 322)
280
+        Me.運費_dgv.Location = New System.Drawing.Point(757, 322)
281
         Me.運費_dgv.Name = "運費_dgv"
281
         Me.運費_dgv.Name = "運費_dgv"
282
         Me.運費_dgv.RowHeadersWidth = 5
282
         Me.運費_dgv.RowHeadersWidth = 5
283
         DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
283
         DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
295
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
295
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
296
         Me.廠商彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
296
         Me.廠商彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
297
         Me.廠商彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
297
         Me.廠商彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
298
-        Me.廠商彙總_dgv.Location = New System.Drawing.Point(1095, 78)
298
+        Me.廠商彙總_dgv.Location = New System.Drawing.Point(1122, 78)
299
         Me.廠商彙總_dgv.Name = "廠商彙總_dgv"
299
         Me.廠商彙總_dgv.Name = "廠商彙總_dgv"
300
         Me.廠商彙總_dgv.RowHeadersWidth = 5
300
         Me.廠商彙總_dgv.RowHeadersWidth = 5
301
         DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
301
         DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
553
         Me.稅金_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
553
         Me.稅金_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
554
         Me.稅金_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
554
         Me.稅金_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
555
         Me.稅金_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
555
         Me.稅金_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
556
-        Me.稅金_dgv.Location = New System.Drawing.Point(438, 508)
556
+        Me.稅金_dgv.Location = New System.Drawing.Point(465, 508)
557
         Me.稅金_dgv.Name = "稅金_dgv"
557
         Me.稅金_dgv.Name = "稅金_dgv"
558
         Me.稅金_dgv.RowHeadersWidth = 5
558
         Me.稅金_dgv.RowHeadersWidth = 5
559
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
559
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
609
         '
609
         '
610
         Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
610
         Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
611
         Me.字體大小調整_lb.AutoSize = True
611
         Me.字體大小調整_lb.AutoSize = True
612
-        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
612
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
613
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
613
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
614
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1353, 17)
614
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1340, 54)
615
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
615
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
616
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
616
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
617
         Me.字體大小調整_lb.TabIndex = 1359
617
         Me.字體大小調整_lb.TabIndex = 1359
620
         '字體_NUD
620
         '字體_NUD
621
         '
621
         '
622
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
622
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
623
-        Me.字體_NUD.Location = New System.Drawing.Point(1366, 38)
623
+        Me.字體_NUD.Location = New System.Drawing.Point(1415, 52)
624
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
624
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
625
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
625
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
626
         Me.字體_NUD.Name = "字體_NUD"
626
         Me.字體_NUD.Name = "字體_NUD"
632
         '
632
         '
633
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
633
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
634
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
634
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
635
-        Me.ClientSize = New System.Drawing.Size(1443, 681)
635
+        Me.ClientSize = New System.Drawing.Size(1470, 681)
636
         Me.ContextMenuStrip = Me.ContextMenuStrip1
636
         Me.ContextMenuStrip = Me.ContextMenuStrip1
637
         Me.Controls.Add(Me.字體大小調整_lb)
637
         Me.Controls.Add(Me.字體大小調整_lb)
638
         Me.Controls.Add(Me.字體_NUD)
638
         Me.Controls.Add(Me.字體_NUD)

+ 8
- 6
YD-ERP-SYS/業務系統管理/銷售分析表.vb View File

239
 
239
 
240
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
240
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
241
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
241
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
242
-
243
-            If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> 1 Then
244
-                物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
245
-            End If
246
-            If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) = 1 Then
247
-                其他成本_tb.Text = Val(其他成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
242
+            If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "Y" Then
243
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> 1 Then
244
+                    物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
245
+                End If
246
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) = 1 Then
247
+                    其他成本_tb.Text = Val(其他成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
248
+                End If
248
             End If
249
             End If
249
         Next
250
         Next
250
         For i As Integer = 0 To 稅金_dgv.Rows.Count - 1
251
         For i As Integer = 0 To 稅金_dgv.Rows.Count - 1
335
     Private Sub 銷售分析表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
336
     Private Sub 銷售分析表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
336
         Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
337
         Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
337
         小間距_ch.Checked = True '--------------------控件隱藏、操作許可設定與其他基本顯示設定
338
         小間距_ch.Checked = True '--------------------控件隱藏、操作許可設定與其他基本顯示設定
339
+        依開單日期_ch.Checked = False : 依交貨日期_ch.Checked = True
338
         業務_cb.Text = 業務號碼
340
         業務_cb.Text = 業務號碼
339
         開始日期_dtp.Value = Today() : 結束日期_dtp.Value = Today()
341
         開始日期_dtp.Value = Today() : 結束日期_dtp.Value = Today()
340
         日期格式()
342
         日期格式()

+ 74
- 72
YD-ERP-SYS/業務系統管理/銷售單審核.Designer.vb View File

22
     '請勿使用程式碼編輯器進行修改。
22
     '請勿使用程式碼編輯器進行修改。
23
     <System.Diagnostics.DebuggerStepThrough()>
23
     <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle21 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle22 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle23 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle24 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
-        Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
-        Dim DataGridViewCellStyle27 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
-        Dim DataGridViewCellStyle28 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
-        Dim DataGridViewCellStyle29 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
-        Dim DataGridViewCellStyle30 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
39
-        Dim DataGridViewCellStyle31 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
40
-        Dim DataGridViewCellStyle32 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
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()
34
+        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
+        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
+        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
+        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38
+        Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
39
+        Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
40
+        Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
41
         Me.業務_cb = New System.Windows.Forms.ComboBox()
41
         Me.業務_cb = New System.Windows.Forms.ComboBox()
42
         Me.客戶資料驗證_bt = New System.Windows.Forms.Button()
42
         Me.客戶資料驗證_bt = New System.Windows.Forms.Button()
43
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
43
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
107
         Me.單據核准_bt = New System.Windows.Forms.Button()
107
         Me.單據核准_bt = New System.Windows.Forms.Button()
108
         Me.單據作廢_bt = New System.Windows.Forms.Button()
108
         Me.單據作廢_bt = New System.Windows.Forms.Button()
109
         Me.Panel1 = New System.Windows.Forms.Panel()
109
         Me.Panel1 = New System.Windows.Forms.Panel()
110
+        Me.Reset1_bt = New System.Windows.Forms.Button()
110
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
111
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
111
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
112
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
112
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
113
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
199
         Me.運費資料流水號_tb = New System.Windows.Forms.TextBox()
200
         Me.運費資料流水號_tb = New System.Windows.Forms.TextBox()
200
         Me.Panel3 = New System.Windows.Forms.Panel()
201
         Me.Panel3 = New System.Windows.Forms.Panel()
201
         Me.顯示_bt = New System.Windows.Forms.Button()
202
         Me.顯示_bt = New System.Windows.Forms.Button()
202
-        Me.Reset1_bt = New System.Windows.Forms.Button()
203
         CType(Me.售價_nud, System.ComponentModel.ISupportInitialize).BeginInit()
203
         CType(Me.售價_nud, System.ComponentModel.ISupportInitialize).BeginInit()
204
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
204
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
205
         CType(Me.成本_nud, System.ComponentModel.ISupportInitialize).BeginInit()
205
         CType(Me.成本_nud, System.ComponentModel.ISupportInitialize).BeginInit()
264
         '
264
         '
265
         '區域庫存_dgv
265
         '區域庫存_dgv
266
         '
266
         '
267
-        DataGridViewCellStyle17.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
268
-        Me.區域庫存_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
267
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
268
+        Me.區域庫存_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
269
         Me.區域庫存_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
269
         Me.區域庫存_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
270
         Me.區域庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
270
         Me.區域庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
271
         Me.區域庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
271
         Me.區域庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
272
         Me.區域庫存_dgv.Location = New System.Drawing.Point(345, 317)
272
         Me.區域庫存_dgv.Location = New System.Drawing.Point(345, 317)
273
         Me.區域庫存_dgv.Name = "區域庫存_dgv"
273
         Me.區域庫存_dgv.Name = "區域庫存_dgv"
274
         Me.區域庫存_dgv.RowHeadersWidth = 5
274
         Me.區域庫存_dgv.RowHeadersWidth = 5
275
-        DataGridViewCellStyle18.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
276
-        DataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
277
-        Me.區域庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle18
275
+        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
276
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
277
+        Me.區域庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
278
         Me.區域庫存_dgv.RowTemplate.Height = 24
278
         Me.區域庫存_dgv.RowTemplate.Height = 24
279
         Me.區域庫存_dgv.Size = New System.Drawing.Size(191, 90)
279
         Me.區域庫存_dgv.Size = New System.Drawing.Size(191, 90)
280
         Me.區域庫存_dgv.TabIndex = 1323
280
         Me.區域庫存_dgv.TabIndex = 1323
624
         '
624
         '
625
         '物料清單_dgv
625
         '物料清單_dgv
626
         '
626
         '
627
-        DataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
628
-        Me.物料清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle19
627
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
628
+        Me.物料清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
629
         Me.物料清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
629
         Me.物料清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
630
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
630
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
631
         Me.物料清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
631
         Me.物料清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
633
         Me.物料清單_dgv.Location = New System.Drawing.Point(2, 79)
633
         Me.物料清單_dgv.Location = New System.Drawing.Point(2, 79)
634
         Me.物料清單_dgv.Name = "物料清單_dgv"
634
         Me.物料清單_dgv.Name = "物料清單_dgv"
635
         Me.物料清單_dgv.RowHeadersWidth = 5
635
         Me.物料清單_dgv.RowHeadersWidth = 5
636
-        DataGridViewCellStyle20.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
637
-        DataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
638
-        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle20
636
+        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
637
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
638
+        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
639
         Me.物料清單_dgv.RowTemplate.Height = 24
639
         Me.物料清單_dgv.RowTemplate.Height = 24
640
         Me.物料清單_dgv.Size = New System.Drawing.Size(534, 235)
640
         Me.物料清單_dgv.Size = New System.Drawing.Size(534, 235)
641
         Me.物料清單_dgv.TabIndex = 1283
641
         Me.物料清單_dgv.TabIndex = 1283
870
         '
870
         '
871
         '銷售單據_dgv
871
         '銷售單據_dgv
872
         '
872
         '
873
-        DataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
874
-        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle21
873
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
874
+        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
875
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
875
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
876
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
876
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
877
         Me.銷售單據_dgv.Location = New System.Drawing.Point(2, 28)
877
         Me.銷售單據_dgv.Location = New System.Drawing.Point(2, 28)
878
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
878
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
879
         Me.銷售單據_dgv.RowHeadersWidth = 5
879
         Me.銷售單據_dgv.RowHeadersWidth = 5
880
-        DataGridViewCellStyle22.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
881
-        DataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
882
-        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle22
880
+        DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
881
+        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
882
+        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
883
         Me.銷售單據_dgv.RowTemplate.Height = 24
883
         Me.銷售單據_dgv.RowTemplate.Height = 24
884
         Me.銷售單據_dgv.Size = New System.Drawing.Size(146, 141)
884
         Me.銷售單據_dgv.Size = New System.Drawing.Size(146, 141)
885
         Me.銷售單據_dgv.TabIndex = 1256
885
         Me.銷售單據_dgv.TabIndex = 1256
999
         Me.Panel1.Size = New System.Drawing.Size(902, 495)
999
         Me.Panel1.Size = New System.Drawing.Size(902, 495)
1000
         Me.Panel1.TabIndex = 1331
1000
         Me.Panel1.TabIndex = 1331
1001
         '
1001
         '
1002
+        'Reset1_bt
1003
+        '
1004
+        Me.Reset1_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1005
+        Me.Reset1_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1006
+        Me.Reset1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
1007
+        Me.Reset1_bt.Location = New System.Drawing.Point(768, 492)
1008
+        Me.Reset1_bt.Name = "Reset1_bt"
1009
+        Me.Reset1_bt.Size = New System.Drawing.Size(25, 24)
1010
+        Me.Reset1_bt.TabIndex = 1366
1011
+        Me.Reset1_bt.Text = "R"
1012
+        Me.Reset1_bt.UseVisualStyleBackColor = True
1013
+        '
1002
         '字體大小調整_lb
1014
         '字體大小調整_lb
1003
         '
1015
         '
1016
+        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1004
         Me.字體大小調整_lb.AutoSize = True
1017
         Me.字體大小調整_lb.AutoSize = True
1005
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1018
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1006
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
1019
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
1007
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(505, 7)
1020
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(789, 6)
1008
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1021
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1009
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1022
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1010
         Me.字體大小調整_lb.TabIndex = 1365
1023
         Me.字體大小調整_lb.TabIndex = 1365
1012
         '
1025
         '
1013
         '字體_NUD
1026
         '字體_NUD
1014
         '
1027
         '
1015
-        Me.字體_NUD.Location = New System.Drawing.Point(566, 5)
1028
+        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1029
+        Me.字體_NUD.Location = New System.Drawing.Point(850, 4)
1016
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1030
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1017
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1031
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1018
         Me.字體_NUD.Name = "字體_NUD"
1032
         Me.字體_NUD.Name = "字體_NUD"
1061
         '
1075
         '
1062
         '銷售衍生運費_dgv
1076
         '銷售衍生運費_dgv
1063
         '
1077
         '
1064
-        DataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1065
-        Me.銷售衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle23
1078
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1079
+        Me.銷售衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
1066
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1080
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1067
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1081
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1068
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1082
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1070
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(610, 465)
1084
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(610, 465)
1071
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
1085
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
1072
         Me.銷售衍生運費_dgv.RowHeadersWidth = 5
1086
         Me.銷售衍生運費_dgv.RowHeadersWidth = 5
1073
-        DataGridViewCellStyle24.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1074
-        DataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1075
-        Me.銷售衍生運費_dgv.RowsDefaultCellStyle = DataGridViewCellStyle24
1087
+        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1088
+        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1089
+        Me.銷售衍生運費_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
1076
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
1090
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
1077
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(95, 190)
1091
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(95, 190)
1078
         Me.銷售衍生運費_dgv.TabIndex = 1344
1092
         Me.銷售衍生運費_dgv.TabIndex = 1344
1585
         '
1599
         '
1586
         '客戶資料_dgv
1600
         '客戶資料_dgv
1587
         '
1601
         '
1588
-        DataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1589
-        Me.客戶資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle25
1602
+        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
1603
+        Me.客戶資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
1590
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1604
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1591
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1605
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1592
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1606
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1593
-        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 10257)
1607
+        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 10541)
1594
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1608
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1595
         Me.客戶資料_dgv.RowHeadersWidth = 5
1609
         Me.客戶資料_dgv.RowHeadersWidth = 5
1596
-        DataGridViewCellStyle26.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1597
-        DataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1598
-        Me.客戶資料_dgv.RowsDefaultCellStyle = DataGridViewCellStyle26
1610
+        DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1611
+        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1612
+        Me.客戶資料_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
1599
         Me.客戶資料_dgv.RowTemplate.Height = 24
1613
         Me.客戶資料_dgv.RowTemplate.Height = 24
1600
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
1614
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
1601
         Me.客戶資料_dgv.TabIndex = 1254
1615
         Me.客戶資料_dgv.TabIndex = 1254
1685
         '
1699
         '
1686
         '銷售明細_dgv
1700
         '銷售明細_dgv
1687
         '
1701
         '
1688
-        DataGridViewCellStyle27.BackColor = System.Drawing.Color.White
1689
-        Me.銷售明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle27
1702
+        DataGridViewCellStyle11.BackColor = System.Drawing.Color.White
1703
+        Me.銷售明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle11
1690
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1704
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1691
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1705
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1692
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1706
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1694
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1708
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1695
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1709
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1696
         Me.銷售明細_dgv.RowHeadersWidth = 5
1710
         Me.銷售明細_dgv.RowHeadersWidth = 5
1697
-        DataGridViewCellStyle28.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1698
-        DataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1699
-        Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle28
1711
+        DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1712
+        DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1713
+        Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle12
1700
         Me.銷售明細_dgv.RowTemplate.Height = 24
1714
         Me.銷售明細_dgv.RowTemplate.Height = 24
1701
         Me.銷售明細_dgv.Size = New System.Drawing.Size(892, 409)
1715
         Me.銷售明細_dgv.Size = New System.Drawing.Size(892, 409)
1702
         Me.銷售明細_dgv.TabIndex = 1199
1716
         Me.銷售明細_dgv.TabIndex = 1199
1703
         '
1717
         '
1704
         '銷售備註_dgv
1718
         '銷售備註_dgv
1705
         '
1719
         '
1706
-        DataGridViewCellStyle29.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1707
-        Me.銷售備註_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle29
1720
+        DataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1721
+        Me.銷售備註_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle13
1708
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1722
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1709
         Me.銷售備註_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1723
         Me.銷售備註_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1710
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 465)
1724
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 465)
1711
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1725
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1712
         Me.銷售備註_dgv.RowHeadersWidth = 5
1726
         Me.銷售備註_dgv.RowHeadersWidth = 5
1713
-        DataGridViewCellStyle30.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1714
-        DataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1715
-        Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle30
1727
+        DataGridViewCellStyle14.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1728
+        DataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1729
+        Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle14
1716
         Me.銷售備註_dgv.RowTemplate.Height = 24
1730
         Me.銷售備註_dgv.RowTemplate.Height = 24
1717
         Me.銷售備註_dgv.Size = New System.Drawing.Size(603, 190)
1731
         Me.銷售備註_dgv.Size = New System.Drawing.Size(603, 190)
1718
         Me.銷售備註_dgv.TabIndex = 1250
1732
         Me.銷售備註_dgv.TabIndex = 1250
1719
         '
1733
         '
1720
         '收款事項_dgv
1734
         '收款事項_dgv
1721
         '
1735
         '
1722
-        DataGridViewCellStyle31.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1723
-        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle31
1736
+        DataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1737
+        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle15
1724
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1738
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1725
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1739
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1726
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1740
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1728
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 682)
1742
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 682)
1729
         Me.收款事項_dgv.Name = "收款事項_dgv"
1743
         Me.收款事項_dgv.Name = "收款事項_dgv"
1730
         Me.收款事項_dgv.RowHeadersWidth = 5
1744
         Me.收款事項_dgv.RowHeadersWidth = 5
1731
-        DataGridViewCellStyle32.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1732
-        DataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1733
-        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle32
1745
+        DataGridViewCellStyle16.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1746
+        DataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1747
+        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle16
1734
         Me.收款事項_dgv.RowTemplate.Height = 24
1748
         Me.收款事項_dgv.RowTemplate.Height = 24
1735
         Me.收款事項_dgv.Size = New System.Drawing.Size(616, 93)
1749
         Me.收款事項_dgv.Size = New System.Drawing.Size(616, 93)
1736
         Me.收款事項_dgv.TabIndex = 1282
1750
         Me.收款事項_dgv.TabIndex = 1282
2087
         Me.顯示_bt.Text = "顯示物料控件"
2101
         Me.顯示_bt.Text = "顯示物料控件"
2088
         Me.顯示_bt.UseVisualStyleBackColor = True
2102
         Me.顯示_bt.UseVisualStyleBackColor = True
2089
         '
2103
         '
2090
-        'Reset1_bt
2091
-        '
2092
-        Me.Reset1_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
2093
-        Me.Reset1_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
2094
-        Me.Reset1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
2095
-        Me.Reset1_bt.Location = New System.Drawing.Point(768, 492)
2096
-        Me.Reset1_bt.Name = "Reset1_bt"
2097
-        Me.Reset1_bt.Size = New System.Drawing.Size(25, 24)
2098
-        Me.Reset1_bt.TabIndex = 1366
2099
-        Me.Reset1_bt.Text = "R"
2100
-        Me.Reset1_bt.UseVisualStyleBackColor = True
2101
-        '
2102
         '銷售單審核
2104
         '銷售單審核
2103
         '
2105
         '
2104
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
2106
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)

+ 22
- 11
YD-ERP-SYS/業務系統管理/銷售單審核.vb View File

299
         DTP = Format(Today(), "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
299
         DTP = Format(Today(), "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
300
     End Sub
300
     End Sub
301
     Private Sub Set_合記計算()
301
     Private Sub Set_合記計算()
302
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
302
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
303
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
303
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
304
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
304
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
305
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
305
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
313
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
313
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
314
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
314
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
315
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
315
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
316
-
316
+            If 銷售明細_dgv("無管銷", i).Value = False Then
317
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
318
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
319
+                End If
320
+            End If
317
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
321
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
318
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
322
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
319
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
323
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
326
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
330
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
327
             End If
331
             End If
328
         Next
332
         Next
329
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
330
-
333
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
331
 
334
 
332
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
335
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
333
             通知_lb.Text = "無稅金"
336
             通知_lb.Text = "無稅金"
1193
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
1196
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
1194
     End Sub
1197
     End Sub
1195
     Private Sub Reset_bt_Click(sender As Object, e As EventArgs) Handles Reset_bt.Click
1198
     Private Sub Reset_bt_Click(sender As Object, e As EventArgs) Handles Reset_bt.Click
1196
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
1199
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
1197
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1200
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1198
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0"
1201
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0"
1199
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1202
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1207
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1210
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1208
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1211
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1209
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1212
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1210
-
1213
+            If 銷售明細_dgv("無管銷", i).Value = False Then
1214
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1215
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1216
+                End If
1217
+            End If
1211
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1218
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1212
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1219
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1213
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1220
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1220
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1227
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1221
             End If
1228
             End If
1222
         Next
1229
         Next
1223
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
1224
-
1230
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
1225
 
1231
 
1226
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1232
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1227
             通知_lb.Text = "無稅金"
1233
             通知_lb.Text = "無稅金"
1301
     End Sub
1307
     End Sub
1302
 
1308
 
1303
     Private Sub Reset1_bt_Click(sender As Object, e As EventArgs) Handles Reset1_bt.Click
1309
     Private Sub Reset1_bt_Click(sender As Object, e As EventArgs) Handles Reset1_bt.Click
1304
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
1310
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
1305
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1311
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1306
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1312
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1307
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1313
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1313
         刷卡稅金_tb.Text = CInt(Val(Val(刷卡總和_tb.Text) * 0.05)) : 刷卡傭金_tb.Text = CInt(Val(刷卡總和_tb.Text) * 0.02)
1319
         刷卡稅金_tb.Text = CInt(Val(Val(刷卡總和_tb.Text) * 0.05)) : 刷卡傭金_tb.Text = CInt(Val(刷卡總和_tb.Text) * 0.02)
1314
         '-------002-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1320
         '-------002-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1315
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1321
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1322
+            銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1316
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1323
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1317
-
1324
+            If 銷售明細_dgv("無管銷", i).Value = False Then
1325
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1326
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1327
+                End If
1328
+            End If
1318
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1329
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1319
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1330
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1320
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1331
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1327
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1338
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1328
             End If
1339
             End If
1329
         Next
1340
         Next
1330
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
1341
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
1331
         銷售合計_tb.Text = Val(售價小計_tb.Text) + Val(稅金_tb.Text)
1342
         銷售合計_tb.Text = Val(售價小計_tb.Text) + Val(稅金_tb.Text)
1332
 
1343
 
1333
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1344
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then

+ 20
- 18
YD-ERP-SYS/業務系統管理/銷售單申請.Designer.vb View File

113
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
113
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
114
         Me.Label22 = New System.Windows.Forms.Label()
114
         Me.Label22 = New System.Windows.Forms.Label()
115
         Me.Panel1 = New System.Windows.Forms.Panel()
115
         Me.Panel1 = New System.Windows.Forms.Panel()
116
+        Me.Reset1_bt = New System.Windows.Forms.Button()
116
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
117
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
117
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
118
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
118
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
119
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
200
         Me.隱藏_bt = New System.Windows.Forms.Button()
201
         Me.隱藏_bt = New System.Windows.Forms.Button()
201
         Me.Panel3 = New System.Windows.Forms.Panel()
202
         Me.Panel3 = New System.Windows.Forms.Panel()
202
         Me.顯示_bt = New System.Windows.Forms.Button()
203
         Me.顯示_bt = New System.Windows.Forms.Button()
203
-        Me.Reset1_bt = New System.Windows.Forms.Button()
204
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
204
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
205
         CType(Me.銷售明細_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
205
         CType(Me.銷售明細_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
206
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
206
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
1070
         Me.Panel1.Size = New System.Drawing.Size(904, 502)
1070
         Me.Panel1.Size = New System.Drawing.Size(904, 502)
1071
         Me.Panel1.TabIndex = 1252
1071
         Me.Panel1.TabIndex = 1252
1072
         '
1072
         '
1073
+        'Reset1_bt
1074
+        '
1075
+        Me.Reset1_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1076
+        Me.Reset1_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1077
+        Me.Reset1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
1078
+        Me.Reset1_bt.Location = New System.Drawing.Point(771, 492)
1079
+        Me.Reset1_bt.Name = "Reset1_bt"
1080
+        Me.Reset1_bt.Size = New System.Drawing.Size(25, 24)
1081
+        Me.Reset1_bt.TabIndex = 1364
1082
+        Me.Reset1_bt.Text = "R"
1083
+        Me.Reset1_bt.UseVisualStyleBackColor = True
1084
+        '
1073
         '字體大小調整_lb
1085
         '字體大小調整_lb
1074
         '
1086
         '
1087
+        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1075
         Me.字體大小調整_lb.AutoSize = True
1088
         Me.字體大小調整_lb.AutoSize = True
1076
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1089
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1077
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
1090
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
1078
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(512, 7)
1091
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(771, 6)
1079
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1092
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1080
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1093
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1081
         Me.字體大小調整_lb.TabIndex = 1363
1094
         Me.字體大小調整_lb.TabIndex = 1363
1083
         '
1096
         '
1084
         '字體_NUD
1097
         '字體_NUD
1085
         '
1098
         '
1086
-        Me.字體_NUD.Location = New System.Drawing.Point(574, 4)
1099
+        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1100
+        Me.字體_NUD.Location = New System.Drawing.Point(832, 3)
1087
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1101
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1088
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1102
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1089
         Me.字體_NUD.Name = "字體_NUD"
1103
         Me.字體_NUD.Name = "字體_NUD"
1152
         '
1166
         '
1153
         Me.刷卡可刪除_ch.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1167
         Me.刷卡可刪除_ch.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1154
         Me.刷卡可刪除_ch.AutoSize = True
1168
         Me.刷卡可刪除_ch.AutoSize = True
1155
-        Me.刷卡可刪除_ch.Location = New System.Drawing.Point(776, 4)
1169
+        Me.刷卡可刪除_ch.Location = New System.Drawing.Point(680, 6)
1156
         Me.刷卡可刪除_ch.Name = "刷卡可刪除_ch"
1170
         Me.刷卡可刪除_ch.Name = "刷卡可刪除_ch"
1157
         Me.刷卡可刪除_ch.Size = New System.Drawing.Size(87, 20)
1171
         Me.刷卡可刪除_ch.Size = New System.Drawing.Size(87, 20)
1158
         Me.刷卡可刪除_ch.TabIndex = 1333
1172
         Me.刷卡可刪除_ch.TabIndex = 1333
1374
         '
1388
         '
1375
         Me.司機運費_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1389
         Me.司機運費_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1376
         Me.司機運費_tb.ForeColor = System.Drawing.Color.Black
1390
         Me.司機運費_tb.ForeColor = System.Drawing.Color.Black
1377
-        Me.司機運費_tb.Location = New System.Drawing.Point(799, 572)
1391
+        Me.司機運費_tb.Location = New System.Drawing.Point(797, 572)
1378
         Me.司機運費_tb.Name = "司機運費_tb"
1392
         Me.司機運費_tb.Name = "司機運費_tb"
1379
         Me.司機運費_tb.Size = New System.Drawing.Size(81, 23)
1393
         Me.司機運費_tb.Size = New System.Drawing.Size(81, 23)
1380
         Me.司機運費_tb.TabIndex = 1296
1394
         Me.司機運費_tb.TabIndex = 1296
1674
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1688
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1675
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1689
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1676
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1690
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1677
-        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 11580)
1691
+        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 12680)
1678
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1692
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1679
         Me.客戶資料_dgv.RowHeadersWidth = 5
1693
         Me.客戶資料_dgv.RowHeadersWidth = 5
1680
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1694
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
2107
         Me.顯示_bt.Text = "顯示物料控件"
2121
         Me.顯示_bt.Text = "顯示物料控件"
2108
         Me.顯示_bt.UseVisualStyleBackColor = True
2122
         Me.顯示_bt.UseVisualStyleBackColor = True
2109
         '
2123
         '
2110
-        'Reset1_bt
2111
-        '
2112
-        Me.Reset1_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
2113
-        Me.Reset1_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
2114
-        Me.Reset1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
2115
-        Me.Reset1_bt.Location = New System.Drawing.Point(771, 492)
2116
-        Me.Reset1_bt.Name = "Reset1_bt"
2117
-        Me.Reset1_bt.Size = New System.Drawing.Size(25, 24)
2118
-        Me.Reset1_bt.TabIndex = 1364
2119
-        Me.Reset1_bt.Text = "R"
2120
-        Me.Reset1_bt.UseVisualStyleBackColor = True
2121
-        '
2122
         '銷售單申請
2124
         '銷售單申請
2123
         '
2125
         '
2124
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
2126
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)

+ 28
- 12
YD-ERP-SYS/業務系統管理/銷售單申請.vb View File

305
         DTP = Format(開單日期_dtp.Value, "yyyy/MM/dd") : DTP2 = Format(交貨日期_dtp.Value, "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
305
         DTP = Format(開單日期_dtp.Value, "yyyy/MM/dd") : DTP2 = Format(交貨日期_dtp.Value, "yyyy/MM/dd") : DTP1 = Format(Today(), "yyyyMMdd")
306
     End Sub
306
     End Sub
307
     Private Sub Set_合記計算()
307
     Private Sub Set_合記計算()
308
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
308
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
309
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
309
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
310
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
310
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
311
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
311
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
319
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
319
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
320
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
320
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
321
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
321
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
322
-
322
+            If 銷售明細_dgv("無管銷", i).Value = False Then
323
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
324
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
325
+                End If
326
+            End If
323
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
327
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
324
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
328
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
325
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
329
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
332
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
336
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
333
             End If
337
             End If
334
         Next
338
         Next
335
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
336
-
339
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
337
 
340
 
338
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
341
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
339
             通知_lb.Text = "無稅金"
342
             通知_lb.Text = "無稅金"
465
     End Sub
468
     End Sub
466
     Private Sub 銷售衍生運費_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 銷售衍生運費_dgv.CellClick
469
     Private Sub 銷售衍生運費_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 銷售衍生運費_dgv.CellClick
467
         If e.RowIndex = -1 Then : Else
470
         If e.RowIndex = -1 Then : Else
468
-            運費資料流水號_tb.Text = 銷售備註_dgv("資料流水號", e.RowIndex).Value.ToString : 項次4_tb.Text = 銷售備註_dgv("項次", e.RowIndex).Value.ToString
471
+            運費資料流水號_tb.Text = 銷售衍生運費_dgv("資料流水號", e.RowIndex).Value.ToString : 項次4_tb.Text = 銷售衍生運費_dgv("項次", e.RowIndex).Value.ToString
469
         End If
472
         End If
470
     End Sub
473
     End Sub
471
     Private Sub 銷售明細_dgv_CellEndEdit(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 銷售明細_dgv.CellEndEdit
474
     Private Sub 銷售明細_dgv_CellEndEdit(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 銷售明細_dgv.CellEndEdit
1286
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
1289
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
1287
     End Sub
1290
     End Sub
1288
     Private Sub Reset_bt_Click(sender As Object, e As EventArgs) Handles Reset_bt.Click
1291
     Private Sub Reset_bt_Click(sender As Object, e As EventArgs) Handles Reset_bt.Click
1289
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
1292
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
1290
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1293
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1291
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1294
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1292
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1295
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1300
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1303
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1301
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1304
             銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1302
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1305
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1303
-
1306
+            If 銷售明細_dgv("無管銷", i).Value = False Then
1307
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1308
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1309
+                End If
1310
+            End If
1304
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1311
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1305
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1312
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1306
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1313
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1313
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1320
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1314
             End If
1321
             End If
1315
         Next
1322
         Next
1316
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
1317
-
1323
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
1318
 
1324
 
1319
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1325
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1320
             通知_lb.Text = "無稅金"
1326
             通知_lb.Text = "無稅金"
1388
         物料清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
1394
         物料清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
1389
     End Sub
1395
     End Sub
1390
     Private Sub Reset1_bt_Click(sender As Object, e As EventArgs) Handles Reset1_bt.Click
1396
     Private Sub Reset1_bt_Click(sender As Object, e As EventArgs) Handles Reset1_bt.Click
1391
-        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0
1397
+        Dim 不含1類銷售小記 As Integer : Dim 金額1 As Integer = 0 : Dim 無管物料 As Integer
1392
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1398
         售價小計_tb.Text = "0" : 稅金_tb.Text = "0" : 銷售合計_tb.Text = "0" : 收入小計_tb.Text = "0" : 支出小計_tb.Text = "0" : 額外收支_tb.Text = "0" : 物料成本_tb.Text = "0"
1393
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1399
         司機運費_tb.Text = "0" : 管銷費用_tb.Text = "0" : 其他成本_tb.Text = "0" : 刷卡總和_tb.Text = "0" : 刷卡稅金_tb.Text = "0" : 刷卡傭金_tb.Text = "0"
1394
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1400
         '-------001-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1400
         刷卡稅金_tb.Text = CInt(Val(Val(刷卡總和_tb.Text) * 0.05)) : 刷卡傭金_tb.Text = CInt(Val(刷卡總和_tb.Text) * 0.02)
1406
         刷卡稅金_tb.Text = CInt(Val(Val(刷卡總和_tb.Text) * 0.05)) : 刷卡傭金_tb.Text = CInt(Val(刷卡總和_tb.Text) * 0.02)
1401
         '-------002-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1407
         '-------002-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1402
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1408
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
1409
+            銷售合計_tb.Text = Val(銷售合計_tb.Text) + 銷售明細_dgv("售價", i).Value
1403
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1410
             售價小計_tb.Text = Val(售價小計_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value)
1404
-
1411
+            If 銷售明細_dgv("無管銷", i).Value = False Then
1412
+                If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1413
+                    無管物料 = 無管物料 + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1414
+                End If
1415
+            End If
1405
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1416
             If Strings.Left(銷售明細_dgv("料號", i).Value.ToString, 1) <> "1" Then
1406
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1417
                 物料成本_tb.Text = Val(物料成本_tb.Text) + (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("成本", i).Value)
1407
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1418
                 不含1類銷售小記 = 不含1類銷售小記 + 銷售明細_dgv("售價", i).Value
1414
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1425
                 稅金_tb.Text = Val(稅金_tb.Text) + ((銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value * 1.05) - (銷售明細_dgv("數量", i).Value * 銷售明細_dgv("單價", i).Value))
1415
             End If
1426
             End If
1416
         Next
1427
         Next
1417
-        管銷費用_tb.Text = Val(物料成本_tb.Text) * 1.06 - Val(物料成本_tb.Text)
1428
+        管銷費用_tb.Text = 無管物料 * 1.06 - 無管物料
1418
         銷售合計_tb.Text = Val(售價小計_tb.Text) + Val(稅金_tb.Text)
1429
         銷售合計_tb.Text = Val(售價小計_tb.Text) + Val(稅金_tb.Text)
1419
 
1430
 
1420
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1431
         If Val(稅金_tb.Text) = 0 And Val(刷卡稅金_tb.Text) = 0 Then
1474
         刷卡稅金_tb.Text = Format(Val(刷卡稅金_tb.Text), "#,##0") : 刷卡傭金_tb.Text = Format(Val(刷卡傭金_tb.Text), "#,##0")
1485
         刷卡稅金_tb.Text = Format(Val(刷卡稅金_tb.Text), "#,##0") : 刷卡傭金_tb.Text = Format(Val(刷卡傭金_tb.Text), "#,##0")
1475
 
1486
 
1476
     End Sub
1487
     End Sub
1488
+
1489
+    Private Sub Panel3_Paint(sender As Object, e As PaintEventArgs) Handles Panel3.Paint
1490
+
1491
+    End Sub
1492
+
1477
     Private Sub 司機運費_tb_TextChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 司機運費_tb.KeyPress
1493
     Private Sub 司機運費_tb_TextChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 司機運費_tb.KeyPress
1478
         If e.KeyChar = Chr(13) Then
1494
         If e.KeyChar = Chr(13) Then
1479
             運費 = 司機運費_tb.Text
1495
             運費 = 司機運費_tb.Text

+ 7
- 7
YD-ERP-SYS/財務系統管理/會計科目管理.Designer.vb View File

425
         Me.會計科目清單_dgv.Name = "會計科目清單_dgv"
425
         Me.會計科目清單_dgv.Name = "會計科目清單_dgv"
426
         Me.會計科目清單_dgv.RowHeadersWidth = 5
426
         Me.會計科目清單_dgv.RowHeadersWidth = 5
427
         Me.會計科目清單_dgv.RowTemplate.Height = 24
427
         Me.會計科目清單_dgv.RowTemplate.Height = 24
428
-        Me.會計科目清單_dgv.Size = New System.Drawing.Size(1769, 619)
428
+        Me.會計科目清單_dgv.Size = New System.Drawing.Size(1916, 619)
429
         Me.會計科目清單_dgv.TabIndex = 761
429
         Me.會計科目清單_dgv.TabIndex = 761
430
         '
430
         '
431
         'Label1
431
         'Label1
440
         '字體大小調整_lb
440
         '字體大小調整_lb
441
         '
441
         '
442
         Me.字體大小調整_lb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
442
         Me.字體大小調整_lb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
443
-            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
443
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
444
         Me.字體大小調整_lb.AutoSize = True
444
         Me.字體大小調整_lb.AutoSize = True
445
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
445
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
446
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
446
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
447
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
447
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
448
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1090, 58)
448
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1815, 56)
449
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
449
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
450
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
450
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
451
         Me.字體大小調整_lb.TabIndex = 1493
451
         Me.字體大小調整_lb.TabIndex = 1493
454
         '字體_NUD
454
         '字體_NUD
455
         '
455
         '
456
         Me.字體_NUD.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
456
         Me.字體_NUD.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
457
-            Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
458
-        Me.字體_NUD.Location = New System.Drawing.Point(1159, 57)
457
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
458
+        Me.字體_NUD.Location = New System.Drawing.Point(1884, 55)
459
         Me.字體_NUD.Maximum = New Decimal(New Integer() {18, 0, 0, 0})
459
         Me.字體_NUD.Maximum = New Decimal(New Integer() {18, 0, 0, 0})
460
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
460
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
461
         Me.字體_NUD.Name = "字體_NUD"
461
         Me.字體_NUD.Name = "字體_NUD"
462
-        Me.字體_NUD.Size = New System.Drawing.Size(52, 23)
462
+        Me.字體_NUD.Size = New System.Drawing.Size(41, 23)
463
         Me.字體_NUD.TabIndex = 1492
463
         Me.字體_NUD.TabIndex = 1492
464
         Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
464
         Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
465
         '
465
         '
467
         '
467
         '
468
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
468
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
469
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
469
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
470
-        Me.ClientSize = New System.Drawing.Size(1784, 711)
470
+        Me.ClientSize = New System.Drawing.Size(1931, 711)
471
         Me.Controls.Add(Me.字體大小調整_lb)
471
         Me.Controls.Add(Me.字體大小調整_lb)
472
         Me.Controls.Add(Me.字體_NUD)
472
         Me.Controls.Add(Me.字體_NUD)
473
         Me.Controls.Add(Me.Label1)
473
         Me.Controls.Add(Me.Label1)

+ 7
- 7
YD-ERP-SYS/財務系統管理/營運成本收支單 - 對帳表.Designer.vb View File

23
     <System.Diagnostics.DebuggerStepThrough()> _
23
     <System.Diagnostics.DebuggerStepThrough()> _
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
         Me.未兌現支票1_tb = New System.Windows.Forms.TextBox()
27
         Me.未兌現支票1_tb = New System.Windows.Forms.TextBox()
28
         Me.Label13 = New System.Windows.Forms.Label()
28
         Me.Label13 = New System.Windows.Forms.Label()
29
         Me.未兌現支票_tb = New System.Windows.Forms.TextBox()
29
         Me.未兌現支票_tb = New System.Windows.Forms.TextBox()
442
         Me.明細_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
442
         Me.明細_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
443
         Me.明細_dgv.Name = "明細_dgv"
443
         Me.明細_dgv.Name = "明細_dgv"
444
         Me.明細_dgv.RowHeadersWidth = 5
444
         Me.明細_dgv.RowHeadersWidth = 5
445
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
446
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
445
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
446
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
447
         Me.明細_dgv.RowTemplate.Height = 24
447
         Me.明細_dgv.RowTemplate.Height = 24
448
         Me.明細_dgv.Size = New System.Drawing.Size(1868, 544)
448
         Me.明細_dgv.Size = New System.Drawing.Size(1868, 544)
449
         Me.明細_dgv.TabIndex = 1073
449
         Me.明細_dgv.TabIndex = 1073
534
         Me.字體大小調整_lb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
534
         Me.字體大小調整_lb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
535
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
535
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
536
         Me.字體大小調整_lb.AutoSize = True
536
         Me.字體大小調整_lb.AutoSize = True
537
-        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
537
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
538
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
538
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
539
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
539
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
540
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1475, 36)
540
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1473, 36)
541
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
541
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
542
-        Me.字體大小調整_lb.Size = New System.Drawing.Size(56, 16)
542
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
543
         Me.字體大小調整_lb.TabIndex = 1495
543
         Me.字體大小調整_lb.TabIndex = 1495
544
         Me.字體大小調整_lb.Text = "字體調整"
544
         Me.字體大小調整_lb.Text = "字體調整"
545
         '
545
         '
547
         '
547
         '
548
         Me.字體_NUD.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
548
         Me.字體_NUD.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
549
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
549
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
550
-        Me.字體_NUD.Location = New System.Drawing.Point(1534, 32)
550
+        Me.字體_NUD.Location = New System.Drawing.Point(1533, 34)
551
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
551
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
552
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
552
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
553
         Me.字體_NUD.Name = "字體_NUD"
553
         Me.字體_NUD.Name = "字體_NUD"

+ 5
- 5
YD-ERP-SYS/資料庫系統管理/FTP資料夾管理.Designer.vb View File

22
     '請勿使用程式碼編輯器進行修改。
22
     '請勿使用程式碼編輯器進行修改。
23
     <System.Diagnostics.DebuggerStepThrough()> _
23
     <System.Diagnostics.DebuggerStepThrough()> _
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
         Me.指定_tb = New System.Windows.Forms.TextBox()
26
         Me.指定_tb = New System.Windows.Forms.TextBox()
27
         Me.刪除_bt = New System.Windows.Forms.Button()
27
         Me.刪除_bt = New System.Windows.Forms.Button()
28
         Me.修改_bt = New System.Windows.Forms.Button()
28
         Me.修改_bt = New System.Windows.Forms.Button()
96
         '
96
         '
97
         '資料夾清單_dgv
97
         '資料夾清單_dgv
98
         '
98
         '
99
-        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
100
-        Me.資料夾清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
99
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
100
+        Me.資料夾清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
101
         Me.資料夾清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
101
         Me.資料夾清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
102
         Me.資料夾清單_dgv.Location = New System.Drawing.Point(12, 39)
102
         Me.資料夾清單_dgv.Location = New System.Drawing.Point(12, 39)
103
         Me.資料夾清單_dgv.Name = "資料夾清單_dgv"
103
         Me.資料夾清單_dgv.Name = "資料夾清單_dgv"
132
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
132
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
133
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
133
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
134
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
134
         Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
135
-        Me.字體大小調整_lb.Location = New System.Drawing.Point(1782, 10)
135
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1783, 11)
136
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
136
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
137
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
137
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
138
         Me.字體大小調整_lb.TabIndex = 1493
138
         Me.字體大小調整_lb.TabIndex = 1493
141
         '字體_NUD
141
         '字體_NUD
142
         '
142
         '
143
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
143
         Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
144
-        Me.字體_NUD.Location = New System.Drawing.Point(1851, 9)
144
+        Me.字體_NUD.Location = New System.Drawing.Point(1852, 10)
145
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
145
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
146
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
146
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
147
         Me.字體_NUD.Name = "字體_NUD"
147
         Me.字體_NUD.Name = "字體_NUD"

Loading…
Cancel
Save