瀏覽代碼

版本號 : 2021051302

更新內容如下
1、修正不含管銷會把成本一起歸零的BUG
B70340 4 年之前
父節點
當前提交
ad855373db
共有 44 個檔案被更改,包括 1669 行新增350 行删除
  1. 二進制
      .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. 二進制
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe
  10. 二進制
      YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb
  11. 二進制
      YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  12. 二進制
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe
  13. 二進制
      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. 二進制
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache
  17. 二進制
      YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache
  18. 二進制
      YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款已收.resources
  19. 二進制
      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

二進制
.vs/YD-ERP-SYS/v16/.suo 查看文件


+ 3
- 2
YD-ERP-SYS/Module/SQL_採購系統管理.vb 查看文件

@@ -64,8 +64,9 @@
64 64
     Friend Sub SQL_供應商資料表_新增()
65 65
         ConnOpen()
66 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 70
         CmdSet_For_dr()
70 71
     End Sub
71 72
     Friend Sub SQL_供應商資料表_修改()

+ 33
- 2
YD-ERP-SYS/Module/SQL_業務系統管理.vb 查看文件

@@ -116,8 +116,7 @@
116 116
                             供應商資料表 ON 物料資料庫.供應商編號 = 供應商資料表.編號 ON 
117 117
                             銷售明細表.料號 = 物料資料庫.料號 LEFT OUTER JOIN
118 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 120
                 ORDER BY    銷售控制表.單號 DESC"
122 121
         CmdSet_For_DGV()
123 122
     End Sub
@@ -249,4 +248,36 @@
249 248
                 ORDER BY    銷售控制表.單號 DESC"
250 249
         CmdSet_For_DGV()
251 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 283
 End Module

+ 2
- 2
YD-ERP-SYS/Module/SQL_跨介面共用.vb 查看文件

@@ -181,7 +181,7 @@
181 181
     Friend Sub SQL_銷售明細表_修改()
182 182
         ConnOpen()
183 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 185
                 WHERE (資料流水號 LIKE N'" & PA11 & "')"
186 186
         CmdSet_For_dr()
187 187
     End Sub
@@ -485,7 +485,7 @@
485 485
     End Sub
486 486
     Friend Sub SQL_採購控制表_過帳()
487 487
         ConnOpen()
488
-        SQL1 = "UPDATE 採購控制表 SET 已過帳 = '" & PA2 & "', 過帳日期 = N'" & PA1 & "' WHERE 資料流水號 LIKE '" & PA & "%'"
488
+        SQL1 = "UPDATE 採購控制表 SET 已過帳 = '" & PA2 & "', 過帳日期 = N'" & PA1 & "' WHERE 資料流水號 LIKE '" & PA & "'"
489 489
         CmdSet_For_dr()
490 490
     End Sub
491 491
     Friend Sub SQL_帳號讀取()

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

@@ -4,7 +4,7 @@
4 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 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 9
     Public 列印用SQL As String = "" : Public 列印用SQL2 As String : Public 公司編號 As String : Public 公司電話 As String : Public 公司統編 As String : Public 公司地址 As String
10 10
     Public 關鍵字編號 As String

+ 55
- 28
YD-ERP-SYS/YD-ERP-SYS.Designer.vb 查看文件

@@ -44,9 +44,12 @@ Partial Class YD_ERP_SYS
44 44
         Me.訂單控制表_tsm = New System.Windows.Forms.ToolStripMenuItem()
45 45
         Me.銷售分析表_tsm = New System.Windows.Forms.ToolStripMenuItem()
46 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 50
         Me.ToolStripSeparator9 = New System.Windows.Forms.ToolStripSeparator()
48
-        Me.銷售單申請_tsm = New System.Windows.Forms.ToolStripMenuItem()
49 51
         Me.銷售單審核_tsm = New System.Windows.Forms.ToolStripMenuItem()
52
+        Me.銷售單申請_tsm = New System.Windows.Forms.ToolStripMenuItem()
50 53
         Me.ToolStripSeparator8 = New System.Windows.Forms.ToolStripSeparator()
51 54
         Me.客戶資料表_tsm = New System.Windows.Forms.ToolStripMenuItem()
52 55
         Me.採購系統管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
@@ -215,7 +218,7 @@ Partial Class YD_ERP_SYS
215 218
         '
216 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 222
         Me.業務系統管理_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
220 223
         Me.業務系統管理_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
221 224
         Me.業務系統管理_tsm.Name = "業務系統管理_tsm"
@@ -227,7 +230,7 @@ Partial Class YD_ERP_SYS
227 230
         Me.訂單控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
228 231
         Me.訂單控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
229 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 234
         Me.訂單控制表_tsm.Text = "訂單控制表"
232 235
         '
233 236
         '銷售分析表_tsm
@@ -235,7 +238,7 @@ Partial Class YD_ERP_SYS
235 238
         Me.銷售分析表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
236 239
         Me.銷售分析表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
237 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 242
         Me.銷售分析表_tsm.Text = "銷售分析表"
240 243
         '
241 244
         '貨款試算表_tsm
@@ -243,41 +246,62 @@ Partial Class YD_ERP_SYS
243 246
         Me.貨款試算表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
244 247
         Me.貨款試算表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
245 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 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 278
         '銷售單審核_tsm
263 279
         '
264 280
         Me.銷售單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
265 281
         Me.銷售單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
266 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 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 294
         'ToolStripSeparator8
271 295
         '
272 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 299
         '客戶資料表_tsm
276 300
         '
277 301
         Me.客戶資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
278 302
         Me.客戶資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
279 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 305
         Me.客戶資料表_tsm.Text = "客戶資料表"
282 306
         '
283 307
         '採購系統管理_tsm
@@ -294,7 +318,7 @@ Partial Class YD_ERP_SYS
294 318
         Me.採購控制表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
295 319
         Me.採購控制表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Report
296 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 322
         Me.採購控制表_tsm.Text = "採購對帳單"
299 323
         '
300 324
         '採購對帳單_tsm
@@ -302,20 +326,20 @@ Partial Class YD_ERP_SYS
302 326
         Me.採購對帳單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
303 327
         Me.採購對帳單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.business_info
304 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 330
         Me.採購對帳單_tsm.Text = "採購應付帳款"
307 331
         '
308 332
         'ToolStripSeparator3
309 333
         '
310 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 337
         '一般性申請採購單_tsm
314 338
         '
315 339
         Me.一般性申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
316 340
         Me.一般性申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
317 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 343
         Me.一般性申請採購單_tsm.Text = "一般性申請採購單"
320 344
         '
321 345
         '依銷售申請採購單_tsm
@@ -323,7 +347,7 @@ Partial Class YD_ERP_SYS
323 347
         Me.依銷售申請採購單_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
324 348
         Me.依銷售申請採購單_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.pen
325 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 351
         Me.依銷售申請採購單_tsm.Text = "依銷售申請採購單"
328 352
         '
329 353
         '採購單審核_tsm
@@ -331,19 +355,19 @@ Partial Class YD_ERP_SYS
331 355
         Me.採購單審核_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
332 356
         Me.採購單審核_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.check
333 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 359
         Me.採購單審核_tsm.Text = "採購單審核"
336 360
         '
337 361
         'ToolStripSeparator7
338 362
         '
339 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 366
         '採購退貨申請_tsm
343 367
         '
344 368
         Me.採購退貨申請_tsm.ForeColor = System.Drawing.Color.Black
345 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 371
         Me.採購退貨申請_tsm.Text = "採購退貨申請"
348 372
         Me.採購退貨申請_tsm.Visible = False
349 373
         '
@@ -351,14 +375,14 @@ Partial Class YD_ERP_SYS
351 375
         '
352 376
         Me.採購退貨審核_tsm.ForeColor = System.Drawing.Color.Black
353 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 379
         Me.採購退貨審核_tsm.Text = "採購退貨審核"
356 380
         Me.採購退貨審核_tsm.Visible = False
357 381
         '
358 382
         'ToolStripSeparator1
359 383
         '
360 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 386
         Me.ToolStripSeparator1.Visible = False
363 387
         '
364 388
         '供應商資料表_tsm
@@ -366,7 +390,7 @@ Partial Class YD_ERP_SYS
366 390
         Me.供應商資料表_tsm.ForeColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
367 391
         Me.供應商資料表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Sys_Command
368 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 394
         Me.供應商資料表_tsm.Text = "供應商資料表"
371 395
         '
372 396
         '倉儲系統管理_tsm
@@ -756,4 +780,7 @@ Partial Class YD_ERP_SYS
756 780
     Friend WithEvents ToolStripSeparator14 As ToolStripSeparator
757 781
     Friend WithEvents 薪資轉帳表_tsm As ToolStripMenuItem
758 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 786
 End Class

+ 8
- 0
YD-ERP-SYS/YD-ERP-SYS.vb 查看文件

@@ -185,4 +185,12 @@ Public Class YD_ERP_SYS
185 185
     Private Sub 薪資轉帳表ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 薪資轉帳表_tsm.Click
186 186
         PA = "" : 薪資轉帳表.Show() : 薪資轉帳表.BringToFront()
187 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 196
 End Class

+ 18
- 0
YD-ERP-SYS/YD-ERP-SYS.vbproj 查看文件

@@ -203,6 +203,18 @@
203 203
     <Compile Include="採購系統管理\依銷售申請採購單.vb">
204 204
       <SubType>Form</SubType>
205 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 218
     <Compile Include="採購系統管理\採購單審核.Designer.vb">
207 219
       <DependentUpon>採購單審核.vb</DependentUpon>
208 220
     </Compile>
@@ -448,6 +460,12 @@
448 460
     <EmbeddedResource Include="採購系統管理\依銷售申請採購單.resx">
449 461
       <DependentUpon>依銷售申請採購單.vb</DependentUpon>
450 462
     </EmbeddedResource>
463
+    <EmbeddedResource Include="採購系統管理\應收帳款已收.resx">
464
+      <DependentUpon>應收帳款已收.vb</DependentUpon>
465
+    </EmbeddedResource>
466
+    <EmbeddedResource Include="採購系統管理\應收帳款未收.resx">
467
+      <DependentUpon>應收帳款未收.vb</DependentUpon>
468
+    </EmbeddedResource>
451 469
     <EmbeddedResource Include="採購系統管理\採購單審核.resx">
452 470
       <DependentUpon>採購單審核.vb</DependentUpon>
453 471
     </EmbeddedResource>

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


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


二進制
YD-ERP-SYS/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache 查看文件


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


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


+ 1
- 1
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache 查看文件

@@ -1 +1 @@
1
-134da36bc1a476ecd17ffb6779b8ecef1e31298c
1
+60a1219e988220db087d64bf23fc6d950054aa15

+ 120
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt 查看文件

@@ -211,3 +211,123 @@ C:\Users\USER\Desktop\YD-ERP-SYS-Team-Austin-master\yd-erp-sys-team-austin\YD-ER
211 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 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 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

二進制
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache 查看文件


二進制
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache 查看文件


二進制
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款已收.resources 查看文件


二進制
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款未收.resources 查看文件


+ 19
- 21
YD-ERP-SYS/倉儲系統管理/物料檔案.Designer.vb 查看文件

@@ -23,7 +23,7 @@ Partial Class 物料檔案
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private Sub InitializeComponent()
25 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 27
         Me.物料清單_dgv = New System.Windows.Forms.DataGridView()
28 28
         Me.Label3 = New System.Windows.Forms.Label()
29 29
         Me.資料筆數_tb = New System.Windows.Forms.TextBox()
@@ -99,8 +99,8 @@ Partial Class 物料檔案
99 99
         Me.物料清單_dgv.Location = New System.Drawing.Point(12, 83)
100 100
         Me.物料清單_dgv.Name = "物料清單_dgv"
101 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 104
         Me.物料清單_dgv.RowTemplate.Height = 24
105 105
         Me.物料清單_dgv.Size = New System.Drawing.Size(570, 572)
106 106
         Me.物料清單_dgv.TabIndex = 668
@@ -320,7 +320,7 @@ Partial Class 物料檔案
320 320
         Me.狀態_lb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
321 321
         Me.狀態_lb.ForeColor = System.Drawing.Color.Red
322 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 324
         Me.狀態_lb.Name = "狀態_lb"
325 325
         Me.狀態_lb.Size = New System.Drawing.Size(56, 16)
326 326
         Me.狀態_lb.TabIndex = 1102
@@ -402,7 +402,7 @@ Partial Class 物料檔案
402 402
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
403 403
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
404 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 406
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
407 407
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 51)
408 408
         Me.下載圖檔_bt.TabIndex = 1123
@@ -414,7 +414,7 @@ Partial Class 物料檔案
414 414
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
415 415
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
416 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 418
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
419 419
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(94, 51)
420 420
         Me.圖檔入系統_bt.TabIndex = 1121
@@ -426,7 +426,7 @@ Partial Class 物料檔案
426 426
         Me.檔案名稱_tb.AllowDrop = True
427 427
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
428 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 430
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
431 431
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
432 432
         Me.檔案名稱_tb.TabIndex = 1119
@@ -436,7 +436,7 @@ Partial Class 物料檔案
436 436
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
437 437
         Me.Label12.AutoSize = True
438 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 440
         Me.Label12.Name = "Label12"
441 441
         Me.Label12.Size = New System.Drawing.Size(108, 17)
442 442
         Me.Label12.TabIndex = 1117
@@ -447,7 +447,7 @@ Partial Class 物料檔案
447 447
         Me.Label13.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
448 448
         Me.Label13.AutoSize = True
449 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 451
         Me.Label13.Name = "Label13"
452 452
         Me.Label13.Size = New System.Drawing.Size(56, 16)
453 453
         Me.Label13.TabIndex = 1116
@@ -458,7 +458,7 @@ Partial Class 物料檔案
458 458
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
459 459
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
460 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 462
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
463 463
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(94, 51)
464 464
         Me.讀取資料夾路徑_bt.TabIndex = 1115
@@ -469,7 +469,7 @@ Partial Class 物料檔案
469 469
         '
470 470
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
471 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 473
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
474 474
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
475 475
         Me.本機資料夾_wb.Size = New System.Drawing.Size(285, 321)
@@ -479,7 +479,7 @@ Partial Class 物料檔案
479 479
         'FTP資料夾_wb
480 480
         '
481 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 483
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
484 484
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
485 485
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(285, 198)
@@ -491,7 +491,7 @@ Partial Class 物料檔案
491 491
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
492 492
         Me.Label11.AutoSize = True
493 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 495
         Me.Label11.Name = "Label11"
496 496
         Me.Label11.Size = New System.Drawing.Size(244, 32)
497 497
         Me.Label11.TabIndex = 1118
@@ -501,7 +501,7 @@ Partial Class 物料檔案
501 501
         '
502 502
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
503 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 505
         Me.Label10.Name = "Label10"
506 506
         Me.Label10.Size = New System.Drawing.Size(56, 16)
507 507
         Me.Label10.TabIndex = 1120
@@ -596,7 +596,7 @@ Partial Class 物料檔案
596 596
         Me.物料圖_pb.Location = New System.Drawing.Point(588, 84)
597 597
         Me.物料圖_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
598 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 600
         Me.物料圖_pb.TabIndex = 1112
601 601
         Me.物料圖_pb.TabStop = False
602 602
         '
@@ -623,7 +623,7 @@ Partial Class 物料檔案
623 623
         Me.列印_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
624 624
         Me.列印_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
625 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 627
         Me.列印_bt.Name = "列印_bt"
628 628
         Me.列印_bt.Size = New System.Drawing.Size(64, 51)
629 629
         Me.列印_bt.TabIndex = 1133
@@ -632,12 +632,11 @@ Partial Class 物料檔案
632 632
         '
633 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 635
         Me.字體大小調整_lb.AutoSize = True
637 636
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
638 637
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
639 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 640
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
642 641
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
643 642
         Me.字體大小調整_lb.TabIndex = 1485
@@ -645,8 +644,7 @@ Partial Class 物料檔案
645 644
         '
646 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 648
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
651 649
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
652 650
         Me.字體_NUD.Name = "字體_NUD"
@@ -658,7 +656,7 @@ Partial Class 物料檔案
658 656
         '
659 657
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
660 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 660
         Me.ContextMenuStrip = Me.ContextMenuStrip1
663 661
         Me.Controls.Add(Me.字體大小調整_lb)
664 662
         Me.Controls.Add(Me.字體_NUD)

+ 14
- 11
YD-ERP-SYS/倉儲系統管理/盤盈盤損控制表.Designer.vb 查看文件

@@ -147,14 +147,15 @@ Partial Class 盤盈盤損控制表
147 147
         DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
148 148
         Me.調庫明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
149 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 151
         Me.調庫明細_dgv.TabIndex = 1203
152 152
         '
153 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 156
         Me.Label9.AutoSize = True
156 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 159
         Me.Label9.Name = "Label9"
159 160
         Me.Label9.Size = New System.Drawing.Size(44, 16)
160 161
         Me.Label9.TabIndex = 1207
@@ -162,7 +163,8 @@ Partial Class 盤盈盤損控制表
162 163
         '
163 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 168
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
167 169
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
168 170
         Me.資料筆數1_tb.TabIndex = 1206
@@ -170,9 +172,10 @@ Partial Class 盤盈盤損控制表
170 172
         '
171 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 176
         Me.Label10.AutoSize = True
174 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 179
         Me.Label10.Name = "Label10"
177 180
         Me.Label10.Size = New System.Drawing.Size(20, 16)
178 181
         Me.Label10.TabIndex = 1205
@@ -211,21 +214,21 @@ Partial Class 盤盈盤損控制表
211 214
         '
212 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 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 220
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
218 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 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 225
         Me.字體大小調整_lb.TabIndex = 1491
223 226
         Me.字體大小調整_lb.Text = "字體調整"
224 227
         '
225 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 232
         Me.字體_NUD.Maximum = New Decimal(New Integer() {13, 0, 0, 0})
230 233
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
231 234
         Me.字體_NUD.Name = "字體_NUD"
@@ -237,7 +240,7 @@ Partial Class 盤盈盤損控制表
237 240
         '
238 241
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
239 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 244
         Me.Controls.Add(Me.字體大小調整_lb)
242 245
         Me.Controls.Add(Me.字體_NUD)
243 246
         Me.Controls.Add(Me.Label3)

+ 26
- 28
YD-ERP-SYS/採購系統管理/依銷售申請採購單.Designer.vb 查看文件

@@ -272,7 +272,7 @@ Partial Class 依銷售申請採購單
272 272
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
273 273
         Me.Label9.AutoSize = True
274 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 276
         Me.Label9.Name = "Label9"
277 277
         Me.Label9.Size = New System.Drawing.Size(44, 16)
278 278
         Me.Label9.TabIndex = 1289
@@ -281,7 +281,7 @@ Partial Class 依銷售申請採購單
281 281
         '資料筆數1_tb
282 282
         '
283 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 285
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
286 286
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
287 287
         Me.資料筆數1_tb.TabIndex = 1288
@@ -292,7 +292,7 @@ Partial Class 依銷售申請採購單
292 292
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
293 293
         Me.Label10.AutoSize = True
294 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 296
         Me.Label10.Name = "Label10"
297 297
         Me.Label10.Size = New System.Drawing.Size(20, 16)
298 298
         Me.Label10.TabIndex = 1287
@@ -329,7 +329,7 @@ Partial Class 依銷售申請採購單
329 329
         DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
330 330
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
331 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 333
         Me.採購清單_dgv.TabIndex = 1235
334 334
         '
335 335
         'Label15
@@ -386,14 +386,14 @@ Partial Class 依銷售申請採購單
386 386
         DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
387 387
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle12
388 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 390
         Me.銷售明細_dgv.TabIndex = 1308
391 391
         '
392 392
         '單號_tb
393 393
         '
394 394
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
395 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 397
         Me.單號_tb.Name = "單號_tb"
398 398
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
399 399
         Me.單號_tb.TabIndex = 1309
@@ -443,7 +443,7 @@ Partial Class 依銷售申請採購單
443 443
         '
444 444
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
445 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 447
         Me.日期2_dtp.Name = "日期2_dtp"
448 448
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
449 449
         Me.日期2_dtp.TabIndex = 1315
@@ -453,7 +453,7 @@ Partial Class 依銷售申請採購單
453 453
         '
454 454
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
455 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 457
         Me.日期1_dtp.Name = "日期1_dtp"
458 458
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
459 459
         Me.日期1_dtp.TabIndex = 1314
@@ -512,7 +512,7 @@ Partial Class 依銷售申請採購單
512 512
         Me.檔案名稱_tb.AllowDrop = True
513 513
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
514 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 516
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
517 517
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
518 518
         Me.檔案名稱_tb.TabIndex = 1335
@@ -522,7 +522,7 @@ Partial Class 依銷售申請採購單
522 522
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
523 523
         Me.Label12.AutoSize = True
524 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 526
         Me.Label12.Name = "Label12"
527 527
         Me.Label12.Size = New System.Drawing.Size(108, 17)
528 528
         Me.Label12.TabIndex = 1333
@@ -533,7 +533,7 @@ Partial Class 依銷售申請採購單
533 533
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
534 534
         Me.Label4.AutoSize = True
535 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 537
         Me.Label4.Name = "Label4"
538 538
         Me.Label4.Size = New System.Drawing.Size(56, 16)
539 539
         Me.Label4.TabIndex = 1332
@@ -544,7 +544,7 @@ Partial Class 依銷售申請採購單
544 544
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
545 545
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
546 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 548
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
549 549
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
550 550
         Me.讀取資料夾路徑_bt.TabIndex = 1331
@@ -555,7 +555,7 @@ Partial Class 依銷售申請採購單
555 555
         '
556 556
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
557 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 559
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
560 560
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
561 561
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
@@ -565,7 +565,7 @@ Partial Class 依銷售申請採購單
565 565
         'FTP資料夾_wb
566 566
         '
567 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 569
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
570 570
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
571 571
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
@@ -577,7 +577,7 @@ Partial Class 依銷售申請採購單
577 577
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
578 578
         Me.Label11.AutoSize = True
579 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 581
         Me.Label11.Name = "Label11"
582 582
         Me.Label11.Size = New System.Drawing.Size(244, 32)
583 583
         Me.Label11.TabIndex = 1334
@@ -587,7 +587,7 @@ Partial Class 依銷售申請採購單
587 587
         '
588 588
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
589 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 591
         Me.Label5.Name = "Label5"
592 592
         Me.Label5.Size = New System.Drawing.Size(56, 16)
593 593
         Me.Label5.TabIndex = 1336
@@ -598,7 +598,7 @@ Partial Class 依銷售申請採購單
598 598
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
599 599
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
600 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 602
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
603 603
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
604 604
         Me.下載圖檔_bt.TabIndex = 1339
@@ -610,7 +610,7 @@ Partial Class 依銷售申請採購單
610 610
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
611 611
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
612 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 614
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
615 615
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
616 616
         Me.圖檔入系統_bt.TabIndex = 1338
@@ -625,7 +625,7 @@ Partial Class 依銷售申請採購單
625 625
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
626 626
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
627 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 629
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
630 630
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
631 631
         DataGridViewCellStyle14.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -648,7 +648,7 @@ Partial Class 依銷售申請採購單
648 648
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
649 649
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
650 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 652
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
653 653
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
654 654
         Me.大圖預覽_bt.TabIndex = 1342
@@ -659,7 +659,7 @@ Partial Class 依銷售申請採購單
659 659
         '
660 660
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
661 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 663
         Me.單號1_tb.Name = "單號1_tb"
664 664
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
665 665
         Me.單號1_tb.TabIndex = 1343
@@ -675,7 +675,7 @@ Partial Class 依銷售申請採購單
675 675
         '
676 676
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
677 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 679
         Me.料號_tb.Name = "料號_tb"
680 680
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
681 681
         Me.料號_tb.TabIndex = 1344
@@ -697,7 +697,7 @@ Partial Class 依銷售申請採購單
697 697
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
698 698
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
699 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 701
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
702 702
         Me.物料圖1_pb.Name = "物料圖1_pb"
703 703
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
@@ -766,12 +766,11 @@ Partial Class 依銷售申請採購單
766 766
         '
767 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 769
         Me.字體大小調整_lb.AutoSize = True
771 770
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
772 771
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.DarkRed
773 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 774
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
776 775
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
777 776
         Me.字體大小調整_lb.TabIndex = 1462
@@ -779,8 +778,7 @@ Partial Class 依銷售申請採購單
779 778
         '
780 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 782
         Me.字體_NUD.Maximum = New Decimal(New Integer() {14, 0, 0, 0})
785 783
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
786 784
         Me.字體_NUD.Name = "字體_NUD"
@@ -792,7 +790,7 @@ Partial Class 依銷售申請採購單
792 790
         '
793 791
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
794 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 794
         Me.Controls.Add(Me.字體大小調整_lb)
797 795
         Me.Controls.Add(Me.字體_NUD)
798 796
         Me.Controls.Add(Me.交貨日期_tb)

+ 339
- 0
YD-ERP-SYS/採購系統管理/應收帳款已收.Designer.vb 查看文件

@@ -0,0 +1,339 @@
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 查看文件

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

+ 105
- 0
YD-ERP-SYS/採購系統管理/應收帳款已收.vb 查看文件

@@ -0,0 +1,105 @@
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 查看文件

@@ -0,0 +1,251 @@
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 查看文件

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

+ 37
- 0
YD-ERP-SYS/採購系統管理/應收帳款未收.vb 查看文件

@@ -0,0 +1,37 @@
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 查看文件

@@ -109,7 +109,7 @@ Partial Class 採購單審核
109 109
         '
110 110
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
111 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 113
         Me.料號_tb.Name = "料號_tb"
114 114
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
115 115
         Me.料號_tb.TabIndex = 1442
@@ -119,7 +119,7 @@ Partial Class 採購單審核
119 119
         '
120 120
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
121 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 123
         Me.單號1_tb.Name = "單號1_tb"
124 124
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
125 125
         Me.單號1_tb.TabIndex = 1441
@@ -130,7 +130,7 @@ Partial Class 採購單審核
130 130
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
131 131
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
132 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 134
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
135 135
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
136 136
         Me.大圖預覽_bt.TabIndex = 1440
@@ -153,7 +153,7 @@ Partial Class 採購單審核
153 153
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
154 154
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
155 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 157
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
158 158
         Me.訂製圖檔_dgv.RowHeadersWidth = 5
159 159
         DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -168,7 +168,7 @@ Partial Class 採購單審核
168 168
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
169 169
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
170 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 172
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
173 173
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
174 174
         Me.下載圖檔_bt.TabIndex = 1437
@@ -180,7 +180,7 @@ Partial Class 採購單審核
180 180
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
181 181
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
182 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 184
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
185 185
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
186 186
         Me.圖檔入系統_bt.TabIndex = 1436
@@ -203,7 +203,7 @@ Partial Class 採購單審核
203 203
         Me.檔案名稱_tb.AllowDrop = True
204 204
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
205 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 207
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
208 208
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
209 209
         Me.檔案名稱_tb.TabIndex = 1433
@@ -213,7 +213,7 @@ Partial Class 採購單審核
213 213
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
214 214
         Me.Label12.AutoSize = True
215 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 217
         Me.Label12.Name = "Label12"
218 218
         Me.Label12.Size = New System.Drawing.Size(108, 17)
219 219
         Me.Label12.TabIndex = 1431
@@ -224,7 +224,7 @@ Partial Class 採購單審核
224 224
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
225 225
         Me.Label4.AutoSize = True
226 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 228
         Me.Label4.Name = "Label4"
229 229
         Me.Label4.Size = New System.Drawing.Size(56, 16)
230 230
         Me.Label4.TabIndex = 1430
@@ -235,7 +235,7 @@ Partial Class 採購單審核
235 235
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
236 236
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
237 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 239
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
240 240
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
241 241
         Me.讀取資料夾路徑_bt.TabIndex = 1429
@@ -246,7 +246,7 @@ Partial Class 採購單審核
246 246
         '
247 247
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
248 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 250
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
251 251
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
252 252
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
@@ -256,7 +256,7 @@ Partial Class 採購單審核
256 256
         'FTP資料夾_wb
257 257
         '
258 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 260
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
261 261
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
262 262
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
@@ -268,7 +268,7 @@ Partial Class 採購單審核
268 268
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
269 269
         Me.Label11.AutoSize = True
270 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 272
         Me.Label11.Name = "Label11"
273 273
         Me.Label11.Size = New System.Drawing.Size(244, 32)
274 274
         Me.Label11.TabIndex = 1432
@@ -278,7 +278,7 @@ Partial Class 採購單審核
278 278
         '
279 279
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
280 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 282
         Me.Label5.Name = "Label5"
283 283
         Me.Label5.Size = New System.Drawing.Size(56, 16)
284 284
         Me.Label5.TabIndex = 1434
@@ -325,7 +325,7 @@ Partial Class 採購單審核
325 325
         '
326 326
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
327 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 329
         Me.日期2_dtp.Name = "日期2_dtp"
330 330
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
331 331
         Me.日期2_dtp.TabIndex = 1422
@@ -335,7 +335,7 @@ Partial Class 採購單審核
335 335
         '
336 336
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
337 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 339
         Me.日期1_dtp.Name = "日期1_dtp"
340 340
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
341 341
         Me.日期1_dtp.TabIndex = 1421
@@ -364,7 +364,7 @@ Partial Class 採購單審核
364 364
         '
365 365
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
366 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 368
         Me.單號_tb.Name = "單號_tb"
369 369
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
370 370
         Me.單號_tb.TabIndex = 1418
@@ -510,7 +510,7 @@ Partial Class 採購單審核
510 510
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
511 511
         Me.Label9.AutoSize = True
512 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 514
         Me.Label9.Name = "Label9"
515 515
         Me.Label9.Size = New System.Drawing.Size(44, 16)
516 516
         Me.Label9.TabIndex = 1402
@@ -519,7 +519,7 @@ Partial Class 採購單審核
519 519
         '資料筆數1_tb
520 520
         '
521 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 523
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
524 524
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
525 525
         Me.資料筆數1_tb.TabIndex = 1401
@@ -530,7 +530,7 @@ Partial Class 採購單審核
530 530
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
531 531
         Me.Label10.AutoSize = True
532 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 534
         Me.Label10.Name = "Label10"
535 535
         Me.Label10.Size = New System.Drawing.Size(20, 16)
536 536
         Me.Label10.TabIndex = 1400
@@ -588,7 +588,7 @@ Partial Class 採購單審核
588 588
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
589 589
         Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
590 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 592
         Me.採購清單_dgv.TabIndex = 1395
593 593
         '
594 594
         '物料圖1_pb
@@ -596,7 +596,7 @@ Partial Class 採購單審核
596 596
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
597 597
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
598 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 600
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
601 601
         Me.物料圖1_pb.Name = "物料圖1_pb"
602 602
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
@@ -693,21 +693,19 @@ Partial Class 採購單審核
693 693
         '
694 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 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 698
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
700 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 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 703
         Me.字體大小調整_lb.TabIndex = 1453
705 704
         Me.字體大小調整_lb.Text = "字體調整"
706 705
         '
707 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 709
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
712 710
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
713 711
         Me.字體_NUD.Name = "字體_NUD"
@@ -719,7 +717,7 @@ Partial Class 採購單審核
719 717
         '
720 718
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
721 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 721
         Me.Controls.Add(Me.字體大小調整_lb)
724 722
         Me.Controls.Add(Me.字體_NUD)
725 723
         Me.Controls.Add(Me.依廠商選擇_bt)

+ 67
- 39
YD-ERP-SYS/採購系統管理/採購對帳單.Designer.vb 查看文件

@@ -23,10 +23,10 @@ Partial Class 採購對帳單
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 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 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 30
         Me.下載檔名_tb = New System.Windows.Forms.TextBox()
31 31
         Me.料號_tb = New System.Windows.Forms.TextBox()
32 32
         Me.單號1_tb = New System.Windows.Forms.TextBox()
@@ -91,6 +91,8 @@ Partial Class 採購對帳單
91 91
         Me.列印Excel_bt = New System.Windows.Forms.Button()
92 92
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
93 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 96
         CType(Me.訂製圖檔_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
95 97
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
96 98
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -113,7 +115,7 @@ Partial Class 採購對帳單
113 115
         '
114 116
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
115 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 119
         Me.料號_tb.Name = "料號_tb"
118 120
         Me.料號_tb.Size = New System.Drawing.Size(122, 23)
119 121
         Me.料號_tb.TabIndex = 1393
@@ -123,7 +125,7 @@ Partial Class 採購對帳單
123 125
         '
124 126
         Me.單號1_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
125 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 129
         Me.單號1_tb.Name = "單號1_tb"
128 130
         Me.單號1_tb.Size = New System.Drawing.Size(122, 23)
129 131
         Me.單號1_tb.TabIndex = 1392
@@ -134,7 +136,7 @@ Partial Class 採購對帳單
134 136
         Me.大圖預覽_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
135 137
         Me.大圖預覽_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
136 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 140
         Me.大圖預覽_bt.Name = "大圖預覽_bt"
139 141
         Me.大圖預覽_bt.Size = New System.Drawing.Size(89, 24)
140 142
         Me.大圖預覽_bt.TabIndex = 1391
@@ -151,18 +153,18 @@ Partial Class 採購對帳單
151 153
         '
152 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 158
         Me.訂製圖檔_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
157 159
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
158 160
         Me.訂製圖檔_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
159 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 163
         Me.訂製圖檔_dgv.Name = "訂製圖檔_dgv"
162 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 168
         Me.訂製圖檔_dgv.RowTemplate.Height = 24
167 169
         Me.訂製圖檔_dgv.Size = New System.Drawing.Size(90, 354)
168 170
         Me.訂製圖檔_dgv.TabIndex = 1389
@@ -172,7 +174,7 @@ Partial Class 採購對帳單
172 174
         Me.下載圖檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
173 175
         Me.下載圖檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
174 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 178
         Me.下載圖檔_bt.Name = "下載圖檔_bt"
177 179
         Me.下載圖檔_bt.Size = New System.Drawing.Size(94, 24)
178 180
         Me.下載圖檔_bt.TabIndex = 1388
@@ -184,7 +186,7 @@ Partial Class 採購對帳單
184 186
         Me.圖檔入系統_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
185 187
         Me.圖檔入系統_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
186 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 190
         Me.圖檔入系統_bt.Name = "圖檔入系統_bt"
189 191
         Me.圖檔入系統_bt.Size = New System.Drawing.Size(173, 24)
190 192
         Me.圖檔入系統_bt.TabIndex = 1387
@@ -207,7 +209,7 @@ Partial Class 採購對帳單
207 209
         Me.檔案名稱_tb.AllowDrop = True
208 210
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
209 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 213
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
212 214
         Me.檔案名稱_tb.Size = New System.Drawing.Size(231, 23)
213 215
         Me.檔案名稱_tb.TabIndex = 1384
@@ -217,7 +219,7 @@ Partial Class 採購對帳單
217 219
         Me.Label12.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
218 220
         Me.Label12.AutoSize = True
219 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 223
         Me.Label12.Name = "Label12"
222 224
         Me.Label12.Size = New System.Drawing.Size(108, 17)
223 225
         Me.Label12.TabIndex = 1382
@@ -228,7 +230,7 @@ Partial Class 採購對帳單
228 230
         Me.Label4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
229 231
         Me.Label4.AutoSize = True
230 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 234
         Me.Label4.Name = "Label4"
233 235
         Me.Label4.Size = New System.Drawing.Size(56, 16)
234 236
         Me.Label4.TabIndex = 1381
@@ -239,7 +241,7 @@ Partial Class 採購對帳單
239 241
         Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
240 242
         Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
241 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 245
         Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
244 246
         Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(89, 24)
245 247
         Me.讀取資料夾路徑_bt.TabIndex = 1380
@@ -250,7 +252,7 @@ Partial Class 採購對帳單
250 252
         '
251 253
         Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
252 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 256
         Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
255 257
         Me.本機資料夾_wb.Name = "本機資料夾_wb"
256 258
         Me.本機資料夾_wb.Size = New System.Drawing.Size(287, 122)
@@ -260,7 +262,7 @@ Partial Class 採購對帳單
260 262
         'FTP資料夾_wb
261 263
         '
262 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 266
         Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
265 267
         Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
266 268
         Me.FTP資料夾_wb.Size = New System.Drawing.Size(282, 152)
@@ -272,7 +274,7 @@ Partial Class 採購對帳單
272 274
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
273 275
         Me.Label11.AutoSize = True
274 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 278
         Me.Label11.Name = "Label11"
277 279
         Me.Label11.Size = New System.Drawing.Size(244, 32)
278 280
         Me.Label11.TabIndex = 1383
@@ -282,7 +284,7 @@ Partial Class 採購對帳單
282 284
         '
283 285
         Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
284 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 288
         Me.Label5.Name = "Label5"
287 289
         Me.Label5.Size = New System.Drawing.Size(56, 16)
288 290
         Me.Label5.TabIndex = 1385
@@ -329,7 +331,7 @@ Partial Class 採購對帳單
329 331
         '
330 332
         Me.日期2_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
331 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 335
         Me.日期2_dtp.Name = "日期2_dtp"
334 336
         Me.日期2_dtp.Size = New System.Drawing.Size(122, 23)
335 337
         Me.日期2_dtp.TabIndex = 1373
@@ -339,7 +341,7 @@ Partial Class 採購對帳單
339 341
         '
340 342
         Me.日期1_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
341 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 345
         Me.日期1_dtp.Name = "日期1_dtp"
344 346
         Me.日期1_dtp.Size = New System.Drawing.Size(122, 23)
345 347
         Me.日期1_dtp.TabIndex = 1372
@@ -368,7 +370,7 @@ Partial Class 採購對帳單
368 370
         '
369 371
         Me.單號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
370 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 374
         Me.單號_tb.Name = "單號_tb"
373 375
         Me.單號_tb.Size = New System.Drawing.Size(122, 23)
374 376
         Me.單號_tb.TabIndex = 1369
@@ -408,7 +410,7 @@ Partial Class 採購對帳單
408 410
         Me.物料圖1_pb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
409 411
         Me.物料圖1_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
410 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 414
         Me.物料圖1_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
413 415
         Me.物料圖1_pb.Name = "物料圖1_pb"
414 416
         Me.物料圖1_pb.Size = New System.Drawing.Size(373, 262)
@@ -526,7 +528,7 @@ Partial Class 採購對帳單
526 528
         Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
527 529
         Me.Label9.AutoSize = True
528 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 532
         Me.Label9.Name = "Label9"
531 533
         Me.Label9.Size = New System.Drawing.Size(44, 16)
532 534
         Me.Label9.TabIndex = 1353
@@ -535,7 +537,7 @@ Partial Class 採購對帳單
535 537
         '資料筆數1_tb
536 538
         '
537 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 541
         Me.資料筆數1_tb.Name = "資料筆數1_tb"
540 542
         Me.資料筆數1_tb.Size = New System.Drawing.Size(39, 23)
541 543
         Me.資料筆數1_tb.TabIndex = 1352
@@ -546,7 +548,7 @@ Partial Class 採購對帳單
546 548
         Me.Label10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
547 549
         Me.Label10.AutoSize = True
548 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 552
         Me.Label10.Name = "Label10"
551 553
         Me.Label10.Size = New System.Drawing.Size(20, 16)
552 554
         Me.Label10.TabIndex = 1351
@@ -598,11 +600,11 @@ Partial Class 採購對帳單
598 600
         Me.採購清單_dgv.Location = New System.Drawing.Point(5, 92)
599 601
         Me.採購清單_dgv.Name = "採購清單_dgv"
600 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 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 608
         Me.採購清單_dgv.TabIndex = 1346
607 609
         '
608 610
         'SaveFileDialog1
@@ -665,7 +667,7 @@ Partial Class 採購對帳單
665 667
         '
666 668
         Me.日期3_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
667 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 671
         Me.日期3_dtp.Name = "日期3_dtp"
670 672
         Me.日期3_dtp.Size = New System.Drawing.Size(122, 23)
671 673
         Me.日期3_dtp.TabIndex = 1455
@@ -675,7 +677,7 @@ Partial Class 採購對帳單
675 677
         '
676 678
         Me.日期4_dtp.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
677 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 681
         Me.日期4_dtp.Name = "日期4_dtp"
680 682
         Me.日期4_dtp.Size = New System.Drawing.Size(122, 23)
681 683
         Me.日期4_dtp.TabIndex = 1456
@@ -696,7 +698,7 @@ Partial Class 採購對帳單
696 698
         Me.過帳_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
697 699
         Me.過帳_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
698 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 702
         Me.過帳_bt.Name = "過帳_bt"
701 703
         Me.過帳_bt.Size = New System.Drawing.Size(116, 52)
702 704
         Me.過帳_bt.TabIndex = 1458
@@ -721,7 +723,7 @@ Partial Class 採購對帳單
721 723
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
722 724
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
723 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 727
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
726 728
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
727 729
         Me.字體大小調整_lb.TabIndex = 1461
@@ -730,7 +732,7 @@ Partial Class 採購對帳單
730 732
         '字體_NUD
731 733
         '
732 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 736
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
735 737
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
736 738
         Me.字體_NUD.Name = "字體_NUD"
@@ -738,12 +740,36 @@ Partial Class 採購對帳單
738 740
         Me.字體_NUD.TabIndex = 1460
739 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 767
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
744 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 770
         Me.ContextMenuStrip = Me.ContextMenuStrip1
771
+        Me.Controls.Add(Me.全部取消_bt)
772
+        Me.Controls.Add(Me.全部選擇_bt)
747 773
         Me.Controls.Add(Me.字體大小調整_lb)
748 774
         Me.Controls.Add(Me.字體_NUD)
749 775
         Me.Controls.Add(Me.列印Excel_bt)
@@ -883,4 +909,6 @@ Partial Class 採購對帳單
883 909
     Friend WithEvents 列印Excel_bt As Button
884 910
     Friend WithEvents 字體大小調整_lb As Label
885 911
     Friend WithEvents 字體_NUD As NumericUpDown
912
+    Friend WithEvents 全部選擇_bt As Button
913
+    Friend WithEvents 全部取消_bt As Button
886 914
 End Class

+ 28
- 2
YD-ERP-SYS/採購系統管理/採購對帳單.vb 查看文件

@@ -505,8 +505,10 @@ Public Class 採購對帳單
505 505
         For i As Integer = 0 To 採購清單_dgv.Rows.Count - 1
506 506
             資料數 = 採購清單_dgv.Rows.Count : MyModule1.進度條()
507 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 512
             End If
511 513
         Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
512 514
         Set_清單1()
@@ -924,6 +926,30 @@ Public Class 採購對帳單
924 926
             .ShrinkToFit = False : .ReadingOrder = xlContext
925 927
         End With
926 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 953
     Private Sub 重新整理_tsm_Click(sender As Object, e As EventArgs) Handles 重新整理_tsm.Click
928 954
         Set_清單1()
929 955
     End Sub

+ 64
- 23
YD-ERP-SYS/採購系統管理/採購應負帳款.Designer.vb 查看文件

@@ -22,12 +22,12 @@ Partial Class 採購應負帳款
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 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 31
         Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
32 32
         Me.一般月_ch = New System.Windows.Forms.CheckBox()
33 33
         Me.會計月_ch = New System.Windows.Forms.CheckBox()
@@ -79,6 +79,9 @@ Partial Class 採購應負帳款
79 79
         Me.匯出Excel_bt = New System.Windows.Forms.Button()
80 80
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
81 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 85
         CType(Me.供應商_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
83 86
         CType(Me.採購清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
84 87
         CType(Me.物料圖1_pb, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -179,8 +182,8 @@ Partial Class 採購應負帳款
179 182
         '
180 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 187
         Me.供應商_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
185 188
             Or System.Windows.Forms.AnchorStyles.Left) _
186 189
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -190,9 +193,9 @@ Partial Class 採購應負帳款
190 193
         Me.供應商_dgv.Location = New System.Drawing.Point(247, 34)
191 194
         Me.供應商_dgv.Name = "供應商_dgv"
192 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 199
         Me.供應商_dgv.RowTemplate.Height = 24
197 200
         Me.供應商_dgv.Size = New System.Drawing.Size(1092, 711)
198 201
         Me.供應商_dgv.TabIndex = 1439
@@ -230,8 +233,8 @@ Partial Class 採購應負帳款
230 233
         '
231 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 238
         Me.採購清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
236 239
             Or System.Windows.Forms.AnchorStyles.Left) _
237 240
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -241,9 +244,9 @@ Partial Class 採購應負帳款
241 244
         Me.採購清單_dgv.Location = New System.Drawing.Point(247, 34)
242 245
         Me.採購清單_dgv.Name = "採購清單_dgv"
243 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 250
         Me.採購清單_dgv.RowTemplate.Height = 24
248 251
         Me.採購清單_dgv.Size = New System.Drawing.Size(1092, 711)
249 252
         Me.採購清單_dgv.TabIndex = 1443
@@ -635,8 +638,8 @@ Partial Class 採購應負帳款
635 638
         '
636 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 643
         Me.合計_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
641 644
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
642 645
         Me.合計_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -645,9 +648,9 @@ Partial Class 採購應負帳款
645 648
         Me.合計_dgv.Location = New System.Drawing.Point(4, 557)
646 649
         Me.合計_dgv.Name = "合計_dgv"
647 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 654
         Me.合計_dgv.RowTemplate.Height = 24
652 655
         Me.合計_dgv.Size = New System.Drawing.Size(237, 107)
653 656
         Me.合計_dgv.TabIndex = 1479
@@ -667,7 +670,8 @@ Partial Class 採購應負帳款
667 670
         '
668 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 675
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
672 676
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
673 677
         Me.字體_NUD.Name = "字體_NUD"
@@ -677,21 +681,55 @@ Partial Class 採購應負帳款
677 681
         '
678 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 685
         Me.字體大小調整_lb.AutoSize = True
681 686
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
682 687
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
683 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 690
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
686 691
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
687 692
         Me.字體大小調整_lb.TabIndex = 1483
688 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 727
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
693 728
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
694 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 733
         Me.Controls.Add(Me.字體大小調整_lb)
696 734
         Me.Controls.Add(Me.字體_NUD)
697 735
         Me.Controls.Add(Me.匯出Excel_bt)
@@ -809,4 +847,7 @@ Partial Class 採購應負帳款
809 847
     Friend WithEvents 匯出Excel_bt As Button
810 848
     Friend WithEvents 字體_NUD As NumericUpDown
811 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 853
 End Class

+ 17
- 3
YD-ERP-SYS/採購系統管理/採購應負帳款.vb 查看文件

@@ -22,7 +22,7 @@ Public Class 採購應負帳款
22 22
         供應商_dgv.ColumnHeadersHeight = 40
23 23
         供應商_dgv.AllowUserToAddRows = False
24 24
         供應商_dgv.RowTemplate.Height = 30
25
-        採購清單_dgv.RowTemplate.Height = 30
25
+
26 26
         合計_dgv.RowTemplate.Height = 30
27 27
 
28 28
         SQL_採購對帳單_總表()
@@ -229,7 +229,8 @@ Public Class 採購應負帳款
229 229
     End Sub
230 230
     Private Sub 採購對帳單_Load(sender As Object, e As EventArgs) Handles MyBase.Load
231 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 234
         首次 = True : 日期格式() : 首次 = False : Set_清單3()
234 235
     End Sub
235 236
     Private Sub 供應商_dgv_CellEndEdit(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 供應商_dgv.CellEndEdit
@@ -311,7 +312,7 @@ Public Class 採購應負帳款
311 312
     Private Sub 採購清單_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 採購清單_dgv.CellClick
312 313
         If e.RowIndex = -1 Then : Else
313 314
             供應商_tb.Text = 採購清單_dgv("供應商", e.RowIndex).Value.ToString
314
-
315
+            資料流水號_tb.Text = 採購清單_dgv.Rows(e.RowIndex).Cells("資料流水號").Value.ToString
315 316
             Set_合記計算()
316 317
 
317 318
             PA15 = 採購清單_dgv(0, e.RowIndex).Value.ToString
@@ -384,9 +385,11 @@ Public Class 採購應負帳款
384 385
     End Sub
385 386
     Private Sub 採購明細_bt_Click(sender As Object, e As EventArgs) Handles 採購明細_bt.Click
386 387
         採購明細_bt.Enabled = False : 應負帳款_bt.Enabled = True : 採購清單_dgv.Visible = True : 供應商_dgv.Visible = False
388
+        應負帳款退回_bt.Visible = True : 提示_lb.Text = "要將採購明細資料退回時,請點選採購明細中要退回的資料後點選左邊的應負帳款退回"
387 389
     End Sub
388 390
     Private Sub 應負帳款_bt_Click(sender As Object, e As EventArgs) Handles 應負帳款_bt.Click
389 391
         採購明細_bt.Enabled = True : 應負帳款_bt.Enabled = False : 採購清單_dgv.Visible = False : 供應商_dgv.Visible = True
392
+        應負帳款退回_bt.Visible = False : 提示_lb.Text = "目前呈現表單為應付帳款,若要退回採購明細資料請點選下方採購明細"
390 393
     End Sub
391 394
     Private Sub 重新讀取_bt_Click(sender As Object, e As EventArgs) Handles 重新讀取_bt.Click
392 395
         Set_清單1() : Set_清單2()
@@ -753,6 +756,17 @@ Public Class 採購應負帳款
753 756
         合計_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
754 757
         採購清單_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
755 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 770
     Private Sub 開啟供應商資料表_bt_Click(sender As Object, e As EventArgs) Handles 開啟供應商資料表_bt.Click
757 771
         PA = "" : 供應商資料表.Show() : 供應商資料表.BringToFront()
758 772
     End Sub

+ 6
- 6
YD-ERP-SYS/業務系統管理/訂單控制表.Designer.vb 查看文件

@@ -181,7 +181,7 @@ Partial Class 訂單控制表
181 181
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
182 182
         Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
183 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 185
         Me.銷售單據_dgv.TabIndex = 1256
186 186
         '
187 187
         '未審核_lb
@@ -434,7 +434,7 @@ Partial Class 訂單控制表
434 434
         Me.Panel1.Controls.Add(Me.銷售明細_dgv)
435 435
         Me.Panel1.Location = New System.Drawing.Point(1, 173)
436 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 438
         Me.Panel1.TabIndex = 1278
439 439
         '
440 440
         '項次4_tb
@@ -908,7 +908,7 @@ Partial Class 訂單控制表
908 908
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
909 909
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
910 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 912
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
913 913
         Me.客戶資料_dgv.RowHeadersWidth = 5
914 914
         DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -1296,7 +1296,7 @@ Partial Class 訂單控制表
1296 1296
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1297 1297
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1298 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 1300
         Me.Panel2.TabIndex = 1339
1301 1301
         '
1302 1302
         'Panel3
@@ -1335,7 +1335,7 @@ Partial Class 訂單控制表
1335 1335
         Me.Panel3.Controls.Add(Me.Label7)
1336 1336
         Me.Panel3.Location = New System.Drawing.Point(559, 2)
1337 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 1339
         Me.Panel3.TabIndex = 1340
1340 1340
         '
1341 1341
         '字體大小調整_lb
@@ -1384,7 +1384,7 @@ Partial Class 訂單控制表
1384 1384
         '
1385 1385
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
1386 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 1388
         Me.Controls.Add(Me.Panel3)
1389 1389
         Me.Controls.Add(Me.Panel2)
1390 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 查看文件

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

+ 10
- 10
YD-ERP-SYS/業務系統管理/銷售分析表.Designer.vb 查看文件

@@ -209,7 +209,7 @@ Partial Class 銷售分析表
209 209
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
210 210
         Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
211 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 213
         Me.銷售明細_dgv.TabIndex = 1258
214 214
         '
215 215
         '依開單日期_ch
@@ -249,7 +249,7 @@ Partial Class 銷售分析表
249 249
         DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
250 250
         Me.銷售它項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
251 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 253
         Me.銷售它項_dgv.TabIndex = 1261
254 254
         '
255 255
         '銷售備註_dgv
@@ -267,7 +267,7 @@ Partial Class 銷售分析表
267 267
         DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
268 268
         Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
269 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 271
         Me.銷售備註_dgv.TabIndex = 1262
272 272
         '
273 273
         '運費_dgv
@@ -277,7 +277,7 @@ Partial Class 銷售分析表
277 277
         Me.運費_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
278 278
         Me.運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
279 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 281
         Me.運費_dgv.Name = "運費_dgv"
282 282
         Me.運費_dgv.RowHeadersWidth = 5
283 283
         DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -295,7 +295,7 @@ Partial Class 銷售分析表
295 295
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
296 296
         Me.廠商彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
297 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 299
         Me.廠商彙總_dgv.Name = "廠商彙總_dgv"
300 300
         Me.廠商彙總_dgv.RowHeadersWidth = 5
301 301
         DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -553,7 +553,7 @@ Partial Class 銷售分析表
553 553
         Me.稅金_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
554 554
         Me.稅金_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
555 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 557
         Me.稅金_dgv.Name = "稅金_dgv"
558 558
         Me.稅金_dgv.RowHeadersWidth = 5
559 559
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -609,9 +609,9 @@ Partial Class 銷售分析表
609 609
         '
610 610
         Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
611 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 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 615
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
616 616
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
617 617
         Me.字體大小調整_lb.TabIndex = 1359
@@ -620,7 +620,7 @@ Partial Class 銷售分析表
620 620
         '字體_NUD
621 621
         '
622 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 624
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
625 625
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
626 626
         Me.字體_NUD.Name = "字體_NUD"
@@ -632,7 +632,7 @@ Partial Class 銷售分析表
632 632
         '
633 633
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
634 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 636
         Me.ContextMenuStrip = Me.ContextMenuStrip1
637 637
         Me.Controls.Add(Me.字體大小調整_lb)
638 638
         Me.Controls.Add(Me.字體_NUD)

+ 8
- 6
YD-ERP-SYS/業務系統管理/銷售分析表.vb 查看文件

@@ -239,12 +239,13 @@ Public Class 銷售分析表
239 239
 
240 240
         For i As Integer = 0 To 銷售明細_dgv.Rows.Count - 1
241 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 249
             End If
249 250
         Next
250 251
         For i As Integer = 0 To 稅金_dgv.Rows.Count - 1
@@ -335,6 +336,7 @@ Public Class 銷售分析表
335 336
     Private Sub 銷售分析表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
336 337
         Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
337 338
         小間距_ch.Checked = True '--------------------控件隱藏、操作許可設定與其他基本顯示設定
339
+        依開單日期_ch.Checked = False : 依交貨日期_ch.Checked = True
338 340
         業務_cb.Text = 業務號碼
339 341
         開始日期_dtp.Value = Today() : 結束日期_dtp.Value = Today()
340 342
         日期格式()

+ 74
- 72
YD-ERP-SYS/業務系統管理/銷售單審核.Designer.vb 查看文件

@@ -22,22 +22,22 @@ Partial Class 銷售單審核
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 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 41
         Me.業務_cb = New System.Windows.Forms.ComboBox()
42 42
         Me.客戶資料驗證_bt = New System.Windows.Forms.Button()
43 43
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
@@ -107,6 +107,7 @@ Partial Class 銷售單審核
107 107
         Me.單據核准_bt = New System.Windows.Forms.Button()
108 108
         Me.單據作廢_bt = New System.Windows.Forms.Button()
109 109
         Me.Panel1 = New System.Windows.Forms.Panel()
110
+        Me.Reset1_bt = New System.Windows.Forms.Button()
110 111
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
111 112
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
112 113
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
@@ -199,7 +200,6 @@ Partial Class 銷售單審核
199 200
         Me.運費資料流水號_tb = New System.Windows.Forms.TextBox()
200 201
         Me.Panel3 = New System.Windows.Forms.Panel()
201 202
         Me.顯示_bt = New System.Windows.Forms.Button()
202
-        Me.Reset1_bt = New System.Windows.Forms.Button()
203 203
         CType(Me.售價_nud, System.ComponentModel.ISupportInitialize).BeginInit()
204 204
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
205 205
         CType(Me.成本_nud, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -264,17 +264,17 @@ Partial Class 銷售單審核
264 264
         '
265 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 269
         Me.區域庫存_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
270 270
         Me.區域庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
271 271
         Me.區域庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
272 272
         Me.區域庫存_dgv.Location = New System.Drawing.Point(345, 317)
273 273
         Me.區域庫存_dgv.Name = "區域庫存_dgv"
274 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 278
         Me.區域庫存_dgv.RowTemplate.Height = 24
279 279
         Me.區域庫存_dgv.Size = New System.Drawing.Size(191, 90)
280 280
         Me.區域庫存_dgv.TabIndex = 1323
@@ -624,8 +624,8 @@ Partial Class 銷售單審核
624 624
         '
625 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 629
         Me.物料清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
630 630
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
631 631
         Me.物料清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -633,9 +633,9 @@ Partial Class 銷售單審核
633 633
         Me.物料清單_dgv.Location = New System.Drawing.Point(2, 79)
634 634
         Me.物料清單_dgv.Name = "物料清單_dgv"
635 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 639
         Me.物料清單_dgv.RowTemplate.Height = 24
640 640
         Me.物料清單_dgv.Size = New System.Drawing.Size(534, 235)
641 641
         Me.物料清單_dgv.TabIndex = 1283
@@ -870,16 +870,16 @@ Partial Class 銷售單審核
870 870
         '
871 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 875
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
876 876
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
877 877
         Me.銷售單據_dgv.Location = New System.Drawing.Point(2, 28)
878 878
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
879 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 883
         Me.銷售單據_dgv.RowTemplate.Height = 24
884 884
         Me.銷售單據_dgv.Size = New System.Drawing.Size(146, 141)
885 885
         Me.銷售單據_dgv.TabIndex = 1256
@@ -999,12 +999,25 @@ Partial Class 銷售單審核
999 999
         Me.Panel1.Size = New System.Drawing.Size(902, 495)
1000 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 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 1017
         Me.字體大小調整_lb.AutoSize = True
1005 1018
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1006 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 1021
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1009 1022
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1010 1023
         Me.字體大小調整_lb.TabIndex = 1365
@@ -1012,7 +1025,8 @@ Partial Class 銷售單審核
1012 1025
         '
1013 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 1030
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1017 1031
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1018 1032
         Me.字體_NUD.Name = "字體_NUD"
@@ -1061,8 +1075,8 @@ Partial Class 銷售單審核
1061 1075
         '
1062 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 1080
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1067 1081
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1068 1082
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1070,9 +1084,9 @@ Partial Class 銷售單審核
1070 1084
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(610, 465)
1071 1085
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
1072 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 1090
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
1077 1091
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(95, 190)
1078 1092
         Me.銷售衍生運費_dgv.TabIndex = 1344
@@ -1585,17 +1599,17 @@ Partial Class 銷售單審核
1585 1599
         '
1586 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 1604
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1591 1605
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1592 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 1608
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1595 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 1613
         Me.客戶資料_dgv.RowTemplate.Height = 24
1600 1614
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
1601 1615
         Me.客戶資料_dgv.TabIndex = 1254
@@ -1685,8 +1699,8 @@ Partial Class 銷售單審核
1685 1699
         '
1686 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 1704
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1691 1705
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1692 1706
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1694,33 +1708,33 @@ Partial Class 銷售單審核
1694 1708
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1695 1709
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1696 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 1714
         Me.銷售明細_dgv.RowTemplate.Height = 24
1701 1715
         Me.銷售明細_dgv.Size = New System.Drawing.Size(892, 409)
1702 1716
         Me.銷售明細_dgv.TabIndex = 1199
1703 1717
         '
1704 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 1722
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1709 1723
         Me.銷售備註_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
1710 1724
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 465)
1711 1725
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1712 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 1730
         Me.銷售備註_dgv.RowTemplate.Height = 24
1717 1731
         Me.銷售備註_dgv.Size = New System.Drawing.Size(603, 190)
1718 1732
         Me.銷售備註_dgv.TabIndex = 1250
1719 1733
         '
1720 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 1738
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1725 1739
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1726 1740
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1728,9 +1742,9 @@ Partial Class 銷售單審核
1728 1742
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 682)
1729 1743
         Me.收款事項_dgv.Name = "收款事項_dgv"
1730 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 1748
         Me.收款事項_dgv.RowTemplate.Height = 24
1735 1749
         Me.收款事項_dgv.Size = New System.Drawing.Size(616, 93)
1736 1750
         Me.收款事項_dgv.TabIndex = 1282
@@ -2087,18 +2101,6 @@ Partial Class 銷售單審核
2087 2101
         Me.顯示_bt.Text = "顯示物料控件"
2088 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 2106
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)

+ 22
- 11
YD-ERP-SYS/業務系統管理/銷售單審核.vb 查看文件

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

+ 20
- 18
YD-ERP-SYS/業務系統管理/銷售單申請.Designer.vb 查看文件

@@ -113,6 +113,7 @@ Partial Class 銷售單申請
113 113
         Me.售價_nud = New System.Windows.Forms.NumericUpDown()
114 114
         Me.Label22 = New System.Windows.Forms.Label()
115 115
         Me.Panel1 = New System.Windows.Forms.Panel()
116
+        Me.Reset1_bt = New System.Windows.Forms.Button()
116 117
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
117 118
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
118 119
         Me.刪除衍生運費_bt = New System.Windows.Forms.Button()
@@ -200,7 +201,6 @@ Partial Class 銷售單申請
200 201
         Me.隱藏_bt = New System.Windows.Forms.Button()
201 202
         Me.Panel3 = New System.Windows.Forms.Panel()
202 203
         Me.顯示_bt = New System.Windows.Forms.Button()
203
-        Me.Reset1_bt = New System.Windows.Forms.Button()
204 204
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
205 205
         CType(Me.銷售明細_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
206 206
         CType(Me.區域庫存_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -1070,12 +1070,25 @@ Partial Class 銷售單申請
1070 1070
         Me.Panel1.Size = New System.Drawing.Size(904, 502)
1071 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 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 1088
         Me.字體大小調整_lb.AutoSize = True
1076 1089
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1077 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 1092
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
1080 1093
         Me.字體大小調整_lb.Size = New System.Drawing.Size(60, 17)
1081 1094
         Me.字體大小調整_lb.TabIndex = 1363
@@ -1083,7 +1096,8 @@ Partial Class 銷售單申請
1083 1096
         '
1084 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 1101
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
1088 1102
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
1089 1103
         Me.字體_NUD.Name = "字體_NUD"
@@ -1152,7 +1166,7 @@ Partial Class 銷售單申請
1152 1166
         '
1153 1167
         Me.刷卡可刪除_ch.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1154 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 1170
         Me.刷卡可刪除_ch.Name = "刷卡可刪除_ch"
1157 1171
         Me.刷卡可刪除_ch.Size = New System.Drawing.Size(87, 20)
1158 1172
         Me.刷卡可刪除_ch.TabIndex = 1333
@@ -1374,7 +1388,7 @@ Partial Class 銷售單申請
1374 1388
         '
1375 1389
         Me.司機運費_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1376 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 1392
         Me.司機運費_tb.Name = "司機運費_tb"
1379 1393
         Me.司機運費_tb.Size = New System.Drawing.Size(81, 23)
1380 1394
         Me.司機運費_tb.TabIndex = 1296
@@ -1674,7 +1688,7 @@ Partial Class 銷售單申請
1674 1688
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1675 1689
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1676 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 1692
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
1679 1693
         Me.客戶資料_dgv.RowHeadersWidth = 5
1680 1694
         DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
@@ -2107,18 +2121,6 @@ Partial Class 銷售單申請
2107 2121
         Me.顯示_bt.Text = "顯示物料控件"
2108 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 2126
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)

+ 28
- 12
YD-ERP-SYS/業務系統管理/銷售單申請.vb 查看文件

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

+ 7
- 7
YD-ERP-SYS/財務系統管理/會計科目管理.Designer.vb 查看文件

@@ -425,7 +425,7 @@ Partial Class 會計科目管理
425 425
         Me.會計科目清單_dgv.Name = "會計科目清單_dgv"
426 426
         Me.會計科目清單_dgv.RowHeadersWidth = 5
427 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 429
         Me.會計科目清單_dgv.TabIndex = 761
430 430
         '
431 431
         'Label1
@@ -440,12 +440,12 @@ Partial Class 會計科目管理
440 440
         '字體大小調整_lb
441 441
         '
442 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 444
         Me.字體大小調整_lb.AutoSize = True
445 445
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
446 446
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
447 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 449
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
450 450
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
451 451
         Me.字體大小調整_lb.TabIndex = 1493
@@ -454,12 +454,12 @@ Partial Class 會計科目管理
454 454
         '字體_NUD
455 455
         '
456 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 459
         Me.字體_NUD.Maximum = New Decimal(New Integer() {18, 0, 0, 0})
460 460
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
461 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 463
         Me.字體_NUD.TabIndex = 1492
464 464
         Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
465 465
         '
@@ -467,7 +467,7 @@ Partial Class 會計科目管理
467 467
         '
468 468
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
469 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 471
         Me.Controls.Add(Me.字體大小調整_lb)
472 472
         Me.Controls.Add(Me.字體_NUD)
473 473
         Me.Controls.Add(Me.Label1)

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

@@ -23,7 +23,7 @@ Partial Class 營運成本收支單_對帳表
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 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 27
         Me.未兌現支票1_tb = New System.Windows.Forms.TextBox()
28 28
         Me.Label13 = New System.Windows.Forms.Label()
29 29
         Me.未兌現支票_tb = New System.Windows.Forms.TextBox()
@@ -442,8 +442,8 @@ Partial Class 營運成本收支單_對帳表
442 442
         Me.明細_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
443 443
         Me.明細_dgv.Name = "明細_dgv"
444 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 447
         Me.明細_dgv.RowTemplate.Height = 24
448 448
         Me.明細_dgv.Size = New System.Drawing.Size(1868, 544)
449 449
         Me.明細_dgv.TabIndex = 1073
@@ -534,12 +534,12 @@ Partial Class 營運成本收支單_對帳表
534 534
         Me.字體大小調整_lb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
535 535
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
536 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 538
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
539 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 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 543
         Me.字體大小調整_lb.TabIndex = 1495
544 544
         Me.字體大小調整_lb.Text = "字體調整"
545 545
         '
@@ -547,7 +547,7 @@ Partial Class 營運成本收支單_對帳表
547 547
         '
548 548
         Me.字體_NUD.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
549 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 551
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
552 552
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
553 553
         Me.字體_NUD.Name = "字體_NUD"

+ 5
- 5
YD-ERP-SYS/資料庫系統管理/FTP資料夾管理.Designer.vb 查看文件

@@ -22,7 +22,7 @@ Partial Class FTP資料夾管理
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 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 26
         Me.指定_tb = New System.Windows.Forms.TextBox()
27 27
         Me.刪除_bt = New System.Windows.Forms.Button()
28 28
         Me.修改_bt = New System.Windows.Forms.Button()
@@ -96,8 +96,8 @@ Partial Class FTP資料夾管理
96 96
         '
97 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 101
         Me.資料夾清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
102 102
         Me.資料夾清單_dgv.Location = New System.Drawing.Point(12, 39)
103 103
         Me.資料夾清單_dgv.Name = "資料夾清單_dgv"
@@ -132,7 +132,7 @@ Partial Class FTP資料夾管理
132 132
         Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
133 133
         Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Red
134 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 136
         Me.字體大小調整_lb.Name = "字體大小調整_lb"
137 137
         Me.字體大小調整_lb.Size = New System.Drawing.Size(69, 19)
138 138
         Me.字體大小調整_lb.TabIndex = 1493
@@ -141,7 +141,7 @@ Partial Class FTP資料夾管理
141 141
         '字體_NUD
142 142
         '
143 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 145
         Me.字體_NUD.Maximum = New Decimal(New Integer() {15, 0, 0, 0})
146 146
         Me.字體_NUD.Minimum = New Decimal(New Integer() {9, 0, 0, 0})
147 147
         Me.字體_NUD.Name = "字體_NUD"

Loading…
取消
儲存