LEEHSIEHJUI před 9 měsíci
rodič
revize
316ec03963
100 změnil soubory, kde provedl 1569 přidání a 915 odebrání
  1. 7
    2
      MAOJI-ERP-SYS/01、Module/SQL_Module.vb
  2. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_人事系統管理.vb
  3. 5
    6
      MAOJI-ERP-SYS/01、Module/SQL_倉儲系統管理.vb
  4. 19
    19
      MAOJI-ERP-SYS/01、Module/SQL_採購系統管理.vb
  5. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_業務系統管理.vb
  6. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_生產系統管理.vb
  7. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_登入與主程式.vb
  8. 5
    8
      MAOJI-ERP-SYS/01、Module/SQL_總務系統管理.vb
  9. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_財務系統管理.vb
  10. 2
    19
      MAOJI-ERP-SYS/01、Module/SQL_資料庫系統管理.vb
  11. 0
    0
      MAOJI-ERP-SYS/01、Module/SQL_跨介面共用.vb
  12. 64
    0
      MAOJI-ERP-SYS/01、Module/SQL_連線狀態模組1.vb
  13. 65
    0
      MAOJI-ERP-SYS/01、Module/SQL_連線狀態模組2.vb
  14. 6
    8
      MAOJI-ERP-SYS/01、Module/全域變數.vb
  15. 19
    13
      MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.Designer.vb
  16. 0
    0
      MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.resx
  17. 0
    0
      MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.vb
  18. 8
    7
      MAOJI-ERP-SYS/02、人事系統管理/員工資料表.Designer.vb
  19. 0
    0
      MAOJI-ERP-SYS/02、人事系統管理/員工資料表.resx
  20. 12
    15
      MAOJI-ERP-SYS/02、人事系統管理/員工資料表.vb
  21. 159
    225
      MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.Designer.vb
  22. 8
    2
      MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.resx
  23. 110
    0
      MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.vb
  24. 6
    3
      MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.Designer.vb
  25. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.resx
  26. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.vb
  27. 8
    7
      MAOJI-ERP-SYS/04、業務系統管理/出貨確認.Designer.vb
  28. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/出貨確認.resx
  29. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/出貨確認.vb
  30. 2
    1
      MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.Designer.vb
  31. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.resx
  32. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.vb
  33. 116
    98
      MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.Designer.vb
  34. 129
    0
      MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.resx
  35. 16
    1
      MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.vb
  36. 12
    11
      MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.Designer.vb
  37. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.resx
  38. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.vb
  39. 52
    49
      MAOJI-ERP-SYS/04、業務系統管理/維修單申請.Designer.vb
  40. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/維修單申請.resx
  41. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/維修單申請.vb
  42. 9
    7
      MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.Designer.vb
  43. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.resx
  44. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.vb
  45. 6
    5
      MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.Designer.vb
  46. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.resx
  47. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.vb
  48. 19
    17
      MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.Designer.vb
  49. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.resx
  50. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.vb
  51. 56
    54
      MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.Designer.vb
  52. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.resx
  53. 3
    21
      MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.vb
  54. 23
    21
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.Designer.vb
  55. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.resx
  56. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.vb
  57. 35
    33
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.Designer.vb
  58. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.resx
  59. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.vb
  60. 10
    9
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.Designer.vb
  61. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.resx
  62. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.vb
  63. 2
    1
      MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.Designer.vb
  64. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.resx
  65. 0
    0
      MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.vb
  66. 2
    1
      MAOJI-ERP-SYS/05、生產系統管理/生產入庫.Designer.vb
  67. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產入庫.resx
  68. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產入庫.vb
  69. 3
    1
      MAOJI-ERP-SYS/05、生產系統管理/生產控制表.Designer.vb
  70. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產控制表.resx
  71. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產控制表.vb
  72. 2
    1
      MAOJI-ERP-SYS/05、生產系統管理/生產確認.Designer.vb
  73. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產確認.resx
  74. 0
    0
      MAOJI-ERP-SYS/05、生產系統管理/生產確認.vb
  75. 284
    115
      MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.Designer.vb
  76. 129
    0
      MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.resx
  77. 46
    3
      MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.vb
  78. 5
    2
      MAOJI-ERP-SYS/06、採購系統管理/採購單申請.Designer.vb
  79. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購單申請.resx
  80. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購單申請.vb
  81. 3
    1
      MAOJI-ERP-SYS/06、採購系統管理/採購控制表.Designer.vb
  82. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購控制表.resx
  83. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購控制表.vb
  84. 19
    16
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.Designer.vb
  85. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.resx
  86. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.vb
  87. 2
    1
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.Designer.vb
  88. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.resx
  89. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.vb
  90. 15
    13
      MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.Designer.vb
  91. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.resx
  92. 0
    0
      MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.vb
  93. 8
    7
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.Designer.vb
  94. 0
    0
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.resx
  95. 0
    0
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.vb
  96. 27
    37
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.Designer.vb
  97. 0
    0
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.resx
  98. 13
    38
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.vb
  99. 18
    17
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲庫存清單.Designer.vb
  100. 0
    0
      MAOJI-ERP-SYS/07、倉儲系統管理/倉儲庫存清單.resx

MAOJI-ERP-SYS/Module/SQL_Module.vb → MAOJI-ERP-SYS/01、Module/SQL_Module.vb Zobrazit soubor

@@ -1,6 +1,7 @@
1 1
 Imports System.Data.SqlClient
2
+Imports System.IO
2 3
 Module SQL_Module
3
-    Public ConString As String : Public SQL1 As String : Public conn As New SqlConnection : Public cmd As New SqlCommand : Public dr As SqlDataReader : Public da As New SqlDataAdapter
4
+    Public ConString, SQL1, SQL2 As String : Public conn As New SqlConnection : Public cmd As New SqlCommand : Public dr As SqlDataReader : Public da As New SqlDataAdapter
4 5
     Public DTP As String : Public DTP1 As String : Public DTP2 As String : Public DTP3 As String
5 6
     Public 登入權限 As String = "姓名, 帳號, 密碼, CC00, CC01, CC02, CC03, CC04, CC05, CC06, CC07, CC08, CC09, CC10, CC11, CC12, CC13, CC14, CC15, CC16, CC17, CC18, CC19, CC20, CC21, CC22, CC23, 
6 7
                                  CC24, CC25, CC26, CC27, CC28, CC29, CC30, CC31, CC32, CC33, CC34, CC35, CC36, CC37, CC38, CC39, CC40, CC41, CC42, CC43, CC44, CC45, CC46, CC47, CC48, CC49, CC50, 
@@ -10,7 +11,7 @@ Module SQL_Module
10 11
         ConString = "Data Source=" & 登入人IP & ";Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
11 12
     End Sub
12 13
     Friend Sub SQL_連線字串_正式()
13
-        ConString = "Data Source=" & 登入人IP & ";Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=lee0911274990;Max pool size = 200;Connection Timeout=0"
14
+        ConString = "Data Source=" & 登入人IP & ";Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
14 15
     End Sub
15 16
     Friend Sub ConnOpen()
16 17
         conn.Close() : If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
@@ -21,4 +22,8 @@ Module SQL_Module
21 22
     Friend Sub CmdSet_For_dr()
22 23
         cmd.CommandText = SQL1 : cmd.Connection = conn : dr = cmd.ExecuteReader
23 24
     End Sub
25
+    Friend Sub CmdSet_For_dr_pic()
26
+        Dim fs As FileStream : fs = File.OpenRead(PA49) : Dim picb(fs.Length) As Byte : fs.Read(picb, 0, fs.Length) : fs.Close() : cmd.Parameters.Clear()
27
+        cmd.CommandText = SQL1 : cmd.Parameters.Add("@binary_file", SqlDbType.VarBinary).Value = picb : cmd.Connection = conn : dr = cmd.ExecuteReader
28
+    End Sub
24 29
 End Module

MAOJI-ERP-SYS/Module/SQL_人事系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_人事系統管理.vb Zobrazit soubor


MAOJI-ERP-SYS/Module/SQL_倉儲系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_倉儲系統管理.vb Zobrazit soubor

@@ -3,15 +3,14 @@
3 3
     Friend Sub SQL__物料資料庫清單()
4 4
         SQL1 = "SELECT 料號, 頁碼, 品名, 成本, 售價, 件數, 尺寸, 材質, 圖片編碼, 備註, 最低庫存量, 停用 FROM 物料資料庫"
5 5
         PA1 = " ORDER BY 料號 DESC"
6
-        PA2 = " WHERE  料號 LIKE N'%" & PA & "%' OR 頁碼 LIKE N'%" & PA & "%' OR 品名 LIKE N'%" & PA & "%' OR 
6
+        PA2 = " WHERE  (料號 LIKE N'%" & PA & "%' OR 頁碼 LIKE N'%" & PA & "%' OR 品名 LIKE N'%" & PA & "%' OR 
7 7
                            成本 LIKE N'%" & PA & "%' OR 售價 LIKE N'%" & PA & "%' OR 件數 LIKE N'%" & PA & "%' OR 
8
-                           尺寸 LIKE N'%" & PA & "%' OR 材質 LIKE N'%" & PA & "%' OR 備註 LIKE N'%" & PA & "%'"
8
+                           尺寸 LIKE N'%" & PA & "%' OR 材質 LIKE N'%" & PA & "%' OR 備註 LIKE N'%" & PA & "%')"
9 9
         PA3 = " WHERE  頁碼 LIKE N'%" & PA & "%'"
10 10
         ConnOpen()
11
-        If PA = "" And NU1 = True And NU2 = False Then : SQL1 &= PA1
12
-        ElseIf PA <> "" And NU1 = True And NU2 = False Then : SQL1 = SQL1 & PA2 & PA1
13
-        ElseIf PA <> "" And NU1 = False And NU2 = True Then : SQL1 = SQL1 & PA3 & PA1
14
-        End If
11
+        If PA = "" And NU1 = True And NU2 = False Then : SQL1 &= " WHERE 料號 NOT LIKE '' " & SQL2 & PA1
12
+        ElseIf PA <> "" And NU1 = True And NU2 = False Then : SQL1 = SQL1 & PA2 & SQL2 & PA1
13
+        ElseIf PA <> "" And NU1 = False And NU2 = True Then : SQL1 = SQL1 & PA3 & SQL2 & PA1 : End If
15 14
         CmdSet_For_DGV()
16 15
     End Sub
17 16
     Friend Sub SQL_未配置圖片的物料清單()

MAOJI-ERP-SYS/Module/SQL_採購系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_採購系統管理.vb Zobrazit soubor

@@ -2,26 +2,26 @@
2 2
     '---------------------供應商資料管理-----------------------------------------------------------------------------------------------------------------
3 3
     Friend Sub SQL__供應商資料管理清單()
4 4
         SQL1 = "SELECT  供應商資料表.編號, 供應商資料表.名稱, 供應商資料表.簡稱, 供應商資料表.負責人, 供應商資料表.負責人電話, 
5
-                            供應商資料表.公司電話1, 供應商資料表.公司電話2, 供應商資料表.傳真1, 供應商資料表.傳真2, 供應商資料表.地址1, 
6
-                            供應商資料表.郵遞區號1, 供應商資料表.地址2, 供應商資料表.郵遞區號2, 供應商資料表.聯絡人1, 
7
-                            供應商資料表.聯絡人電話1, 供應商資料表.聯絡人1MAIL, 供應商資料表.聯1LINE_唯信, 供應商資料表.聯絡人2, 
8
-                            供應商資料表.聯絡人電話2, 供應商資料表.聯絡人2MAIL, 供應商資料表.聯2LINE_唯信, 供應商資料表.聯絡人3, 
9
-                            供應商資料表.聯絡人手機3, 供應商資料表.聯絡人3MAIL, 供應商資料表.聯3LINE_唯信, 供應商資料表.統一編號, 
10
-                            MJ付款方式.付款方式, 供應商資料表.請款日, 供應商資料表.票據日, 供應商資料表.折扣, 供應商資料表.稅率, 
11
-                            供應商資料表.幣別, 供應商資料表.備註, 供應商資料表.外貿對象 AS 外貿, 供應商資料表.停用
12
-                    FROM    供應商資料表 INNER JOIN
13
-                            MJ付款方式 ON 供應商資料表.付款方式 = MJ付款方式.編號"
5
+                        供應商資料表.公司電話1, 供應商資料表.公司電話2, 供應商資料表.傳真1, 供應商資料表.傳真2, 供應商資料表.地址1, 
6
+                        供應商資料表.郵遞區號1, 供應商資料表.地址2, 供應商資料表.郵遞區號2, 供應商資料表.聯絡人1, 
7
+                        供應商資料表.聯絡人電話1, 供應商資料表.聯絡人1MAIL, 供應商資料表.聯1LINE_唯信, 供應商資料表.聯絡人2, 
8
+                        供應商資料表.聯絡人電話2, 供應商資料表.聯絡人2MAIL, 供應商資料表.聯2LINE_唯信, 供應商資料表.聯絡人3, 
9
+                        供應商資料表.聯絡人手機3, 供應商資料表.聯絡人3MAIL, 供應商資料表.聯3LINE_唯信, 供應商資料表.統一編號, 
10
+                        MJ付款方式.付款方式, 供應商資料表.請款日, 供應商資料表.票據日, 供應商資料表.折扣, 供應商資料表.稅率, 
11
+                        供應商資料表.幣別, 供應商資料表.備註, 供應商資料表.外貿對象 AS 外貿, 供應商資料表.停用
12
+                FROM    供應商資料表 INNER JOIN
13
+                        MJ付款方式 ON 供應商資料表.付款方式 = MJ付款方式.編號"
14 14
         PA1 = " ORDER BY   供應商資料表.編號 DESC"
15
-        PA2 = "  WHERE   供應商資料表.編號 LIKE N'%" & PA & "%' OR 供應商資料表.名稱 LIKE N'%" & PA & "%' OR 供應商資料表.簡稱 LIKE N'%" & PA & "%' OR 
16
-                            供應商資料表.負責人 LIKE N'%" & PA & "%' OR 供應商資料表.負責人電話 LIKE N'%" & PA & "%' OR 供應商資料表.公司電話1 LIKE N'%" & PA & "%' OR 
17
-                            供應商資料表.公司電話2 LIKE N'%" & PA & "%' OR 供應商資料表.傳真1 LIKE N'%" & PA & "%' OR 供應商資料表.傳真2 LIKE N'%" & PA & "%' OR 
18
-                            供應商資料表.地址1 LIKE N'%" & PA & "%' OR 供應商資料表.郵遞區號1 LIKE N'%" & PA & "%' OR 供應商資料表.地址2 LIKE N'%" & PA & "%' OR 
19
-                            供應商資料表.郵遞區號2 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人1 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人電話1 LIKE N'%" & PA & "%' OR 
20
-                            供應商資料表.聯絡人1MAIL LIKE N'%" & PA & "%' OR 供應商資料表.聯1LINE_唯信 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人2 LIKE N'%" & PA & "%' OR 
21
-                            供應商資料表.聯絡人電話2 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人2MAIL LIKE N'%" & PA & "%' OR 供應商資料表.聯2LINE_唯信 LIKE N'%" & PA & "%' OR 
22
-                            供應商資料表.聯絡人3 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人手機3 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人3MAIL LIKE N'%" & PA & "%' OR 
23
-                            供應商資料表.聯3LINE_唯信 LIKE N'%" & PA & "%' OR 供應商資料表.統一編號 LIKE N'%" & PA & "%' OR MJ付款方式.付款方式 LIKE N'%" & PA & "%' OR 
24
-                            供應商資料表.備註 LIKE N'%" & PA & "%'"
15
+        PA2 = "  WHERE   (供應商資料表.編號 LIKE N'%" & PA & "%' OR 供應商資料表.名稱 LIKE N'%" & PA & "%' OR 供應商資料表.簡稱 LIKE N'%" & PA & "%' OR 
16
+                         供應商資料表.負責人 LIKE N'%" & PA & "%' OR 供應商資料表.負責人電話 LIKE N'%" & PA & "%' OR 供應商資料表.公司電話1 LIKE N'%" & PA & "%' OR 
17
+                         供應商資料表.公司電話2 LIKE N'%" & PA & "%' OR 供應商資料表.傳真1 LIKE N'%" & PA & "%' OR 供應商資料表.傳真2 LIKE N'%" & PA & "%' OR 
18
+                         供應商資料表.地址1 LIKE N'%" & PA & "%' OR 供應商資料表.郵遞區號1 LIKE N'%" & PA & "%' OR 供應商資料表.地址2 LIKE N'%" & PA & "%' OR 
19
+                         供應商資料表.郵遞區號2 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人1 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人電話1 LIKE N'%" & PA & "%' OR 
20
+                         供應商資料表.聯絡人1MAIL LIKE N'%" & PA & "%' OR 供應商資料表.聯1LINE_唯信 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人2 LIKE N'%" & PA & "%' OR 
21
+                         供應商資料表.聯絡人電話2 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人2MAIL LIKE N'%" & PA & "%' OR 供應商資料表.聯2LINE_唯信 LIKE N'%" & PA & "%' OR 
22
+                         供應商資料表.聯絡人3 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人手機3 LIKE N'%" & PA & "%' OR 供應商資料表.聯絡人3MAIL LIKE N'%" & PA & "%' OR 
23
+                         供應商資料表.聯3LINE_唯信 LIKE N'%" & PA & "%' OR 供應商資料表.統一編號 LIKE N'%" & PA & "%' OR MJ付款方式.付款方式 LIKE N'%" & PA & "%' OR 
24
+                         供應商資料表.備註 LIKE N'%" & PA & "%') " & SQL2
25 25
         ConnOpen() : If PA = "" Then : SQL1 &= PA1 : Else : SQL1 = SQL1 & PA2 & PA1 : End If : CmdSet_For_DGV()
26 26
     End Sub
27 27
     Friend Sub SQL_供應商資料表流水號最後一筆()

MAOJI-ERP-SYS/Module/SQL_業務系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_業務系統管理.vb Zobrazit soubor


MAOJI-ERP-SYS/Module/SQL_生產系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_生產系統管理.vb Zobrazit soubor


MAOJI-ERP-SYS/Module/SQL_登入與主程式.vb → MAOJI-ERP-SYS/01、Module/SQL_登入與主程式.vb Zobrazit soubor


MAOJI-ERP-SYS/Module/SQL_總務系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_總務系統管理.vb Zobrazit soubor

@@ -23,10 +23,8 @@
23 23
     Friend Sub SQL_車輛保養紀錄表新增_有圖片()
24 24
         ConnOpen()
25 25
         SQL1 = "INSERT INTO 車輛保養紀錄表 (流水號, 車牌號碼, 保養日期, 預保日期, 里程數, 圖片) 
26
-                SELECT '" & 車輛保養紀錄表.流水號_tb.Text & "', '" & 車輛保養紀錄表.車牌號碼_cb.Text & "', '" & DTP1 & "', '" & DTP2 &
27
-                   "', '" & 車輛保養紀錄表.里程數_nud.Value & "', BULKCOLUMN FROM OPENROWSET (BULK '" & FTP物理位置 & AA(1) & "\" & 車輛保養紀錄表.檔案名稱_tb.Text &
28
-                   "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
29
-        CmdSet_For_dr()
26
+                SELECT '" & 車輛保養紀錄表.流水號_tb.Text & "', '" & 車輛保養紀錄表.車牌號碼_cb.Text & "', '" & DTP1 & "', '" & DTP2 & "', '" & 車輛保養紀錄表.里程數_nud.Value & "', @binary_file"
27
+        CmdSet_For_dr_pic()
30 28
     End Sub
31 29
     Friend Sub SQL_車輛保養紀錄表修改_無圖片()
32 30
         ConnOpen()
@@ -36,10 +34,9 @@
36 34
     End Sub
37 35
     Friend Sub SQL_車輛保養紀錄表修改_有圖片()
38 36
         ConnOpen()
39
-        SQL1 = "UPDATE 車輛保養紀錄表 SET 保養日期 = '" & DTP1 & "', 預保日期 = '" & DTP2 & "', 里程數 = '" & 車輛保養紀錄表.里程數_nud.Value &
40
-                                          "', 圖片 = BULKCOLUMN FROM OPENROWSET (BULK '" & FTP物理位置 & AA(1) & "\" & 車輛保養紀錄表.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE 
41
-                WHERE (流水號 = '" & 車輛保養紀錄表.流水號_tb.Text & "')"
42
-        CmdSet_For_dr()
37
+        SQL1 = "UPDATE 車輛保養紀錄表 SET 保養日期 = '" & DTP1 & "', 預保日期 = '" & DTP2 & "', 里程數 = '" & 車輛保養紀錄表.里程數_nud.Value & "', 圖片 = @binary_file 
38
+                WHERE (流水號 LIKE '" & 車輛保養紀錄表.流水號_tb.Text & "')"
39
+        CmdSet_For_dr_pic()
43 40
     End Sub
44 41
 End Module
45 42
 

MAOJI-ERP-SYS/Module/SQL_財務系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_財務系統管理.vb Zobrazit soubor


MAOJI-ERP-SYS/Module/SQL_資料庫系統管理.vb → MAOJI-ERP-SYS/01、Module/SQL_資料庫系統管理.vb Zobrazit soubor

@@ -8,9 +8,8 @@
8 8
     End Sub
9 9
     Friend Sub SQL_主管簽名檔新增()
10 10
         ConnOpen()
11
-        SQL1 = "INSERT INTO MJ主管簽名檔管理 (圖片流水號, 簽名檔人名, 簽名檔圖片) SELECT '" & 簽名檔管理.圖檔編號_tb.Text & "', '" & 簽名檔管理.簽名檔持有人_cb.Text & "', " &
12
-                       "BULKCOLUMN FROM OPENROWSET ( BULK '" & FTP物理位置 & AA(1) & "\" & 簽名檔管理.檔案名稱_tb.Text & "', SINGLE_BLOB) AS EMPLOYEEPICTURE"
13
-        CmdSet_For_dr()
11
+        SQL1 = "INSERT INTO MJ主管簽名檔管理 (圖片流水號, 簽名檔人名, 簽名檔圖片) SELECT '" & 簽名檔管理.圖檔編號_tb.Text & "', '" & 簽名檔管理.簽名檔持有人_cb.Text & "', @binary_file"
12
+        CmdSet_For_dr_pic()
14 13
     End Sub
15 14
     Friend Sub SQL_主管簽名檔刪除()
16 15
         ConnOpen() : SQL1 = "DELETE FROM MJ主管簽名檔管理 WHERE (圖片流水號 = N'" & 簽名檔管理.圖檔編號_tb.Text & "')" : CmdSet_For_dr()
@@ -248,22 +247,6 @@
248 247
     Friend Sub SQL_系統使用者刪除()
249 248
         ConnOpen() : SQL1 = "DELETE FROM 使用者權限管理表 WHERE (帳號 = '" & 系統使用者管理.帳號_tb.Text & "')" : CmdSet_For_dr()
250 249
     End Sub
251
-    '---------------------FTP資料夾管理-----------------------------------------------------------------------------------------------------------------
252
-    Friend Sub SQL_FTP資料夾管理新增()
253
-        ConnOpen()
254
-        SQL1 = "INSERT INTO FTP資料夾管理 (資料夾名稱, 指定頁面, 備註, 指定) 
255
-                VALUES (N'" & FTP資料夾管理.資料夾名稱_tb.Text & "',N'" & FTP資料夾管理.指定頁面_tb.Text & "',N'" & FTP資料夾管理.備註_tb.Text & "',N'" & FTP資料夾管理.指定_tb.Text & "')"
256
-        CmdSet_For_dr()
257
-    End Sub
258
-    Friend Sub SQL_FTP資料夾管理修改()
259
-        ConnOpen()
260
-        SQL1 = "UPDATE FTP資料夾管理 SET 指定頁面 = N'" & FTP資料夾管理.指定頁面_tb.Text & "', 備註 = N'" & FTP資料夾管理.備註_tb.Text & "', 指定 = N'" & FTP資料夾管理.指定_tb.Text & "' 
261
-                WHERE (資料夾名稱 = N'" & FTP資料夾管理.資料夾名稱_tb.Text & "')"
262
-        CmdSet_For_dr()
263
-    End Sub
264
-    Friend Sub SQL_FTP資料夾管理刪除()
265
-        ConnOpen() : SQL1 = "DELETE FROM FTP資料夾管理 WHERE (資料夾名稱 = N'" & FTP資料夾管理.資料夾名稱_tb.Text & "')" : CmdSet_For_dr()
266
-    End Sub
267 250
     '---------------------列印_產品標籤介面-----------------------------------------------------------------------------------------------------------------
268 251
     Friend Sub SQL_列印_產品標籤清單()
269 252
         If PA = "維修申請單" Then

MAOJI-ERP-SYS/Module/SQL_跨介面共用.vb → MAOJI-ERP-SYS/01、Module/SQL_跨介面共用.vb Zobrazit soubor


+ 64
- 0
MAOJI-ERP-SYS/01、Module/SQL_連線狀態模組1.vb Zobrazit soubor

@@ -0,0 +1,64 @@
1
+Module SQL_連線狀態模組1
2
+#Region "——连接测试:避免等待时间过长——"
3
+    Dim bConnect As Boolean
4
+    Dim BgWorker1 As New System.ComponentModel.BackgroundWorker
5
+    Dim ServerIP As String
6
+    ''' <summary>
7
+    ''' 测试连接:True-连接成功,False-连接失败
8
+    ''' 参数[必选]:服务器IP
9
+    ''' 参数[可选]:等待超时时间(秒),默认为1.2秒
10
+    ''' </summary>
11
+    ''' <returns></returns>
12
+    ''' <remarks></remarks>
13
+    Function ConnectTest1(ByVal varServerIP As String, Optional ByVal varTimeout As Decimal = 1.5) As Boolean
14
+        AddHandler BgWorker1.DoWork, AddressOf BgWorker1_DoWork
15
+        Dim g As Integer
16
+        Dim k As Integer
17
+        If BgWorker1.CancellationPending Then
18
+            BgWorker1.CancelAsync()
19
+            '取消BackgroundWorker執行中的工作
20
+        End If
21
+        Try
22
+            If varServerIP = "" Then
23
+                Exit Function
24
+            End If
25
+            ServerIP = varServerIP
26
+            If varTimeout <= 0 Then
27
+                varTimeout = 1.5
28
+            End If
29
+            k = Int(varTimeout * 10)
30
+            bConnect = False
31
+            BgWorker1.WorkerSupportsCancellation = True
32
+            BgWorker1.RunWorkerAsync()
33
+            For g = 1 To k '1.2s
34
+                Threading.Thread.Sleep(100)
35
+                If bConnect = True Then
36
+                    ConnectTest1 = True
37
+                    Exit Function
38
+                End If
39
+            Next
40
+            ConnectTest1 = False
41
+            BgWorker1.CancelAsync()
42
+        Catch ex As Exception
43
+            MsgBox(ex.Message)
44
+        End Try
45
+    End Function
46
+    '--异步动作
47
+    Private Sub BgWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
48
+        Call ConnectMSSQLServer()
49
+    End Sub
50
+    '--连接数据库
51
+    Private Function ConnectMSSQLServer() As Boolean
52
+        Dim sqlConTest As Data.SqlClient.SqlConnection ' 连接   
53
+        sqlConTest = New Data.SqlClient.SqlConnection
54
+        sqlConTest.ConnectionString = "Data Source=" + ServerIP + ";Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
55
+        Try
56
+            sqlConTest.Open()
57
+            sqlConTest.Close()
58
+        Catch ex As Exception
59
+        Finally
60
+            bConnect = True
61
+        End Try
62
+    End Function
63
+#End Region
64
+End Module

+ 65
- 0
MAOJI-ERP-SYS/01、Module/SQL_連線狀態模組2.vb Zobrazit soubor

@@ -0,0 +1,65 @@
1
+Module SQL_連線狀態模組2
2
+#Region "——连接测试:避免等待时间过长——"
3
+    Dim bConnect As Boolean
4
+    Dim BgWorker2 As New System.ComponentModel.BackgroundWorker
5
+    Dim ServerIP As String
6
+    ''' <summary>
7
+    ''' 测试连接:True-连接成功,False-连接失败
8
+    ''' 参数[必选]:服务器IP
9
+    ''' 参数[可选]:等待超时时间(秒),默认为1.2秒
10
+    ''' </summary>
11
+    ''' <returns></returns>
12
+    ''' <remarks></remarks>
13
+    Function ConnectTest2(ByVal varServerIP As String, Optional ByVal varTimeout As Decimal = 1) As Boolean
14
+        AddHandler BgWorker2.DoWork, AddressOf BgWorker2_DoWork
15
+        Dim g As Integer
16
+        Dim k As Integer
17
+        If BgWorker2.CancellationPending Then
18
+            BgWorker2.CancelAsync()
19
+            '取消BackgroundWorker執行中的工作
20
+        End If
21
+        Try
22
+            If varServerIP = "" Then
23
+                Exit Function
24
+            End If
25
+            ServerIP = varServerIP
26
+            If varTimeout <= 0 Then
27
+                varTimeout = 1.5
28
+            End If
29
+            k = Int(varTimeout * 10)
30
+            bConnect = False
31
+            BgWorker2.WorkerSupportsCancellation = True
32
+            BgWorker2.RunWorkerAsync()
33
+            For g = 1 To k '1.2s
34
+                Threading.Thread.Sleep(100)
35
+                If bConnect = True Then
36
+                    ConnectTest2 = True
37
+                    Exit Function
38
+                End If
39
+            Next
40
+            ConnectTest2 = False
41
+            BgWorker2.CancelAsync()
42
+        Catch ex As Exception
43
+            MsgBox(ex.Message)
44
+        End Try
45
+    End Function
46
+    '--异步动作
47
+    Private Sub BgWorker2_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
48
+        Call ConnectMSSQLServer()
49
+    End Sub
50
+    '--连接数据库
51
+    Private Function ConnectMSSQLServer() As Boolean
52
+        Dim sqlConTest As Data.SqlClient.SqlConnection ' 连接   
53
+        sqlConTest = New Data.SqlClient.SqlConnection
54
+        sqlConTest.ConnectionString = "Data Source=" + ServerIP + ";Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=b70340;Password=Lee0911274990;Max pool size = 200;Connection Timeout=0"
55
+        Try
56
+            sqlConTest.Open()
57
+            sqlConTest.Close()
58
+        Catch ex As Exception
59
+        Finally
60
+            bConnect = True
61
+        End Try
62
+    End Function
63
+#End Region
64
+
65
+End Module

MAOJI-ERP-SYS/Module/全域變數.vb → MAOJI-ERP-SYS/01、Module/全域變數.vb Zobrazit soubor

@@ -4,21 +4,19 @@
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 Boolean : Public FTP關閉 As Boolean
6 6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7
-    Public 版本 As String = "2021022301"
7
+    Public 版本 As String = "2024091701"
8 8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9
-    Public 列印用SQL As String = "" : Public 列印用SQL2 As String : Public 公司編號 As String : Public 公司電話 As String : Public 公司統編 As String : Public 公司地址 As String
9
+    Public 列印用SQL, 列印用SQL2, 公司編號, 公司電話, 公司統編, 公司地址 As String
10 10
     Public 關鍵字編號 As String
11 11
 
12
-    Public PA As String = "" : Public PA1 As String = "" : Public PA2 As String = "" : Public PA3 As String = "" : Public PA4 As String = "" : Public PA5 As String = "" : Public PA6 As String = ""
13
-    Public PA7 As String = "" : Public PA8 As String = "" : Public PA9 As String = "" : Public PA10 As String = "" : Public PA11 As String = "" : Public PA12 As String = "" : Public PA13 As String = ""
14
-    Public PA14 As String = "" : Public PA15 As String = "" : Public PA16 As String = "" : Public PA17 As String = "" : Public PA18 As String = "" : Public PA19 As String = ""
12
+    Public PA, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PA16, PA17, PA18, PA19, PA49 As String
15 13
 
16
-    Public 布林1 As Boolean : Public 布林2 As Boolean : Public 布林3 As Boolean : Public 布林4 As Boolean
14
+    Public 布林1, 布林2, 布林3, 布林4 As Boolean
17 15
 
18
-    Public NU1 As Double : Public NU2 As Double : Public NU3 As Double : Public NU4 As Double : Public NU5 As Double
16
+    Public NU1, NU2, NU3, NU4, NU5 As Double
19 17
 
20 18
     Public 平均數 As Integer : Public 最終數 As Integer = 0 : Public 資料數 As Integer = 0
21
-    Public KKKJJ As String : Public KKKJJ2 As String : Public KKKJJ3 As String
19
+    Public KKKJJ, KKKJJ2, KKKJJ3 As String
22 20
 
23 21
     Public 收付應沖金額 As Double : Public 財務單申請狀態 As String : Public 收付對應財務單號 As String : Public 收付對應客戶供應商編號 As String
24 22
     Public Class MyModule1

MAOJI-ERP-SYS/人事系統管理/員工ID卡系統配置設定.Designer.vb → MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.Designer.vb Zobrazit soubor

@@ -36,17 +36,19 @@ Partial Class 員工ID卡系統配置設定
36 36
         '
37 37
         '卡片配對_bt
38 38
         '
39
+        Me.卡片配對_bt.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
40
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
39 41
         Me.卡片配對_bt.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
40
-        Me.卡片配對_bt.Location = New System.Drawing.Point(13, 35)
42
+        Me.卡片配對_bt.Location = New System.Drawing.Point(251, 1)
41 43
         Me.卡片配對_bt.Name = "卡片配對_bt"
42
-        Me.卡片配對_bt.Size = New System.Drawing.Size(515, 43)
44
+        Me.卡片配對_bt.Size = New System.Drawing.Size(152, 48)
43 45
         Me.卡片配對_bt.TabIndex = 733
44 46
         Me.卡片配對_bt.Text = "卡片配對"
45 47
         Me.卡片配對_bt.UseVisualStyleBackColor = True
46 48
         '
47 49
         'ID卡號_tb
48 50
         '
49
-        Me.ID卡號_tb.Location = New System.Drawing.Point(411, 6)
51
+        Me.ID卡號_tb.Location = New System.Drawing.Point(134, 26)
50 52
         Me.ID卡號_tb.Name = "ID卡號_tb"
51 53
         Me.ID卡號_tb.Size = New System.Drawing.Size(117, 23)
52 54
         Me.ID卡號_tb.TabIndex = 732
@@ -54,7 +56,7 @@ Partial Class 員工ID卡系統配置設定
54 56
         'Label4
55 57
         '
56 58
         Me.Label4.AutoSize = True
57
-        Me.Label4.Location = New System.Drawing.Point(367, 9)
59
+        Me.Label4.Location = New System.Drawing.Point(134, 7)
58 60
         Me.Label4.Name = "Label4"
59 61
         Me.Label4.Size = New System.Drawing.Size(43, 16)
60 62
         Me.Label4.TabIndex = 731
@@ -62,15 +64,15 @@ Partial Class 員工ID卡系統配置設定
62 64
         '
63 65
         '帳號_tb
64 66
         '
65
-        Me.帳號_tb.Location = New System.Drawing.Point(175, 6)
67
+        Me.帳號_tb.Location = New System.Drawing.Point(35, 26)
66 68
         Me.帳號_tb.Name = "帳號_tb"
67
-        Me.帳號_tb.Size = New System.Drawing.Size(186, 23)
69
+        Me.帳號_tb.Size = New System.Drawing.Size(96, 23)
68 70
         Me.帳號_tb.TabIndex = 730
69 71
         '
70 72
         'Label1
71 73
         '
72 74
         Me.Label1.AutoSize = True
73
-        Me.Label1.Location = New System.Drawing.Point(143, 9)
75
+        Me.Label1.Location = New System.Drawing.Point(3, 29)
74 76
         Me.Label1.Name = "Label1"
75 77
         Me.Label1.Size = New System.Drawing.Size(31, 16)
76 78
         Me.Label1.TabIndex = 729
@@ -78,7 +80,7 @@ Partial Class 員工ID卡系統配置設定
78 80
         '
79 81
         '姓名_tb
80 82
         '
81
-        Me.姓名_tb.Location = New System.Drawing.Point(41, 6)
83
+        Me.姓名_tb.Location = New System.Drawing.Point(35, 3)
82 84
         Me.姓名_tb.Name = "姓名_tb"
83 85
         Me.姓名_tb.Size = New System.Drawing.Size(96, 23)
84 86
         Me.姓名_tb.TabIndex = 728
@@ -86,7 +88,7 @@ Partial Class 員工ID卡系統配置設定
86 88
         'Label3
87 89
         '
88 90
         Me.Label3.AutoSize = True
89
-        Me.Label3.Location = New System.Drawing.Point(10, 9)
91
+        Me.Label3.Location = New System.Drawing.Point(4, 6)
90 92
         Me.Label3.Name = "Label3"
91 93
         Me.Label3.Size = New System.Drawing.Size(31, 16)
92 94
         Me.Label3.TabIndex = 727
@@ -96,20 +98,24 @@ Partial Class 員工ID卡系統配置設定
96 98
         '
97 99
         DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
98 100
         Me.使用者清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
101
+        Me.使用者清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
102
+            Or System.Windows.Forms.AnchorStyles.Left) _
103
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
99 104
         Me.使用者清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
105
+        Me.使用者清單_dgv.BackgroundColor = System.Drawing.Color.White
100 106
         Me.使用者清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
101
-        Me.使用者清單_dgv.Location = New System.Drawing.Point(13, 84)
107
+        Me.使用者清單_dgv.Location = New System.Drawing.Point(3, 52)
102 108
         Me.使用者清單_dgv.Name = "使用者清單_dgv"
103 109
         Me.使用者清單_dgv.RowHeadersWidth = 5
104 110
         Me.使用者清單_dgv.RowTemplate.Height = 24
105
-        Me.使用者清單_dgv.Size = New System.Drawing.Size(515, 513)
111
+        Me.使用者清單_dgv.Size = New System.Drawing.Size(401, 548)
106 112
         Me.使用者清單_dgv.TabIndex = 726
107 113
         '
108 114
         '員工ID卡系統配置設定
109 115
         '
110 116
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
111 117
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
112
-        Me.ClientSize = New System.Drawing.Size(539, 603)
118
+        Me.ClientSize = New System.Drawing.Size(408, 603)
113 119
         Me.Controls.Add(Me.卡片配對_bt)
114 120
         Me.Controls.Add(Me.ID卡號_tb)
115 121
         Me.Controls.Add(Me.Label4)
@@ -119,7 +125,7 @@ Partial Class 員工ID卡系統配置設定
119 125
         Me.Controls.Add(Me.Label3)
120 126
         Me.Controls.Add(Me.使用者清單_dgv)
121 127
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
122
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
128
+        Me.Margin = New System.Windows.Forms.Padding(4)
123 129
         Me.Name = "員工ID卡系統配置設定"
124 130
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
125 131
         Me.Text = "員工ID卡系統配置設定"

MAOJI-ERP-SYS/人事系統管理/員工ID卡系統配置設定.resx → MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.resx Zobrazit soubor


MAOJI-ERP-SYS/人事系統管理/員工ID卡系統配置設定.vb → MAOJI-ERP-SYS/02、人事系統管理/員工ID卡系統配置設定.vb Zobrazit soubor


MAOJI-ERP-SYS/人事系統管理/員工資料表.Designer.vb → MAOJI-ERP-SYS/02、人事系統管理/員工資料表.Designer.vb Zobrazit soubor

@@ -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 DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27 27
         Me.可全選_ch = New System.Windows.Forms.CheckBox()
28 28
         Me.負責區域編號_tb = New System.Windows.Forms.TextBox()
29 29
         Me.職別編號_tb = New System.Windows.Forms.TextBox()
@@ -455,18 +455,19 @@ Partial Class 員工資料表
455 455
         '
456 456
         '員工資料表_dgv
457 457
         '
458
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
459
-        Me.員工資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
458
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
459
+        Me.員工資料表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
460 460
         Me.員工資料表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
461 461
             Or System.Windows.Forms.AnchorStyles.Left) _
462 462
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
463 463
         Me.員工資料表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
464
+        Me.員工資料表_dgv.BackgroundColor = System.Drawing.Color.White
464 465
         Me.員工資料表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
465
-        Me.員工資料表_dgv.Location = New System.Drawing.Point(10, 113)
466
+        Me.員工資料表_dgv.Location = New System.Drawing.Point(4, 113)
466 467
         Me.員工資料表_dgv.Name = "員工資料表_dgv"
467 468
         Me.員工資料表_dgv.RowHeadersWidth = 5
468 469
         Me.員工資料表_dgv.RowTemplate.Height = 24
469
-        Me.員工資料表_dgv.Size = New System.Drawing.Size(1225, 492)
470
+        Me.員工資料表_dgv.Size = New System.Drawing.Size(1238, 492)
470 471
         Me.員工資料表_dgv.TabIndex = 987
471 472
         '
472 473
         'ContextMenuStrip1
@@ -556,8 +557,6 @@ Partial Class 員工資料表
556 557
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
557 558
         Me.ClientSize = New System.Drawing.Size(1249, 611)
558 559
         Me.Controls.Add(Me.可全選_ch)
559
-        Me.Controls.Add(Me.負責區域編號_tb)
560
-        Me.Controls.Add(Me.職別編號_tb)
561 560
         Me.Controls.Add(Me.模式一_bt)
562 561
         Me.Controls.Add(Me.模式二_bt)
563 562
         Me.Controls.Add(Me.單一資料存檔_bt)
@@ -595,6 +594,8 @@ Partial Class 員工資料表
595 594
         Me.Controls.Add(Me.Label1)
596 595
         Me.Controls.Add(Me.編號_tb)
597 596
         Me.Controls.Add(Me.員工資料表_dgv)
597
+        Me.Controls.Add(Me.負責區域編號_tb)
598
+        Me.Controls.Add(Me.職別編號_tb)
598 599
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
599 600
         Me.Margin = New System.Windows.Forms.Padding(4)
600 601
         Me.Name = "員工資料表"

MAOJI-ERP-SYS/人事系統管理/員工資料表.resx → MAOJI-ERP-SYS/02、人事系統管理/員工資料表.resx Zobrazit soubor


MAOJI-ERP-SYS/人事系統管理/員工資料表.vb → MAOJI-ERP-SYS/02、人事系統管理/員工資料表.vb Zobrazit soubor

@@ -90,7 +90,7 @@ Public Class 員工資料表
90 90
         'DataGridView1貼上資料後去除雙引號()
91 91
     End Sub
92 92
 
93
-    Private Sub 員工資料表_Load(sender As Object, e As EventArgs)
93
+    Private Sub 員工資料表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
94 94
         Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
95 95
         編號_tb.Enabled = False : 職別編號_tb.Visible = False : 負責區域編號_tb.Visible = False : 模式一_bt.Enabled = False : 模式二_bt.Enabled = True
96 96
         If gUserName = "李協叡" Then : 資料刪除ToolStripMenuItem.Enabled = True : Else : 資料刪除ToolStripMenuItem.Enabled = False : End If
@@ -115,7 +115,7 @@ Public Class 員工資料表
115 115
             DataGridView1多行列貼上()
116 116
         End If
117 117
     End Sub
118
-    Private Sub Button8_Click(sender As Object, e As EventArgs)
118
+    Private Sub 模式一_bt_Click(sender As Object, e As EventArgs) Handles 模式一_bt.Click
119 119
         模式一_bt.Enabled = False : 模式二_bt.Enabled = True
120 120
         員工資料表_dgv.Columns(15).Visible = False : 員工資料表_dgv.Columns(16).Visible = False
121 121
         員工資料表_dgv.Columns(1).ReadOnly = True : 員工資料表_dgv.Columns(2).ReadOnly = True : 員工資料表_dgv.Columns(3).ReadOnly = True : 員工資料表_dgv.Columns(4).ReadOnly = True
@@ -123,7 +123,7 @@ Public Class 員工資料表
123 123
         員工資料表_dgv.Columns(9).ReadOnly = True : 員工資料表_dgv.Columns(10).ReadOnly = True : 員工資料表_dgv.Columns(11).ReadOnly = True : 員工資料表_dgv.Columns(12).ReadOnly = True
124 124
         員工資料表_dgv.Columns(13).ReadOnly = True : 員工資料表_dgv.Columns(14).ReadOnly = True
125 125
     End Sub
126
-    Private Sub Button7_Click(sender As Object, e As EventArgs)
126
+    Private Sub 模式二_bt_Click(sender As Object, e As EventArgs) Handles 模式二_bt.Click
127 127
         模式一_bt.Enabled = True : 模式二_bt.Enabled = False
128 128
         員工資料表_dgv.Columns(15).Visible = True : 員工資料表_dgv.Columns(16).Visible = True
129 129
         員工資料表_dgv.Columns(1).ReadOnly = False : 員工資料表_dgv.Columns(2).ReadOnly = False : 員工資料表_dgv.Columns(3).ReadOnly = False : 員工資料表_dgv.Columns(4).ReadOnly = False
@@ -131,17 +131,17 @@ Public Class 員工資料表
131 131
         員工資料表_dgv.Columns(9).ReadOnly = False : 員工資料表_dgv.Columns(10).ReadOnly = False : 員工資料表_dgv.Columns(11).ReadOnly = False : 員工資料表_dgv.Columns(12).ReadOnly = False
132 132
         員工資料表_dgv.Columns(13).ReadOnly = False : 員工資料表_dgv.Columns(14).ReadOnly = False
133 133
     End Sub
134
-    Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs)
134
+    Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles 可全選_ch.Click
135 135
         If 可全選_ch.Checked = False Then : 可全選_ch.Checked = False : 員工資料表_dgv.EditMode = DataGridViewEditMode.EditOnEnter
136 136
         Else : 可全選_ch.Checked = True : 員工資料表_dgv.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2 : End If
137 137
     End Sub
138
-    Private Sub ComboBox2_SelectedIndexChanged(sender As Object, e As EventArgs)
139
-        PA = 職別_cb.Text : SQL_職別查詢() : If dr.Read() Then : 職別編號_tb.Text = dr("編號") : End If : conn.Close() : PA = ""
140
-    End Sub
141
-    Private Sub ComboBox3_SelectedIndexChanged(sender As Object, e As EventArgs)
138
+    Private Sub 負責區域_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 負責區域_cb.SelectedIndexChanged
142 139
         PA = 負責區域_cb.Text : SQL_負責區域查詢() : If dr.Read() Then : 負責區域編號_tb.Text = dr("編號") : End If : conn.Close() : PA = ""
143 140
     End Sub
144
-    Private Sub Button3_Click(sender As Object, e As EventArgs)
141
+    Private Sub 職別_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 職別_cb.SelectedIndexChanged
142
+        PA = 職別_cb.Text : SQL_職別查詢() : If dr.Read() Then : 職別編號_tb.Text = dr("編號") : End If : conn.Close() : PA = ""
143
+    End Sub
144
+    Private Sub 關鍵字查詢_bt_Click(sender As Object, e As EventArgs) Handles 關鍵字查詢_bt.Click
145 145
         PA = InputBox("請輸入要查詢的關鍵字") : Set_員工清單() : PA = ""
146 146
     End Sub
147 147
     Private Sub Set_日期格式轉換()
@@ -183,18 +183,18 @@ Public Class 員工資料表
183 183
             SQL_員工資料表修改()
184 184
         End If
185 185
     End Sub
186
-    Private Sub Button6_Click(sender As Object, e As EventArgs)
186
+    Private Sub 新增一筆空白資料_bt_Click(sender As Object, e As EventArgs) Handles 新增一筆空白資料_bt.Click
187 187
         存檔1() : 新增1()
188 188
         性別_cb.Text = "NA" : ComboBox2下拉表單資料載入() : ComboBox3下拉表單資料載入()
189 189
         名稱_tb.Text = "" : 身分證_tb.Text = "" : 地址_tb.Text = "" : 手機_tb.Text = "" : 配偶_tb.Text = "" : 配偶手機_tb.Text = ""
190 190
         住家電話_tb.Text = "" : 薪資_tb.Text = "" : LINEID_tb.Text = "" : 職別編號_tb.Text = "" : 負責區域編號_tb.Text = ""
191 191
         新增2() : Set_員工清單()
192 192
     End Sub
193
-    Private Sub Button4_Click(sender As Object, e As EventArgs)
193
+    Private Sub 單一資料存檔_bt_Click(sender As Object, e As EventArgs) Handles 單一資料存檔_bt.Click
194 194
         If 編號_tb.Text = "" Then : 新增1() : 新增2() : End If
195 195
         存檔2() : Set_員工清單() : MsgBox("資料存檔完畢 。")
196 196
     End Sub
197
-    Private Sub Button1_Click(sender As Object, e As EventArgs)
197
+    Private Sub 整體清單存檔_bt_Click(sender As Object, e As EventArgs) Handles 整體清單存檔_bt.Click
198 198
         If 模式二_bt.Enabled = True Then : MsgBox("整體存檔功能使用前請切換至模式二,並注意清單最後兩排資料的編碼原則,如不熟悉此操作規則請使用模式一作業。")
199 199
         Else : 存檔1() : MsgBox("資料存檔完畢 。") : End If
200 200
     End Sub
@@ -223,7 +223,4 @@ Public Class 員工資料表
223 223
     Private Sub 重新讀取清單ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 重新讀取清單ToolStripMenuItem.Click
224 224
         Set_員工清單()
225 225
     End Sub
226
-    Private Sub 資料刪除ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 資料刪除ToolStripMenuItem.Click
227
-
228
-    End Sub
229 226
 End Class

MAOJI-ERP-SYS/總務系統管理/車輛保養紀錄表.Designer.vb → MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.Designer.vb Zobrazit soubor

@@ -22,24 +22,9 @@ Partial Class 車輛保養紀錄表
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25
-        Me.復原_bt = New System.Windows.Forms.Button()
26
-        Me.放大_bt = New System.Windows.Forms.Button()
27
-        Me.垂直翻轉_bt = New System.Windows.Forms.Button()
28
-        Me.水平翻轉_bt = New System.Windows.Forms.Button()
29
-        Me.逆時鐘90度_bt = New System.Windows.Forms.Button()
30
-        Me.順時鐘90度_bt = New System.Windows.Forms.Button()
31 25
         Me.流水號_tb = New System.Windows.Forms.TextBox()
32
-        Me.刪除資料_bt = New System.Windows.Forms.Button()
33
-        Me.修改資料_bt = New System.Windows.Forms.Button()
34
-        Me.新增資料_bt = New System.Windows.Forms.Button()
35
-        Me.Label8 = New System.Windows.Forms.Label()
36
-        Me.Label2 = New System.Windows.Forms.Label()
37
-        Me.讀取資料夾路徑_bt = New System.Windows.Forms.Button()
38 26
         Me.檔名讀取_tb = New System.Windows.Forms.TextBox()
39 27
         Me.檔案名稱_tb = New System.Windows.Forms.TextBox()
40
-        Me.Label6 = New System.Windows.Forms.Label()
41
-        Me.本機資料夾_wb = New System.Windows.Forms.WebBrowser()
42
-        Me.FTP資料夾_wb = New System.Windows.Forms.WebBrowser()
43 28
         Me.保養日期_dtp = New System.Windows.Forms.DateTimePicker()
44 29
         Me.Label1 = New System.Windows.Forms.Label()
45 30
         Me.里程數_nud = New System.Windows.Forms.NumericUpDown()
@@ -49,159 +34,40 @@ Partial Class 車輛保養紀錄表
49 34
         Me.紀錄清單_dgv = New System.Windows.Forms.DataGridView()
50 35
         Me.車牌號碼_cb = New System.Windows.Forms.ComboBox()
51 36
         Me.Label15 = New System.Windows.Forms.Label()
52
-        Me.Label9 = New System.Windows.Forms.Label()
53
-        Me.報告圖_pb = New System.Windows.Forms.PictureBox()
54 37
         Me.FolderBrowserDialog1 = New System.Windows.Forms.FolderBrowserDialog()
55 38
         Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
39
+        Me.復原_bt = New System.Windows.Forms.Button()
40
+        Me.放大_bt = New System.Windows.Forms.Button()
41
+        Me.垂直翻轉_bt = New System.Windows.Forms.Button()
42
+        Me.水平翻轉_bt = New System.Windows.Forms.Button()
43
+        Me.逆時鐘90度_bt = New System.Windows.Forms.Button()
44
+        Me.順時鐘90度_bt = New System.Windows.Forms.Button()
45
+        Me.刪除資料_bt = New System.Windows.Forms.Button()
46
+        Me.修改資料_bt = New System.Windows.Forms.Button()
47
+        Me.新增資料_bt = New System.Windows.Forms.Button()
48
+        Me.讀取資料夾路徑_bt = New System.Windows.Forms.Button()
49
+        Me.報告圖_pb = New System.Windows.Forms.PictureBox()
50
+        Me.開啟檔案 = New System.Windows.Forms.OpenFileDialog()
56 51
         CType(Me.里程數_nud, System.ComponentModel.ISupportInitialize).BeginInit()
57 52
         CType(Me.紀錄清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
58 53
         CType(Me.報告圖_pb, System.ComponentModel.ISupportInitialize).BeginInit()
59 54
         Me.SuspendLayout()
60 55
         '
61
-        '復原_bt
62
-        '
63
-        Me.復原_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
64
-        Me.復原_bt.Location = New System.Drawing.Point(669, 35)
65
-        Me.復原_bt.Name = "復原_bt"
66
-        Me.復原_bt.Size = New System.Drawing.Size(60, 23)
67
-        Me.復原_bt.TabIndex = 1159
68
-        Me.復原_bt.Text = "復原"
69
-        Me.復原_bt.UseVisualStyleBackColor = True
70
-        '
71
-        '放大_bt
72
-        '
73
-        Me.放大_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
74
-        Me.放大_bt.Location = New System.Drawing.Point(669, 10)
75
-        Me.放大_bt.Name = "放大_bt"
76
-        Me.放大_bt.Size = New System.Drawing.Size(60, 23)
77
-        Me.放大_bt.TabIndex = 1158
78
-        Me.放大_bt.Text = "放大"
79
-        Me.放大_bt.UseVisualStyleBackColor = True
80
-        '
81
-        '垂直翻轉_bt
82
-        '
83
-        Me.垂直翻轉_bt.ForeColor = System.Drawing.Color.Blue
84
-        Me.垂直翻轉_bt.Location = New System.Drawing.Point(587, 35)
85
-        Me.垂直翻轉_bt.Name = "垂直翻轉_bt"
86
-        Me.垂直翻轉_bt.Size = New System.Drawing.Size(80, 23)
87
-        Me.垂直翻轉_bt.TabIndex = 1157
88
-        Me.垂直翻轉_bt.Text = "垂直翻轉"
89
-        Me.垂直翻轉_bt.UseVisualStyleBackColor = True
90
-        '
91
-        '水平翻轉_bt
92
-        '
93
-        Me.水平翻轉_bt.ForeColor = System.Drawing.Color.Blue
94
-        Me.水平翻轉_bt.Location = New System.Drawing.Point(587, 10)
95
-        Me.水平翻轉_bt.Name = "水平翻轉_bt"
96
-        Me.水平翻轉_bt.Size = New System.Drawing.Size(80, 23)
97
-        Me.水平翻轉_bt.TabIndex = 1156
98
-        Me.水平翻轉_bt.Text = "水平翻轉"
99
-        Me.水平翻轉_bt.UseVisualStyleBackColor = True
100
-        '
101
-        '逆時鐘90度_bt
102
-        '
103
-        Me.逆時鐘90度_bt.ForeColor = System.Drawing.Color.Blue
104
-        Me.逆時鐘90度_bt.Location = New System.Drawing.Point(468, 35)
105
-        Me.逆時鐘90度_bt.Name = "逆時鐘90度_bt"
106
-        Me.逆時鐘90度_bt.Size = New System.Drawing.Size(117, 23)
107
-        Me.逆時鐘90度_bt.TabIndex = 1155
108
-        Me.逆時鐘90度_bt.Text = "逆時鐘90度旋轉"
109
-        Me.逆時鐘90度_bt.UseVisualStyleBackColor = True
110
-        '
111
-        '順時鐘90度_bt
112
-        '
113
-        Me.順時鐘90度_bt.ForeColor = System.Drawing.Color.Blue
114
-        Me.順時鐘90度_bt.Location = New System.Drawing.Point(468, 10)
115
-        Me.順時鐘90度_bt.Name = "順時鐘90度_bt"
116
-        Me.順時鐘90度_bt.Size = New System.Drawing.Size(117, 23)
117
-        Me.順時鐘90度_bt.TabIndex = 1154
118
-        Me.順時鐘90度_bt.Text = "順時鐘90度旋轉"
119
-        Me.順時鐘90度_bt.UseVisualStyleBackColor = True
120
-        '
121 56
         '流水號_tb
122 57
         '
123
-        Me.流水號_tb.Location = New System.Drawing.Point(606, 105)
58
+        Me.流水號_tb.Location = New System.Drawing.Point(315, 94)
124 59
         Me.流水號_tb.Name = "流水號_tb"
125
-        Me.流水號_tb.Size = New System.Drawing.Size(157, 23)
60
+        Me.流水號_tb.Size = New System.Drawing.Size(172, 23)
126 61
         Me.流水號_tb.TabIndex = 1153
127 62
         '
128
-        '刪除資料_bt
129
-        '
130
-        Me.刪除資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
131
-        Me.刪除資料_bt.ForeColor = System.Drawing.Color.Red
132
-        Me.刪除資料_bt.Location = New System.Drawing.Point(413, 9)
133
-        Me.刪除資料_bt.Name = "刪除資料_bt"
134
-        Me.刪除資料_bt.Size = New System.Drawing.Size(53, 50)
135
-        Me.刪除資料_bt.TabIndex = 1152
136
-        Me.刪除資料_bt.Text = "刪除資料"
137
-        Me.刪除資料_bt.UseVisualStyleBackColor = True
138
-        '
139
-        '修改資料_bt
140
-        '
141
-        Me.修改資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
142
-        Me.修改資料_bt.ForeColor = System.Drawing.Color.Green
143
-        Me.修改資料_bt.Location = New System.Drawing.Point(359, 9)
144
-        Me.修改資料_bt.Name = "修改資料_bt"
145
-        Me.修改資料_bt.Size = New System.Drawing.Size(53, 50)
146
-        Me.修改資料_bt.TabIndex = 1151
147
-        Me.修改資料_bt.Text = "儲存"
148
-        Me.修改資料_bt.UseVisualStyleBackColor = True
149
-        '
150
-        '新增資料_bt
151
-        '
152
-        Me.新增資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
153
-        Me.新增資料_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
154
-        Me.新增資料_bt.Location = New System.Drawing.Point(305, 9)
155
-        Me.新增資料_bt.Name = "新增資料_bt"
156
-        Me.新增資料_bt.Size = New System.Drawing.Size(53, 50)
157
-        Me.新增資料_bt.TabIndex = 1150
158
-        Me.新增資料_bt.Text = "新增資料"
159
-        Me.新增資料_bt.UseVisualStyleBackColor = True
160
-        '
161
-        'Label8
162
-        '
163
-        Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
164
-        Me.Label8.AutoSize = True
165
-        Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
166
-        Me.Label8.ForeColor = System.Drawing.Color.Red
167
-        Me.Label8.Location = New System.Drawing.Point(1543, 8)
168
-        Me.Label8.Name = "Label8"
169
-        Me.Label8.Size = New System.Drawing.Size(338, 48)
170
-        Me.Label8.TabIndex = 1148
171
-        Me.Label8.Text = "1、將我的電腦內的資料拖曳到伺服器FTP文件夾。" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "2、在我的電腦檔案顯示處將要上傳的檔案拖曳到檔案名稱處。" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "3、確認單據內容、檔案名稱資料無誤後方可按確認入庫" &
172
-    "。"
173
-        '
174
-        'Label2
175
-        '
176
-        Me.Label2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
177
-        Me.Label2.AutoSize = True
178
-        Me.Label2.Font = New System.Drawing.Font("微軟正黑體", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
179
-        Me.Label2.Location = New System.Drawing.Point(1443, 5)
180
-        Me.Label2.Name = "Label2"
181
-        Me.Label2.Size = New System.Drawing.Size(86, 24)
182
-        Me.Label2.TabIndex = 1147
183
-        Me.Label2.Text = "我的電腦"
184
-        '
185
-        '讀取資料夾路徑_bt
186
-        '
187
-        Me.讀取資料夾路徑_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
188
-        Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
189
-        Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
190
-        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(1440, 29)
191
-        Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
192
-        Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(97, 30)
193
-        Me.讀取資料夾路徑_bt.TabIndex = 1146
194
-        Me.讀取資料夾路徑_bt.Text = "讀取料夾路徑"
195
-        Me.讀取資料夾路徑_bt.UseVisualStyleBackColor = True
196
-        '
197 63
         '檔名讀取_tb
198 64
         '
199 65
         Me.檔名讀取_tb.AllowDrop = True
200 66
         Me.檔名讀取_tb.ForeColor = System.Drawing.Color.Black
201
-        Me.檔名讀取_tb.Location = New System.Drawing.Point(769, 105)
67
+        Me.檔名讀取_tb.Location = New System.Drawing.Point(315, 123)
202 68
         Me.檔名讀取_tb.Multiline = True
203 69
         Me.檔名讀取_tb.Name = "檔名讀取_tb"
204
-        Me.檔名讀取_tb.Size = New System.Drawing.Size(25, 23)
70
+        Me.檔名讀取_tb.Size = New System.Drawing.Size(172, 23)
205 71
         Me.檔名讀取_tb.TabIndex = 1145
206 72
         '
207 73
         '檔案名稱_tb
@@ -209,47 +75,16 @@ Partial Class 車輛保養紀錄表
209 75
         Me.檔案名稱_tb.AllowDrop = True
210 76
         Me.檔案名稱_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
211 77
         Me.檔案名稱_tb.ForeColor = System.Drawing.Color.Black
212
-        Me.檔案名稱_tb.Location = New System.Drawing.Point(1491, 771)
78
+        Me.檔案名稱_tb.Location = New System.Drawing.Point(302, 265)
213 79
         Me.檔案名稱_tb.Name = "檔案名稱_tb"
214 80
         Me.檔案名稱_tb.Size = New System.Drawing.Size(391, 23)
215 81
         Me.檔案名稱_tb.TabIndex = 1143
216 82
         '
217
-        'Label6
218
-        '
219
-        Me.Label6.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
220
-        Me.Label6.AutoSize = True
221
-        Me.Label6.ForeColor = System.Drawing.Color.Red
222
-        Me.Label6.Location = New System.Drawing.Point(1444, 797)
223
-        Me.Label6.Name = "Label6"
224
-        Me.Label6.Size = New System.Drawing.Size(423, 16)
225
-        Me.Label6.TabIndex = 1142
226
-        Me.Label6.Text = "如檔案無法拖曳至伺服器FTP文件夾,請修改檔案名稱不要帶有中文字或是符號"
227
-        '
228
-        '本機資料夾_wb
229
-        '
230
-        Me.本機資料夾_wb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
231
-            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
232
-        Me.本機資料夾_wb.Location = New System.Drawing.Point(1440, 65)
233
-        Me.本機資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
234
-        Me.本機資料夾_wb.Name = "本機資料夾_wb"
235
-        Me.本機資料夾_wb.Size = New System.Drawing.Size(442, 703)
236
-        Me.本機資料夾_wb.TabIndex = 1141
237
-        Me.本機資料夾_wb.Url = New System.Uri("", System.UriKind.Relative)
238
-        '
239
-        'FTP資料夾_wb
240
-        '
241
-        Me.FTP資料夾_wb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
242
-        Me.FTP資料夾_wb.Location = New System.Drawing.Point(1440, 816)
243
-        Me.FTP資料夾_wb.MinimumSize = New System.Drawing.Size(20, 20)
244
-        Me.FTP資料夾_wb.Name = "FTP資料夾_wb"
245
-        Me.FTP資料夾_wb.Size = New System.Drawing.Size(442, 150)
246
-        Me.FTP資料夾_wb.TabIndex = 1140
247
-        Me.FTP資料夾_wb.Url = New System.Uri("", System.UriKind.Relative)
248
-        '
249 83
         '保養日期_dtp
250 84
         '
251
-        Me.保養日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
252
-        Me.保養日期_dtp.Location = New System.Drawing.Point(209, 10)
85
+        Me.保養日期_dtp.CustomFormat = "yyyy/MM/dd"
86
+        Me.保養日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.Custom
87
+        Me.保養日期_dtp.Location = New System.Drawing.Point(201, 3)
253 88
         Me.保養日期_dtp.Name = "保養日期_dtp"
254 89
         Me.保養日期_dtp.Size = New System.Drawing.Size(90, 23)
255 90
         Me.保養日期_dtp.TabIndex = 1138
@@ -259,7 +94,7 @@ Partial Class 車輛保養紀錄表
259 94
         Me.Label1.AutoSize = True
260 95
         Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
261 96
         Me.Label1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
262
-        Me.Label1.Location = New System.Drawing.Point(156, 14)
97
+        Me.Label1.Location = New System.Drawing.Point(148, 7)
263 98
         Me.Label1.Name = "Label1"
264 99
         Me.Label1.Size = New System.Drawing.Size(55, 16)
265 100
         Me.Label1.TabIndex = 1139
@@ -267,7 +102,7 @@ Partial Class 車輛保養紀錄表
267 102
         '
268 103
         '里程數_nud
269 104
         '
270
-        Me.里程數_nud.Location = New System.Drawing.Point(209, 37)
105
+        Me.里程數_nud.Location = New System.Drawing.Point(201, 30)
271 106
         Me.里程數_nud.Maximum = New Decimal(New Integer() {10000000, 0, 0, 0})
272 107
         Me.里程數_nud.Name = "里程數_nud"
273 108
         Me.里程數_nud.Size = New System.Drawing.Size(90, 23)
@@ -278,7 +113,7 @@ Partial Class 車輛保養紀錄表
278 113
         'Label13
279 114
         '
280 115
         Me.Label13.AutoSize = True
281
-        Me.Label13.Location = New System.Drawing.Point(161, 40)
116
+        Me.Label13.Location = New System.Drawing.Point(153, 33)
282 117
         Me.Label13.Name = "Label13"
283 118
         Me.Label13.Size = New System.Drawing.Size(43, 16)
284 119
         Me.Label13.TabIndex = 1136
@@ -286,8 +121,9 @@ Partial Class 車輛保養紀錄表
286 121
         '
287 122
         '預保日期_dtp
288 123
         '
289
-        Me.預保日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
290
-        Me.預保日期_dtp.Location = New System.Drawing.Point(65, 36)
124
+        Me.預保日期_dtp.CustomFormat = "yyyy/MM/dd"
125
+        Me.預保日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.Custom
126
+        Me.預保日期_dtp.Location = New System.Drawing.Point(57, 29)
291 127
         Me.預保日期_dtp.Name = "預保日期_dtp"
292 128
         Me.預保日期_dtp.Size = New System.Drawing.Size(90, 23)
293 129
         Me.預保日期_dtp.TabIndex = 1134
@@ -297,7 +133,7 @@ Partial Class 車輛保養紀錄表
297 133
         Me.Label20.AutoSize = True
298 134
         Me.Label20.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
299 135
         Me.Label20.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
300
-        Me.Label20.Location = New System.Drawing.Point(12, 40)
136
+        Me.Label20.Location = New System.Drawing.Point(4, 33)
301 137
         Me.Label20.Name = "Label20"
302 138
         Me.Label20.Size = New System.Drawing.Size(55, 16)
303 139
         Me.Label20.TabIndex = 1135
@@ -308,19 +144,20 @@ Partial Class 車輛保養紀錄表
308 144
         Me.紀錄清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
309 145
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
310 146
         Me.紀錄清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
147
+        Me.紀錄清單_dgv.BackgroundColor = System.Drawing.Color.White
311 148
         Me.紀錄清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
312
-        Me.紀錄清單_dgv.Location = New System.Drawing.Point(12, 65)
149
+        Me.紀錄清單_dgv.Location = New System.Drawing.Point(3, 55)
313 150
         Me.紀錄清單_dgv.Name = "紀錄清單_dgv"
314 151
         Me.紀錄清單_dgv.RowHeadersWidth = 5
315 152
         Me.紀錄清單_dgv.RowTemplate.Height = 24
316
-        Me.紀錄清單_dgv.Size = New System.Drawing.Size(287, 901)
153
+        Me.紀錄清單_dgv.Size = New System.Drawing.Size(287, 556)
317 154
         Me.紀錄清單_dgv.TabIndex = 1133
318 155
         '
319 156
         '車牌號碼_cb
320 157
         '
321 158
         Me.車牌號碼_cb.ForeColor = System.Drawing.Color.Blue
322 159
         Me.車牌號碼_cb.FormattingEnabled = True
323
-        Me.車牌號碼_cb.Location = New System.Drawing.Point(66, 9)
160
+        Me.車牌號碼_cb.Location = New System.Drawing.Point(58, 2)
324 161
         Me.車牌號碼_cb.Name = "車牌號碼_cb"
325 162
         Me.車牌號碼_cb.Size = New System.Drawing.Size(89, 24)
326 163
         Me.車牌號碼_cb.TabIndex = 1131
@@ -329,21 +166,131 @@ Partial Class 車輛保養紀錄表
329 166
         '
330 167
         Me.Label15.AutoSize = True
331 168
         Me.Label15.ForeColor = System.Drawing.Color.Blue
332
-        Me.Label15.Location = New System.Drawing.Point(12, 12)
169
+        Me.Label15.Location = New System.Drawing.Point(4, 5)
333 170
         Me.Label15.Name = "Label15"
334 171
         Me.Label15.Size = New System.Drawing.Size(55, 16)
335 172
         Me.Label15.TabIndex = 1132
336 173
         Me.Label15.Text = "車牌號碼"
337 174
         '
338
-        'Label9
175
+        'SaveFileDialog1
176
+        '
177
+        Me.SaveFileDialog1.DefaultExt = "jpg"
178
+        Me.SaveFileDialog1.SupportMultiDottedExtensions = True
179
+        Me.SaveFileDialog1.Title = "指定檔案名稱與選擇檔案路徑"
339 180
         '
340
-        Me.Label9.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
341
-        Me.Label9.AutoSize = True
342
-        Me.Label9.Location = New System.Drawing.Point(1437, 774)
343
-        Me.Label9.Name = "Label9"
344
-        Me.Label9.Size = New System.Drawing.Size(55, 16)
345
-        Me.Label9.TabIndex = 1144
346
-        Me.Label9.Text = "檔案名稱"
181
+        '復原_bt
182
+        '
183
+        Me.復原_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.renew
184
+        Me.復原_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
185
+        Me.復原_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
186
+        Me.復原_bt.Location = New System.Drawing.Point(830, 3)
187
+        Me.復原_bt.Name = "復原_bt"
188
+        Me.復原_bt.Size = New System.Drawing.Size(50, 50)
189
+        Me.復原_bt.TabIndex = 1159
190
+        Me.復原_bt.UseVisualStyleBackColor = True
191
+        '
192
+        '放大_bt
193
+        '
194
+        Me.放大_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.Search
195
+        Me.放大_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
196
+        Me.放大_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(0, Byte), Integer))
197
+        Me.放大_bt.Location = New System.Drawing.Point(780, 3)
198
+        Me.放大_bt.Name = "放大_bt"
199
+        Me.放大_bt.Size = New System.Drawing.Size(50, 50)
200
+        Me.放大_bt.TabIndex = 1158
201
+        Me.放大_bt.UseVisualStyleBackColor = True
202
+        '
203
+        '垂直翻轉_bt
204
+        '
205
+        Me.垂直翻轉_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.R180
206
+        Me.垂直翻轉_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
207
+        Me.垂直翻轉_bt.ForeColor = System.Drawing.Color.Blue
208
+        Me.垂直翻轉_bt.Location = New System.Drawing.Point(730, 3)
209
+        Me.垂直翻轉_bt.Name = "垂直翻轉_bt"
210
+        Me.垂直翻轉_bt.Size = New System.Drawing.Size(50, 50)
211
+        Me.垂直翻轉_bt.TabIndex = 1157
212
+        Me.垂直翻轉_bt.UseVisualStyleBackColor = True
213
+        '
214
+        '水平翻轉_bt
215
+        '
216
+        Me.水平翻轉_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.L180
217
+        Me.水平翻轉_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
218
+        Me.水平翻轉_bt.ForeColor = System.Drawing.Color.Blue
219
+        Me.水平翻轉_bt.Location = New System.Drawing.Point(680, 3)
220
+        Me.水平翻轉_bt.Name = "水平翻轉_bt"
221
+        Me.水平翻轉_bt.Size = New System.Drawing.Size(50, 50)
222
+        Me.水平翻轉_bt.TabIndex = 1156
223
+        Me.水平翻轉_bt.UseVisualStyleBackColor = True
224
+        '
225
+        '逆時鐘90度_bt
226
+        '
227
+        Me.逆時鐘90度_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.R90
228
+        Me.逆時鐘90度_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
229
+        Me.逆時鐘90度_bt.ForeColor = System.Drawing.Color.Blue
230
+        Me.逆時鐘90度_bt.Location = New System.Drawing.Point(630, 3)
231
+        Me.逆時鐘90度_bt.Name = "逆時鐘90度_bt"
232
+        Me.逆時鐘90度_bt.Size = New System.Drawing.Size(50, 50)
233
+        Me.逆時鐘90度_bt.TabIndex = 1155
234
+        Me.逆時鐘90度_bt.UseVisualStyleBackColor = True
235
+        '
236
+        '順時鐘90度_bt
237
+        '
238
+        Me.順時鐘90度_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.L90
239
+        Me.順時鐘90度_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
240
+        Me.順時鐘90度_bt.ForeColor = System.Drawing.Color.Blue
241
+        Me.順時鐘90度_bt.Location = New System.Drawing.Point(580, 3)
242
+        Me.順時鐘90度_bt.Name = "順時鐘90度_bt"
243
+        Me.順時鐘90度_bt.Size = New System.Drawing.Size(50, 50)
244
+        Me.順時鐘90度_bt.TabIndex = 1154
245
+        Me.順時鐘90度_bt.UseVisualStyleBackColor = True
246
+        '
247
+        '刪除資料_bt
248
+        '
249
+        Me.刪除資料_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.GarbageEmpty
250
+        Me.刪除資料_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
251
+        Me.刪除資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
252
+        Me.刪除資料_bt.ForeColor = System.Drawing.Color.Red
253
+        Me.刪除資料_bt.Location = New System.Drawing.Point(453, 2)
254
+        Me.刪除資料_bt.Name = "刪除資料_bt"
255
+        Me.刪除資料_bt.Size = New System.Drawing.Size(53, 50)
256
+        Me.刪除資料_bt.TabIndex = 1152
257
+        Me.刪除資料_bt.UseVisualStyleBackColor = True
258
+        '
259
+        '修改資料_bt
260
+        '
261
+        Me.修改資料_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.SAVER
262
+        Me.修改資料_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
263
+        Me.修改資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
264
+        Me.修改資料_bt.ForeColor = System.Drawing.Color.Green
265
+        Me.修改資料_bt.Location = New System.Drawing.Point(400, 2)
266
+        Me.修改資料_bt.Name = "修改資料_bt"
267
+        Me.修改資料_bt.Size = New System.Drawing.Size(53, 50)
268
+        Me.修改資料_bt.TabIndex = 1151
269
+        Me.修改資料_bt.UseVisualStyleBackColor = True
270
+        '
271
+        '新增資料_bt
272
+        '
273
+        Me.新增資料_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.add_2
274
+        Me.新增資料_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
275
+        Me.新增資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
276
+        Me.新增資料_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
277
+        Me.新增資料_bt.Location = New System.Drawing.Point(347, 2)
278
+        Me.新增資料_bt.Name = "新增資料_bt"
279
+        Me.新增資料_bt.Size = New System.Drawing.Size(53, 50)
280
+        Me.新增資料_bt.TabIndex = 1150
281
+        Me.新增資料_bt.UseVisualStyleBackColor = True
282
+        '
283
+        '讀取資料夾路徑_bt
284
+        '
285
+        Me.讀取資料夾路徑_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.Scan_film
286
+        Me.讀取資料夾路徑_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
287
+        Me.讀取資料夾路徑_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
288
+        Me.讀取資料夾路徑_bt.ForeColor = System.Drawing.Color.Blue
289
+        Me.讀取資料夾路徑_bt.Location = New System.Drawing.Point(297, 2)
290
+        Me.讀取資料夾路徑_bt.Name = "讀取資料夾路徑_bt"
291
+        Me.讀取資料夾路徑_bt.Size = New System.Drawing.Size(50, 50)
292
+        Me.讀取資料夾路徑_bt.TabIndex = 1146
293
+        Me.讀取資料夾路徑_bt.UseVisualStyleBackColor = True
347 294
         '
348 295
         '報告圖_pb
349 296
         '
@@ -352,42 +299,33 @@ Partial Class 車輛保養紀錄表
352 299
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
353 300
         Me.報告圖_pb.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
354 301
         Me.報告圖_pb.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
355
-        Me.報告圖_pb.Location = New System.Drawing.Point(305, 65)
302
+        Me.報告圖_pb.Location = New System.Drawing.Point(291, 55)
356 303
         Me.報告圖_pb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
357 304
         Me.報告圖_pb.Name = "報告圖_pb"
358
-        Me.報告圖_pb.Size = New System.Drawing.Size(1129, 901)
305
+        Me.報告圖_pb.Size = New System.Drawing.Size(890, 556)
359 306
         Me.報告圖_pb.TabIndex = 1149
360 307
         Me.報告圖_pb.TabStop = False
361 308
         '
362
-        'SaveFileDialog1
309
+        '開啟檔案
363 310
         '
364
-        Me.SaveFileDialog1.DefaultExt = "jpg"
365
-        Me.SaveFileDialog1.SupportMultiDottedExtensions = True
366
-        Me.SaveFileDialog1.Title = "指定檔案名稱與選擇檔案路徑"
311
+        Me.開啟檔案.Multiselect = True
367 312
         '
368 313
         '車輛保養紀錄表
369 314
         '
370 315
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
371 316
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
372
-        Me.ClientSize = New System.Drawing.Size(1894, 971)
317
+        Me.ClientSize = New System.Drawing.Size(1185, 614)
373 318
         Me.Controls.Add(Me.復原_bt)
374 319
         Me.Controls.Add(Me.放大_bt)
375 320
         Me.Controls.Add(Me.垂直翻轉_bt)
376 321
         Me.Controls.Add(Me.水平翻轉_bt)
377 322
         Me.Controls.Add(Me.逆時鐘90度_bt)
378 323
         Me.Controls.Add(Me.順時鐘90度_bt)
379
-        Me.Controls.Add(Me.流水號_tb)
380 324
         Me.Controls.Add(Me.刪除資料_bt)
381 325
         Me.Controls.Add(Me.修改資料_bt)
382 326
         Me.Controls.Add(Me.新增資料_bt)
383
-        Me.Controls.Add(Me.Label8)
384
-        Me.Controls.Add(Me.Label2)
385 327
         Me.Controls.Add(Me.讀取資料夾路徑_bt)
386
-        Me.Controls.Add(Me.檔名讀取_tb)
387 328
         Me.Controls.Add(Me.檔案名稱_tb)
388
-        Me.Controls.Add(Me.Label6)
389
-        Me.Controls.Add(Me.本機資料夾_wb)
390
-        Me.Controls.Add(Me.FTP資料夾_wb)
391 329
         Me.Controls.Add(Me.保養日期_dtp)
392 330
         Me.Controls.Add(Me.Label1)
393 331
         Me.Controls.Add(Me.里程數_nud)
@@ -397,10 +335,11 @@ Partial Class 車輛保養紀錄表
397 335
         Me.Controls.Add(Me.紀錄清單_dgv)
398 336
         Me.Controls.Add(Me.車牌號碼_cb)
399 337
         Me.Controls.Add(Me.Label15)
400
-        Me.Controls.Add(Me.Label9)
338
+        Me.Controls.Add(Me.流水號_tb)
339
+        Me.Controls.Add(Me.檔名讀取_tb)
401 340
         Me.Controls.Add(Me.報告圖_pb)
402 341
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
403
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
342
+        Me.Margin = New System.Windows.Forms.Padding(4)
404 343
         Me.Name = "車輛保養紀錄表"
405 344
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
406 345
         Me.Text = "車輛保養紀錄表"
@@ -422,14 +361,9 @@ Partial Class 車輛保養紀錄表
422 361
     Friend WithEvents 刪除資料_bt As Button
423 362
     Friend WithEvents 修改資料_bt As Button
424 363
     Friend WithEvents 新增資料_bt As Button
425
-    Friend WithEvents Label8 As Label
426
-    Friend WithEvents Label2 As Label
427 364
     Friend WithEvents 讀取資料夾路徑_bt As Button
428 365
     Friend WithEvents 檔名讀取_tb As TextBox
429 366
     Friend WithEvents 檔案名稱_tb As TextBox
430
-    Friend WithEvents Label6 As Label
431
-    Friend WithEvents 本機資料夾_wb As WebBrowser
432
-    Friend WithEvents FTP資料夾_wb As WebBrowser
433 367
     Friend WithEvents 保養日期_dtp As DateTimePicker
434 368
     Friend WithEvents Label1 As Label
435 369
     Friend WithEvents 里程數_nud As NumericUpDown
@@ -439,8 +373,8 @@ Partial Class 車輛保養紀錄表
439 373
     Friend WithEvents 紀錄清單_dgv As DataGridView
440 374
     Friend WithEvents 車牌號碼_cb As ComboBox
441 375
     Friend WithEvents Label15 As Label
442
-    Friend WithEvents Label9 As Label
443 376
     Friend WithEvents 報告圖_pb As PictureBox
444 377
     Friend WithEvents FolderBrowserDialog1 As FolderBrowserDialog
445 378
     Friend WithEvents SaveFileDialog1 As SaveFileDialog
379
+    Friend WithEvents 開啟檔案 As OpenFileDialog
446 380
 End Class

MAOJI-ERP-SYS/總務系統管理/車輛保養紀錄表.resx → MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.resx Zobrazit soubor

@@ -118,9 +118,15 @@
118 118
     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 119
   </resheader>
120 120
   <metadata name="FolderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121
-    <value>338, 12</value>
121
+    <value>18, 12</value>
122 122
   </metadata>
123 123
   <metadata name="SaveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124
-    <value>518, 12</value>
124
+    <value>198, 12</value>
125
+  </metadata>
126
+  <metadata name="開啟檔案.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
127
+    <value>484, 9</value>
128
+  </metadata>
129
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
130
+    <value>41</value>
125 131
   </metadata>
126 132
 </root>

+ 110
- 0
MAOJI-ERP-SYS/03、總務系統管理/車輛保養紀錄表.vb Zobrazit soubor

@@ -0,0 +1,110 @@
1
+Option Explicit On
2
+Imports System.Net
3
+Imports System.IO
4
+Public Class 車輛保養紀錄表
5
+    ReadOnly ds As New DataSet : ReadOnly ds1 As New DataSet
6
+    Dim EDR As Integer = 0 : Dim ESTR As String
7
+    Private m_Leftx As Integer = 152
8
+    Private m_Lefty As Integer = 0
9
+    Dim m_MousePosX As Integer
10
+    Dim m_MousePosY As Integer
11
+    Dim m_DeltaX As Integer
12
+    Dim m_DeltaY As Integer
13
+    ReadOnly m_StrecthX As Double
14
+    ReadOnly m_StrecthY As Double
15
+    Private Sub Set_清單()
16
+        紀錄清單_dgv.DataSource = Nothing : ds.Clear()
17
+        紀錄清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
18
+        紀錄清單_dgv.ColumnHeadersHeight = 25 : 紀錄清單_dgv.AllowUserToAddRows = False
19
+        SQL_車輛保養紀錄表()
20
+        da.Fill(ds) : 紀錄清單_dgv.DataSource = ds.Tables(0) : conn.Close()
21
+        紀錄清單_dgv.Columns(0).Visible = False : 紀錄清單_dgv.Columns(1).Visible = False : 紀錄清單_dgv.Columns(2).FillWeight = 100 : 紀錄清單_dgv.Columns(3).FillWeight = 100
22
+        紀錄清單_dgv.Columns(4).FillWeight = 100 : 紀錄清單_dgv.Columns(4).DefaultCellStyle.Format = "#,##0"
23
+        紀錄清單_dgv.Columns(4).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
24
+        紀錄清單_dgv.Columns(4).HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
25
+    End Sub
26
+    Private Sub ComboBox1下拉表單資料載入()
27
+        SQL_車牌號碼清單() : 車牌號碼_cb.Items.Clear() : While (dr.Read()) : 車牌號碼_cb.Items.Add(dr("車牌號碼")) : End While : conn.Close()
28
+    End Sub
29
+    Private Sub 車輛保養紀錄表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
30
+        Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
31
+        報告圖_pb.BringToFront() : 流水號_tb.Visible = False : 檔名讀取_tb.Visible = False : ComboBox1下拉表單資料載入()
32
+    End Sub
33
+    Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles 紀錄清單_dgv.CellClick
34
+        If e.RowIndex = -1 Then : Else
35
+            保養日期_dtp.Value = 紀錄清單_dgv.Rows(e.RowIndex).Cells("保養日期").Value.ToString : 預保日期_dtp.Value = 紀錄清單_dgv.Rows(e.RowIndex).Cells("預保日期").Value.ToString
36
+            里程數_nud.Value = 紀錄清單_dgv.Rows(e.RowIndex).Cells("里程數").Value.ToString : 流水號_tb.Text = 紀錄清單_dgv.Rows(e.RowIndex).Cells("流水號").Value.ToString
37
+            Set_圖片顯示()
38
+        End If
39
+    End Sub
40
+    Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 車牌號碼_cb.SelectedIndexChanged
41
+        Set_清單()
42
+    End Sub
43
+    Private Sub Set_日期格式轉換()
44
+        DTP1 = Format(保養日期_dtp.Value, "yyyy/MM/dd") : DTP2 = Format(預保日期_dtp.Value, "yyyy/MM/dd")
45
+    End Sub
46
+    Private Sub Set_流水號()
47
+        SQL_車輛保養紀錄表流水號最後一筆()
48
+        If dr.Read() Then : EDR = Double.Parse(Strings.Right(dr("流水號").ToString, 8)) : Else : EDR = 0 : End If : conn.Close() : EDR += 1
49
+        If EDR < 10 Then : ESTR = "VM" & "0000000" & EDR : ElseIf EDR > 9 And EDR < 100 Then : ESTR = "VM" & "000000" & EDR
50
+        ElseIf EDR > 99 And EDR < 1000 Then : ESTR = "VM" & "00000" & EDR : ElseIf EDR > 999 And EDR < 10000 Then : ESTR = "VM" & "0000" & EDR
51
+        ElseIf EDR > 9999 And EDR < 100000 Then : ESTR = "VM" & "000" & EDR : ElseIf EDR > 99999 And EDR < 100000 Then : ESTR = "VM" & "00" & EDR
52
+        ElseIf EDR > 999999 And EDR < 1000000 Then : ESTR = "VM" & "0" & EDR : ElseIf EDR > 9999999 Then : ESTR = "VM" & EDR : End If
53
+        流水號_tb.Text = ESTR : Set_日期格式轉換()
54
+    End Sub
55
+    Private Sub Set_圖片顯示()
56
+        報告圖_pb.Image = Nothing : SQL_車輛保養紀錄表圖片讀取()
57
+        While dr.Read() = True
58
+            Dim unused As Byte() = New Byte(-1) {}
59
+            Dim bytes As Byte() = DirectCast(dr.Item("圖片"), Byte())
60
+            Dim oStream As New MemoryStream(bytes)
61
+            報告圖_pb.Image = Bitmap.FromStream(oStream)
62
+        End While : conn.Close() : 報告圖_pb.SizeMode = 4
63
+    End Sub
64
+    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles 新增資料_bt.Click
65
+        If 車牌號碼_cb.Text = "" Then : MsgBox("請先輸入車牌,或選擇車牌") : Else
66
+            If 檔案名稱_tb.Text = "" Then : Set_流水號() : SQL_車輛保養紀錄表新增_無圖片() : conn.Close() : 檔案名稱_tb.Text = "" : Set_圖片顯示() : 流水號_tb.Text = ""
67
+            Else : PA49 = 檔案名稱_tb.Text : Set_流水號() : SQL_車輛保養紀錄表新增_有圖片() : conn.Close() : 檔案名稱_tb.Text = "" : Set_圖片顯示() : 流水號_tb.Text = ""
68
+            End If : Set_清單()
69
+        End If
70
+    End Sub
71
+    Private Sub 修改資料_bt_Click(sender As Object, e As EventArgs) Handles 修改資料_bt.Click
72
+        If 車牌號碼_cb.Text = "" Then : MsgBox("請先輸入車牌,或選擇車牌") : Else
73
+            If 檔案名稱_tb.Text = "" Then
74
+                Set_日期格式轉換() : SQL_車輛保養紀錄表修改_無圖片() : conn.Close() : 檔案名稱_tb.Text = "" : Set_圖片顯示() : 流水號_tb.Text = ""
75
+            Else
76
+                PA49 = 檔案名稱_tb.Text : Set_日期格式轉換() : SQL_車輛保養紀錄表修改_有圖片() : conn.Close() : 檔案名稱_tb.Text = "" : Set_圖片顯示() : 流水號_tb.Text = ""
77
+            End If : MsgBox("修改完成") : Set_清單()
78
+        End If
79
+    End Sub
80
+    Private Sub 讀取資料夾路徑_bt_Click(sender As Object, e As EventArgs) Handles 讀取資料夾路徑_bt.Click
81
+        開啟檔案.Filter = "圖片文件 (*.jpg; *.jpeg; *.png; *.bmp)|*.jpg;*.jpeg;*.png;*.bmp"
82
+        開啟檔案.Title = "選擇圖片文件"
83
+        開啟檔案.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)
84
+        If 開啟檔案.ShowDialog() = DialogResult.OK Then
85
+            Try
86
+                報告圖_pb.Image = Image.FromFile(開啟檔案.FileName) : 報告圖_pb.SizeMode = 4:   檔案名稱_tb.Text = 開啟檔案.FileName
87
+            Catch ex As Exception
88
+                MessageBox.Show("無法加載圖片: " & ex.Message, "錯誤", MessageBoxButtons.OK, MessageBoxIcon.Error)
89
+            End Try
90
+        End If
91
+    End Sub
92
+    Private Sub Button9_Click(sender As Object, e As EventArgs) Handles 順時鐘90度_bt.Click
93
+        報告圖_pb.Image.RotateFlip(RotateFlipType.Rotate90FlipNone) : 報告圖_pb.Refresh() : 報告圖_pb.SizeMode = 4
94
+    End Sub
95
+    Private Sub Button8_Click(sender As Object, e As EventArgs) Handles 逆時鐘90度_bt.Click
96
+        報告圖_pb.Image.RotateFlip(RotateFlipType.Rotate270FlipNone) : 報告圖_pb.Refresh() : 報告圖_pb.SizeMode = 4
97
+    End Sub
98
+    Private Sub Button7_Click(sender As Object, e As EventArgs) Handles 水平翻轉_bt.Click
99
+        報告圖_pb.Image.RotateFlip(RotateFlipType.Rotate180FlipY) : 報告圖_pb.Refresh() : 報告圖_pb.SizeMode = 4
100
+    End Sub
101
+    Private Sub Button6_Click(sender As Object, e As EventArgs) Handles 垂直翻轉_bt.Click
102
+        報告圖_pb.Image.RotateFlip(RotateFlipType.Rotate180FlipX) : 報告圖_pb.Refresh() : 報告圖_pb.SizeMode = 4
103
+    End Sub
104
+    Private Sub 放大_bt_Click(sender As Object, e As EventArgs) Handles 放大_bt.Click
105
+        Dim image = 報告圖_pb.Image : Dim g As Graphics = 報告圖_pb.CreateGraphics : g.DrawImage(image, New Rectangle(0, 0, image.Width * 2, image.Height * 2))
106
+    End Sub
107
+    Private Sub 復原_bt_Click(sender As Object, e As EventArgs) Handles 復原_bt.Click
108
+        報告圖_pb.Refresh()
109
+    End Sub
110
+End Class

MAOJI-ERP-SYS/業務系統管理/出貨單申請.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.Designer.vb Zobrazit soubor

@@ -770,6 +770,7 @@ Partial Class 出貨單申請
770 770
         Me.庫存_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
771 771
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
772 772
         Me.庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
773
+        Me.庫存_dgv.BackgroundColor = System.Drawing.Color.White
773 774
         Me.庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
774 775
         Me.庫存_dgv.Location = New System.Drawing.Point(8, 56)
775 776
         Me.庫存_dgv.Name = "庫存_dgv"
@@ -929,6 +930,7 @@ Partial Class 出貨單申請
929 930
             Or System.Windows.Forms.AnchorStyles.Left) _
930 931
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
931 932
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
933
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
932 934
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
933 935
         Me.明細_dgv.Location = New System.Drawing.Point(457, 129)
934 936
         Me.明細_dgv.Name = "明細_dgv"
@@ -945,6 +947,7 @@ Partial Class 出貨單申請
945 947
         Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
946 948
         Me.彙總_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
947 949
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
950
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
948 951
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
949 952
         Me.彙總_dgv.Location = New System.Drawing.Point(8, 367)
950 953
         Me.彙總_dgv.Name = "彙總_dgv"
@@ -1027,6 +1030,8 @@ Partial Class 出貨單申請
1027 1030
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
1028 1031
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
1029 1032
         Me.ClientSize = New System.Drawing.Size(1249, 611)
1033
+        Me.Controls.Add(Me.明細_dgv)
1034
+        Me.Controls.Add(Me.庫存_dgv)
1030 1035
         Me.Controls.Add(Me.列印產品標籤_bt)
1031 1036
         Me.Controls.Add(Me.列印出貨單_bt)
1032 1037
         Me.Controls.Add(Me.改佣金_bt)
@@ -1088,7 +1093,6 @@ Partial Class 出貨單申請
1088 1093
         Me.Controls.Add(Me.Label6)
1089 1094
         Me.Controls.Add(Me.物料關鍵字_tb)
1090 1095
         Me.Controls.Add(Me.Label1)
1091
-        Me.Controls.Add(Me.庫存_dgv)
1092 1096
         Me.Controls.Add(Me.依商品排序_ch)
1093 1097
         Me.Controls.Add(Me.依供應商排序_ch)
1094 1098
         Me.Controls.Add(Me.Label18)
@@ -1102,10 +1106,9 @@ Partial Class 出貨單申請
1102 1106
         Me.Controls.Add(Me.Label2)
1103 1107
         Me.Controls.Add(Me.Label20)
1104 1108
         Me.Controls.Add(Me.Label26)
1105
-        Me.Controls.Add(Me.明細_dgv)
1106 1109
         Me.Controls.Add(Me.彙總_dgv)
1107 1110
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1108
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
1111
+        Me.Margin = New System.Windows.Forms.Padding(4)
1109 1112
         Me.Name = "出貨單申請"
1110 1113
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
1111 1114
         Me.Text = "出貨單申請"

MAOJI-ERP-SYS/業務系統管理/出貨單申請.resx → MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/出貨單申請.vb → MAOJI-ERP-SYS/04、業務系統管理/出貨單申請.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/出貨確認.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/出貨確認.Designer.vb Zobrazit soubor

@@ -23,8 +23,8 @@ Partial Class 出貨確認
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle4 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
         Me.佣金修改_bt = New System.Windows.Forms.Button()
29 29
         Me.司機比例_cb = New System.Windows.Forms.ComboBox()
30 30
         Me.Label28 = New System.Windows.Forms.Label()
@@ -243,18 +243,19 @@ Partial Class 出貨確認
243 243
         '
244 244
         '銷售出貨_dgv
245 245
         '
246
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
247
-        Me.銷售出貨_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
246
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
247
+        Me.銷售出貨_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
248 248
         Me.銷售出貨_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
249 249
             Or System.Windows.Forms.AnchorStyles.Left) _
250 250
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
251 251
         Me.銷售出貨_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
252
+        Me.銷售出貨_dgv.BackgroundColor = System.Drawing.Color.White
252 253
         Me.銷售出貨_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
253 254
         Me.銷售出貨_dgv.Location = New System.Drawing.Point(7, 58)
254 255
         Me.銷售出貨_dgv.Name = "銷售出貨_dgv"
255 256
         Me.銷售出貨_dgv.RowHeadersWidth = 5
256
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
257
-        Me.銷售出貨_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
257
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
258
+        Me.銷售出貨_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
258 259
         Me.銷售出貨_dgv.RowTemplate.Height = 24
259 260
         Me.銷售出貨_dgv.Size = New System.Drawing.Size(1235, 547)
260 261
         Me.銷售出貨_dgv.TabIndex = 1150
@@ -356,7 +357,7 @@ Partial Class 出貨確認
356 357
         Me.Controls.Add(Me.Label4)
357 358
         Me.Controls.Add(Me.Label20)
358 359
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
359
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
360
+        Me.Margin = New System.Windows.Forms.Padding(4)
360 361
         Me.Name = "出貨確認"
361 362
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
362 363
         Me.Text = "出貨確認"

MAOJI-ERP-SYS/業務系統管理/出貨確認.resx → MAOJI-ERP-SYS/04、業務系統管理/出貨確認.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/出貨確認.vb → MAOJI-ERP-SYS/04、業務系統管理/出貨確認.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/列印_出貨單.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.Designer.vb Zobrazit soubor

@@ -473,6 +473,7 @@ Partial Class 列印_出貨單
473 473
         '出貨明細_dgv
474 474
         '
475 475
         Me.出貨明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
476
+        Me.出貨明細_dgv.BackgroundColor = System.Drawing.Color.White
476 477
         Me.出貨明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
477 478
         Me.出貨明細_dgv.Location = New System.Drawing.Point(116, 196)
478 479
         Me.出貨明細_dgv.Name = "出貨明細_dgv"
@@ -873,7 +874,7 @@ Partial Class 列印_出貨單
873 874
         Me.Controls.Add(Me.Label2)
874 875
         Me.Controls.Add(Me.Label1)
875 876
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
876
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
877
+        Me.Margin = New System.Windows.Forms.Padding(4)
877 878
         Me.Name = "列印_出貨單"
878 879
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
879 880
         Me.Text = "列印_出貨單"

MAOJI-ERP-SYS/業務系統管理/列印_出貨單.resx → MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/列印_出貨單.vb → MAOJI-ERP-SYS/04、業務系統管理/列印_出貨單.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/客戶資料管理.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.Designer.vb Zobrazit soubor

@@ -23,8 +23,8 @@ Partial Class 客戶資料管理
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle4 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
         Me.只顯示35筆資料_ch = New System.Windows.Forms.CheckBox()
29 29
         Me.付款編號_tb = New System.Windows.Forms.TextBox()
30 30
         Me.可全選_ch = New System.Windows.Forms.CheckBox()
@@ -92,6 +92,7 @@ Partial Class 客戶資料管理
92 92
         Me.資料存檔整體清單ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
93 93
         Me.ToolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator()
94 94
         Me.資料刪除ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
95
+        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
95 96
         CType(Me.客戶清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
96 97
         Me.ContextMenuStrip1.SuspendLayout()
97 98
         Me.SuspendLayout()
@@ -99,11 +100,11 @@ Partial Class 客戶資料管理
99 100
         '只顯示35筆資料_ch
100 101
         '
101 102
         Me.只顯示35筆資料_ch.AutoSize = True
102
-        Me.只顯示35筆資料_ch.Location = New System.Drawing.Point(478, 196)
103
+        Me.只顯示35筆資料_ch.Location = New System.Drawing.Point(88, 172)
103 104
         Me.只顯示35筆資料_ch.Name = "只顯示35筆資料_ch"
104
-        Me.只顯示35筆資料_ch.Size = New System.Drawing.Size(112, 20)
105
+        Me.只顯示35筆資料_ch.Size = New System.Drawing.Size(88, 20)
105 106
         Me.只顯示35筆資料_ch.TabIndex = 1049
106
-        Me.只顯示35筆資料_ch.Text = "只顯示35筆資料"
107
+        Me.只顯示35筆資料_ch.Text = "只顯示35筆"
107 108
         Me.只顯示35筆資料_ch.UseVisualStyleBackColor = True
108 109
         '
109 110
         '付款編號_tb
@@ -117,7 +118,7 @@ Partial Class 客戶資料管理
117 118
         '可全選_ch
118 119
         '
119 120
         Me.可全選_ch.AutoSize = True
120
-        Me.可全選_ch.Location = New System.Drawing.Point(157, 195)
121
+        Me.可全選_ch.Location = New System.Drawing.Point(76, 82)
121 122
         Me.可全選_ch.Name = "可全選_ch"
122 123
         Me.可全選_ch.Size = New System.Drawing.Size(62, 20)
123 124
         Me.可全選_ch.TabIndex = 1047
@@ -128,10 +129,10 @@ Partial Class 客戶資料管理
128 129
         '
129 130
         Me.模式一_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
130 131
         Me.模式一_bt.ForeColor = System.Drawing.Color.Black
131
-        Me.模式一_bt.Location = New System.Drawing.Point(7, 193)
132
+        Me.模式一_bt.Location = New System.Drawing.Point(2, 53)
132 133
         Me.模式一_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
133 134
         Me.模式一_bt.Name = "模式一_bt"
134
-        Me.模式一_bt.Size = New System.Drawing.Size(69, 23)
135
+        Me.模式一_bt.Size = New System.Drawing.Size(69, 26)
135 136
         Me.模式一_bt.TabIndex = 1046
136 137
         Me.模式一_bt.Text = "模式一"
137 138
         Me.模式一_bt.UseVisualStyleBackColor = True
@@ -140,66 +141,70 @@ Partial Class 客戶資料管理
140 141
         '
141 142
         Me.模式二_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
142 143
         Me.模式二_bt.ForeColor = System.Drawing.Color.Black
143
-        Me.模式二_bt.Location = New System.Drawing.Point(82, 193)
144
+        Me.模式二_bt.Location = New System.Drawing.Point(71, 53)
144 145
         Me.模式二_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
145 146
         Me.模式二_bt.Name = "模式二_bt"
146
-        Me.模式二_bt.Size = New System.Drawing.Size(69, 23)
147
+        Me.模式二_bt.Size = New System.Drawing.Size(69, 26)
147 148
         Me.模式二_bt.TabIndex = 1045
148 149
         Me.模式二_bt.Text = "模式二"
149 150
         Me.模式二_bt.UseVisualStyleBackColor = True
150 151
         '
151 152
         '單筆存檔_bt
152 153
         '
154
+        Me.單筆存檔_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.SAVER
155
+        Me.單筆存檔_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
153 156
         Me.單筆存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
154 157
         Me.單筆存檔_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
155
-        Me.單筆存檔_bt.Location = New System.Drawing.Point(627, 192)
158
+        Me.單筆存檔_bt.Location = New System.Drawing.Point(239, 54)
156 159
         Me.單筆存檔_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
157 160
         Me.單筆存檔_bt.Name = "單筆存檔_bt"
158
-        Me.單筆存檔_bt.Size = New System.Drawing.Size(144, 23)
161
+        Me.單筆存檔_bt.Size = New System.Drawing.Size(50, 50)
159 162
         Me.單筆存檔_bt.TabIndex = 1044
160
-        Me.單筆存檔_bt.Text = "資料存檔(單一筆資料)"
161 163
         Me.單筆存檔_bt.UseVisualStyleBackColor = True
162 164
         '
163 165
         '關鍵字查詢_bt
164 166
         '
167
+        Me.關鍵字查詢_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.Search
168
+        Me.關鍵字查詢_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
165 169
         Me.關鍵字查詢_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
166 170
         Me.關鍵字查詢_bt.ForeColor = System.Drawing.Color.Black
167
-        Me.關鍵字查詢_bt.Location = New System.Drawing.Point(226, 193)
171
+        Me.關鍵字查詢_bt.Location = New System.Drawing.Point(139, 54)
168 172
         Me.關鍵字查詢_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
169 173
         Me.關鍵字查詢_bt.Name = "關鍵字查詢_bt"
170
-        Me.關鍵字查詢_bt.Size = New System.Drawing.Size(120, 23)
174
+        Me.關鍵字查詢_bt.Size = New System.Drawing.Size(50, 50)
171 175
         Me.關鍵字查詢_bt.TabIndex = 1043
172
-        Me.關鍵字查詢_bt.Text = "關鍵字查詢"
173 176
         Me.關鍵字查詢_bt.UseVisualStyleBackColor = True
174 177
         '
175 178
         '批量存檔_bt
176 179
         '
180
+        Me.批量存檔_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.SAVER2
181
+        Me.批量存檔_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
177 182
         Me.批量存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
178 183
         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(777, 192)
184
+        Me.批量存檔_bt.Location = New System.Drawing.Point(289, 54)
180 185
         Me.批量存檔_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
181 186
         Me.批量存檔_bt.Name = "批量存檔_bt"
182
-        Me.批量存檔_bt.Size = New System.Drawing.Size(314, 23)
187
+        Me.批量存檔_bt.Size = New System.Drawing.Size(50, 50)
183 188
         Me.批量存檔_bt.TabIndex = 1042
184
-        Me.批量存檔_bt.Text = "資料存檔 - 整體清單 - 適用excel表格資料貼上"
185 189
         Me.批量存檔_bt.UseVisualStyleBackColor = True
186 190
         '
187 191
         '新增一筆空白資料_bt
188 192
         '
193
+        Me.新增一筆空白資料_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.add_2
194
+        Me.新增一筆空白資料_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
189 195
         Me.新增一筆空白資料_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
190 196
         Me.新增一筆空白資料_bt.ForeColor = System.Drawing.Color.Green
191
-        Me.新增一筆空白資料_bt.Location = New System.Drawing.Point(352, 193)
197
+        Me.新增一筆空白資料_bt.Location = New System.Drawing.Point(189, 54)
192 198
         Me.新增一筆空白資料_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
193 199
         Me.新增一筆空白資料_bt.Name = "新增一筆空白資料_bt"
194
-        Me.新增一筆空白資料_bt.Size = New System.Drawing.Size(120, 23)
200
+        Me.新增一筆空白資料_bt.Size = New System.Drawing.Size(50, 50)
195 201
         Me.新增一筆空白資料_bt.TabIndex = 1041
196
-        Me.新增一筆空白資料_bt.Text = "新增一筆空白資料"
197 202
         Me.新增一筆空白資料_bt.UseVisualStyleBackColor = True
198 203
         '
199 204
         '建立日期_dtp
200 205
         '
201 206
         Me.建立日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
202
-        Me.建立日期_dtp.Location = New System.Drawing.Point(1157, 191)
207
+        Me.建立日期_dtp.Location = New System.Drawing.Point(1157, 81)
203 208
         Me.建立日期_dtp.Name = "建立日期_dtp"
204 209
         Me.建立日期_dtp.Size = New System.Drawing.Size(87, 23)
205 210
         Me.建立日期_dtp.TabIndex = 1040
@@ -209,7 +214,7 @@ Partial Class 客戶資料管理
209 214
         Me.付款方式_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
210 215
         Me.付款方式_cb.FormattingEnabled = True
211 216
         Me.付款方式_cb.Items.AddRange(New Object() {"男", "女", "NA"})
212
-        Me.付款方式_cb.Location = New System.Drawing.Point(219, 32)
217
+        Me.付款方式_cb.Location = New System.Drawing.Point(219, 28)
213 218
         Me.付款方式_cb.Name = "付款方式_cb"
214 219
         Me.付款方式_cb.Size = New System.Drawing.Size(121, 24)
215 220
         Me.付款方式_cb.TabIndex = 1039
@@ -218,26 +223,28 @@ Partial Class 客戶資料管理
218 223
         '
219 224
         Me.Label21.AutoSize = True
220 225
         Me.Label21.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
221
-        Me.Label21.Location = New System.Drawing.Point(4, 115)
226
+        Me.Label21.Location = New System.Drawing.Point(1246, 7)
222 227
         Me.Label21.Name = "Label21"
223
-        Me.Label21.Size = New System.Drawing.Size(34, 17)
228
+        Me.Label21.Size = New System.Drawing.Size(21, 34)
224 229
         Me.Label21.TabIndex = 1037
225
-        Me.Label21.Text = "備註"
230
+        Me.Label21.Text = "備" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "註"
226 231
         '
227 232
         '備註_tb
228 233
         '
234
+        Me.備註_tb.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
235
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
229 236
         Me.備註_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
230
-        Me.備註_tb.Location = New System.Drawing.Point(38, 112)
237
+        Me.備註_tb.Location = New System.Drawing.Point(1267, 4)
231 238
         Me.備註_tb.Multiline = True
232 239
         Me.備註_tb.Name = "備註_tb"
233 240
         Me.備註_tb.ScrollBars = System.Windows.Forms.ScrollBars.Both
234
-        Me.備註_tb.Size = New System.Drawing.Size(1206, 78)
241
+        Me.備註_tb.Size = New System.Drawing.Size(233, 100)
235 242
         Me.備註_tb.TabIndex = 1035
236 243
         '
237 244
         '負責業務_tb
238 245
         '
239 246
         Me.負責業務_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
240
-        Me.負責業務_tb.Location = New System.Drawing.Point(1156, 85)
247
+        Me.負責業務_tb.Location = New System.Drawing.Point(1156, 53)
241 248
         Me.負責業務_tb.Name = "負責業務_tb"
242 249
         Me.負責業務_tb.Size = New System.Drawing.Size(88, 25)
243 250
         Me.負責業務_tb.TabIndex = 1033
@@ -246,7 +253,7 @@ Partial Class 客戶資料管理
246 253
         '
247 254
         Me.Label18.AutoSize = True
248 255
         Me.Label18.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
249
-        Me.Label18.Location = New System.Drawing.Point(4, 62)
256
+        Me.Label18.Location = New System.Drawing.Point(490, 83)
250 257
         Me.Label18.Name = "Label18"
251 258
         Me.Label18.Size = New System.Drawing.Size(34, 17)
252 259
         Me.Label18.TabIndex = 1032
@@ -255,7 +262,7 @@ Partial Class 客戶資料管理
255 262
         '折扣_tb
256 263
         '
257 264
         Me.折扣_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
258
-        Me.折扣_tb.Location = New System.Drawing.Point(38, 58)
265
+        Me.折扣_tb.Location = New System.Drawing.Point(524, 79)
259 266
         Me.折扣_tb.Name = "折扣_tb"
260 267
         Me.折扣_tb.Size = New System.Drawing.Size(121, 25)
261 268
         Me.折扣_tb.TabIndex = 1031
@@ -263,39 +270,39 @@ Partial Class 客戶資料管理
263 270
         'LineID_tb
264 271
         '
265 272
         Me.LineID_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
266
-        Me.LineID_tb.Location = New System.Drawing.Point(400, 58)
273
+        Me.LineID_tb.Location = New System.Drawing.Point(400, 79)
267 274
         Me.LineID_tb.Name = "LineID_tb"
268
-        Me.LineID_tb.Size = New System.Drawing.Size(245, 25)
275
+        Me.LineID_tb.Size = New System.Drawing.Size(89, 25)
269 276
         Me.LineID_tb.TabIndex = 1029
270 277
         '
271 278
         '發票額度_tb
272 279
         '
273 280
         Me.發票額度_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
274
-        Me.發票額度_tb.Location = New System.Drawing.Point(219, 58)
281
+        Me.發票額度_tb.Location = New System.Drawing.Point(61, 28)
275 282
         Me.發票額度_tb.Name = "發票額度_tb"
276
-        Me.發票額度_tb.Size = New System.Drawing.Size(121, 25)
283
+        Me.發票額度_tb.Size = New System.Drawing.Size(98, 25)
277 284
         Me.發票額度_tb.TabIndex = 1027
278 285
         '
279 286
         '發票地址郵號_tb
280 287
         '
281 288
         Me.發票地址郵號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
282
-        Me.發票地址郵號_tb.Location = New System.Drawing.Point(574, 86)
289
+        Me.發票地址郵號_tb.Location = New System.Drawing.Point(735, 78)
283 290
         Me.發票地址郵號_tb.Name = "發票地址郵號_tb"
284
-        Me.發票地址郵號_tb.Size = New System.Drawing.Size(73, 25)
291
+        Me.發票地址郵號_tb.Size = New System.Drawing.Size(69, 25)
285 292
         Me.發票地址郵號_tb.TabIndex = 1025
286 293
         '
287 294
         '發票地址_tb
288 295
         '
289 296
         Me.發票地址_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
290
-        Me.發票地址_tb.Location = New System.Drawing.Point(708, 31)
297
+        Me.發票地址_tb.Location = New System.Drawing.Point(708, 27)
291 298
         Me.發票地址_tb.Name = "發票地址_tb"
292
-        Me.發票地址_tb.Size = New System.Drawing.Size(536, 25)
299
+        Me.發票地址_tb.Size = New System.Drawing.Size(380, 25)
293 300
         Me.發票地址_tb.TabIndex = 1023
294 301
         '
295 302
         '發票抬頭_tb
296 303
         '
297 304
         Me.發票抬頭_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
298
-        Me.發票抬頭_tb.Location = New System.Drawing.Point(400, 31)
305
+        Me.發票抬頭_tb.Location = New System.Drawing.Point(400, 27)
299 306
         Me.發票抬頭_tb.Name = "發票抬頭_tb"
300 307
         Me.發票抬頭_tb.Size = New System.Drawing.Size(245, 25)
301 308
         Me.發票抬頭_tb.TabIndex = 1021
@@ -304,7 +311,7 @@ Partial Class 客戶資料管理
304 311
         '
305 312
         Me.Label12.AutoSize = True
306 313
         Me.Label12.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
307
-        Me.Label12.Location = New System.Drawing.Point(4, 34)
314
+        Me.Label12.Location = New System.Drawing.Point(535, 5)
308 315
         Me.Label12.Name = "Label12"
309 316
         Me.Label12.Size = New System.Drawing.Size(34, 17)
310 317
         Me.Label12.TabIndex = 1020
@@ -313,15 +320,16 @@ Partial Class 客戶資料管理
313 320
         '統編_tb
314 321
         '
315 322
         Me.統編_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
316
-        Me.統編_tb.Location = New System.Drawing.Point(38, 31)
323
+        Me.統編_tb.Location = New System.Drawing.Point(568, 2)
317 324
         Me.統編_tb.Name = "統編_tb"
318
-        Me.統編_tb.Size = New System.Drawing.Size(121, 25)
325
+        Me.統編_tb.Size = New System.Drawing.Size(76, 25)
319 326
         Me.統編_tb.TabIndex = 1019
327
+        Me.統編_tb.Text = "54986841"
320 328
         '
321 329
         '傳真_tb
322 330
         '
323 331
         Me.傳真_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
324
-        Me.傳真_tb.Location = New System.Drawing.Point(975, 85)
332
+        Me.傳真_tb.Location = New System.Drawing.Point(1123, 2)
325 333
         Me.傳真_tb.Name = "傳真_tb"
326 334
         Me.傳真_tb.Size = New System.Drawing.Size(121, 25)
327 335
         Me.傳真_tb.TabIndex = 1017
@@ -329,7 +337,7 @@ Partial Class 客戶資料管理
329 337
         '手機_tb
330 338
         '
331 339
         Me.手機_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
332
-        Me.手機_tb.Location = New System.Drawing.Point(366, 84)
340
+        Me.手機_tb.Location = New System.Drawing.Point(524, 53)
333 341
         Me.手機_tb.Name = "手機_tb"
334 342
         Me.手機_tb.Size = New System.Drawing.Size(121, 25)
335 343
         Me.手機_tb.TabIndex = 1015
@@ -337,7 +345,7 @@ Partial Class 客戶資料管理
337 345
         '電話_tb
338 346
         '
339 347
         Me.電話_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
340
-        Me.電話_tb.Location = New System.Drawing.Point(819, 85)
348
+        Me.電話_tb.Location = New System.Drawing.Point(1123, 27)
341 349
         Me.電話_tb.Name = "電話_tb"
342 350
         Me.電話_tb.Size = New System.Drawing.Size(121, 25)
343 351
         Me.電話_tb.TabIndex = 1013
@@ -345,32 +353,32 @@ Partial Class 客戶資料管理
345 353
         '聯絡人_tb
346 354
         '
347 355
         Me.聯絡人_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
348
-        Me.聯絡人_tb.Location = New System.Drawing.Point(694, 85)
356
+        Me.聯絡人_tb.Location = New System.Drawing.Point(850, 78)
349 357
         Me.聯絡人_tb.Name = "聯絡人_tb"
350
-        Me.聯絡人_tb.Size = New System.Drawing.Size(91, 25)
358
+        Me.聯絡人_tb.Size = New System.Drawing.Size(87, 25)
351 359
         Me.聯絡人_tb.TabIndex = 1011
352 360
         '
353 361
         '負責人_tb
354 362
         '
355 363
         Me.負責人_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
356
-        Me.負責人_tb.Location = New System.Drawing.Point(210, 85)
364
+        Me.負責人_tb.Location = New System.Drawing.Point(400, 53)
357 365
         Me.負責人_tb.Name = "負責人_tb"
358
-        Me.負責人_tb.Size = New System.Drawing.Size(121, 25)
366
+        Me.負責人_tb.Size = New System.Drawing.Size(89, 25)
359 367
         Me.負責人_tb.TabIndex = 1009
360 368
         '
361 369
         '送貨地址_tb
362 370
         '
363 371
         Me.送貨地址_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
364
-        Me.送貨地址_tb.Location = New System.Drawing.Point(708, 58)
372
+        Me.送貨地址_tb.Location = New System.Drawing.Point(708, 52)
365 373
         Me.送貨地址_tb.Name = "送貨地址_tb"
366
-        Me.送貨地址_tb.Size = New System.Drawing.Size(536, 25)
374
+        Me.送貨地址_tb.Size = New System.Drawing.Size(380, 25)
367 375
         Me.送貨地址_tb.TabIndex = 1007
368 376
         '
369 377
         'Label5
370 378
         '
371 379
         Me.Label5.AutoSize = True
372 380
         Me.Label5.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
373
-        Me.Label5.Location = New System.Drawing.Point(4, 88)
381
+        Me.Label5.Location = New System.Drawing.Point(937, 81)
374 382
         Me.Label5.Name = "Label5"
375 383
         Me.Label5.Size = New System.Drawing.Size(86, 17)
376 384
         Me.Label5.TabIndex = 1006
@@ -379,23 +387,23 @@ Partial Class 客戶資料管理
379 387
         '店面地址郵號_tb
380 388
         '
381 389
         Me.店面地址郵號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
382
-        Me.店面地址郵號_tb.Location = New System.Drawing.Point(90, 85)
390
+        Me.店面地址郵號_tb.Location = New System.Drawing.Point(1023, 78)
383 391
         Me.店面地址郵號_tb.Name = "店面地址郵號_tb"
384
-        Me.店面地址郵號_tb.Size = New System.Drawing.Size(73, 25)
392
+        Me.店面地址郵號_tb.Size = New System.Drawing.Size(65, 25)
385 393
         Me.店面地址郵號_tb.TabIndex = 1005
386 394
         '
387 395
         '店面地址_tb
388 396
         '
389 397
         Me.店面地址_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
390
-        Me.店面地址_tb.Location = New System.Drawing.Point(708, 4)
398
+        Me.店面地址_tb.Location = New System.Drawing.Point(708, 2)
391 399
         Me.店面地址_tb.Name = "店面地址_tb"
392
-        Me.店面地址_tb.Size = New System.Drawing.Size(536, 25)
400
+        Me.店面地址_tb.Size = New System.Drawing.Size(380, 25)
393 401
         Me.店面地址_tb.TabIndex = 1003
394 402
         '
395 403
         '簡稱_tb
396 404
         '
397 405
         Me.簡稱_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
398
-        Me.簡稱_tb.Location = New System.Drawing.Point(219, 5)
406
+        Me.簡稱_tb.Location = New System.Drawing.Point(219, 3)
399 407
         Me.簡稱_tb.Name = "簡稱_tb"
400 408
         Me.簡稱_tb.Size = New System.Drawing.Size(121, 25)
401 409
         Me.簡稱_tb.TabIndex = 1001
@@ -403,16 +411,16 @@ Partial Class 客戶資料管理
403 411
         '店名_tb
404 412
         '
405 413
         Me.店名_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
406
-        Me.店名_tb.Location = New System.Drawing.Point(400, 4)
414
+        Me.店名_tb.Location = New System.Drawing.Point(400, 2)
407 415
         Me.店名_tb.Name = "店名_tb"
408
-        Me.店名_tb.Size = New System.Drawing.Size(245, 25)
416
+        Me.店名_tb.Size = New System.Drawing.Size(136, 25)
409 417
         Me.店名_tb.TabIndex = 999
410 418
         '
411 419
         'Label1
412 420
         '
413 421
         Me.Label1.AutoSize = True
414 422
         Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
415
-        Me.Label1.Location = New System.Drawing.Point(4, 7)
423
+        Me.Label1.Location = New System.Drawing.Point(4, 5)
416 424
         Me.Label1.Name = "Label1"
417 425
         Me.Label1.Size = New System.Drawing.Size(34, 17)
418 426
         Me.Label1.TabIndex = 998
@@ -421,32 +429,33 @@ Partial Class 客戶資料管理
421 429
         '編號_tb
422 430
         '
423 431
         Me.編號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
424
-        Me.編號_tb.Location = New System.Drawing.Point(38, 4)
432
+        Me.編號_tb.Location = New System.Drawing.Point(38, 2)
425 433
         Me.編號_tb.Name = "編號_tb"
426 434
         Me.編號_tb.Size = New System.Drawing.Size(121, 25)
427 435
         Me.編號_tb.TabIndex = 997
428 436
         '
429 437
         '客戶清單_dgv
430 438
         '
431
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
432
-        Me.客戶清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
439
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
440
+        Me.客戶清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
433 441
         Me.客戶清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
434 442
             Or System.Windows.Forms.AnchorStyles.Left) _
435 443
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
444
+        Me.客戶清單_dgv.BackgroundColor = System.Drawing.Color.White
436 445
         Me.客戶清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
437
-        Me.客戶清單_dgv.Location = New System.Drawing.Point(7, 217)
446
+        Me.客戶清單_dgv.Location = New System.Drawing.Point(3, 105)
438 447
         Me.客戶清單_dgv.Name = "客戶清單_dgv"
439 448
         Me.客戶清單_dgv.RowHeadersWidth = 5
440
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
441
-        Me.客戶清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
449
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
450
+        Me.客戶清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
442 451
         Me.客戶清單_dgv.RowTemplate.Height = 24
443
-        Me.客戶清單_dgv.Size = New System.Drawing.Size(1237, 390)
452
+        Me.客戶清單_dgv.Size = New System.Drawing.Size(1498, 502)
444 453
         Me.客戶清單_dgv.TabIndex = 996
445 454
         '
446 455
         'Label22
447 456
         '
448 457
         Me.Label22.AutoSize = True
449
-        Me.Label22.Location = New System.Drawing.Point(164, 35)
458
+        Me.Label22.Location = New System.Drawing.Point(164, 31)
450 459
         Me.Label22.Name = "Label22"
451 460
         Me.Label22.Size = New System.Drawing.Size(55, 16)
452 461
         Me.Label22.TabIndex = 1038
@@ -456,7 +465,7 @@ Partial Class 客戶資料管理
456 465
         '
457 466
         Me.Label16.AutoSize = True
458 467
         Me.Label16.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
459
-        Me.Label16.Location = New System.Drawing.Point(160, 62)
468
+        Me.Label16.Location = New System.Drawing.Point(2, 32)
460 469
         Me.Label16.Name = "Label16"
461 470
         Me.Label16.Size = New System.Drawing.Size(60, 17)
462 471
         Me.Label16.TabIndex = 1028
@@ -466,7 +475,7 @@ Partial Class 客戶資料管理
466 475
         '
467 476
         Me.Label3.AutoSize = True
468 477
         Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
469
-        Me.Label3.Location = New System.Drawing.Point(186, 8)
478
+        Me.Label3.Location = New System.Drawing.Point(186, 6)
470 479
         Me.Label3.Name = "Label3"
471 480
         Me.Label3.Size = New System.Drawing.Size(34, 17)
472 481
         Me.Label3.TabIndex = 1002
@@ -476,7 +485,7 @@ Partial Class 客戶資料管理
476 485
         '
477 486
         Me.Label20.AutoSize = True
478 487
         Me.Label20.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
479
-        Me.Label20.Location = New System.Drawing.Point(1099, 195)
488
+        Me.Label20.Location = New System.Drawing.Point(1090, 81)
480 489
         Me.Label20.Name = "Label20"
481 490
         Me.Label20.Size = New System.Drawing.Size(60, 17)
482 491
         Me.Label20.TabIndex = 1036
@@ -486,7 +495,7 @@ Partial Class 客戶資料管理
486 495
         '
487 496
         Me.Label13.AutoSize = True
488 497
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
489
-        Me.Label13.Location = New System.Drawing.Point(342, 34)
498
+        Me.Label13.Location = New System.Drawing.Point(342, 30)
490 499
         Me.Label13.Name = "Label13"
491 500
         Me.Label13.Size = New System.Drawing.Size(60, 17)
492 501
         Me.Label13.TabIndex = 1022
@@ -496,17 +505,17 @@ Partial Class 客戶資料管理
496 505
         '
497 506
         Me.Label2.AutoSize = True
498 507
         Me.Label2.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
499
-        Me.Label2.Location = New System.Drawing.Point(368, 7)
508
+        Me.Label2.Location = New System.Drawing.Point(341, 5)
500 509
         Me.Label2.Name = "Label2"
501
-        Me.Label2.Size = New System.Drawing.Size(34, 17)
510
+        Me.Label2.Size = New System.Drawing.Size(61, 17)
502 511
         Me.Label2.TabIndex = 1000
503
-        Me.Label2.Text = "店名"
512
+        Me.Label2.Text = "店         名"
504 513
         '
505 514
         'Label14
506 515
         '
507 516
         Me.Label14.AutoSize = True
508 517
         Me.Label14.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
509
-        Me.Label14.Location = New System.Drawing.Point(649, 34)
518
+        Me.Label14.Location = New System.Drawing.Point(649, 30)
510 519
         Me.Label14.Name = "Label14"
511 520
         Me.Label14.Size = New System.Drawing.Size(60, 17)
512 521
         Me.Label14.TabIndex = 1024
@@ -516,7 +525,7 @@ Partial Class 客戶資料管理
516 525
         '
517 526
         Me.Label6.AutoSize = True
518 527
         Me.Label6.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
519
-        Me.Label6.Location = New System.Drawing.Point(649, 61)
528
+        Me.Label6.Location = New System.Drawing.Point(649, 55)
520 529
         Me.Label6.Name = "Label6"
521 530
         Me.Label6.Size = New System.Drawing.Size(60, 17)
522 531
         Me.Label6.TabIndex = 1008
@@ -526,7 +535,7 @@ Partial Class 客戶資料管理
526 535
         '
527 536
         Me.Label4.AutoSize = True
528 537
         Me.Label4.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
529
-        Me.Label4.Location = New System.Drawing.Point(649, 7)
538
+        Me.Label4.Location = New System.Drawing.Point(649, 5)
530 539
         Me.Label4.Name = "Label4"
531 540
         Me.Label4.Size = New System.Drawing.Size(60, 17)
532 541
         Me.Label4.TabIndex = 1004
@@ -536,17 +545,17 @@ Partial Class 客戶資料管理
536 545
         '
537 546
         Me.Label7.AutoSize = True
538 547
         Me.Label7.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
539
-        Me.Label7.Location = New System.Drawing.Point(165, 88)
548
+        Me.Label7.Location = New System.Drawing.Point(343, 56)
540 549
         Me.Label7.Name = "Label7"
541
-        Me.Label7.Size = New System.Drawing.Size(47, 17)
550
+        Me.Label7.Size = New System.Drawing.Size(59, 17)
542 551
         Me.Label7.TabIndex = 1010
543
-        Me.Label7.Text = "負責人"
552
+        Me.Label7.Text = "負    人"
544 553
         '
545 554
         'Label10
546 555
         '
547 556
         Me.Label10.AutoSize = True
548 557
         Me.Label10.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
549
-        Me.Label10.Location = New System.Drawing.Point(333, 87)
558
+        Me.Label10.Location = New System.Drawing.Point(491, 55)
550 559
         Me.Label10.Name = "Label10"
551 560
         Me.Label10.Size = New System.Drawing.Size(34, 17)
552 561
         Me.Label10.TabIndex = 1016
@@ -556,7 +565,7 @@ Partial Class 客戶資料管理
556 565
         '
557 566
         Me.Label15.AutoSize = True
558 567
         Me.Label15.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
559
-        Me.Label15.Location = New System.Drawing.Point(489, 89)
568
+        Me.Label15.Location = New System.Drawing.Point(650, 81)
560 569
         Me.Label15.Name = "Label15"
561 570
         Me.Label15.Size = New System.Drawing.Size(86, 17)
562 571
         Me.Label15.TabIndex = 1026
@@ -566,7 +575,7 @@ Partial Class 客戶資料管理
566 575
         '
567 576
         Me.Label8.AutoSize = True
568 577
         Me.Label8.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
569
-        Me.Label8.Location = New System.Drawing.Point(649, 88)
578
+        Me.Label8.Location = New System.Drawing.Point(805, 81)
570 579
         Me.Label8.Name = "Label8"
571 580
         Me.Label8.Size = New System.Drawing.Size(47, 17)
572 581
         Me.Label8.TabIndex = 1012
@@ -576,7 +585,7 @@ Partial Class 客戶資料管理
576 585
         '
577 586
         Me.Label11.AutoSize = True
578 587
         Me.Label11.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
579
-        Me.Label11.Location = New System.Drawing.Point(942, 88)
588
+        Me.Label11.Location = New System.Drawing.Point(1090, 5)
580 589
         Me.Label11.Name = "Label11"
581 590
         Me.Label11.Size = New System.Drawing.Size(34, 17)
582 591
         Me.Label11.TabIndex = 1018
@@ -586,7 +595,7 @@ Partial Class 客戶資料管理
586 595
         '
587 596
         Me.Label9.AutoSize = True
588 597
         Me.Label9.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
589
-        Me.Label9.Location = New System.Drawing.Point(786, 89)
598
+        Me.Label9.Location = New System.Drawing.Point(1090, 31)
590 599
         Me.Label9.Name = "Label9"
591 600
         Me.Label9.Size = New System.Drawing.Size(34, 17)
592 601
         Me.Label9.TabIndex = 1014
@@ -596,7 +605,7 @@ Partial Class 客戶資料管理
596 605
         '
597 606
         Me.Label19.AutoSize = True
598 607
         Me.Label19.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
599
-        Me.Label19.Location = New System.Drawing.Point(1097, 89)
608
+        Me.Label19.Location = New System.Drawing.Point(1090, 56)
600 609
         Me.Label19.Name = "Label19"
601 610
         Me.Label19.Size = New System.Drawing.Size(60, 17)
602 611
         Me.Label19.TabIndex = 1034
@@ -606,11 +615,11 @@ Partial Class 客戶資料管理
606 615
         '
607 616
         Me.Label17.AutoSize = True
608 617
         Me.Label17.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
609
-        Me.Label17.Location = New System.Drawing.Point(354, 61)
618
+        Me.Label17.Location = New System.Drawing.Point(345, 82)
610 619
         Me.Label17.Name = "Label17"
611
-        Me.Label17.Size = New System.Drawing.Size(47, 17)
620
+        Me.Label17.Size = New System.Drawing.Size(56, 17)
612 621
         Me.Label17.TabIndex = 1030
613
-        Me.Label17.Text = "LineID"
622
+        Me.Label17.Text = "Line   ID"
614 623
         '
615 624
         'ContextMenuStrip1
616 625
         '
@@ -693,12 +702,20 @@ Partial Class 客戶資料管理
693 702
         Me.資料刪除ToolStripMenuItem.Size = New System.Drawing.Size(190, 22)
694 703
         Me.資料刪除ToolStripMenuItem.Text = "資料刪除"
695 704
         '
705
+        'ToolTip1
706
+        '
707
+        Me.ToolTip1.AutoPopDelay = 5000
708
+        Me.ToolTip1.InitialDelay = 500
709
+        Me.ToolTip1.IsBalloon = True
710
+        Me.ToolTip1.ReshowDelay = 100
711
+        Me.ToolTip1.ToolTipTitle = "系統說明"
712
+        '
696 713
         '客戶資料管理
697 714
         '
698 715
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
699 716
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
700
-        Me.ClientSize = New System.Drawing.Size(1249, 611)
701
-        Me.Controls.Add(Me.只顯示35筆資料_ch)
717
+        Me.ClientSize = New System.Drawing.Size(1505, 611)
718
+        Me.Controls.Add(Me.客戶清單_dgv)
702 719
         Me.Controls.Add(Me.付款編號_tb)
703 720
         Me.Controls.Add(Me.可全選_ch)
704 721
         Me.Controls.Add(Me.模式一_bt)
@@ -719,7 +736,6 @@ Partial Class 客戶資料管理
719 736
         Me.Controls.Add(Me.發票地址郵號_tb)
720 737
         Me.Controls.Add(Me.發票地址_tb)
721 738
         Me.Controls.Add(Me.發票抬頭_tb)
722
-        Me.Controls.Add(Me.Label12)
723 739
         Me.Controls.Add(Me.統編_tb)
724 740
         Me.Controls.Add(Me.傳真_tb)
725 741
         Me.Controls.Add(Me.手機_tb)
@@ -734,7 +750,6 @@ Partial Class 客戶資料管理
734 750
         Me.Controls.Add(Me.店名_tb)
735 751
         Me.Controls.Add(Me.Label1)
736 752
         Me.Controls.Add(Me.編號_tb)
737
-        Me.Controls.Add(Me.客戶清單_dgv)
738 753
         Me.Controls.Add(Me.Label22)
739 754
         Me.Controls.Add(Me.Label16)
740 755
         Me.Controls.Add(Me.Label3)
@@ -752,8 +767,10 @@ Partial Class 客戶資料管理
752 767
         Me.Controls.Add(Me.Label9)
753 768
         Me.Controls.Add(Me.Label19)
754 769
         Me.Controls.Add(Me.Label17)
770
+        Me.Controls.Add(Me.Label12)
771
+        Me.Controls.Add(Me.只顯示35筆資料_ch)
755 772
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
756
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
773
+        Me.Margin = New System.Windows.Forms.Padding(4)
757 774
         Me.Name = "客戶資料管理"
758 775
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
759 776
         Me.Text = "客戶資料管理"
@@ -769,7 +786,6 @@ Partial Class 客戶資料管理
769 786
     Friend WithEvents 可全選_ch As CheckBox
770 787
     Friend WithEvents 模式一_bt As Button
771 788
     Friend WithEvents 模式二_bt As Button
772
-    Friend WithEvents 單筆存檔_bt As Button
773 789
     Friend WithEvents 關鍵字查詢_bt As Button
774 790
     Friend WithEvents 批量存檔_bt As Button
775 791
     Friend WithEvents 新增一筆空白資料_bt As Button
@@ -831,4 +847,6 @@ Partial Class 客戶資料管理
831 847
     Friend WithEvents 資料存檔整體清單ToolStripMenuItem As ToolStripMenuItem
832 848
     Friend WithEvents ToolStripSeparator2 As ToolStripSeparator
833 849
     Friend WithEvents 資料刪除ToolStripMenuItem As ToolStripMenuItem
850
+    Friend WithEvents ToolTip1 As ToolTip
851
+    Friend WithEvents 單筆存檔_bt As Button
834 852
 End Class

+ 129
- 0
MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.resx Zobrazit soubor

@@ -0,0 +1,129 @@
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
+  <metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121
+    <value>14, 6</value>
122
+  </metadata>
123
+  <metadata name="ToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124
+    <value>178, 6</value>
125
+  </metadata>
126
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
127
+    <value>38</value>
128
+  </metadata>
129
+</root>

MAOJI-ERP-SYS/業務系統管理/客戶資料管理.vb → MAOJI-ERP-SYS/04、業務系統管理/客戶資料管理.vb Zobrazit soubor

@@ -93,13 +93,28 @@ Public Class 客戶資料管理
93 93
         客戶清單_dgv.Columns(17).ReadOnly = False : 客戶清單_dgv.Columns(18).ReadOnly = False : 客戶清單_dgv.Columns(19).ReadOnly = False : 客戶清單_dgv.Columns(20).ReadOnly = False
94 94
         客戶清單_dgv.Columns(21).ReadOnly = False : 客戶清單_dgv.Columns(22).ReadOnly = False
95 95
     End Sub
96
+    Private Sub 關鍵字查詢_bt_MouseEnter(sender As Object, e As EventArgs) Handles 關鍵字查詢_bt.MouseEnter
97
+        ToolTip1.SetToolTip(Me.關鍵字查詢_bt, "關鍵字查詢")
98
+    End Sub
99
+    Private Sub 新增一筆空白資料_bt_MouseEnter(sender As Object, e As EventArgs) Handles 新增一筆空白資料_bt.MouseEnter
100
+        ToolTip1.SetToolTip(Me.新增一筆空白資料_bt, "新增一筆空白資料")
101
+    End Sub
102
+    Private Sub 單筆存檔_bt_MouseEnter(sender As Object, e As EventArgs) Handles 單筆存檔_bt.MouseEnter
103
+        ToolTip1.SetToolTip(Me.單筆存檔_bt, "單筆存檔")
104
+    End Sub
105
+    Private Sub 批量存檔_bt_MouseEnter(sender As Object, e As EventArgs) Handles 批量存檔_bt.MouseEnter
106
+        ToolTip1.SetToolTip(Me.批量存檔_bt, "批量存檔")
107
+    End Sub
96 108
     Private Sub 客戶資料管理_Load(sender As Object, e As EventArgs) Handles MyBase.Load
97
-        Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
109
+        MAOJI_ERP_SYS.WindowState = 2 : Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
98 110
         ComboBox1下拉表單資料載入()
99 111
         Set_客戶清單()
100 112
         編號_tb.Enabled = False : 付款編號_tb.Visible = False : 模式一_bt.Enabled = False : 模式二_bt.Enabled = True
101 113
         格式1_縮小() : If gUserName = "李協叡" Then : 資料刪除ToolStripMenuItem.Enabled = True : Else : 資料刪除ToolStripMenuItem.Enabled = False : End If
102 114
     End Sub
115
+    Private Sub 客戶資料管理_Closed(sender As Object, e As EventArgs) Handles MyBase.Closed
116
+        MAOJI_ERP_SYS.WindowState = 0
117
+    End Sub
103 118
     Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles 客戶清單_dgv.CellClick
104 119
         If e.RowIndex = -1 Then : Else
105 120
             編號_tb.Text = 客戶清單_dgv.Rows(e.RowIndex).Cells("編號").Value.ToString : 店名_tb.Text = 客戶清單_dgv.Rows(e.RowIndex).Cells("店名").Value.ToString

MAOJI-ERP-SYS/業務系統管理/維修單出庫確認.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.Designer.vb Zobrazit soubor

@@ -50,7 +50,7 @@ Partial Class 維修單出庫確認
50 50
         '
51 51
         Me.確認物料出貨_bt.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
52 52
         Me.確認物料出貨_bt.ForeColor = System.Drawing.Color.Green
53
-        Me.確認物料出貨_bt.Location = New System.Drawing.Point(7, 5)
53
+        Me.確認物料出貨_bt.Location = New System.Drawing.Point(7, 3)
54 54
         Me.確認物料出貨_bt.Name = "確認物料出貨_bt"
55 55
         Me.確認物料出貨_bt.Size = New System.Drawing.Size(95, 24)
56 56
         Me.確認物料出貨_bt.TabIndex = 1091
@@ -62,7 +62,7 @@ Partial Class 維修單出庫確認
62 62
         Me.依單據選擇_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
63 63
         Me.依單據選擇_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
64 64
         Me.依單據選擇_bt.ForeColor = System.Drawing.Color.Olive
65
-        Me.依單據選擇_bt.Location = New System.Drawing.Point(987, 5)
65
+        Me.依單據選擇_bt.Location = New System.Drawing.Point(987, 3)
66 66
         Me.依單據選擇_bt.Name = "依單據選擇_bt"
67 67
         Me.依單據選擇_bt.Size = New System.Drawing.Size(113, 24)
68 68
         Me.依單據選擇_bt.TabIndex = 1090
@@ -72,7 +72,7 @@ Partial Class 維修單出庫確認
72 72
         '單據號碼_tb
73 73
         '
74 74
         Me.單據號碼_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
75
-        Me.單據號碼_tb.Location = New System.Drawing.Point(170, 6)
75
+        Me.單據號碼_tb.Location = New System.Drawing.Point(170, 4)
76 76
         Me.單據號碼_tb.Name = "單據號碼_tb"
77 77
         Me.單據號碼_tb.Size = New System.Drawing.Size(137, 23)
78 78
         Me.單據號碼_tb.TabIndex = 1088
@@ -80,7 +80,7 @@ Partial Class 維修單出庫確認
80 80
         '出庫日期_dtp
81 81
         '
82 82
         Me.出庫日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
83
-        Me.出庫日期_dtp.Location = New System.Drawing.Point(368, 5)
83
+        Me.出庫日期_dtp.Location = New System.Drawing.Point(368, 3)
84 84
         Me.出庫日期_dtp.Name = "出庫日期_dtp"
85 85
         Me.出庫日期_dtp.Size = New System.Drawing.Size(91, 23)
86 86
         Me.出庫日期_dtp.TabIndex = 1086
@@ -90,7 +90,7 @@ Partial Class 維修單出庫確認
90 90
         Me.全部取消_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
91 91
         Me.全部取消_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
92 92
         Me.全部取消_bt.ForeColor = System.Drawing.Color.Olive
93
-        Me.全部取消_bt.Location = New System.Drawing.Point(1177, 5)
93
+        Me.全部取消_bt.Location = New System.Drawing.Point(1177, 3)
94 94
         Me.全部取消_bt.Name = "全部取消_bt"
95 95
         Me.全部取消_bt.Size = New System.Drawing.Size(65, 24)
96 96
         Me.全部取消_bt.TabIndex = 1085
@@ -102,7 +102,7 @@ Partial Class 維修單出庫確認
102 102
         Me.全部選擇_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
103 103
         Me.全部選擇_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
104 104
         Me.全部選擇_bt.ForeColor = System.Drawing.Color.Olive
105
-        Me.全部選擇_bt.Location = New System.Drawing.Point(1106, 5)
105
+        Me.全部選擇_bt.Location = New System.Drawing.Point(1106, 3)
106 106
         Me.全部選擇_bt.Name = "全部選擇_bt"
107 107
         Me.全部選擇_bt.Size = New System.Drawing.Size(65, 24)
108 108
         Me.全部選擇_bt.TabIndex = 1084
@@ -117,21 +117,22 @@ Partial Class 維修單出庫確認
117 117
             Or System.Windows.Forms.AnchorStyles.Left) _
118 118
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
119 119
         Me.物料出庫_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
120
+        Me.物料出庫_dgv.BackgroundColor = System.Drawing.Color.White
120 121
         Me.物料出庫_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
121
-        Me.物料出庫_dgv.Location = New System.Drawing.Point(7, 35)
122
+        Me.物料出庫_dgv.Location = New System.Drawing.Point(3, 31)
122 123
         Me.物料出庫_dgv.Name = "物料出庫_dgv"
123 124
         Me.物料出庫_dgv.RowHeadersWidth = 5
124 125
         DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
125 126
         Me.物料出庫_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
126 127
         Me.物料出庫_dgv.RowTemplate.Height = 24
127
-        Me.物料出庫_dgv.Size = New System.Drawing.Size(1235, 570)
128
+        Me.物料出庫_dgv.Size = New System.Drawing.Size(1243, 578)
128 129
         Me.物料出庫_dgv.TabIndex = 1083
129 130
         '
130 131
         'Label4
131 132
         '
132 133
         Me.Label4.AutoSize = True
133 134
         Me.Label4.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
134
-        Me.Label4.Location = New System.Drawing.Point(108, 9)
135
+        Me.Label4.Location = New System.Drawing.Point(108, 7)
135 136
         Me.Label4.Name = "Label4"
136 137
         Me.Label4.Size = New System.Drawing.Size(55, 16)
137 138
         Me.Label4.TabIndex = 1089
@@ -142,7 +143,7 @@ Partial Class 維修單出庫確認
142 143
         Me.Label20.AutoSize = True
143 144
         Me.Label20.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
144 145
         Me.Label20.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
145
-        Me.Label20.Location = New System.Drawing.Point(313, 9)
146
+        Me.Label20.Location = New System.Drawing.Point(313, 7)
146 147
         Me.Label20.Name = "Label20"
147 148
         Me.Label20.Size = New System.Drawing.Size(55, 16)
148 149
         Me.Label20.TabIndex = 1087
@@ -213,7 +214,7 @@ Partial Class 維修單出庫確認
213 214
         Me.Controls.Add(Me.Label4)
214 215
         Me.Controls.Add(Me.Label20)
215 216
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
216
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
217
+        Me.Margin = New System.Windows.Forms.Padding(4)
217 218
         Me.Name = "維修單出庫確認"
218 219
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
219 220
         Me.Text = "維修單出庫確認"

MAOJI-ERP-SYS/業務系統管理/維修單出庫確認.resx → MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/維修單出庫確認.vb → MAOJI-ERP-SYS/04、業務系統管理/維修單出庫確認.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/維修單申請.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/維修單申請.Designer.vb Zobrazit soubor

@@ -23,11 +23,11 @@ Partial Class 維修單申請
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 31
         Me.列印產品標籤_bt = New System.Windows.Forms.Button()
32 32
         Me.Label28 = New System.Windows.Forms.Label()
33 33
         Me.非當天日期_ch = New System.Windows.Forms.CheckBox()
@@ -158,7 +158,7 @@ Partial Class 維修單申請
158 158
         '
159 159
         Me.維修出庫_tb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
160 160
         Me.維修出庫_tb.ForeColor = System.Drawing.SystemColors.ActiveCaptionText
161
-        Me.維修出庫_tb.Location = New System.Drawing.Point(203, 250)
161
+        Me.維修出庫_tb.Location = New System.Drawing.Point(198, 247)
162 162
         Me.維修出庫_tb.Name = "維修出庫_tb"
163 163
         Me.維修出庫_tb.Size = New System.Drawing.Size(137, 23)
164 164
         Me.維修出庫_tb.TabIndex = 1261
@@ -171,7 +171,7 @@ Partial Class 維修單申請
171 171
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
172 172
         Me.修改存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
173 173
         Me.修改存檔_bt.ForeColor = System.Drawing.Color.Green
174
-        Me.修改存檔_bt.Location = New System.Drawing.Point(457, 575)
174
+        Me.修改存檔_bt.Location = New System.Drawing.Point(457, 580)
175 175
         Me.修改存檔_bt.Name = "修改存檔_bt"
176 176
         Me.修改存檔_bt.Size = New System.Drawing.Size(787, 30)
177 177
         Me.修改存檔_bt.TabIndex = 1260
@@ -375,20 +375,21 @@ Partial Class 維修單申請
375 375
         '
376 376
         '明細_dgv
377 377
         '
378
-        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
379
-        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
378
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
379
+        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
380 380
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
381 381
             Or System.Windows.Forms.AnchorStyles.Left) _
382 382
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
383 383
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
384
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
384 385
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
385
-        Me.明細_dgv.Location = New System.Drawing.Point(457, 104)
386
+        Me.明細_dgv.Location = New System.Drawing.Point(447, 104)
386 387
         Me.明細_dgv.Name = "明細_dgv"
387 388
         Me.明細_dgv.RowHeadersWidth = 5
388
-        DataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
389
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle7
389
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
390
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
390 391
         Me.明細_dgv.RowTemplate.Height = 24
391
-        Me.明細_dgv.Size = New System.Drawing.Size(787, 470)
392
+        Me.明細_dgv.Size = New System.Drawing.Size(795, 474)
392 393
         Me.明細_dgv.TabIndex = 1255
393 394
         '
394 395
         '列印維修單_bt
@@ -406,7 +407,7 @@ Partial Class 維修單申請
406 407
         '
407 408
         Me.開新維修單_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
408 409
         Me.開新維修單_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
409
-        Me.開新維修單_bt.Location = New System.Drawing.Point(369, 30)
410
+        Me.開新維修單_bt.Location = New System.Drawing.Point(364, 27)
410 411
         Me.開新維修單_bt.Name = "開新維修單_bt"
411 412
         Me.開新維修單_bt.Size = New System.Drawing.Size(82, 25)
412 413
         Me.開新維修單_bt.TabIndex = 1238
@@ -416,7 +417,7 @@ Partial Class 維修單申請
416 417
         '倉庫編號_tb
417 418
         '
418 419
         Me.倉庫編號_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
419
-        Me.倉庫編號_tb.Location = New System.Drawing.Point(169, 29)
420
+        Me.倉庫編號_tb.Location = New System.Drawing.Point(164, 26)
420 421
         Me.倉庫編號_tb.Name = "倉庫編號_tb"
421 422
         Me.倉庫編號_tb.Size = New System.Drawing.Size(42, 23)
422 423
         Me.倉庫編號_tb.TabIndex = 1236
@@ -428,7 +429,7 @@ Partial Class 維修單申請
428 429
         Me.指定倉處_cb.ForeColor = System.Drawing.Color.Green
429 430
         Me.指定倉處_cb.FormattingEnabled = True
430 431
         Me.指定倉處_cb.Items.AddRange(New Object() {"NA", "女", "男"})
431
-        Me.指定倉處_cb.Location = New System.Drawing.Point(59, 29)
432
+        Me.指定倉處_cb.Location = New System.Drawing.Point(54, 26)
432 433
         Me.指定倉處_cb.Name = "指定倉處_cb"
433 434
         Me.指定倉處_cb.Size = New System.Drawing.Size(105, 23)
434 435
         Me.指定倉處_cb.TabIndex = 1235
@@ -437,7 +438,7 @@ Partial Class 維修單申請
437 438
         '
438 439
         Me.Label14.AutoSize = True
439 440
         Me.Label14.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
440
-        Me.Label14.Location = New System.Drawing.Point(5, 32)
441
+        Me.Label14.Location = New System.Drawing.Point(0, 29)
441 442
         Me.Label14.Name = "Label14"
442 443
         Me.Label14.Size = New System.Drawing.Size(55, 16)
443 444
         Me.Label14.TabIndex = 1237
@@ -447,7 +448,7 @@ Partial Class 維修單申請
447 448
         '
448 449
         Me.Label21.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
449 450
         Me.Label21.AutoSize = True
450
-        Me.Label21.Location = New System.Drawing.Point(8, 321)
451
+        Me.Label21.Location = New System.Drawing.Point(3, 318)
451 452
         Me.Label21.Name = "Label21"
452 453
         Me.Label21.Size = New System.Drawing.Size(55, 16)
453 454
         Me.Label21.TabIndex = 1234
@@ -457,7 +458,7 @@ Partial Class 維修單申請
457 458
         '
458 459
         Me.已出庫的維修單_rb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
459 460
         Me.已出庫的維修單_rb.AutoSize = True
460
-        Me.已出庫的維修單_rb.Location = New System.Drawing.Point(136, 343)
461
+        Me.已出庫的維修單_rb.Location = New System.Drawing.Point(131, 340)
461 462
         Me.已出庫的維修單_rb.Name = "已出庫的維修單_rb"
462 463
         Me.已出庫的維修單_rb.Size = New System.Drawing.Size(109, 20)
463 464
         Me.已出庫的維修單_rb.TabIndex = 1231
@@ -468,7 +469,7 @@ Partial Class 維修單申請
468 469
         '
469 470
         Me.未出庫的維修單_rb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
470 471
         Me.未出庫的維修單_rb.AutoSize = True
471
-        Me.未出庫的維修單_rb.Location = New System.Drawing.Point(8, 343)
472
+        Me.未出庫的維修單_rb.Location = New System.Drawing.Point(3, 340)
472 473
         Me.未出庫的維修單_rb.Name = "未出庫的維修單_rb"
473 474
         Me.未出庫的維修單_rb.Size = New System.Drawing.Size(109, 20)
474 475
         Me.未出庫的維修單_rb.TabIndex = 1230
@@ -478,7 +479,7 @@ Partial Class 維修單申請
478 479
         '歷史售價_tb
479 480
         '
480 481
         Me.歷史售價_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
481
-        Me.歷史售價_tb.Location = New System.Drawing.Point(76, 318)
482
+        Me.歷史售價_tb.Location = New System.Drawing.Point(71, 315)
482 483
         Me.歷史售價_tb.Name = "歷史售價_tb"
483 484
         Me.歷史售價_tb.Size = New System.Drawing.Size(65, 23)
484 485
         Me.歷史售價_tb.TabIndex = 1229
@@ -488,7 +489,7 @@ Partial Class 維修單申請
488 489
         '加權成本_台幣_tb
489 490
         '
490 491
         Me.加權成本_台幣_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
491
-        Me.加權成本_台幣_tb.Location = New System.Drawing.Point(13, 249)
492
+        Me.加權成本_台幣_tb.Location = New System.Drawing.Point(8, 246)
492 493
         Me.加權成本_台幣_tb.Name = "加權成本_台幣_tb"
493 494
         Me.加權成本_台幣_tb.Size = New System.Drawing.Size(65, 23)
494 495
         Me.加權成本_台幣_tb.TabIndex = 1228
@@ -499,7 +500,7 @@ Partial Class 維修單申請
499 500
         '
500 501
         Me.Label17.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
501 502
         Me.Label17.AutoSize = True
502
-        Me.Label17.Location = New System.Drawing.Point(141, 321)
503
+        Me.Label17.Location = New System.Drawing.Point(136, 318)
503 504
         Me.Label17.Name = "Label17"
504 505
         Me.Label17.Size = New System.Drawing.Size(43, 16)
505 506
         Me.Label17.TabIndex = 1227
@@ -508,7 +509,7 @@ Partial Class 維修單申請
508 509
         '可出庫_tb
509 510
         '
510 511
         Me.可出庫_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
511
-        Me.可出庫_tb.Location = New System.Drawing.Point(185, 318)
512
+        Me.可出庫_tb.Location = New System.Drawing.Point(180, 315)
512 513
         Me.可出庫_tb.Name = "可出庫_tb"
513 514
         Me.可出庫_tb.Size = New System.Drawing.Size(65, 23)
514 515
         Me.可出庫_tb.TabIndex = 1226
@@ -519,7 +520,7 @@ Partial Class 維修單申請
519 520
         '
520 521
         Me.Label3.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
521 522
         Me.Label3.AutoSize = True
522
-        Me.Label3.Location = New System.Drawing.Point(8, 294)
523
+        Me.Label3.Location = New System.Drawing.Point(3, 291)
523 524
         Me.Label3.Name = "Label3"
524 525
         Me.Label3.Size = New System.Drawing.Size(67, 16)
525 526
         Me.Label3.TabIndex = 1225
@@ -529,7 +530,7 @@ Partial Class 維修單申請
529 530
         '
530 531
         Me.供應商編號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
531 532
         Me.供應商編號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
532
-        Me.供應商編號_tb.Location = New System.Drawing.Point(76, 291)
533
+        Me.供應商編號_tb.Location = New System.Drawing.Point(71, 288)
533 534
         Me.供應商編號_tb.Name = "供應商編號_tb"
534 535
         Me.供應商編號_tb.Size = New System.Drawing.Size(128, 25)
535 536
         Me.供應商編號_tb.TabIndex = 1224
@@ -540,7 +541,7 @@ Partial Class 維修單申請
540 541
         Me.新增物料到維修單_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
541 542
         Me.新增物料到維修單_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
542 543
         Me.新增物料到維修單_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
543
-        Me.新增物料到維修單_bt.Location = New System.Drawing.Point(369, 290)
544
+        Me.新增物料到維修單_bt.Location = New System.Drawing.Point(364, 287)
544 545
         Me.新增物料到維修單_bt.Name = "新增物料到維修單_bt"
545 546
         Me.新增物料到維修單_bt.Size = New System.Drawing.Size(82, 73)
546 547
         Me.新增物料到維修單_bt.TabIndex = 1222
@@ -550,7 +551,7 @@ Partial Class 維修單申請
550 551
         '申請數_nud
551 552
         '
552 553
         Me.申請數_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
553
-        Me.申請數_nud.Location = New System.Drawing.Point(300, 318)
554
+        Me.申請數_nud.Location = New System.Drawing.Point(295, 315)
554 555
         Me.申請數_nud.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
555 556
         Me.申請數_nud.Name = "申請數_nud"
556 557
         Me.申請數_nud.Size = New System.Drawing.Size(67, 23)
@@ -561,7 +562,7 @@ Partial Class 維修單申請
561 562
         '
562 563
         Me.Label13.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
563 564
         Me.Label13.AutoSize = True
564
-        Me.Label13.Location = New System.Drawing.Point(255, 321)
565
+        Me.Label13.Location = New System.Drawing.Point(250, 318)
565 566
         Me.Label13.Name = "Label13"
566 567
         Me.Label13.Size = New System.Drawing.Size(43, 16)
567 568
         Me.Label13.TabIndex = 1220
@@ -571,7 +572,7 @@ Partial Class 維修單申請
571 572
         '
572 573
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
573 574
         Me.Label11.AutoSize = True
574
-        Me.Label11.Location = New System.Drawing.Point(205, 295)
575
+        Me.Label11.Location = New System.Drawing.Point(200, 292)
575 576
         Me.Label11.Name = "Label11"
576 577
         Me.Label11.Size = New System.Drawing.Size(31, 16)
577 578
         Me.Label11.TabIndex = 1219
@@ -581,7 +582,7 @@ Partial Class 維修單申請
581 582
         '
582 583
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
583 584
         Me.料號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
584
-        Me.料號_tb.Location = New System.Drawing.Point(237, 291)
585
+        Me.料號_tb.Location = New System.Drawing.Point(232, 288)
585 586
         Me.料號_tb.Name = "料號_tb"
586 587
         Me.料號_tb.Size = New System.Drawing.Size(130, 25)
587 588
         Me.料號_tb.TabIndex = 1218
@@ -593,7 +594,7 @@ Partial Class 維修單申請
593 594
         Me.頁碼_cb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
594 595
         Me.頁碼_cb.FormattingEnabled = True
595 596
         Me.頁碼_cb.Items.AddRange(New Object() {"男", "女", "NA"})
596
-        Me.頁碼_cb.Location = New System.Drawing.Point(217, 5)
597
+        Me.頁碼_cb.Location = New System.Drawing.Point(212, 2)
597 598
         Me.頁碼_cb.Name = "頁碼_cb"
598 599
         Me.頁碼_cb.Size = New System.Drawing.Size(64, 24)
599 600
         Me.頁碼_cb.TabIndex = 1217
@@ -603,7 +604,7 @@ Partial Class 維修單申請
603 604
         Me.Label27.AutoSize = True
604 605
         Me.Label27.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
605 606
         Me.Label27.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
606
-        Me.Label27.Location = New System.Drawing.Point(186, 10)
607
+        Me.Label27.Location = New System.Drawing.Point(181, 7)
607 608
         Me.Label27.Name = "Label27"
608 609
         Me.Label27.Size = New System.Drawing.Size(31, 16)
609 610
         Me.Label27.TabIndex = 1216
@@ -616,7 +617,7 @@ Partial Class 維修單申請
616 617
         Me.客戶編號_cb.ForeColor = System.Drawing.Color.Green
617 618
         Me.客戶編號_cb.FormattingEnabled = True
618 619
         Me.客戶編號_cb.Items.AddRange(New Object() {"男", "女", "NA"})
619
-        Me.客戶編號_cb.Location = New System.Drawing.Point(84, 249)
620
+        Me.客戶編號_cb.Location = New System.Drawing.Point(79, 246)
620 621
         Me.客戶編號_cb.Name = "客戶編號_cb"
621 622
         Me.客戶編號_cb.Size = New System.Drawing.Size(113, 24)
622 623
         Me.客戶編號_cb.TabIndex = 1215
@@ -624,7 +625,7 @@ Partial Class 維修單申請
624 625
         '物料關鍵字_tb
625 626
         '
626 627
         Me.物料關鍵字_tb.Font = New System.Drawing.Font("微軟正黑體", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
627
-        Me.物料關鍵字_tb.Location = New System.Drawing.Point(349, 5)
628
+        Me.物料關鍵字_tb.Location = New System.Drawing.Point(344, 2)
628 629
         Me.物料關鍵字_tb.Name = "物料關鍵字_tb"
629 630
         Me.物料關鍵字_tb.Size = New System.Drawing.Size(102, 25)
630 631
         Me.物料關鍵字_tb.TabIndex = 1214
@@ -634,7 +635,7 @@ Partial Class 維修單申請
634 635
         Me.Label1.AutoSize = True
635 636
         Me.Label1.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
636 637
         Me.Label1.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
637
-        Me.Label1.Location = New System.Drawing.Point(282, 10)
638
+        Me.Label1.Location = New System.Drawing.Point(277, 7)
638 639
         Me.Label1.Name = "Label1"
639 640
         Me.Label1.Size = New System.Drawing.Size(67, 16)
640 641
         Me.Label1.TabIndex = 1213
@@ -645,12 +646,13 @@ Partial Class 維修單申請
645 646
         Me.庫存_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
646 647
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
647 648
         Me.庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
649
+        Me.庫存_dgv.BackgroundColor = System.Drawing.Color.White
648 650
         Me.庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
649
-        Me.庫存_dgv.Location = New System.Drawing.Point(8, 55)
651
+        Me.庫存_dgv.Location = New System.Drawing.Point(3, 52)
650 652
         Me.庫存_dgv.Name = "庫存_dgv"
651 653
         Me.庫存_dgv.RowHeadersWidth = 5
652
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
653
-        Me.庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
654
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
655
+        Me.庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
654 656
         Me.庫存_dgv.RowTemplate.Height = 24
655 657
         Me.庫存_dgv.Size = New System.Drawing.Size(443, 234)
656 658
         Me.庫存_dgv.TabIndex = 1212
@@ -658,7 +660,7 @@ Partial Class 維修單申請
658 660
         '依商品排序_ch
659 661
         '
660 662
         Me.依商品排序_ch.AutoSize = True
661
-        Me.依商品排序_ch.Location = New System.Drawing.Point(105, 9)
663
+        Me.依商品排序_ch.Location = New System.Drawing.Point(100, 6)
662 664
         Me.依商品排序_ch.Name = "依商品排序_ch"
663 665
         Me.依商品排序_ch.Size = New System.Drawing.Size(86, 20)
664 666
         Me.依商品排序_ch.TabIndex = 1233
@@ -668,7 +670,7 @@ Partial Class 維修單申請
668 670
         '依供應商排序_ch
669 671
         '
670 672
         Me.依供應商排序_ch.AutoSize = True
671
-        Me.依供應商排序_ch.Location = New System.Drawing.Point(8, 9)
673
+        Me.依供應商排序_ch.Location = New System.Drawing.Point(3, 6)
672 674
         Me.依供應商排序_ch.Name = "依供應商排序_ch"
673 675
         Me.依供應商排序_ch.Size = New System.Drawing.Size(98, 20)
674 676
         Me.依供應商排序_ch.TabIndex = 1232
@@ -677,18 +679,19 @@ Partial Class 維修單申請
677 679
         '
678 680
         '彙總_dgv
679 681
         '
680
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
681
-        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
682
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
683
+        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
682 684
         Me.彙總_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
683 685
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
686
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
684 687
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
685
-        Me.彙總_dgv.Location = New System.Drawing.Point(8, 366)
688
+        Me.彙總_dgv.Location = New System.Drawing.Point(3, 363)
686 689
         Me.彙總_dgv.Name = "彙總_dgv"
687 690
         Me.彙總_dgv.RowHeadersWidth = 5
688
-        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
689
-        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
691
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
692
+        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
690 693
         Me.彙總_dgv.RowTemplate.Height = 24
691
-        Me.彙總_dgv.Size = New System.Drawing.Size(443, 239)
694
+        Me.彙總_dgv.Size = New System.Drawing.Size(443, 245)
692 695
         Me.彙總_dgv.TabIndex = 1223
693 696
         '
694 697
         'ContextMenuStrip1
@@ -763,6 +766,7 @@ Partial Class 維修單申請
763 766
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
764 767
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
765 768
         Me.ClientSize = New System.Drawing.Size(1249, 611)
769
+        Me.Controls.Add(Me.庫存_dgv)
766 770
         Me.Controls.Add(Me.列印產品標籤_bt)
767 771
         Me.Controls.Add(Me.Label28)
768 772
         Me.Controls.Add(Me.非當天日期_ch)
@@ -814,12 +818,11 @@ Partial Class 維修單申請
814 818
         Me.Controls.Add(Me.客戶編號_cb)
815 819
         Me.Controls.Add(Me.物料關鍵字_tb)
816 820
         Me.Controls.Add(Me.Label1)
817
-        Me.Controls.Add(Me.庫存_dgv)
818 821
         Me.Controls.Add(Me.依商品排序_ch)
819 822
         Me.Controls.Add(Me.依供應商排序_ch)
820 823
         Me.Controls.Add(Me.彙總_dgv)
821 824
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
822
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
825
+        Me.Margin = New System.Windows.Forms.Padding(4)
823 826
         Me.Name = "維修單申請"
824 827
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
825 828
         Me.Text = "維修單申請"

MAOJI-ERP-SYS/業務系統管理/維修單申請.resx → MAOJI-ERP-SYS/04、業務系統管理/維修單申請.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/維修單申請.vb → MAOJI-ERP-SYS/04、業務系統管理/維修單申請.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單出貨控制表.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.Designer.vb Zobrazit soubor

@@ -23,8 +23,8 @@ Partial Class 訂單出貨控制表
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle4 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
         Me.隱藏_ch = New System.Windows.Forms.CheckBox()
29 29
         Me.出貨單號_tb = New System.Windows.Forms.TextBox()
30 30
         Me.Label16 = New System.Windows.Forms.Label()
@@ -201,12 +201,13 @@ Partial Class 訂單出貨控制表
201 201
         Me.庫存清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
202 202
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
203 203
         Me.庫存清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
204
+        Me.庫存清單_dgv.BackgroundColor = System.Drawing.Color.White
204 205
         Me.庫存清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
205 206
         Me.庫存清單_dgv.Location = New System.Drawing.Point(802, 35)
206 207
         Me.庫存清單_dgv.Name = "庫存清單_dgv"
207 208
         Me.庫存清單_dgv.RowHeadersWidth = 5
208
-        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
209
-        Me.庫存清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
209
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
210
+        Me.庫存清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
210 211
         Me.庫存清單_dgv.RowTemplate.Height = 24
211 212
         Me.庫存清單_dgv.Size = New System.Drawing.Size(443, 570)
212 213
         Me.庫存清單_dgv.TabIndex = 1134
@@ -217,12 +218,13 @@ Partial Class 訂單出貨控制表
217 218
             Or System.Windows.Forms.AnchorStyles.Left) _
218 219
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
219 220
         Me.訂單明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
221
+        Me.訂單明細_dgv.BackgroundColor = System.Drawing.Color.White
220 222
         Me.訂單明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
221 223
         Me.訂單明細_dgv.Location = New System.Drawing.Point(9, 35)
222 224
         Me.訂單明細_dgv.Name = "訂單明細_dgv"
223 225
         Me.訂單明細_dgv.RowHeadersWidth = 5
224
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
225
-        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
226
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
227
+        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
226 228
         Me.訂單明細_dgv.RowTemplate.Height = 24
227 229
         Me.訂單明細_dgv.Size = New System.Drawing.Size(791, 570)
228 230
         Me.訂單明細_dgv.TabIndex = 1133
@@ -291,7 +293,7 @@ Partial Class 訂單出貨控制表
291 293
         Me.Controls.Add(Me.訂單明細_dgv)
292 294
         Me.Controls.Add(Me.出貨備齊_ch)
293 295
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
294
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
296
+        Me.Margin = New System.Windows.Forms.Padding(4)
295 297
         Me.Name = "訂單出貨控制表"
296 298
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
297 299
         Me.Text = "訂單出貨控制表"

MAOJI-ERP-SYS/業務系統管理/訂單出貨控制表.resx → MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單出貨控制表.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單出貨控制表.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單採購需求申請.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.Designer.vb Zobrazit soubor

@@ -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.開立採購單_bt = New System.Windows.Forms.Button()
28 28
         Me.非當天日期_ch = New System.Windows.Forms.CheckBox()
29 29
         Me.供應商交期_dtp = New System.Windows.Forms.DateTimePicker()
@@ -186,12 +186,13 @@ Partial Class 訂單採購需求申請
186 186
             Or System.Windows.Forms.AnchorStyles.Left) _
187 187
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
188 188
         Me.訂單明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
189
+        Me.訂單明細_dgv.BackgroundColor = System.Drawing.Color.White
189 190
         Me.訂單明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
190 191
         Me.訂單明細_dgv.Location = New System.Drawing.Point(7, 35)
191 192
         Me.訂單明細_dgv.Name = "訂單明細_dgv"
192 193
         Me.訂單明細_dgv.RowHeadersWidth = 5
193
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
194
-        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
194
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
195
+        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
195 196
         Me.訂單明細_dgv.RowTemplate.Height = 24
196 197
         Me.訂單明細_dgv.Size = New System.Drawing.Size(1235, 570)
197 198
         Me.訂單明細_dgv.TabIndex = 1174
@@ -225,6 +226,7 @@ Partial Class 訂單採購需求申請
225 226
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
226 227
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
227 228
         Me.ClientSize = New System.Drawing.Size(1249, 611)
229
+        Me.Controls.Add(Me.訂單明細_dgv)
228 230
         Me.Controls.Add(Me.開立採購單_bt)
229 231
         Me.Controls.Add(Me.非當天日期_ch)
230 232
         Me.Controls.Add(Me.供應商交期_dtp)
@@ -238,9 +240,8 @@ Partial Class 訂單採購需求申請
238 240
         Me.Controls.Add(Me.供應商_cb)
239 241
         Me.Controls.Add(Me.Label9)
240 242
         Me.Controls.Add(Me.Label20)
241
-        Me.Controls.Add(Me.訂單明細_dgv)
242 243
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
243
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
244
+        Me.Margin = New System.Windows.Forms.Padding(4)
244 245
         Me.Name = "訂單採購需求申請"
245 246
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
246 247
         Me.Text = "訂單採購需求申請"

MAOJI-ERP-SYS/業務系統管理/訂單採購需求申請.resx → MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單採購需求申請.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單採購需求申請.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單管理控制表.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.Designer.vb Zobrazit soubor

@@ -23,11 +23,11 @@ Partial Class 訂單管理控制表
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 31
         Me.新單號_tb = New System.Windows.Forms.TextBox()
32 32
         Me.出貨單號_tb = New System.Windows.Forms.TextBox()
33 33
         Me.組裝需求_cb = New System.Windows.Forms.ComboBox()
@@ -479,38 +479,40 @@ Partial Class 訂單管理控制表
479 479
         Me.物料清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
480 480
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
481 481
         Me.物料清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
482
+        Me.物料清單_dgv.BackgroundColor = System.Drawing.Color.White
482 483
         Me.物料清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
483 484
         Me.物料清單_dgv.Location = New System.Drawing.Point(7, 110)
484 485
         Me.物料清單_dgv.Name = "物料清單_dgv"
485 486
         Me.物料清單_dgv.RowHeadersWidth = 5
486
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
487
-        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
487
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
488
+        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
488 489
         Me.物料清單_dgv.RowTemplate.Height = 24
489 490
         Me.物料清單_dgv.Size = New System.Drawing.Size(443, 497)
490 491
         Me.物料清單_dgv.TabIndex = 1193
491 492
         '
492 493
         '訂單彙總_dgv
493 494
         '
494
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
495
-        Me.訂單彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
495
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
496
+        Me.訂單彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
496 497
         Me.訂單彙總_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
497 498
             Or System.Windows.Forms.AnchorStyles.Left) _
498 499
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
499 500
         Me.訂單彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
501
+        Me.訂單彙總_dgv.BackgroundColor = System.Drawing.Color.White
500 502
         Me.訂單彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
501 503
         Me.訂單彙總_dgv.Location = New System.Drawing.Point(454, 60)
502 504
         Me.訂單彙總_dgv.Name = "訂單彙總_dgv"
503 505
         Me.訂單彙總_dgv.RowHeadersWidth = 5
504
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
505
-        Me.訂單彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
506
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
507
+        Me.訂單彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
506 508
         Me.訂單彙總_dgv.RowTemplate.Height = 24
507 509
         Me.訂單彙總_dgv.Size = New System.Drawing.Size(787, 547)
508 510
         Me.訂單彙總_dgv.TabIndex = 1216
509 511
         '
510 512
         '訂單明細_dgv
511 513
         '
512
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
513
-        Me.訂單明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
514
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
515
+        Me.訂單明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
514 516
         Me.訂單明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
515 517
             Or System.Windows.Forms.AnchorStyles.Left) _
516 518
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -519,8 +521,8 @@ Partial Class 訂單管理控制表
519 521
         Me.訂單明細_dgv.Location = New System.Drawing.Point(454, 60)
520 522
         Me.訂單明細_dgv.Name = "訂單明細_dgv"
521 523
         Me.訂單明細_dgv.RowHeadersWidth = 5
522
-        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
523
-        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
524
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
525
+        Me.訂單明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
524 526
         Me.訂單明細_dgv.RowTemplate.Height = 24
525 527
         Me.訂單明細_dgv.Size = New System.Drawing.Size(787, 547)
526 528
         Me.訂單明細_dgv.TabIndex = 1219
@@ -580,6 +582,7 @@ Partial Class 訂單管理控制表
580 582
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
581 583
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
582 584
         Me.ClientSize = New System.Drawing.Size(1249, 611)
585
+        Me.Controls.Add(Me.物料清單_dgv)
583 586
         Me.Controls.Add(Me.新單號_tb)
584 587
         Me.Controls.Add(Me.出貨單號_tb)
585 588
         Me.Controls.Add(Me.組裝需求_cb)
@@ -619,11 +622,10 @@ Partial Class 訂單管理控制表
619 622
         Me.Controls.Add(Me.Label1)
620 623
         Me.Controls.Add(Me.依商品排序_ch)
621 624
         Me.Controls.Add(Me.依供應商排序_ch)
622
-        Me.Controls.Add(Me.物料清單_dgv)
623 625
         Me.Controls.Add(Me.訂單彙總_dgv)
624 626
         Me.Controls.Add(Me.訂單明細_dgv)
625 627
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
626
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
628
+        Me.Margin = New System.Windows.Forms.Padding(4)
627 629
         Me.Name = "訂單管理控制表"
628 630
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
629 631
         Me.Text = "訂單管理控制表"

MAOJI-ERP-SYS/業務系統管理/訂單管理控制表.resx → MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/訂單管理控制表.vb → MAOJI-ERP-SYS/04、業務系統管理/訂單管理控制表.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售控制表.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.Designer.vb Zobrazit soubor

@@ -87,7 +87,7 @@ Partial Class 銷售控制表
87 87
         '
88 88
         Me.中間日期_dtp.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right
89 89
         Me.中間日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
90
-        Me.中間日期_dtp.Location = New System.Drawing.Point(77, 30)
90
+        Me.中間日期_dtp.Location = New System.Drawing.Point(77, 26)
91 91
         Me.中間日期_dtp.Name = "中間日期_dtp"
92 92
         Me.中間日期_dtp.Size = New System.Drawing.Size(43, 23)
93 93
         Me.中間日期_dtp.TabIndex = 1217
@@ -95,7 +95,7 @@ Partial Class 銷售控制表
95 95
         '一般月_ch
96 96
         '
97 97
         Me.一般月_ch.AutoSize = True
98
-        Me.一般月_ch.Location = New System.Drawing.Point(137, 33)
98
+        Me.一般月_ch.Location = New System.Drawing.Point(137, 29)
99 99
         Me.一般月_ch.Name = "一般月_ch"
100 100
         Me.一般月_ch.Size = New System.Drawing.Size(62, 20)
101 101
         Me.一般月_ch.TabIndex = 1216
@@ -107,7 +107,7 @@ Partial Class 銷售控制表
107 107
         Me.會計月_ch.AutoSize = True
108 108
         Me.會計月_ch.Checked = True
109 109
         Me.會計月_ch.CheckState = System.Windows.Forms.CheckState.Checked
110
-        Me.會計月_ch.Location = New System.Drawing.Point(8, 32)
110
+        Me.會計月_ch.Location = New System.Drawing.Point(8, 28)
111 111
         Me.會計月_ch.Name = "會計月_ch"
112 112
         Me.會計月_ch.Size = New System.Drawing.Size(62, 20)
113 113
         Me.會計月_ch.TabIndex = 1215
@@ -117,7 +117,7 @@ Partial Class 銷售控制表
117 117
         '隱藏單據編號_ch
118 118
         '
119 119
         Me.隱藏單據編號_ch.AutoSize = True
120
-        Me.隱藏單據編號_ch.Location = New System.Drawing.Point(347, 8)
120
+        Me.隱藏單據編號_ch.Location = New System.Drawing.Point(347, 4)
121 121
         Me.隱藏單據編號_ch.Name = "隱藏單據編號_ch"
122 122
         Me.隱藏單據編號_ch.Size = New System.Drawing.Size(98, 20)
123 123
         Me.隱藏單據編號_ch.TabIndex = 1214
@@ -127,7 +127,7 @@ Partial Class 銷售控制表
127 127
         '隱藏供應商_ch
128 128
         '
129 129
         Me.隱藏供應商_ch.AutoSize = True
130
-        Me.隱藏供應商_ch.Location = New System.Drawing.Point(452, 8)
130
+        Me.隱藏供應商_ch.Location = New System.Drawing.Point(452, 4)
131 131
         Me.隱藏供應商_ch.Name = "隱藏供應商_ch"
132 132
         Me.隱藏供應商_ch.Size = New System.Drawing.Size(86, 20)
133 133
         Me.隱藏供應商_ch.TabIndex = 1213
@@ -137,7 +137,7 @@ Partial Class 銷售控制表
137 137
         '顯示彙總表_ch
138 138
         '
139 139
         Me.顯示彙總表_ch.AutoSize = True
140
-        Me.顯示彙總表_ch.Location = New System.Drawing.Point(254, 8)
140
+        Me.顯示彙總表_ch.Location = New System.Drawing.Point(254, 4)
141 141
         Me.顯示彙總表_ch.Name = "顯示彙總表_ch"
142 142
         Me.顯示彙總表_ch.Size = New System.Drawing.Size(86, 20)
143 143
         Me.顯示彙總表_ch.TabIndex = 1212
@@ -147,7 +147,7 @@ Partial Class 銷售控制表
147 147
         'Label25
148 148
         '
149 149
         Me.Label25.AutoSize = True
150
-        Me.Label25.Location = New System.Drawing.Point(693, 57)
150
+        Me.Label25.Location = New System.Drawing.Point(693, 53)
151 151
         Me.Label25.Name = "Label25"
152 152
         Me.Label25.Size = New System.Drawing.Size(79, 16)
153 153
         Me.Label25.TabIndex = 1211
@@ -156,7 +156,7 @@ Partial Class 銷售控制表
156 156
         '總成本_tb
157 157
         '
158 158
         Me.總成本_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
159
-        Me.總成本_tb.Location = New System.Drawing.Point(980, 54)
159
+        Me.總成本_tb.Location = New System.Drawing.Point(980, 50)
160 160
         Me.總成本_tb.Name = "總成本_tb"
161 161
         Me.總成本_tb.Size = New System.Drawing.Size(100, 23)
162 162
         Me.總成本_tb.TabIndex = 1185
@@ -166,7 +166,7 @@ Partial Class 銷售控制表
166 166
         'Label24
167 167
         '
168 168
         Me.Label24.AutoSize = True
169
-        Me.Label24.Location = New System.Drawing.Point(693, 33)
169
+        Me.Label24.Location = New System.Drawing.Point(693, 29)
170 170
         Me.Label24.Name = "Label24"
171 171
         Me.Label24.Size = New System.Drawing.Size(91, 16)
172 172
         Me.Label24.TabIndex = 1210
@@ -175,7 +175,7 @@ Partial Class 銷售控制表
175 175
         '客戶_利潤_tb
176 176
         '
177 177
         Me.客戶_利潤_tb.ForeColor = System.Drawing.Color.Purple
178
-        Me.客戶_利潤_tb.Location = New System.Drawing.Point(587, 54)
178
+        Me.客戶_利潤_tb.Location = New System.Drawing.Point(587, 50)
179 179
         Me.客戶_利潤_tb.Name = "客戶_利潤_tb"
180 180
         Me.客戶_利潤_tb.Size = New System.Drawing.Size(100, 23)
181 181
         Me.客戶_利潤_tb.TabIndex = 1179
@@ -185,7 +185,7 @@ Partial Class 銷售控制表
185 185
         '總利潤_tb
186 186
         '
187 187
         Me.總利潤_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
188
-        Me.總利潤_tb.Location = New System.Drawing.Point(1144, 54)
188
+        Me.總利潤_tb.Location = New System.Drawing.Point(1144, 50)
189 189
         Me.總利潤_tb.Name = "總利潤_tb"
190 190
         Me.總利潤_tb.Size = New System.Drawing.Size(100, 23)
191 191
         Me.總利潤_tb.TabIndex = 1178
@@ -196,7 +196,7 @@ Partial Class 銷售控制表
196 196
         '
197 197
         Me.Label12.AutoSize = True
198 198
         Me.Label12.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
199
-        Me.Label12.Location = New System.Drawing.Point(1111, 57)
199
+        Me.Label12.Location = New System.Drawing.Point(1111, 53)
200 200
         Me.Label12.Name = "Label12"
201 201
         Me.Label12.Size = New System.Drawing.Size(31, 16)
202 202
         Me.Label12.TabIndex = 1176
@@ -205,7 +205,7 @@ Partial Class 銷售控制表
205 205
         '已出_成本_tb
206 206
         '
207 207
         Me.已出_成本_tb.ForeColor = System.Drawing.Color.Green
208
-        Me.已出_成本_tb.Location = New System.Drawing.Point(980, 30)
208
+        Me.已出_成本_tb.Location = New System.Drawing.Point(980, 26)
209 209
         Me.已出_成本_tb.Name = "已出_成本_tb"
210 210
         Me.已出_成本_tb.Size = New System.Drawing.Size(100, 23)
211 211
         Me.已出_成本_tb.TabIndex = 1186
@@ -215,7 +215,7 @@ Partial Class 銷售控制表
215 215
         '總銷售_tb
216 216
         '
217 217
         Me.總銷售_tb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
218
-        Me.總銷售_tb.Location = New System.Drawing.Point(824, 54)
218
+        Me.總銷售_tb.Location = New System.Drawing.Point(824, 50)
219 219
         Me.總銷售_tb.Name = "總銷售_tb"
220 220
         Me.總銷售_tb.Size = New System.Drawing.Size(100, 23)
221 221
         Me.總銷售_tb.TabIndex = 1193
@@ -225,7 +225,7 @@ Partial Class 銷售控制表
225 225
         '未出_成本_tb
226 226
         '
227 227
         Me.未出_成本_tb.ForeColor = System.Drawing.Color.Maroon
228
-        Me.未出_成本_tb.Location = New System.Drawing.Point(980, 6)
228
+        Me.未出_成本_tb.Location = New System.Drawing.Point(980, 2)
229 229
         Me.未出_成本_tb.Name = "未出_成本_tb"
230 230
         Me.未出_成本_tb.Size = New System.Drawing.Size(100, 23)
231 231
         Me.未出_成本_tb.TabIndex = 1188
@@ -236,7 +236,7 @@ Partial Class 銷售控制表
236 236
         '
237 237
         Me.Label13.AutoSize = True
238 238
         Me.Label13.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
239
-        Me.Label13.Location = New System.Drawing.Point(791, 57)
239
+        Me.Label13.Location = New System.Drawing.Point(791, 53)
240 240
         Me.Label13.Name = "Label13"
241 241
         Me.Label13.Size = New System.Drawing.Size(31, 16)
242 242
         Me.Label13.TabIndex = 1191
@@ -245,7 +245,7 @@ Partial Class 銷售控制表
245 245
         '已出_利潤_tb
246 246
         '
247 247
         Me.已出_利潤_tb.ForeColor = System.Drawing.Color.Green
248
-        Me.已出_利潤_tb.Location = New System.Drawing.Point(1144, 30)
248
+        Me.已出_利潤_tb.Location = New System.Drawing.Point(1144, 26)
249 249
         Me.已出_利潤_tb.Name = "已出_利潤_tb"
250 250
         Me.已出_利潤_tb.Size = New System.Drawing.Size(100, 23)
251 251
         Me.已出_利潤_tb.TabIndex = 1177
@@ -257,7 +257,7 @@ Partial Class 銷售控制表
257 257
         Me.Label14.AutoSize = True
258 258
         Me.Label14.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
259 259
         Me.Label14.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
260
-        Me.Label14.Location = New System.Drawing.Point(1079, 51)
260
+        Me.Label14.Location = New System.Drawing.Point(1079, 47)
261 261
         Me.Label14.Name = "Label14"
262 262
         Me.Label14.Size = New System.Drawing.Size(27, 27)
263 263
         Me.Label14.TabIndex = 1204
@@ -267,7 +267,7 @@ Partial Class 銷售控制表
267 267
         '
268 268
         Me.Label1.AutoSize = True
269 269
         Me.Label1.ForeColor = System.Drawing.Color.Green
270
-        Me.Label1.Location = New System.Drawing.Point(1111, 33)
270
+        Me.Label1.Location = New System.Drawing.Point(1111, 29)
271 271
         Me.Label1.Name = "Label1"
272 272
         Me.Label1.Size = New System.Drawing.Size(31, 16)
273 273
         Me.Label1.TabIndex = 1173
@@ -277,7 +277,7 @@ Partial Class 銷售控制表
277 277
         '
278 278
         Me.Label15.AutoSize = True
279 279
         Me.Label15.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
280
-        Me.Label15.Location = New System.Drawing.Point(947, 57)
280
+        Me.Label15.Location = New System.Drawing.Point(947, 53)
281 281
         Me.Label15.Name = "Label15"
282 282
         Me.Label15.Size = New System.Drawing.Size(31, 16)
283 283
         Me.Label15.TabIndex = 1184
@@ -286,7 +286,7 @@ Partial Class 銷售控制表
286 286
         'Label23
287 287
         '
288 288
         Me.Label23.AutoSize = True
289
-        Me.Label23.Location = New System.Drawing.Point(693, 9)
289
+        Me.Label23.Location = New System.Drawing.Point(693, 5)
290 290
         Me.Label23.Name = "Label23"
291 291
         Me.Label23.Size = New System.Drawing.Size(91, 16)
292 292
         Me.Label23.TabIndex = 1209
@@ -297,7 +297,7 @@ Partial Class 銷售控制表
297 297
         Me.Label16.AutoSize = True
298 298
         Me.Label16.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
299 299
         Me.Label16.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
300
-        Me.Label16.Location = New System.Drawing.Point(924, 51)
300
+        Me.Label16.Location = New System.Drawing.Point(924, 47)
301 301
         Me.Label16.Name = "Label16"
302 302
         Me.Label16.Size = New System.Drawing.Size(21, 27)
303 303
         Me.Label16.TabIndex = 1197
@@ -306,7 +306,7 @@ Partial Class 銷售控制表
306 306
         '已出_銷售_tb
307 307
         '
308 308
         Me.已出_銷售_tb.ForeColor = System.Drawing.Color.Green
309
-        Me.已出_銷售_tb.Location = New System.Drawing.Point(824, 30)
309
+        Me.已出_銷售_tb.Location = New System.Drawing.Point(824, 26)
310 310
         Me.已出_銷售_tb.Name = "已出_銷售_tb"
311 311
         Me.已出_銷售_tb.Size = New System.Drawing.Size(100, 23)
312 312
         Me.已出_銷售_tb.TabIndex = 1196
@@ -316,7 +316,7 @@ Partial Class 銷售控制表
316 316
         '未出_利潤_tb
317 317
         '
318 318
         Me.未出_利潤_tb.ForeColor = System.Drawing.Color.Maroon
319
-        Me.未出_利潤_tb.Location = New System.Drawing.Point(1144, 6)
319
+        Me.未出_利潤_tb.Location = New System.Drawing.Point(1144, 2)
320 320
         Me.未出_利潤_tb.Name = "未出_利潤_tb"
321 321
         Me.未出_利潤_tb.Size = New System.Drawing.Size(100, 23)
322 322
         Me.未出_利潤_tb.TabIndex = 1180
@@ -327,7 +327,7 @@ Partial Class 銷售控制表
327 327
         '
328 328
         Me.Label5.AutoSize = True
329 329
         Me.Label5.ForeColor = System.Drawing.Color.Green
330
-        Me.Label5.Location = New System.Drawing.Point(791, 33)
330
+        Me.Label5.Location = New System.Drawing.Point(791, 29)
331 331
         Me.Label5.Name = "Label5"
332 332
         Me.Label5.Size = New System.Drawing.Size(31, 16)
333 333
         Me.Label5.TabIndex = 1190
@@ -337,7 +337,7 @@ Partial Class 銷售控制表
337 337
         '
338 338
         Me.Label6.AutoSize = True
339 339
         Me.Label6.ForeColor = System.Drawing.Color.Maroon
340
-        Me.Label6.Location = New System.Drawing.Point(1110, 9)
340
+        Me.Label6.Location = New System.Drawing.Point(1110, 5)
341 341
         Me.Label6.Name = "Label6"
342 342
         Me.Label6.Size = New System.Drawing.Size(31, 16)
343 343
         Me.Label6.TabIndex = 1175
@@ -348,7 +348,7 @@ Partial Class 銷售控制表
348 348
         Me.Label9.AutoSize = True
349 349
         Me.Label9.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
350 350
         Me.Label9.ForeColor = System.Drawing.Color.Green
351
-        Me.Label9.Location = New System.Drawing.Point(1079, 27)
351
+        Me.Label9.Location = New System.Drawing.Point(1079, 23)
352 352
         Me.Label9.Name = "Label9"
353 353
         Me.Label9.Size = New System.Drawing.Size(27, 27)
354 354
         Me.Label9.TabIndex = 1203
@@ -358,7 +358,7 @@ Partial Class 銷售控制表
358 358
         '
359 359
         Me.Label10.AutoSize = True
360 360
         Me.Label10.ForeColor = System.Drawing.Color.Green
361
-        Me.Label10.Location = New System.Drawing.Point(947, 33)
361
+        Me.Label10.Location = New System.Drawing.Point(947, 29)
362 362
         Me.Label10.Name = "Label10"
363 363
         Me.Label10.Size = New System.Drawing.Size(31, 16)
364 364
         Me.Label10.TabIndex = 1181
@@ -369,7 +369,7 @@ Partial Class 銷售控制表
369 369
         Me.Label11.AutoSize = True
370 370
         Me.Label11.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
371 371
         Me.Label11.ForeColor = System.Drawing.Color.Green
372
-        Me.Label11.Location = New System.Drawing.Point(924, 27)
372
+        Me.Label11.Location = New System.Drawing.Point(924, 23)
373 373
         Me.Label11.Name = "Label11"
374 374
         Me.Label11.Size = New System.Drawing.Size(21, 27)
375 375
         Me.Label11.TabIndex = 1198
@@ -378,7 +378,7 @@ Partial Class 銷售控制表
378 378
         '未出_銷售_tb
379 379
         '
380 380
         Me.未出_銷售_tb.ForeColor = System.Drawing.Color.Maroon
381
-        Me.未出_銷售_tb.Location = New System.Drawing.Point(824, 6)
381
+        Me.未出_銷售_tb.Location = New System.Drawing.Point(824, 2)
382 382
         Me.未出_銷售_tb.Name = "未出_銷售_tb"
383 383
         Me.未出_銷售_tb.Size = New System.Drawing.Size(100, 23)
384 384
         Me.未出_銷售_tb.TabIndex = 1195
@@ -389,7 +389,7 @@ Partial Class 銷售控制表
389 389
         '
390 390
         Me.Label8.AutoSize = True
391 391
         Me.Label8.ForeColor = System.Drawing.Color.Maroon
392
-        Me.Label8.Location = New System.Drawing.Point(791, 9)
392
+        Me.Label8.Location = New System.Drawing.Point(791, 5)
393 393
         Me.Label8.Name = "Label8"
394 394
         Me.Label8.Size = New System.Drawing.Size(31, 16)
395 395
         Me.Label8.TabIndex = 1189
@@ -400,7 +400,7 @@ Partial Class 銷售控制表
400 400
         Me.Label3.AutoSize = True
401 401
         Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
402 402
         Me.Label3.ForeColor = System.Drawing.Color.Maroon
403
-        Me.Label3.Location = New System.Drawing.Point(1079, 3)
403
+        Me.Label3.Location = New System.Drawing.Point(1079, -1)
404 404
         Me.Label3.Name = "Label3"
405 405
         Me.Label3.Size = New System.Drawing.Size(27, 27)
406 406
         Me.Label3.TabIndex = 1205
@@ -410,7 +410,7 @@ Partial Class 銷售控制表
410 410
         '
411 411
         Me.Label7.AutoSize = True
412 412
         Me.Label7.ForeColor = System.Drawing.Color.Maroon
413
-        Me.Label7.Location = New System.Drawing.Point(947, 9)
413
+        Me.Label7.Location = New System.Drawing.Point(947, 5)
414 414
         Me.Label7.Name = "Label7"
415 415
         Me.Label7.Size = New System.Drawing.Size(31, 16)
416 416
         Me.Label7.TabIndex = 1182
@@ -421,7 +421,7 @@ Partial Class 銷售控制表
421 421
         Me.Label2.AutoSize = True
422 422
         Me.Label2.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
423 423
         Me.Label2.ForeColor = System.Drawing.Color.Maroon
424
-        Me.Label2.Location = New System.Drawing.Point(924, 3)
424
+        Me.Label2.Location = New System.Drawing.Point(924, -1)
425 425
         Me.Label2.Name = "Label2"
426 426
         Me.Label2.Size = New System.Drawing.Size(21, 27)
427 427
         Me.Label2.TabIndex = 1201
@@ -432,21 +432,22 @@ Partial Class 銷售控制表
432 432
         Me.清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
433 433
             Or System.Windows.Forms.AnchorStyles.Left) _
434 434
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
435
+        Me.清單_dgv.BackgroundColor = System.Drawing.Color.White
435 436
         Me.清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
436
-        Me.清單_dgv.Location = New System.Drawing.Point(378, 79)
437
+        Me.清單_dgv.Location = New System.Drawing.Point(371, 74)
437 438
         Me.清單_dgv.Name = "清單_dgv"
438 439
         Me.清單_dgv.RowHeadersWidth = 5
439 440
         DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
440 441
         Me.清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
441 442
         Me.清單_dgv.RowTemplate.Height = 24
442
-        Me.清單_dgv.Size = New System.Drawing.Size(866, 529)
443
+        Me.清單_dgv.Size = New System.Drawing.Size(873, 535)
443 444
         Me.清單_dgv.TabIndex = 1200
444 445
         '
445 446
         '下個月_bt
446 447
         '
447 448
         Me.下個月_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
448 449
         Me.下個月_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
449
-        Me.下個月_bt.Location = New System.Drawing.Point(106, 53)
450
+        Me.下個月_bt.Location = New System.Drawing.Point(106, 49)
450 451
         Me.下個月_bt.Name = "下個月_bt"
451 452
         Me.下個月_bt.Size = New System.Drawing.Size(97, 25)
452 453
         Me.下個月_bt.TabIndex = 1172
@@ -457,7 +458,7 @@ Partial Class 銷售控制表
457 458
         '
458 459
         Me.上個月_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
459 460
         Me.上個月_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
460
-        Me.上個月_bt.Location = New System.Drawing.Point(5, 53)
461
+        Me.上個月_bt.Location = New System.Drawing.Point(5, 49)
461 462
         Me.上個月_bt.Name = "上個月_bt"
462 463
         Me.上個月_bt.Size = New System.Drawing.Size(97, 25)
463 464
         Me.上個月_bt.TabIndex = 1171
@@ -467,7 +468,7 @@ Partial Class 銷售控制表
467 468
         'Label4
468 469
         '
469 470
         Me.Label4.AutoSize = True
470
-        Me.Label4.Location = New System.Drawing.Point(94, 10)
471
+        Me.Label4.Location = New System.Drawing.Point(94, 6)
471 472
         Me.Label4.Name = "Label4"
472 473
         Me.Label4.Size = New System.Drawing.Size(19, 16)
473 474
         Me.Label4.TabIndex = 1170
@@ -477,7 +478,7 @@ Partial Class 銷售控制表
477 478
         '
478 479
         Me.結束日期_dtp.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right
479 480
         Me.結束日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
480
-        Me.結束日期_dtp.Location = New System.Drawing.Point(116, 6)
481
+        Me.結束日期_dtp.Location = New System.Drawing.Point(116, 2)
481 482
         Me.結束日期_dtp.Name = "結束日期_dtp"
482 483
         Me.結束日期_dtp.Size = New System.Drawing.Size(87, 23)
483 484
         Me.結束日期_dtp.TabIndex = 1169
@@ -485,7 +486,7 @@ Partial Class 銷售控制表
485 486
         '開始日期_dtp
486 487
         '
487 488
         Me.開始日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
488
-        Me.開始日期_dtp.Location = New System.Drawing.Point(5, 6)
489
+        Me.開始日期_dtp.Location = New System.Drawing.Point(5, 2)
489 490
         Me.開始日期_dtp.Name = "開始日期_dtp"
490 491
         Me.開始日期_dtp.Size = New System.Drawing.Size(87, 23)
491 492
         Me.開始日期_dtp.TabIndex = 1168
@@ -497,21 +498,22 @@ Partial Class 銷售控制表
497 498
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
498 499
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
499 500
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
501
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
500 502
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
501
-        Me.彙總_dgv.Location = New System.Drawing.Point(5, 79)
503
+        Me.彙總_dgv.Location = New System.Drawing.Point(5, 74)
502 504
         Me.彙總_dgv.Name = "彙總_dgv"
503 505
         Me.彙總_dgv.RowHeadersWidth = 5
504 506
         DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
505 507
         Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
506 508
         Me.彙總_dgv.RowTemplate.Height = 24
507
-        Me.彙總_dgv.Size = New System.Drawing.Size(367, 529)
509
+        Me.彙總_dgv.Size = New System.Drawing.Size(367, 535)
508 510
         Me.彙總_dgv.TabIndex = 1208
509 511
         '
510 512
         'Label22
511 513
         '
512 514
         Me.Label22.AutoSize = True
513 515
         Me.Label22.ForeColor = System.Drawing.Color.Black
514
-        Me.Label22.Location = New System.Drawing.Point(251, 33)
516
+        Me.Label22.Location = New System.Drawing.Point(251, 29)
515 517
         Me.Label22.Name = "Label22"
516 518
         Me.Label22.Size = New System.Drawing.Size(31, 16)
517 519
         Me.Label22.TabIndex = 1206
@@ -520,7 +522,7 @@ Partial Class 銷售控制表
520 522
         '客戶_tb
521 523
         '
522 524
         Me.客戶_tb.ForeColor = System.Drawing.Color.Black
523
-        Me.客戶_tb.Location = New System.Drawing.Point(289, 30)
525
+        Me.客戶_tb.Location = New System.Drawing.Point(289, 26)
524 526
         Me.客戶_tb.Name = "客戶_tb"
525 527
         Me.客戶_tb.Size = New System.Drawing.Size(100, 23)
526 528
         Me.客戶_tb.TabIndex = 1207
@@ -529,7 +531,7 @@ Partial Class 銷售控制表
529 531
         '客戶_成本_tb
530 532
         '
531 533
         Me.客戶_成本_tb.ForeColor = System.Drawing.Color.Purple
532
-        Me.客戶_成本_tb.Location = New System.Drawing.Point(438, 54)
534
+        Me.客戶_成本_tb.Location = New System.Drawing.Point(438, 50)
533 535
         Me.客戶_成本_tb.Name = "客戶_成本_tb"
534 536
         Me.客戶_成本_tb.Size = New System.Drawing.Size(100, 23)
535 537
         Me.客戶_成本_tb.TabIndex = 1187
@@ -540,7 +542,7 @@ Partial Class 銷售控制表
540 542
         '
541 543
         Me.Label18.AutoSize = True
542 544
         Me.Label18.ForeColor = System.Drawing.Color.Purple
543
-        Me.Label18.Location = New System.Drawing.Point(251, 57)
545
+        Me.Label18.Location = New System.Drawing.Point(251, 53)
544 546
         Me.Label18.Name = "Label18"
545 547
         Me.Label18.Size = New System.Drawing.Size(31, 16)
546 548
         Me.Label18.TabIndex = 1192
@@ -549,7 +551,7 @@ Partial Class 銷售控制表
549 551
         '客戶_銷售_tb
550 552
         '
551 553
         Me.客戶_銷售_tb.ForeColor = System.Drawing.Color.Purple
552
-        Me.客戶_銷售_tb.Location = New System.Drawing.Point(289, 54)
554
+        Me.客戶_銷售_tb.Location = New System.Drawing.Point(289, 50)
553 555
         Me.客戶_銷售_tb.Name = "客戶_銷售_tb"
554 556
         Me.客戶_銷售_tb.Size = New System.Drawing.Size(100, 23)
555 557
         Me.客戶_銷售_tb.TabIndex = 1194
@@ -561,7 +563,7 @@ Partial Class 銷售控制表
561 563
         Me.Label21.AutoSize = True
562 564
         Me.Label21.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
563 565
         Me.Label21.ForeColor = System.Drawing.Color.Purple
564
-        Me.Label21.Location = New System.Drawing.Point(389, 51)
566
+        Me.Label21.Location = New System.Drawing.Point(389, 47)
565 567
         Me.Label21.Name = "Label21"
566 568
         Me.Label21.Size = New System.Drawing.Size(21, 27)
567 569
         Me.Label21.TabIndex = 1199
@@ -571,7 +573,7 @@ Partial Class 銷售控制表
571 573
         '
572 574
         Me.Label20.AutoSize = True
573 575
         Me.Label20.ForeColor = System.Drawing.Color.Purple
574
-        Me.Label20.Location = New System.Drawing.Point(408, 57)
576
+        Me.Label20.Location = New System.Drawing.Point(408, 53)
575 577
         Me.Label20.Name = "Label20"
576 578
         Me.Label20.Size = New System.Drawing.Size(31, 16)
577 579
         Me.Label20.TabIndex = 1183
@@ -581,7 +583,7 @@ Partial Class 銷售控制表
581 583
         '
582 584
         Me.Label17.AutoSize = True
583 585
         Me.Label17.ForeColor = System.Drawing.Color.Purple
584
-        Me.Label17.Location = New System.Drawing.Point(557, 57)
586
+        Me.Label17.Location = New System.Drawing.Point(557, 53)
585 587
         Me.Label17.Name = "Label17"
586 588
         Me.Label17.Size = New System.Drawing.Size(31, 16)
587 589
         Me.Label17.TabIndex = 1174
@@ -592,7 +594,7 @@ Partial Class 銷售控制表
592 594
         Me.Label19.AutoSize = True
593 595
         Me.Label19.Font = New System.Drawing.Font("微軟正黑體", 15.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
594 596
         Me.Label19.ForeColor = System.Drawing.Color.Purple
595
-        Me.Label19.Location = New System.Drawing.Point(537, 51)
597
+        Me.Label19.Location = New System.Drawing.Point(537, 47)
596 598
         Me.Label19.Name = "Label19"
597 599
         Me.Label19.Size = New System.Drawing.Size(27, 27)
598 600
         Me.Label19.TabIndex = 1202
@@ -649,7 +651,6 @@ Partial Class 銷售控制表
649 651
         Me.Controls.Add(Me.Label3)
650 652
         Me.Controls.Add(Me.Label7)
651 653
         Me.Controls.Add(Me.Label2)
652
-        Me.Controls.Add(Me.清單_dgv)
653 654
         Me.Controls.Add(Me.下個月_bt)
654 655
         Me.Controls.Add(Me.上個月_bt)
655 656
         Me.Controls.Add(Me.Label4)
@@ -665,8 +666,9 @@ Partial Class 銷售控制表
665 666
         Me.Controls.Add(Me.Label20)
666 667
         Me.Controls.Add(Me.Label17)
667 668
         Me.Controls.Add(Me.Label19)
669
+        Me.Controls.Add(Me.清單_dgv)
668 670
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
669
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
671
+        Me.Margin = New System.Windows.Forms.Padding(4)
670 672
         Me.Name = "銷售控制表"
671 673
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
672 674
         Me.Text = "銷售控制表"

MAOJI-ERP-SYS/業務系統管理/銷售控制表.resx → MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售控制表.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售控制表.vb Zobrazit soubor

@@ -76,20 +76,6 @@ Public Class 銷售控制表
76 76
 
77 77
         彙總_dgv.Columns(0).ReadOnly = True : 彙總_dgv.Columns(1).ReadOnly = True : 彙總_dgv.Columns(2).ReadOnly = True : 彙總_dgv.Columns(3).ReadOnly = True
78 78
     End Sub
79
-    Private Sub 格式設定()
80
-        screenWidth = MAOJI_ERP_SYS.Width
81
-        screenHeight = MAOJI_ERP_SYS.Height
82
-        If 顯示彙總表_ch.Checked = True Then
83
-            彙總_dgv.Visible = True : 清單_dgv.Location = New Point(379, 76)
84
-            newWidth1 = screenWidth - 403 : newHeight1 = screenHeight - 171
85
-            清單_dgv.Size = New Size(newWidth1, newHeight1)
86
-        Else
87
-            彙總_dgv.Visible = False : 清單_dgv.Location = New Point(6, 76)
88
-            newWidth1 = screenWidth - 30 : newHeight1 = screenHeight - 171
89
-            清單_dgv.Size = New Size(newWidth1, newHeight1)
90
-        End If
91
-        If 顯示彙總表_ch.Checked = True Then : 清單_dgv.Columns(18).Width = 62 : Else : 清單_dgv.Columns(18).Width = 435 : End If
92
-    End Sub
93 79
     Private Sub 格式設定1()
94 80
         If 隱藏供應商_ch.Checked = True Then : 清單_dgv.Columns(4).Visible = False : Else : 清單_dgv.Columns(4).Visible = True : End If
95 81
     End Sub
@@ -189,13 +175,10 @@ Public Class 銷售控制表
189 175
         日期格式()
190 176
     End Sub
191 177
     Private Sub DateTimePicker1_ValueChanged(sender As Object, e As EventArgs) Handles 開始日期_dtp.ValueChanged
192
-        Set_清單() : Set_清單1() : 格式設定()
178
+        Set_清單() : Set_清單1()
193 179
     End Sub
194 180
     Private Sub DateTimePicker2_ValueChanged(sender As Object, e As EventArgs) Handles 結束日期_dtp.ValueChanged
195
-        Set_清單() : Set_清單1() : 格式設定()
196
-    End Sub
197
-    Private Sub CheckBox1_CheckedChanged(sender As Object, e As EventArgs) Handles 顯示彙總表_ch.CheckedChanged
198
-        格式設定()
181
+        Set_清單() : Set_清單1()
199 182
     End Sub
200 183
     Private Sub CheckBox2_CheckedChanged(sender As Object, e As EventArgs) Handles 隱藏供應商_ch.CheckedChanged
201 184
         格式設定1()
@@ -211,7 +194,6 @@ Public Class 銷售控制表
211 194
     End Sub
212 195
     '-----------------------------滑鼠右鍵------------------------------------------------------------------------------------------------------------------------------------------
213 196
     Private Sub 重新整理ToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles 重新整理ToolStripMenuItem.Click
214
-        Set_清單() : Set_清單1() : 格式設定()
197
+        Set_清單() : Set_清單1()
215 198
     End Sub
216
-
217 199
 End Class

MAOJI-ERP-SYS/業務系統管理/銷售退貨清單.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.Designer.vb Zobrazit soubor

@@ -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 DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Me.單號查詢_bt = New System.Windows.Forms.Button()
31 31
         Me.列印產品標籤_bt = New System.Windows.Forms.Button()
32 32
         Me.列印退貨單_bt = New System.Windows.Forms.Button()
@@ -84,7 +84,7 @@ Partial Class 銷售退貨清單
84 84
         '
85 85
         Me.單號查詢_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
86 86
         Me.單號查詢_bt.ForeColor = System.Drawing.Color.Green
87
-        Me.單號查詢_bt.Location = New System.Drawing.Point(6, 6)
87
+        Me.單號查詢_bt.Location = New System.Drawing.Point(6, 2)
88 88
         Me.單號查詢_bt.Name = "單號查詢_bt"
89 89
         Me.單號查詢_bt.Size = New System.Drawing.Size(102, 35)
90 90
         Me.單號查詢_bt.TabIndex = 1286
@@ -95,7 +95,7 @@ Partial Class 銷售退貨清單
95 95
         '
96 96
         Me.列印產品標籤_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
97 97
         Me.列印產品標籤_bt.ForeColor = System.Drawing.Color.Green
98
-        Me.列印產品標籤_bt.Location = New System.Drawing.Point(285, 6)
98
+        Me.列印產品標籤_bt.Location = New System.Drawing.Point(285, 2)
99 99
         Me.列印產品標籤_bt.Name = "列印產品標籤_bt"
100 100
         Me.列印產品標籤_bt.Size = New System.Drawing.Size(102, 35)
101 101
         Me.列印產品標籤_bt.TabIndex = 1285
@@ -106,7 +106,7 @@ Partial Class 銷售退貨清單
106 106
         '
107 107
         Me.列印退貨單_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
108 108
         Me.列印退貨單_bt.ForeColor = System.Drawing.Color.Green
109
-        Me.列印退貨單_bt.Location = New System.Drawing.Point(177, 6)
109
+        Me.列印退貨單_bt.Location = New System.Drawing.Point(177, 2)
110 110
         Me.列印退貨單_bt.Name = "列印退貨單_bt"
111 111
         Me.列印退貨單_bt.Size = New System.Drawing.Size(102, 35)
112 112
         Me.列印退貨單_bt.TabIndex = 1284
@@ -518,37 +518,39 @@ Partial Class 銷售退貨清單
518 518
         '
519 519
         '明細_dgv
520 520
         '
521
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
522
-        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
521
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
522
+        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
523 523
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
524 524
             Or System.Windows.Forms.AnchorStyles.Left) _
525 525
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
526 526
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
527
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
527 528
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
528
-        Me.明細_dgv.Location = New System.Drawing.Point(393, 105)
529
+        Me.明細_dgv.Location = New System.Drawing.Point(390, 104)
529 530
         Me.明細_dgv.Name = "明細_dgv"
530 531
         Me.明細_dgv.RowHeadersWidth = 5
531
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
532
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
532
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
533
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
533 534
         Me.明細_dgv.RowTemplate.Height = 24
534
-        Me.明細_dgv.Size = New System.Drawing.Size(849, 501)
535
+        Me.明細_dgv.Size = New System.Drawing.Size(854, 505)
535 536
         Me.明細_dgv.TabIndex = 1266
536 537
         '
537 538
         '彙總_dgv
538 539
         '
539
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
540
-        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
540
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
541
+        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
541 542
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
542 543
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
543 544
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
545
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
544 546
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
545
-        Me.彙總_dgv.Location = New System.Drawing.Point(6, 43)
547
+        Me.彙總_dgv.Location = New System.Drawing.Point(6, 38)
546 548
         Me.彙總_dgv.Name = "彙總_dgv"
547 549
         Me.彙總_dgv.RowHeadersWidth = 5
548
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
549
-        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
550
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
551
+        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
550 552
         Me.彙總_dgv.RowTemplate.Height = 24
551
-        Me.彙總_dgv.Size = New System.Drawing.Size(381, 563)
553
+        Me.彙總_dgv.Size = New System.Drawing.Size(381, 571)
552 554
         Me.彙總_dgv.TabIndex = 1271
553 555
         '
554 556
         'ContextMenuStrip1
@@ -587,6 +589,7 @@ Partial Class 銷售退貨清單
587 589
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
588 590
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
589 591
         Me.ClientSize = New System.Drawing.Size(1249, 611)
592
+        Me.Controls.Add(Me.明細_dgv)
590 593
         Me.Controls.Add(Me.單號查詢_bt)
591 594
         Me.Controls.Add(Me.列印產品標籤_bt)
592 595
         Me.Controls.Add(Me.列印退貨單_bt)
@@ -628,10 +631,9 @@ Partial Class 銷售退貨清單
628 631
         Me.Controls.Add(Me.Label2)
629 632
         Me.Controls.Add(Me.Label20)
630 633
         Me.Controls.Add(Me.Label26)
631
-        Me.Controls.Add(Me.明細_dgv)
632 634
         Me.Controls.Add(Me.彙總_dgv)
633 635
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
634
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
636
+        Me.Margin = New System.Windows.Forms.Padding(4)
635 637
         Me.Name = "銷售退貨清單"
636 638
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
637 639
         Me.Text = "銷售退貨清單"

MAOJI-ERP-SYS/業務系統管理/銷售退貨清單.resx → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售退貨清單.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨清單.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售退貨申請.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.Designer.vb Zobrazit soubor

@@ -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 DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Me.修改存檔_bt = New System.Windows.Forms.Button()
31 31
         Me.本單售價_nud = New System.Windows.Forms.NumericUpDown()
32 32
         Me.Label21 = New System.Windows.Forms.Label()
@@ -106,7 +106,7 @@ Partial Class 銷售退貨申請
106 106
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
107 107
         Me.修改存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
108 108
         Me.修改存檔_bt.ForeColor = System.Drawing.Color.Green
109
-        Me.修改存檔_bt.Location = New System.Drawing.Point(395, 576)
109
+        Me.修改存檔_bt.Location = New System.Drawing.Point(395, 579)
110 110
         Me.修改存檔_bt.Name = "修改存檔_bt"
111 111
         Me.修改存檔_bt.Size = New System.Drawing.Size(849, 30)
112 112
         Me.修改存檔_bt.TabIndex = 1266
@@ -117,7 +117,7 @@ Partial Class 銷售退貨申請
117 117
         '
118 118
         Me.本單售價_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
119 119
         Me.本單售價_nud.DecimalPlaces = 2
120
-        Me.本單售價_nud.Location = New System.Drawing.Point(207, 558)
120
+        Me.本單售價_nud.Location = New System.Drawing.Point(201, 558)
121 121
         Me.本單售價_nud.Maximum = New Decimal(New Integer() {100000, 0, 0, 0})
122 122
         Me.本單售價_nud.Name = "本單售價_nud"
123 123
         Me.本單售價_nud.Size = New System.Drawing.Size(82, 23)
@@ -128,7 +128,7 @@ Partial Class 銷售退貨申請
128 128
         '
129 129
         Me.Label21.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
130 130
         Me.Label21.AutoSize = True
131
-        Me.Label21.Location = New System.Drawing.Point(151, 562)
131
+        Me.Label21.Location = New System.Drawing.Point(145, 562)
132 132
         Me.Label21.Name = "Label21"
133 133
         Me.Label21.Size = New System.Drawing.Size(55, 16)
134 134
         Me.Label21.TabIndex = 1264
@@ -138,7 +138,7 @@ Partial Class 銷售退貨申請
138 138
         '
139 139
         Me.Label14.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
140 140
         Me.Label14.AutoSize = True
141
-        Me.Label14.Location = New System.Drawing.Point(291, 562)
141
+        Me.Label14.Location = New System.Drawing.Point(285, 562)
142 142
         Me.Label14.Name = "Label14"
143 143
         Me.Label14.Size = New System.Drawing.Size(43, 16)
144 144
         Me.Label14.TabIndex = 1263
@@ -147,7 +147,7 @@ Partial Class 銷售退貨申請
147 147
         '可退貨數_tb
148 148
         '
149 149
         Me.可退貨數_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
150
-        Me.可退貨數_tb.Location = New System.Drawing.Point(335, 558)
150
+        Me.可退貨數_tb.Location = New System.Drawing.Point(329, 558)
151 151
         Me.可退貨數_tb.Name = "可退貨數_tb"
152 152
         Me.可退貨數_tb.Size = New System.Drawing.Size(54, 23)
153 153
         Me.可退貨數_tb.TabIndex = 1262
@@ -158,7 +158,7 @@ Partial Class 銷售退貨申請
158 158
         '
159 159
         Me.Label15.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
160 160
         Me.Label15.AutoSize = True
161
-        Me.Label15.Location = New System.Drawing.Point(5, 536)
161
+        Me.Label15.Location = New System.Drawing.Point(-1, 536)
162 162
         Me.Label15.Name = "Label15"
163 163
         Me.Label15.Size = New System.Drawing.Size(67, 16)
164 164
         Me.Label15.TabIndex = 1261
@@ -168,7 +168,7 @@ Partial Class 銷售退貨申請
168 168
         '
169 169
         Me.供應商編號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
170 170
         Me.供應商編號_tb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
171
-        Me.供應商編號_tb.Location = New System.Drawing.Point(73, 533)
171
+        Me.供應商編號_tb.Location = New System.Drawing.Point(67, 533)
172 172
         Me.供應商編號_tb.Name = "供應商編號_tb"
173 173
         Me.供應商編號_tb.Size = New System.Drawing.Size(128, 23)
174 174
         Me.供應商編號_tb.TabIndex = 1260
@@ -200,7 +200,7 @@ Partial Class 銷售退貨申請
200 200
         '
201 201
         Me.匯率_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
202 202
         Me.匯率_nud.DecimalPlaces = 4
203
-        Me.匯率_nud.Location = New System.Drawing.Point(67, 583)
203
+        Me.匯率_nud.Location = New System.Drawing.Point(61, 583)
204 204
         Me.匯率_nud.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
205 205
         Me.匯率_nud.Name = "匯率_nud"
206 206
         Me.匯率_nud.Size = New System.Drawing.Size(69, 23)
@@ -212,7 +212,7 @@ Partial Class 銷售退貨申請
212 212
         '
213 213
         Me.Label3.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
214 214
         Me.Label3.AutoSize = True
215
-        Me.Label3.Location = New System.Drawing.Point(11, 586)
215
+        Me.Label3.Location = New System.Drawing.Point(5, 586)
216 216
         Me.Label3.Name = "Label3"
217 217
         Me.Label3.Size = New System.Drawing.Size(55, 16)
218 218
         Me.Label3.TabIndex = 1256
@@ -222,7 +222,7 @@ Partial Class 銷售退貨申請
222 222
         '
223 223
         Me.成本金額_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
224 224
         Me.成本金額_nud.DecimalPlaces = 2
225
-        Me.成本金額_nud.Location = New System.Drawing.Point(67, 558)
225
+        Me.成本金額_nud.Location = New System.Drawing.Point(61, 558)
226 226
         Me.成本金額_nud.Maximum = New Decimal(New Integer() {100000, 0, 0, 0})
227 227
         Me.成本金額_nud.Name = "成本金額_nud"
228 228
         Me.成本金額_nud.Size = New System.Drawing.Size(82, 23)
@@ -233,7 +233,7 @@ Partial Class 銷售退貨申請
233 233
         '
234 234
         Me.Label17.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
235 235
         Me.Label17.AutoSize = True
236
-        Me.Label17.Location = New System.Drawing.Point(11, 561)
236
+        Me.Label17.Location = New System.Drawing.Point(5, 561)
237 237
         Me.Label17.Name = "Label17"
238 238
         Me.Label17.Size = New System.Drawing.Size(55, 16)
239 239
         Me.Label17.TabIndex = 1254
@@ -244,7 +244,7 @@ Partial Class 銷售退貨申請
244 244
         Me.新增物料到退貨單_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
245 245
         Me.新增物料到退貨單_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
246 246
         Me.新增物料到退貨單_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
247
-        Me.新增物料到退貨單_bt.Location = New System.Drawing.Point(271, 583)
247
+        Me.新增物料到退貨單_bt.Location = New System.Drawing.Point(265, 583)
248 248
         Me.新增物料到退貨單_bt.Name = "新增物料到退貨單_bt"
249 249
         Me.新增物料到退貨單_bt.Size = New System.Drawing.Size(118, 24)
250 250
         Me.新增物料到退貨單_bt.TabIndex = 1253
@@ -254,7 +254,7 @@ Partial Class 銷售退貨申請
254 254
         '退貨數_nud
255 255
         '
256 256
         Me.退貨數_nud.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
257
-        Me.退貨數_nud.Location = New System.Drawing.Point(207, 584)
257
+        Me.退貨數_nud.Location = New System.Drawing.Point(201, 584)
258 258
         Me.退貨數_nud.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
259 259
         Me.退貨數_nud.Name = "退貨數_nud"
260 260
         Me.退貨數_nud.Size = New System.Drawing.Size(62, 23)
@@ -265,7 +265,7 @@ Partial Class 銷售退貨申請
265 265
         '
266 266
         Me.Label13.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
267 267
         Me.Label13.AutoSize = True
268
-        Me.Label13.Location = New System.Drawing.Point(142, 586)
268
+        Me.Label13.Location = New System.Drawing.Point(136, 586)
269 269
         Me.Label13.Name = "Label13"
270 270
         Me.Label13.Size = New System.Drawing.Size(67, 16)
271 271
         Me.Label13.TabIndex = 1251
@@ -275,7 +275,7 @@ Partial Class 銷售退貨申請
275 275
         '
276 276
         Me.Label11.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
277 277
         Me.Label11.AutoSize = True
278
-        Me.Label11.Location = New System.Drawing.Point(210, 536)
278
+        Me.Label11.Location = New System.Drawing.Point(204, 536)
279 279
         Me.Label11.Name = "Label11"
280 280
         Me.Label11.Size = New System.Drawing.Size(31, 16)
281 281
         Me.Label11.TabIndex = 1250
@@ -284,7 +284,7 @@ Partial Class 銷售退貨申請
284 284
         '料號_tb
285 285
         '
286 286
         Me.料號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
287
-        Me.料號_tb.Location = New System.Drawing.Point(248, 533)
287
+        Me.料號_tb.Location = New System.Drawing.Point(242, 533)
288 288
         Me.料號_tb.Name = "料號_tb"
289 289
         Me.料號_tb.Size = New System.Drawing.Size(141, 23)
290 290
         Me.料號_tb.TabIndex = 1249
@@ -681,35 +681,37 @@ Partial Class 銷售退貨申請
681 681
         '
682 682
         '明細_dgv
683 683
         '
684
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
685
-        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
684
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
685
+        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
686 686
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
687 687
             Or System.Windows.Forms.AnchorStyles.Left) _
688 688
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
689 689
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
690
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
690 691
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
691
-        Me.明細_dgv.Location = New System.Drawing.Point(395, 103)
692
+        Me.明細_dgv.Location = New System.Drawing.Point(386, 103)
692 693
         Me.明細_dgv.Name = "明細_dgv"
693 694
         Me.明細_dgv.RowHeadersWidth = 5
694
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
695
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
695
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
696
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
696 697
         Me.明細_dgv.RowTemplate.Height = 24
697
-        Me.明細_dgv.Size = New System.Drawing.Size(849, 466)
698
+        Me.明細_dgv.Size = New System.Drawing.Size(858, 473)
698 699
         Me.明細_dgv.TabIndex = 1232
699 700
         '
700 701
         '物料清單_dgv
701 702
         '
702
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
703
-        Me.物料清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
703
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
704
+        Me.物料清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
704 705
         Me.物料清單_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
705 706
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
706 707
         Me.物料清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
708
+        Me.物料清單_dgv.BackgroundColor = System.Drawing.Color.White
707 709
         Me.物料清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
708
-        Me.物料清單_dgv.Location = New System.Drawing.Point(8, 4)
710
+        Me.物料清單_dgv.Location = New System.Drawing.Point(3, 2)
709 711
         Me.物料清單_dgv.Name = "物料清單_dgv"
710 712
         Me.物料清單_dgv.RowHeadersWidth = 5
711
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
712
-        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
713
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
714
+        Me.物料清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
713 715
         Me.物料清單_dgv.RowTemplate.Height = 24
714 716
         Me.物料清單_dgv.Size = New System.Drawing.Size(381, 525)
715 717
         Me.物料清單_dgv.TabIndex = 1237
@@ -762,6 +764,7 @@ Partial Class 銷售退貨申請
762 764
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
763 765
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
764 766
         Me.ClientSize = New System.Drawing.Size(1249, 611)
767
+        Me.Controls.Add(Me.明細_dgv)
765 768
         Me.Controls.Add(Me.修改存檔_bt)
766 769
         Me.Controls.Add(Me.本單售價_nud)
767 770
         Me.Controls.Add(Me.Label21)
@@ -817,10 +820,9 @@ Partial Class 銷售退貨申請
817 820
         Me.Controls.Add(Me.Label2)
818 821
         Me.Controls.Add(Me.Label20)
819 822
         Me.Controls.Add(Me.Label26)
820
-        Me.Controls.Add(Me.明細_dgv)
821 823
         Me.Controls.Add(Me.物料清單_dgv)
822 824
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
823
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
825
+        Me.Margin = New System.Windows.Forms.Padding(4)
824 826
         Me.Name = "銷售退貨申請"
825 827
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
826 828
         Me.Text = "銷售退貨申請"

MAOJI-ERP-SYS/業務系統管理/銷售退貨申請.resx → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售退貨申請.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨申請.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售退貨確認.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.Designer.vb Zobrazit soubor

@@ -23,8 +23,8 @@ Partial Class 銷售退貨確認
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle4 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
         Me.佣金修改_bt = New System.Windows.Forms.Button()
29 29
         Me.司機比例_cb = New System.Windows.Forms.ComboBox()
30 30
         Me.Label28 = New System.Windows.Forms.Label()
@@ -243,20 +243,21 @@ Partial Class 銷售退貨確認
243 243
         '
244 244
         '銷售退貨_dgv
245 245
         '
246
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
247
-        Me.銷售退貨_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
246
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
247
+        Me.銷售退貨_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
248 248
         Me.銷售退貨_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
249 249
             Or System.Windows.Forms.AnchorStyles.Left) _
250 250
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
251 251
         Me.銷售退貨_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
252
+        Me.銷售退貨_dgv.BackgroundColor = System.Drawing.Color.White
252 253
         Me.銷售退貨_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
253
-        Me.銷售退貨_dgv.Location = New System.Drawing.Point(7, 58)
254
+        Me.銷售退貨_dgv.Location = New System.Drawing.Point(2, 56)
254 255
         Me.銷售退貨_dgv.Name = "銷售退貨_dgv"
255 256
         Me.銷售退貨_dgv.RowHeadersWidth = 5
256
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
257
-        Me.銷售退貨_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
257
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
258
+        Me.銷售退貨_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
258 259
         Me.銷售退貨_dgv.RowTemplate.Height = 24
259
-        Me.銷售退貨_dgv.Size = New System.Drawing.Size(1235, 547)
260
+        Me.銷售退貨_dgv.Size = New System.Drawing.Size(1243, 552)
260 261
         Me.銷售退貨_dgv.TabIndex = 1170
261 262
         '
262 263
         'Label4
@@ -356,7 +357,7 @@ Partial Class 銷售退貨確認
356 357
         Me.Controls.Add(Me.Label4)
357 358
         Me.Controls.Add(Me.Label20)
358 359
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
359
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
360
+        Me.Margin = New System.Windows.Forms.Padding(4)
360 361
         Me.Name = "銷售退貨確認"
361 362
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
362 363
         Me.Text = "銷售退貨確認"

MAOJI-ERP-SYS/業務系統管理/銷售退貨確認.resx → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/銷售退貨確認.vb → MAOJI-ERP-SYS/04、業務系統管理/銷售退貨確認.vb Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/零售客戶記錄表.Designer.vb → MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.Designer.vb Zobrazit soubor

@@ -89,6 +89,7 @@ Partial Class 零售客戶記錄表
89 89
             Or System.Windows.Forms.AnchorStyles.Left) _
90 90
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
91 91
         Me.零售清單_tb.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
92
+        Me.零售清單_tb.BackgroundColor = System.Drawing.Color.White
92 93
         Me.零售清單_tb.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
93 94
         Me.零售清單_tb.Location = New System.Drawing.Point(7, 55)
94 95
         Me.零售清單_tb.Name = "零售清單_tb"
@@ -302,7 +303,7 @@ Partial Class 零售客戶記錄表
302 303
         Me.Controls.Add(Me.Label8)
303 304
         Me.Controls.Add(Me.Label26)
304 305
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
305
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
306
+        Me.Margin = New System.Windows.Forms.Padding(4)
306 307
         Me.Name = "零售客戶記錄表"
307 308
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
308 309
         Me.Text = "零售客戶記錄表"

MAOJI-ERP-SYS/業務系統管理/零售客戶記錄表.resx → MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.resx Zobrazit soubor


MAOJI-ERP-SYS/業務系統管理/零售客戶記錄表.vb → MAOJI-ERP-SYS/04、業務系統管理/零售客戶記錄表.vb Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產入庫.Designer.vb → MAOJI-ERP-SYS/05、生產系統管理/生產入庫.Designer.vb Zobrazit soubor

@@ -149,6 +149,7 @@ Partial Class 生產入庫
149 149
             Or System.Windows.Forms.AnchorStyles.Left) _
150 150
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
151 151
         Me.生產入庫_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
152
+        Me.生產入庫_dgv.BackgroundColor = System.Drawing.Color.White
152 153
         Me.生產入庫_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
153 154
         Me.生產入庫_dgv.Location = New System.Drawing.Point(7, 31)
154 155
         Me.生產入庫_dgv.Name = "生產入庫_dgv"
@@ -225,7 +226,7 @@ Partial Class 生產入庫
225 226
         Me.Controls.Add(Me.入庫確認_bt)
226 227
         Me.Controls.Add(Me.生產入庫_dgv)
227 228
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
228
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
229
+        Me.Margin = New System.Windows.Forms.Padding(4)
229 230
         Me.Name = "生產入庫"
230 231
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
231 232
         Me.Text = "生產入庫"

MAOJI-ERP-SYS/生產系統管理/生產入庫.resx → MAOJI-ERP-SYS/05、生產系統管理/生產入庫.resx Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產入庫.vb → MAOJI-ERP-SYS/05、生產系統管理/生產入庫.vb Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產控制表.Designer.vb → MAOJI-ERP-SYS/05、生產系統管理/生產控制表.Designer.vb Zobrazit soubor

@@ -296,6 +296,7 @@ Partial Class 生產控制表
296 296
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
297 297
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
298 298
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
299
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
299 300
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
300 301
         Me.彙總_dgv.Location = New System.Drawing.Point(7, 56)
301 302
         Me.彙總_dgv.Name = "彙總_dgv"
@@ -311,6 +312,7 @@ Partial Class 生產控制表
311 312
         Me.完整清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
312 313
             Or System.Windows.Forms.AnchorStyles.Left) _
313 314
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
315
+        Me.完整清單_dgv.BackgroundColor = System.Drawing.Color.White
314 316
         Me.完整清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
315 317
         Me.完整清單_dgv.Location = New System.Drawing.Point(425, 56)
316 318
         Me.完整清單_dgv.Name = "完整清單_dgv"
@@ -381,7 +383,7 @@ Partial Class 生產控制表
381 383
         Me.Controls.Add(Me.完整清單_dgv)
382 384
         Me.Controls.Add(Me.部分清單_dgv)
383 385
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
384
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
386
+        Me.Margin = New System.Windows.Forms.Padding(4)
385 387
         Me.Name = "生產控制表"
386 388
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
387 389
         Me.Text = "生產控制表"

MAOJI-ERP-SYS/生產系統管理/生產控制表.resx → MAOJI-ERP-SYS/05、生產系統管理/生產控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產控制表.vb → MAOJI-ERP-SYS/05、生產系統管理/生產控制表.vb Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產確認.Designer.vb → MAOJI-ERP-SYS/05、生產系統管理/生產確認.Designer.vb Zobrazit soubor

@@ -149,6 +149,7 @@ Partial Class 生產確認
149 149
             Or System.Windows.Forms.AnchorStyles.Left) _
150 150
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
151 151
         Me.生產出庫_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
152
+        Me.生產出庫_dgv.BackgroundColor = System.Drawing.Color.White
152 153
         Me.生產出庫_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
153 154
         Me.生產出庫_dgv.Location = New System.Drawing.Point(7, 31)
154 155
         Me.生產出庫_dgv.Name = "生產出庫_dgv"
@@ -225,7 +226,7 @@ Partial Class 生產確認
225 226
         Me.Controls.Add(Me.出庫確認_bt)
226 227
         Me.Controls.Add(Me.生產出庫_dgv)
227 228
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
228
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
229
+        Me.Margin = New System.Windows.Forms.Padding(4)
229 230
         Me.Name = "生產確認"
230 231
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
231 232
         Me.Text = "生產確認"

MAOJI-ERP-SYS/生產系統管理/生產確認.resx → MAOJI-ERP-SYS/05、生產系統管理/生產確認.resx Zobrazit soubor


MAOJI-ERP-SYS/生產系統管理/生產確認.vb → MAOJI-ERP-SYS/05、生產系統管理/生產確認.vb Zobrazit soubor


MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.Designer.vb
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 129
- 0
MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.resx Zobrazit soubor

@@ -0,0 +1,129 @@
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
+  <metadata name="ContextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121
+    <value>25, 7</value>
122
+  </metadata>
123
+  <metadata name="ToolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124
+    <value>181, 5</value>
125
+  </metadata>
126
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
127
+    <value>32</value>
128
+  </metadata>
129
+</root>

MAOJI-ERP-SYS/採購系統管理/供應商資料管理.vb → MAOJI-ERP-SYS/06、採購系統管理/供應商資料管理.vb Zobrazit soubor

@@ -6,7 +6,13 @@ Public Class 供應商資料管理
6 6
         供應商明細_dgv.DataSource = Nothing : ds.Clear() : 供應商明細_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
7 7
         供應商明細_dgv.ColumnHeadersHeight = 50 : 供應商明細_dgv.AllowUserToAddRows = False : 供應商明細_dgv.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableWithoutHeaderText
8 8
         供應商明細_dgv.MultiSelect = True
9
-        SQL__供應商資料管理清單()
9
+        If 全部_ch.Checked = True And 啟用_ch.Checked = False And 停用1_ch.Checked = False Then : SQL2 = ""
10
+        ElseIf 全部_ch.Checked = False And 啟用_ch.Checked = True And 停用1_ch.Checked = False Then : SQL2 = " AND 供應商資料表.停用 <> '1'"
11
+        ElseIf 全部_ch.Checked = False And 啟用_ch.Checked = False And 停用1_ch.Checked = True Then : SQL2 = " AND 供應商資料表.停用 = '1'" : End If
12
+        If 貿易_ch.Checked = True And 國內_ch.Checked = False And 國外_ch.Checked = False Then : SQL2 &= ""
13
+        ElseIf 貿易_ch.Checked = False And 國內_ch.Checked = True And 國外_ch.Checked = False Then : SQL2 &= " AND 供應商資料表.外貿對象 <> '1'"
14
+        ElseIf 貿易_ch.Checked = False And 國內_ch.Checked = False And 國外_ch.Checked = True Then : SQL2 &= " AND 供應商資料表.外貿對象 = '1'" : End If
15
+        SQL__供應商資料管理清單() : SQL2 = ""
10 16
         cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd : da.Fill(ds) : 供應商明細_dgv.DataSource = ds.Tables(0) : conn.Close()
11 17
 
12 18
         供應商明細_dgv.Columns(0).Visible = False : 供應商明細_dgv.Columns(1).FillWeight = 8 : 供應商明細_dgv.Columns(2).FillWeight = 3.5 : 供應商明細_dgv.Columns(3).Visible = False
@@ -37,11 +43,30 @@ Public Class 供應商資料管理
37 43
         PA = "%%" : SQL_付款方式查詢()
38 44
         付款方式_cb.Items.Clear() : While (dr.Read()) : 付款方式_cb.Items.Add(dr("付款方式")) : End While : conn.Close()
39 45
     End Sub
46
+    Private Sub 關鍵字查詢_bt_MouseEnter(sender As Object, e As EventArgs) Handles 關鍵字查詢_bt.MouseEnter
47
+        ToolTip1.SetToolTip(Me.關鍵字查詢_bt, "關鍵字查詢")
48
+    End Sub
49
+    Private Sub 新增供應商資料_bt_MouseEnter(sender As Object, e As EventArgs) Handles 新增供應商資料_bt.MouseEnter
50
+        ToolTip1.SetToolTip(Me.新增供應商資料_bt, "新增供應商資料")
51
+    End Sub
52
+    Private Sub 資料存檔_bt_MouseEnter(sender As Object, e As EventArgs) Handles 資料存檔_bt.MouseEnter
53
+        ToolTip1.SetToolTip(Me.資料存檔_bt, "資料存檔")
54
+    End Sub
55
+    Private Sub 導入EXCEL_bt_MouseEnter(sender As Object, e As EventArgs) Handles 導入EXCEL_bt.MouseEnter
56
+        ToolTip1.SetToolTip(Me.導入EXCEL_bt, "導入EXCEL")
57
+    End Sub
58
+    Private Sub 導出EXCEL_bt_MouseEnter(sender As Object, e As EventArgs) Handles 導出EXCEL_bt.MouseEnter
59
+        ToolTip1.SetToolTip(Me.導出EXCEL_bt, "導出EXCEL")
60
+    End Sub
40 61
     Private Sub 供應商資料管理_Load(sender As Object, e As EventArgs) Handles MyBase.Load
41
-        Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
62
+        MAOJI_ERP_SYS.WindowState = 2 : Me.MdiParent = MAOJI_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
42 63
         編號_tb.Enabled = False : TextBox27.Visible = False
43 64
         ComboBox1下拉表單資料載入() : Set_供應商清單()
44
-        If gUserName = "李協叡" Then : 資料刪除ToolStripMenuItem.Enabled = True : Else : 資料刪除ToolStripMenuItem.Enabled = False : End If
65
+        If gUserName = "李協叡" Then : 資料刪除ToolStripMenuItem.Enabled = True : 導入EXCEL_bt.Enabled = True : 導出EXCEL_bt.Enabled = True
66
+        Else : 資料刪除ToolStripMenuItem.Enabled = False : 導入EXCEL_bt.Enabled = False : 導出EXCEL_bt.Enabled = False : End If
67
+    End Sub
68
+    Private Sub 供應商資料管理_Closed(sender As Object, e As EventArgs) Handles MyBase.Closed
69
+        MAOJI_ERP_SYS.WindowState = 0
45 70
     End Sub
46 71
     Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles 供應商明細_dgv.CellClick
47 72
         If e.RowIndex = -1 Then : Else
@@ -73,6 +98,24 @@ Public Class 供應商資料管理
73 98
         PA = InputBox("請輸入要查詢的關鍵字")
74 99
         Set_供應商清單()
75 100
     End Sub
101
+    Private Sub 全部_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 全部_ch.Click
102
+        全部_ch.Checked = True : 啟用_ch.Checked = False : 停用1_ch.Checked = False : Set_供應商清單()
103
+    End Sub
104
+    Private Sub 啟用_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 啟用_ch.Click
105
+        全部_ch.Checked = False : 啟用_ch.Checked = True : 停用1_ch.Checked = False : Set_供應商清單()
106
+    End Sub
107
+    Private Sub 停用1_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 停用1_ch.Click
108
+        全部_ch.Checked = False : 啟用_ch.Checked = False : 停用1_ch.Checked = True : Set_供應商清單()
109
+    End Sub
110
+    Private Sub 貿易_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 貿易_ch.Click
111
+        貿易_ch.Checked = True : 國外_ch.Checked = False : 國內_ch.Checked = False : Set_供應商清單()
112
+    End Sub
113
+    Private Sub 國外_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 國外_ch.Click
114
+        貿易_ch.Checked = False : 國外_ch.Checked = True : 國內_ch.Checked = False : Set_供應商清單()
115
+    End Sub
116
+    Private Sub 國內_ch_CheckedChanged(sender As Object, e As EventArgs) Handles 國內_ch.Click
117
+        貿易_ch.Checked = False : 國外_ch.Checked = False : 國內_ch.Checked = True : Set_供應商清單()
118
+    End Sub
76 119
     Private Sub Button6_Click(sender As Object, e As EventArgs) Handles 新增供應商資料_bt.Click
77 120
         供應商明細_dgv.Enabled = False
78 121
         公司_tb.Text = "" : 簡稱_tb.Text = "" : 負責人_tb.Text = "" : 負責人電話_tb.Text = "" : 公司電話1_tb.Text = "" : 公司電話2_tb.Text = "" : 傳真1_tb.Text = "" : 傳真2_tb.Text = ""

MAOJI-ERP-SYS/採購系統管理/採購單申請.Designer.vb → MAOJI-ERP-SYS/06、採購系統管理/採購單申請.Designer.vb Zobrazit soubor

@@ -582,6 +582,7 @@ Partial Class 採購單申請
582 582
         Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
583 583
         Me.彙總_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
584 584
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
585
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
585 586
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
586 587
         Me.彙總_dgv.Location = New System.Drawing.Point(9, 355)
587 588
         Me.彙總_dgv.Name = "彙總_dgv"
@@ -668,6 +669,7 @@ Partial Class 採購單申請
668 669
         Me.物料檔案_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
669 670
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
670 671
         Me.物料檔案_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
672
+        Me.物料檔案_dgv.BackgroundColor = System.Drawing.Color.White
671 673
         Me.物料檔案_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
672 674
         Me.物料檔案_dgv.Location = New System.Drawing.Point(9, 31)
673 675
         Me.物料檔案_dgv.Name = "物料檔案_dgv"
@@ -741,6 +743,7 @@ Partial Class 採購單申請
741 743
             Or System.Windows.Forms.AnchorStyles.Left) _
742 744
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
743 745
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
746
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
744 747
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
745 748
         Me.明細_dgv.Location = New System.Drawing.Point(393, 133)
746 749
         Me.明細_dgv.Name = "明細_dgv"
@@ -841,6 +844,7 @@ Partial Class 採購單申請
841 844
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
842 845
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
843 846
         Me.ClientSize = New System.Drawing.Size(1249, 611)
847
+        Me.Controls.Add(Me.明細_dgv)
844 848
         Me.Controls.Add(Me.列印產品標籤_bt)
845 849
         Me.Controls.Add(Me.列印採購單_bt)
846 850
         Me.Controls.Add(Me.非當天日期_ch)
@@ -900,9 +904,8 @@ Partial Class 採購單申請
900 904
         Me.Controls.Add(Me.Label4)
901 905
         Me.Controls.Add(Me.Label3)
902 906
         Me.Controls.Add(Me.Label20)
903
-        Me.Controls.Add(Me.明細_dgv)
904 907
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
905
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
908
+        Me.Margin = New System.Windows.Forms.Padding(4)
906 909
         Me.Name = "採購單申請"
907 910
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
908 911
         Me.Text = "採購單申請"

MAOJI-ERP-SYS/採購系統管理/採購單申請.resx → MAOJI-ERP-SYS/06、採購系統管理/採購單申請.resx Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購單申請.vb → MAOJI-ERP-SYS/06、採購系統管理/採購單申請.vb Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購控制表.Designer.vb → MAOJI-ERP-SYS/06、採購系統管理/採購控制表.Designer.vb Zobrazit soubor

@@ -134,6 +134,7 @@ Partial Class 採購控制表
134 134
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
135 135
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
136 136
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
137
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
137 138
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
138 139
         Me.彙總_dgv.Location = New System.Drawing.Point(7, 58)
139 140
         Me.彙總_dgv.Name = "彙總_dgv"
@@ -218,6 +219,7 @@ Partial Class 採購控制表
218 219
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
219 220
             Or System.Windows.Forms.AnchorStyles.Left) _
220 221
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
222
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
221 223
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
222 224
         Me.明細_dgv.Location = New System.Drawing.Point(250, 58)
223 225
         Me.明細_dgv.Name = "明細_dgv"
@@ -337,7 +339,7 @@ Partial Class 採購控制表
337 339
         Me.Controls.Add(Me.開始日期_dtp)
338 340
         Me.Controls.Add(Me.Label22)
339 341
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
340
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
342
+        Me.Margin = New System.Windows.Forms.Padding(4)
341 343
         Me.Name = "採購控制表"
342 344
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
343 345
         Me.Text = "採購控制表"

MAOJI-ERP-SYS/採購系統管理/採購控制表.resx → MAOJI-ERP-SYS/06、採購系統管理/採購控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購控制表.vb → MAOJI-ERP-SYS/06、採購系統管理/採購控制表.vb Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退貨申請.Designer.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.Designer.vb Zobrazit soubor

@@ -23,11 +23,11 @@ Partial Class 採購退貨申請
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 31
         Me.Label23 = New System.Windows.Forms.Label()
32 32
         Me.修改存檔_bt = New System.Windows.Forms.Button()
33 33
         Me.新增物料到退貨單 = New System.Windows.Forms.Button()
@@ -323,12 +323,13 @@ Partial Class 採購退貨申請
323 323
         Me.庫存_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
324 324
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
325 325
         Me.庫存_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
326
+        Me.庫存_dgv.BackgroundColor = System.Drawing.Color.White
326 327
         Me.庫存_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
327 328
         Me.庫存_dgv.Location = New System.Drawing.Point(12, 308)
328 329
         Me.庫存_dgv.Name = "庫存_dgv"
329 330
         Me.庫存_dgv.RowHeadersWidth = 5
330
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
331
-        Me.庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
331
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
332
+        Me.庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
332 333
         Me.庫存_dgv.RowTemplate.Height = 24
333 334
         Me.庫存_dgv.Size = New System.Drawing.Size(378, 245)
334 335
         Me.庫存_dgv.TabIndex = 1188
@@ -709,33 +710,35 @@ Partial Class 採購退貨申請
709 710
         '
710 711
         '明細_dgv
711 712
         '
712
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
713
-        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
713
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
714
+        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
714 715
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
715 716
             Or System.Windows.Forms.AnchorStyles.Left) _
716 717
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
717 718
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
719
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
718 720
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
719 721
         Me.明細_dgv.Location = New System.Drawing.Point(396, 130)
720 722
         Me.明細_dgv.Name = "明細_dgv"
721 723
         Me.明細_dgv.RowHeadersWidth = 5
722
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
723
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
724
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
725
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
724 726
         Me.明細_dgv.RowTemplate.Height = 24
725 727
         Me.明細_dgv.Size = New System.Drawing.Size(849, 450)
726 728
         Me.明細_dgv.TabIndex = 1178
727 729
         '
728 730
         '彙總_dgv
729 731
         '
730
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
731
-        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
732
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
733
+        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
732 734
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
735
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
733 736
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
734 737
         Me.彙總_dgv.Location = New System.Drawing.Point(9, 5)
735 738
         Me.彙總_dgv.Name = "彙總_dgv"
736 739
         Me.彙總_dgv.RowHeadersWidth = 5
737
-        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
738
-        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
740
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
741
+        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
739 742
         Me.彙總_dgv.RowTemplate.Height = 24
740 743
         Me.彙總_dgv.Size = New System.Drawing.Size(381, 251)
741 744
         Me.彙總_dgv.TabIndex = 1152
@@ -849,7 +852,7 @@ Partial Class 採購退貨申請
849 852
         Me.Controls.Add(Me.明細_dgv)
850 853
         Me.Controls.Add(Me.彙總_dgv)
851 854
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
852
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
855
+        Me.Margin = New System.Windows.Forms.Padding(4)
853 856
         Me.Name = "採購退貨申請"
854 857
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
855 858
         Me.Text = "採購退貨申請"

MAOJI-ERP-SYS/採購系統管理/採購退貨申請.resx → MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.resx Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退貨申請.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退貨申請.vb Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退貨確認.Designer.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.Designer.vb Zobrazit soubor

@@ -167,6 +167,7 @@ Partial Class 採購退貨確認
167 167
             Or System.Windows.Forms.AnchorStyles.Left) _
168 168
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
169 169
         Me.退貨明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
170
+        Me.退貨明細_dgv.BackgroundColor = System.Drawing.Color.White
170 171
         Me.退貨明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
171 172
         Me.退貨明細_dgv.Location = New System.Drawing.Point(7, 31)
172 173
         Me.退貨明細_dgv.Name = "退貨明細_dgv"
@@ -245,7 +246,7 @@ Partial Class 採購退貨確認
245 246
         Me.Controls.Add(Me.確認收料入庫_bt)
246 247
         Me.Controls.Add(Me.退貨明細_dgv)
247 248
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
248
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
249
+        Me.Margin = New System.Windows.Forms.Padding(4)
249 250
         Me.Name = "採購退貨確認"
250 251
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
251 252
         Me.Text = "採購退貨確認"

MAOJI-ERP-SYS/採購系統管理/採購退貨確認.resx → MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.resx Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退貨確認.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退貨確認.vb Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退賀清單.Designer.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.Designer.vb Zobrazit soubor

@@ -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 DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Me.單號查詢_bt = New System.Windows.Forms.Button()
31 31
         Me.列印產品標籤_bt = New System.Windows.Forms.Button()
32 32
         Me.列印退貨單_bt = New System.Windows.Forms.Button()
@@ -465,35 +465,37 @@ Partial Class 採購退賀清單
465 465
         '
466 466
         '明細_dgv
467 467
         '
468
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
469
-        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
468
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
469
+        Me.明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
470 470
         Me.明細_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
471 471
             Or System.Windows.Forms.AnchorStyles.Left) _
472 472
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
473 473
         Me.明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
474
+        Me.明細_dgv.BackgroundColor = System.Drawing.Color.White
474 475
         Me.明細_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
475 476
         Me.明細_dgv.Location = New System.Drawing.Point(393, 131)
476 477
         Me.明細_dgv.Name = "明細_dgv"
477 478
         Me.明細_dgv.RowHeadersWidth = 5
478
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
479
-        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
479
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
480
+        Me.明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
480 481
         Me.明細_dgv.RowTemplate.Height = 24
481 482
         Me.明細_dgv.Size = New System.Drawing.Size(849, 475)
482 483
         Me.明細_dgv.TabIndex = 1271
483 484
         '
484 485
         '彙總_dgv
485 486
         '
486
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
487
-        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
487
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer))
488
+        Me.彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
488 489
         Me.彙總_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
489 490
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
490 491
         Me.彙總_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
492
+        Me.彙總_dgv.BackgroundColor = System.Drawing.Color.White
491 493
         Me.彙總_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
492 494
         Me.彙總_dgv.Location = New System.Drawing.Point(6, 43)
493 495
         Me.彙總_dgv.Name = "彙總_dgv"
494 496
         Me.彙總_dgv.RowHeadersWidth = 5
495
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
496
-        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
497
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
498
+        Me.彙總_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
497 499
         Me.彙總_dgv.RowTemplate.Height = 24
498 500
         Me.彙總_dgv.Size = New System.Drawing.Size(381, 563)
499 501
         Me.彙總_dgv.TabIndex = 1245
@@ -574,7 +576,7 @@ Partial Class 採購退賀清單
574 576
         Me.Controls.Add(Me.明細_dgv)
575 577
         Me.Controls.Add(Me.彙總_dgv)
576 578
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
577
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
579
+        Me.Margin = New System.Windows.Forms.Padding(4)
578 580
         Me.Name = "採購退賀清單"
579 581
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
580 582
         Me.Text = "採購退賀清單"

MAOJI-ERP-SYS/採購系統管理/採購退賀清單.resx → MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.resx Zobrazit soubor


MAOJI-ERP-SYS/採購系統管理/採購退賀清單.vb → MAOJI-ERP-SYS/06、採購系統管理/採購退賀清單.vb Zobrazit soubor


MAOJI-ERP-SYS/倉儲系統管理/倉儲入庫驗收.Designer.vb → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.Designer.vb Zobrazit soubor

@@ -23,8 +23,8 @@ Partial Class 倉儲入庫驗收
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle4 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
         Me.Label1 = New System.Windows.Forms.Label()
29 29
         Me.倉庫編號_tb = New System.Windows.Forms.TextBox()
30 30
         Me.指定倉處_cb = New System.Windows.Forms.ComboBox()
@@ -165,18 +165,19 @@ Partial Class 倉儲入庫驗收
165 165
         '
166 166
         '倉儲入庫_dgv
167 167
         '
168
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
169
-        Me.倉儲入庫_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
168
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
169
+        Me.倉儲入庫_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
170 170
         Me.倉儲入庫_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
171 171
             Or System.Windows.Forms.AnchorStyles.Left) _
172 172
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
173 173
         Me.倉儲入庫_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
174
+        Me.倉儲入庫_dgv.BackgroundColor = System.Drawing.Color.White
174 175
         Me.倉儲入庫_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
175 176
         Me.倉儲入庫_dgv.Location = New System.Drawing.Point(7, 31)
176 177
         Me.倉儲入庫_dgv.Name = "倉儲入庫_dgv"
177 178
         Me.倉儲入庫_dgv.RowHeadersWidth = 5
178
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
179
-        Me.倉儲入庫_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
179
+        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
180
+        Me.倉儲入庫_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
180 181
         Me.倉儲入庫_dgv.RowTemplate.Height = 24
181 182
         Me.倉儲入庫_dgv.Size = New System.Drawing.Size(1235, 575)
182 183
         Me.倉儲入庫_dgv.TabIndex = 1090
@@ -249,7 +250,7 @@ Partial Class 倉儲入庫驗收
249 250
         Me.Controls.Add(Me.入庫確認_bt)
250 251
         Me.Controls.Add(Me.倉儲入庫_dgv)
251 252
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
252
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
253
+        Me.Margin = New System.Windows.Forms.Padding(4)
253 254
         Me.Name = "倉儲入庫驗收"
254 255
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
255 256
         Me.Text = "倉儲入庫驗收"

MAOJI-ERP-SYS/倉儲系統管理/倉儲入庫驗收.resx → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.resx Zobrazit soubor


MAOJI-ERP-SYS/倉儲系統管理/倉儲入庫驗收.vb → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲入庫驗收.vb Zobrazit soubor


MAOJI-ERP-SYS/倉儲系統管理/倉儲分區控制表.Designer.vb → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.Designer.vb Zobrazit soubor

@@ -22,12 +22,11 @@ Partial Class 倉儲分區控制表
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26 26
         Me.Label3 = New System.Windows.Forms.Label()
27 27
         Me.倉名_tb = New System.Windows.Forms.TextBox()
28 28
         Me.Label2 = New System.Windows.Forms.Label()
29 29
         Me.倉明編號_tb = New System.Windows.Forms.TextBox()
30
-        Me.關閉_bt = New System.Windows.Forms.Button()
31 30
         Me.Label1 = New System.Windows.Forms.Label()
32 31
         Me.倉級_cb = New System.Windows.Forms.ComboBox()
33 32
         Me.刪除_bt = New System.Windows.Forms.Button()
@@ -40,7 +39,7 @@ Partial Class 倉儲分區控制表
40 39
         'Label3
41 40
         '
42 41
         Me.Label3.AutoSize = True
43
-        Me.Label3.Location = New System.Drawing.Point(270, 63)
42
+        Me.Label3.Location = New System.Drawing.Point(1, 30)
44 43
         Me.Label3.Name = "Label3"
45 44
         Me.Label3.Size = New System.Drawing.Size(31, 16)
46 45
         Me.Label3.TabIndex = 618
@@ -48,16 +47,16 @@ Partial Class 倉儲分區控制表
48 47
         '
49 48
         '倉名_tb
50 49
         '
51
-        Me.倉名_tb.Location = New System.Drawing.Point(308, 59)
50
+        Me.倉名_tb.Location = New System.Drawing.Point(36, 27)
52 51
         Me.倉名_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
53 52
         Me.倉名_tb.Name = "倉名_tb"
54
-        Me.倉名_tb.Size = New System.Drawing.Size(108, 23)
53
+        Me.倉名_tb.Size = New System.Drawing.Size(206, 23)
55 54
         Me.倉名_tb.TabIndex = 617
56 55
         '
57 56
         'Label2
58 57
         '
59 58
         Me.Label2.AutoSize = True
60
-        Me.Label2.Location = New System.Drawing.Point(130, 63)
59
+        Me.Label2.Location = New System.Drawing.Point(114, 6)
61 60
         Me.Label2.Name = "Label2"
62 61
         Me.Label2.Size = New System.Drawing.Size(55, 16)
63 62
         Me.Label2.TabIndex = 616
@@ -65,27 +64,16 @@ Partial Class 倉儲分區控制表
65 64
         '
66 65
         '倉明編號_tb
67 66
         '
68
-        Me.倉明編號_tb.Location = New System.Drawing.Point(192, 59)
67
+        Me.倉明編號_tb.Location = New System.Drawing.Point(170, 2)
69 68
         Me.倉明編號_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
70 69
         Me.倉明編號_tb.Name = "倉明編號_tb"
71 70
         Me.倉明編號_tb.Size = New System.Drawing.Size(72, 23)
72 71
         Me.倉明編號_tb.TabIndex = 615
73 72
         '
74
-        '關閉_bt
75
-        '
76
-        Me.關閉_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
77
-        Me.關閉_bt.Location = New System.Drawing.Point(332, 9)
78
-        Me.關閉_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
79
-        Me.關閉_bt.Name = "關閉_bt"
80
-        Me.關閉_bt.Size = New System.Drawing.Size(84, 42)
81
-        Me.關閉_bt.TabIndex = 614
82
-        Me.關閉_bt.Text = "關閉 "
83
-        Me.關閉_bt.UseVisualStyleBackColor = True
84
-        '
85 73
         'Label1
86 74
         '
87 75
         Me.Label1.AutoSize = True
88
-        Me.Label1.Location = New System.Drawing.Point(11, 63)
76
+        Me.Label1.Location = New System.Drawing.Point(1, 6)
89 77
         Me.Label1.Name = "Label1"
90 78
         Me.Label1.Size = New System.Drawing.Size(31, 16)
91 79
         Me.Label1.TabIndex = 613
@@ -96,7 +84,7 @@ Partial Class 倉儲分區控制表
96 84
         Me.倉級_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
97 85
         Me.倉級_cb.FormattingEnabled = True
98 86
         Me.倉級_cb.Items.AddRange(New Object() {"1", "2", "3"})
99
-        Me.倉級_cb.Location = New System.Drawing.Point(52, 59)
87
+        Me.倉級_cb.Location = New System.Drawing.Point(36, 2)
100 88
         Me.倉級_cb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
101 89
         Me.倉級_cb.Name = "倉級_cb"
102 90
         Me.倉級_cb.Size = New System.Drawing.Size(70, 24)
@@ -104,38 +92,41 @@ Partial Class 倉儲分區控制表
104 92
         '
105 93
         '刪除_bt
106 94
         '
95
+        Me.刪除_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.GarbageEmpty
96
+        Me.刪除_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
107 97
         Me.刪除_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
108 98
         Me.刪除_bt.ForeColor = System.Drawing.Color.Red
109
-        Me.刪除_bt.Location = New System.Drawing.Point(191, 9)
99
+        Me.刪除_bt.Location = New System.Drawing.Point(337, 3)
110 100
         Me.刪除_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
111 101
         Me.刪除_bt.Name = "刪除_bt"
112
-        Me.刪除_bt.Size = New System.Drawing.Size(84, 42)
102
+        Me.刪除_bt.Size = New System.Drawing.Size(48, 48)
113 103
         Me.刪除_bt.TabIndex = 611
114
-        Me.刪除_bt.Text = "刪除"
115 104
         Me.刪除_bt.UseVisualStyleBackColor = True
116 105
         '
117 106
         '修改_bt
118 107
         '
108
+        Me.修改_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.SAVER
109
+        Me.修改_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
119 110
         Me.修改_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
120 111
         Me.修改_bt.ForeColor = System.Drawing.Color.Green
121
-        Me.修改_bt.Location = New System.Drawing.Point(101, 9)
112
+        Me.修改_bt.Location = New System.Drawing.Point(290, 3)
122 113
         Me.修改_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
123 114
         Me.修改_bt.Name = "修改_bt"
124
-        Me.修改_bt.Size = New System.Drawing.Size(84, 42)
115
+        Me.修改_bt.Size = New System.Drawing.Size(48, 48)
125 116
         Me.修改_bt.TabIndex = 610
126
-        Me.修改_bt.Text = "修改 "
127 117
         Me.修改_bt.UseVisualStyleBackColor = True
128 118
         '
129 119
         '新增_bt
130 120
         '
121
+        Me.新增_bt.BackgroundImage = Global.MAOJI_ERP_SYS.My.Resources.Resources.add_2
122
+        Me.新增_bt.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
131 123
         Me.新增_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
132 124
         Me.新增_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
133
-        Me.新增_bt.Location = New System.Drawing.Point(11, 9)
125
+        Me.新增_bt.Location = New System.Drawing.Point(242, 3)
134 126
         Me.新增_bt.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
135 127
         Me.新增_bt.Name = "新增_bt"
136
-        Me.新增_bt.Size = New System.Drawing.Size(84, 42)
128
+        Me.新增_bt.Size = New System.Drawing.Size(48, 48)
137 129
         Me.新增_bt.TabIndex = 609
138
-        Me.新增_bt.Text = "新增 "
139 130
         Me.新增_bt.UseVisualStyleBackColor = True
140 131
         '
141 132
         '倉編清單_dgv
@@ -144,27 +135,27 @@ Partial Class 倉儲分區控制表
144 135
             Or System.Windows.Forms.AnchorStyles.Left) _
145 136
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
146 137
         Me.倉編清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
138
+        Me.倉編清單_dgv.BackgroundColor = System.Drawing.Color.White
147 139
         Me.倉編清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
148
-        Me.倉編清單_dgv.Location = New System.Drawing.Point(13, 90)
140
+        Me.倉編清單_dgv.Location = New System.Drawing.Point(3, 52)
149 141
         Me.倉編清單_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
150 142
         Me.倉編清單_dgv.Name = "倉編清單_dgv"
151 143
         Me.倉編清單_dgv.RowHeadersWidth = 5
152
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
153
-        Me.倉編清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
144
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
145
+        Me.倉編清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
154 146
         Me.倉編清單_dgv.RowTemplate.Height = 24
155
-        Me.倉編清單_dgv.Size = New System.Drawing.Size(403, 344)
147
+        Me.倉編清單_dgv.Size = New System.Drawing.Size(382, 388)
156 148
         Me.倉編清單_dgv.TabIndex = 608
157 149
         '
158 150
         '倉儲分區控制表
159 151
         '
160 152
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
161 153
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
162
-        Me.ClientSize = New System.Drawing.Size(427, 443)
154
+        Me.ClientSize = New System.Drawing.Size(389, 444)
163 155
         Me.Controls.Add(Me.Label3)
164 156
         Me.Controls.Add(Me.倉名_tb)
165 157
         Me.Controls.Add(Me.Label2)
166 158
         Me.Controls.Add(Me.倉明編號_tb)
167
-        Me.Controls.Add(Me.關閉_bt)
168 159
         Me.Controls.Add(Me.Label1)
169 160
         Me.Controls.Add(Me.倉級_cb)
170 161
         Me.Controls.Add(Me.刪除_bt)
@@ -172,7 +163,7 @@ Partial Class 倉儲分區控制表
172 163
         Me.Controls.Add(Me.新增_bt)
173 164
         Me.Controls.Add(Me.倉編清單_dgv)
174 165
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
175
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
166
+        Me.Margin = New System.Windows.Forms.Padding(4)
176 167
         Me.Name = "倉儲分區控制表"
177 168
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
178 169
         Me.Text = "倉儲分區控制表"
@@ -186,7 +177,6 @@ Partial Class 倉儲分區控制表
186 177
     Friend WithEvents 倉名_tb As TextBox
187 178
     Friend WithEvents Label2 As Label
188 179
     Friend WithEvents 倉明編號_tb As TextBox
189
-    Friend WithEvents 關閉_bt As Button
190 180
     Friend WithEvents Label1 As Label
191 181
     Friend WithEvents 倉級_cb As ComboBox
192 182
     Friend WithEvents 刪除_bt As Button

MAOJI-ERP-SYS/倉儲系統管理/倉儲分區控制表.resx → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.resx Zobrazit soubor


MAOJI-ERP-SYS/倉儲系統管理/倉儲分區控制表.vb → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲分區控制表.vb Zobrazit soubor

@@ -4,36 +4,24 @@ Public Class 倉儲分區控制表
4 4
     Private Sub Set_清單1()
5 5
         倉編清單_dgv.DataSource = Nothing : ds.Clear()
6 6
         倉編清單_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
7
-        倉編清單_dgv.ColumnHeadersHeight = 25
8
-        倉編清單_dgv.AllowUserToAddRows = False
9
-        倉編清單_dgv.RowTemplate.Height = 25
7
+        倉編清單_dgv.ColumnHeadersHeight = 25 : 倉編清單_dgv.AllowUserToAddRows = False : 倉編清單_dgv.RowTemplate.Height = 25
10 8
         SQL_倉儲分區控制表清單()
11 9
         da.Fill(ds) : 倉編清單_dgv.DataSource = ds.Tables(0) : conn.Close()
12
-        倉編清單_dgv.Columns(0).FillWeight = 126 : 倉編清單_dgv.Columns(1).FillWeight = 126 : 倉編清單_dgv.Columns(2).FillWeight = 126
10
+        倉編清單_dgv.Columns(0).FillWeight = 50 : 倉編清單_dgv.Columns(1).FillWeight = 50 : 倉編清單_dgv.Columns(2).FillWeight = 100
13 11
     End Sub
14 12
     Private Sub 編號推進()
15 13
         SQL_倉儲分區控制表流水號最後一筆()
16
-        If dr.Read() Then
17
-            倉明編號_tb.Text = dr("倉名編號")
14
+        If dr.Read() Then : 倉明編號_tb.Text = dr("倉名編號")
18 15
             If Val(Strings.Right(倉明編號_tb.Text, 2)) < 10 Then
19 16
                 倉明編號_tb.Text = "N0" & Val(Strings.Right(倉明編號_tb.Text, 2)) + 1
20 17
             Else
21 18
                 倉明編號_tb.Text = "N" & Val(Strings.Right(倉明編號_tb.Text, 2)) + 1
22 19
             End If
23
-        Else
24
-            倉明編號_tb.Text = "N01"
25
-        End If
26
-        conn.Close()
20
+        Else : 倉明編號_tb.Text = "N01" : End If : conn.Close()
27 21
     End Sub
28 22
     Private Sub 倉儲分區控制表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
29
-        ControlBox = False
30
-        Set_清單1()
31
-        倉明編號_tb.Enabled = False
32
-        If gUserName = "李協叡" Then
33
-            修改_bt.Enabled = True : 刪除_bt.Enabled = True
34
-        Else
35
-            修改_bt.Enabled = False : 刪除_bt.Enabled = False
36
-        End If
23
+        Set_清單1() : 倉明編號_tb.Enabled = False
24
+        If gUserName = "李協叡" Then : 修改_bt.Enabled = True : 刪除_bt.Enabled = True : Else : 修改_bt.Enabled = False : 刪除_bt.Enabled = False : End If
37 25
         編號推進()
38 26
     End Sub
39 27
     Private Sub DataGridView1_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 倉編清單_dgv.CellClick
@@ -41,39 +29,26 @@ Public Class 倉儲分區控制表
41 29
             倉級_cb.Text = 倉編清單_dgv(0, e.RowIndex).Value.ToString : 倉明編號_tb.Text = 倉編清單_dgv(1, e.RowIndex).Value.ToString : 倉名_tb.Text = 倉編清單_dgv(2, e.RowIndex).Value.ToString
42 30
         End If
43 31
     End Sub
44
-    Private Sub Button4_Click(sender As Object, e As EventArgs) Handles 關閉_bt.Click
45
-        Me.Close()
46
-    End Sub
47 32
     Private Sub Button3_Click(sender As Object, e As EventArgs) Handles 新增_bt.Click
48
-        If 倉級_cb.Text = "" Or 倉名_tb.Text = "" Then : MsgBox("資料不齊全。")
49
-        Else
33
+        If 倉級_cb.Text = "" Or 倉名_tb.Text = "" Then : MsgBox("資料不齊全。") : Else
50 34
             編號推進() : PA = 倉名_tb.Text : SQL_倉名編號取得()
51
-            If dr.Read() Then : conn.Close() : MsgBox("資料重複。")
52
-            Else
35
+            If dr.Read() Then : conn.Close() : MsgBox("資料重複。") : Else
53 36
                 SQL_倉儲分區控制表_倉名編號_資料重複驗證()
54 37
                 If dr.Read() Then : conn.Close() : MsgBox("資料重複。")
55
-                Else : SQL_倉儲分區控制表新增() : conn.Close() : MsgBox("新增完成。") : 編號推進() : 倉名_tb.Text = "" : Set_清單1()
56
-                End If
38
+                Else : SQL_倉儲分區控制表新增() : conn.Close() : MsgBox("新增完成。") : 編號推進() : 倉名_tb.Text = "" : Set_清單1() : End If
57 39
             End If
58 40
         End If
59 41
     End Sub
60 42
     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles 修改_bt.Click
61
-        If 倉級_cb.Text = "" Or 倉名_tb.Text = "" Then : MsgBox("資料不齊全。")
62
-        Else
63
-            PA = 倉名_tb.Text : SQL_倉名編號取得()
64
-            If dr.Read() Then : conn.Close() : MsgBox("資料重複。")
65
-            Else
66
-                SQL_倉儲分區控制表_倉名編號_資料重複驗證()
43
+        If 倉級_cb.Text = "" Or 倉名_tb.Text = "" Then : MsgBox("資料不齊全。") : Else : PA = 倉名_tb.Text : SQL_倉名編號取得()
44
+            If dr.Read() Then : conn.Close() : MsgBox("資料重複。") : Else : SQL_倉儲分區控制表_倉名編號_資料重複驗證()
67 45
                 If dr.Read() Then : conn.Close() : MsgBox("資料重複。")
68
-                Else : SQL_倉儲分區控制表修改() : conn.Close() : MsgBox("修改完成。") : Set_清單1()
69
-                End If
46
+                Else : SQL_倉儲分區控制表修改() : conn.Close() : MsgBox("修改完成。") : Set_清單1() : End If
70 47
             End If
71 48
         End If
72 49
     End Sub
73 50
     Private Sub Button2_Click(sender As Object, e As EventArgs) Handles 刪除_bt.Click
74 51
         Dim aa As MsgBoxResult = MsgBox("確定要刪除該筆資料?", MsgBoxStyle.OkCancel)
75
-        If aa = MsgBoxResult.Ok Then
76
-            SQL_倉儲分區控制表刪除() : conn.Close() : MsgBox("刪除完成。") : 編號推進() : 倉名_tb.Text = "" : Set_清單1()
77
-        End If
52
+        If aa = MsgBoxResult.Ok Then : SQL_倉儲分區控制表刪除() : conn.Close() : MsgBox("刪除完成。") : 編號推進() : 倉名_tb.Text = "" : Set_清單1() : End If
78 53
     End Sub
79 54
 End Class

MAOJI-ERP-SYS/倉儲系統管理/倉儲庫存清單.Designer.vb → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲庫存清單.Designer.vb Zobrazit soubor

@@ -23,11 +23,11 @@ Partial Class 倉儲庫存清單
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31 31
         Me.加權成本_台幣_tb = New System.Windows.Forms.TextBox()
32 32
         Me.材質_tb = New System.Windows.Forms.TextBox()
33 33
         Me.尺寸_tb = New System.Windows.Forms.TextBox()
@@ -170,43 +170,44 @@ Partial Class 倉儲庫存清單
170 170
         Me.動態庫存_dgv.Location = New System.Drawing.Point(123, 115)
171 171
         Me.動態庫存_dgv.Name = "動態庫存_dgv"
172 172
         Me.動態庫存_dgv.RowHeadersWidth = 5
173
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
174
-        Me.動態庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
173
+        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
174
+        Me.動態庫存_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
175 175
         Me.動態庫存_dgv.RowTemplate.Height = 24
176 176
         Me.動態庫存_dgv.Size = New System.Drawing.Size(251, 256)
177 177
         Me.動態庫存_dgv.TabIndex = 1109
178 178
         '
179 179
         '組裝清單_dgv
180 180
         '
181
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
182
-        Me.組裝清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
181
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
182
+        Me.組裝清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
183 183
         Me.組裝清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
184 184
         Me.組裝清單_dgv.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders
185 185
         Me.組裝清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
186 186
         Me.組裝清單_dgv.Location = New System.Drawing.Point(380, 115)
187 187
         Me.組裝清單_dgv.Name = "組裝清單_dgv"
188 188
         Me.組裝清單_dgv.RowHeadersWidth = 5
189
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
190
-        Me.組裝清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
189
+        DataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
190
+        Me.組裝清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle3
191 191
         Me.組裝清單_dgv.RowTemplate.Height = 24
192 192
         Me.組裝清單_dgv.Size = New System.Drawing.Size(272, 256)
193 193
         Me.組裝清單_dgv.TabIndex = 1110
194 194
         '
195 195
         '庫存清單_dgv
196 196
         '
197
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
198
-        Me.庫存清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
197
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
198
+        Me.庫存清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
199 199
         Me.庫存清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
200 200
             Or System.Windows.Forms.AnchorStyles.Left) _
201 201
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
202 202
         Me.庫存清單_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
203
+        Me.庫存清單_dgv.BackgroundColor = System.Drawing.Color.White
203 204
         Me.庫存清單_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
204 205
         Me.庫存清單_dgv.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.供應商, Me.品名, Me.尺寸, Me.材質, Me.庫存, Me.採購下單, Me.入庫日期, Me.單價, Me.成本, Me.採購單號, Me.料號})
205 206
         Me.庫存清單_dgv.Location = New System.Drawing.Point(10, 37)
206 207
         Me.庫存清單_dgv.Name = "庫存清單_dgv"
207 208
         Me.庫存清單_dgv.RowHeadersWidth = 5
208
-        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
209
-        Me.庫存清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
209
+        DataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
210
+        Me.庫存清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle5
210 211
         Me.庫存清單_dgv.RowTemplate.Height = 24
211 212
         Me.庫存清單_dgv.Size = New System.Drawing.Size(1895, 935)
212 213
         Me.庫存清單_dgv.TabIndex = 1116
@@ -283,6 +284,7 @@ Partial Class 倉儲庫存清單
283 284
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
284 285
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
285 286
         Me.ClientSize = New System.Drawing.Size(1914, 981)
287
+        Me.Controls.Add(Me.庫存清單_dgv)
286 288
         Me.Controls.Add(Me.加權成本_台幣_tb)
287 289
         Me.Controls.Add(Me.材質_tb)
288 290
         Me.Controls.Add(Me.尺寸_tb)
@@ -296,9 +298,8 @@ Partial Class 倉儲庫存清單
296 298
         Me.Controls.Add(Me.供應商編號_tb)
297 299
         Me.Controls.Add(Me.動態庫存_dgv)
298 300
         Me.Controls.Add(Me.組裝清單_dgv)
299
-        Me.Controls.Add(Me.庫存清單_dgv)
300 301
         Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
301
-        Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
302
+        Me.Margin = New System.Windows.Forms.Padding(4)
302 303
         Me.Name = "倉儲庫存清單"
303 304
         Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
304 305
         Me.Text = "倉儲庫存清單"

MAOJI-ERP-SYS/倉儲系統管理/倉儲庫存清單.resx → MAOJI-ERP-SYS/07、倉儲系統管理/倉儲庫存清單.resx Zobrazit soubor


Některé soubory nejsou zobrazny, neboť je v této revizi změněno mnoho souborů

Loading…
Zrušit
Uložit