B70340 3 anni fa
parent
commit
156540155c

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


+ 19
- 6
YD-ERP-SYS/LoginForm1.Designer.vb Vedi File

@@ -46,6 +46,7 @@ Partial Class LoginForm1
46 46
         Me.UsernameLabel = New System.Windows.Forms.Label()
47 47
         Me.LogoPictureBox = New System.Windows.Forms.PictureBox()
48 48
         Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
49
+        Me.UPDATE_bt = New System.Windows.Forms.Button()
49 50
         CType(Me.FTP清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
50 51
         CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).BeginInit()
51 52
         Me.SuspendLayout()
@@ -118,7 +119,7 @@ Partial Class LoginForm1
118 119
         Me.Label3.AutoSize = True
119 120
         Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
120 121
         Me.Label3.ForeColor = System.Drawing.Color.Red
121
-        Me.Label3.Location = New System.Drawing.Point(481, 22)
122
+        Me.Label3.Location = New System.Drawing.Point(481, 19)
122 123
         Me.Label3.Name = "Label3"
123 124
         Me.Label3.Size = New System.Drawing.Size(188, 48)
124 125
         Me.Label3.TabIndex = 661
@@ -136,10 +137,10 @@ Partial Class LoginForm1
136 137
         '
137 138
         'FTP執行檔_wb
138 139
         '
139
-        Me.FTP執行檔_wb.Location = New System.Drawing.Point(484, 73)
140
+        Me.FTP執行檔_wb.Location = New System.Drawing.Point(484, 103)
140 141
         Me.FTP執行檔_wb.MinimumSize = New System.Drawing.Size(20, 20)
141 142
         Me.FTP執行檔_wb.Name = "FTP執行檔_wb"
142
-        Me.FTP執行檔_wb.Size = New System.Drawing.Size(187, 159)
143
+        Me.FTP執行檔_wb.Size = New System.Drawing.Size(187, 129)
143 144
         Me.FTP執行檔_wb.TabIndex = 659
144 145
         Me.FTP執行檔_wb.Url = New System.Uri("", System.UriKind.Relative)
145 146
         '
@@ -238,7 +239,7 @@ Partial Class LoginForm1
238 239
         Me.PasswordLabel.BackColor = System.Drawing.Color.White
239 240
         Me.PasswordLabel.Location = New System.Drawing.Point(265, 83)
240 241
         Me.PasswordLabel.Name = "PasswordLabel"
241
-        Me.PasswordLabel.Size = New System.Drawing.Size(220, 23)
242
+        Me.PasswordLabel.Size = New System.Drawing.Size(183, 23)
242 243
         Me.PasswordLabel.TabIndex = 650
243 244
         Me.PasswordLabel.Text = "密碼(&P)"
244 245
         Me.PasswordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
@@ -248,7 +249,7 @@ Partial Class LoginForm1
248 249
         Me.UsernameLabel.BackColor = System.Drawing.Color.White
249 250
         Me.UsernameLabel.Location = New System.Drawing.Point(265, 37)
250 251
         Me.UsernameLabel.Name = "UsernameLabel"
251
-        Me.UsernameLabel.Size = New System.Drawing.Size(220, 23)
252
+        Me.UsernameLabel.Size = New System.Drawing.Size(183, 23)
252 253
         Me.UsernameLabel.TabIndex = 648
253 254
         Me.UsernameLabel.Text = "使用者名稱(&U)"
254 255
         Me.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
@@ -263,11 +264,22 @@ Partial Class LoginForm1
263 264
         Me.LogoPictureBox.TabIndex = 647
264 265
         Me.LogoPictureBox.TabStop = False
265 266
         '
267
+        'UPDATE_bt
268
+        '
269
+        Me.UPDATE_bt.DialogResult = System.Windows.Forms.DialogResult.OK
270
+        Me.UPDATE_bt.Location = New System.Drawing.Point(484, 67)
271
+        Me.UPDATE_bt.Name = "UPDATE_bt"
272
+        Me.UPDATE_bt.Size = New System.Drawing.Size(187, 33)
273
+        Me.UPDATE_bt.TabIndex = 668
274
+        Me.UPDATE_bt.Text = "UPDATE"
275
+        Me.UPDATE_bt.UseCompatibleTextRendering = True
276
+        '
266 277
         'LoginForm1
267 278
         '
268 279
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
269 280
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
270
-        Me.ClientSize = New System.Drawing.Size(454, 240)
281
+        Me.ClientSize = New System.Drawing.Size(675, 240)
282
+        Me.Controls.Add(Me.UPDATE_bt)
271 283
         Me.Controls.Add(Me.使用者帳號_cb)
272 284
         Me.Controls.Add(Me.Label5)
273 285
         Me.Controls.Add(Me.伺服器區域_ch)
@@ -328,4 +340,5 @@ Partial Class LoginForm1
328 340
     Friend WithEvents UsernameLabel As Windows.Forms.Label
329 341
     Friend WithEvents LogoPictureBox As Windows.Forms.PictureBox
330 342
     Friend WithEvents SaveFileDialog1 As Windows.Forms.SaveFileDialog
343
+    Friend WithEvents UPDATE_bt As Button
331 344
 End Class

+ 21
- 15
YD-ERP-SYS/LoginForm1.vb Vedi File

@@ -30,11 +30,6 @@ Public Class LoginForm1
30 30
         刷卡登入_ch.Checked = True : 刷卡登入_ch.Enabled = False : 登入綁定_ch.Checked = False : 登入綁定_ch.Enabled = False : 帳號_tb.Visible = False
31 31
         執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
32 32
         網段.ShowDialog()
33
-        If 登入判斷 = True Then
34
-            伺服器區域_ch.Text = "雅邸" : 確認_bt.Enabled = True : 取消_bt.Enabled = True : 刷卡登入_ch.Checked = True
35
-        ElseIf 登入判斷 = False Then
36
-            伺服器區域_ch.Text = "設計" : 確認_bt.Enabled = True : 取消_bt.Enabled = True : 刷卡登入_ch.Checked = True
37
-        End If
38 33
         '-----------------------調整視窗大小-----------------------------------------------------------------------------------------------------------------------------------------------
39 34
         Me.Size = New Size(466, 279)
40 35
         If screenWidth = 1920 And screenHeight = 1080 Then : Me.Location = New Point(727, 401)
@@ -44,6 +39,17 @@ Public Class LoginForm1
44 39
         ElseIf screenWidth = 1600 And screenHeight = 900 Then : Me.Location = New Point(567, 311)
45 40
         End If
46 41
         Me.ActiveControl = 使用者帳號_cb
42
+        '-----------------------刪除自動更新項目-----------------------------------------------------------------------------------------------------------------------------------------------
43
+        Dim Str As String = Application.StartupPath
44
+        If File.Exists(Str + "\SYS-UPDATE.exe") Then : File.Delete(Str + "\SYS-UPDATE.exe") : End If
45
+    End Sub
46
+    Private Sub LoginForm1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
47
+        '-----------------------伺服器登入選擇-----------------------------------------------------------------------------------------------------------------------------------------------
48
+        If 登入判斷 = True Then
49
+            伺服器區域_ch.Text = "雅邸" : 確認_bt.Enabled = True : 取消_bt.Enabled = True : 刷卡登入_ch.Checked = True
50
+        ElseIf 登入判斷 = False Then
51
+            伺服器區域_ch.Text = "設計" : 確認_bt.Enabled = True : 取消_bt.Enabled = True : 刷卡登入_ch.Checked = True
52
+        End If
47 53
         '-----MAC碼與硬碟資料-------------------------------------------------------------------------------------------------------------------------------------------------------------
48 54
         Dim Wmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
49 55
         For Each WmiObj As Management.ManagementObject In Wmi.Get
@@ -112,16 +118,10 @@ Public Class LoginForm1
112 118
         Dim aa1 As MsgBoxResult
113 119
         aa1 = MsgBox("系統版本號 與 資料庫版本號 對應不上,請下載最新的執行檔。", MsgBoxStyle.OkCancel)
114 120
         If aa1 = MsgBoxResult.Ok Then
115
-            With SaveFileDialog1 : .Filter = "所有文件(*.exe)|*.exe" : End With
116
-            SaveFileDialog1.FileName = "YD-ERP-SYS - " & 版本號 & ".exe"
117
-            SaveFileDialog1.ShowDialog()
118
-            If Strings.Right(SaveFileDialog1.FileName, 27) = "YD-ERP-SYS - " & 版本號 & ".exe" Then
119
-                My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "YD-ERP-SYS - " & 版本號 & ".exe", SaveFileDialog1.FileName, "", "", True, 10000, True)
120
-                MsgBox("下載完成,請手動刪除就的執行檔,並且用新的執行檔開啟。")
121
-                Me.Close()
122
-            Else
123
-                MsgBox("操作不正確,請用手動方式下載更新。")
124
-            End If
121
+            Dim Str As String = Application.StartupPath
122
+            My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "SYS-UPDATE.exe", Str + "\SYS-UPDATE.exe")
123
+            Shell(Str + "\SYS-UPDATE.exe", vbNormalFocus)
124
+            Me.Close()
125 125
         End If
126 126
     End Sub
127 127
     Private Sub 登入第一層()
@@ -218,4 +218,10 @@ Public Class LoginForm1
218 218
     Private Sub ComboBox2_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 使用者帳號_cb.TextChanged
219 219
         帳號_tb.Text = 使用者帳號_cb.Text
220 220
     End Sub
221
+    Private Sub UPDATE_bt_Click(sender As Object, e As EventArgs) Handles UPDATE_bt.Click
222
+        Dim Str As String = Application.StartupPath
223
+        My.Computer.Network.DownloadFile(Target & AA(0) & "/" & "SYS-UPDATE.exe", Str + "\SYS-UPDATE.exe")
224
+        Shell(Str + "\SYS-UPDATE.exe", vbNormalFocus)
225
+        Me.Close()
226
+    End Sub
221 227
 End Class

+ 15
- 5
YD-ERP-SYS/Module/SQL_業務系統管理.vb Vedi File

@@ -86,14 +86,24 @@
86 86
         ConnOpen()
87 87
         SQL1 = "SELECT      銷售控制表.流水號, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.開單日期, 銷售控制表.交貨日期, 
88 88
                             銷售控制表.含稅, 銷售控制表.單位主管, 銷售控制表.審核日期, 銷售收款事項.內容, 銷售收款事項.金額, 
89
-                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2,
89
+                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2, 
90 90
                             客戶資料表.地址, 客戶資料表.公司名稱, 客戶資料表.統編, 銷售控制表.稅金
91 91
                 FROM        銷售控制表 INNER JOIN
92
-                            客戶資料表 ON 銷售控制表.客戶編號 = 客戶資料表.舊編 LEFT OUTER JOIN
92
+                            客戶資料表 ON 銷售控制表.客戶編號 = 客戶資料表.舊編 INNER JOIN
93
+                                (SELECT          銷售明細表.單號
94
+                                  FROM               銷售明細表 INNER JOIN
95
+                                                              物料資料庫 ON 銷售明細表.料號 = 物料資料庫.料號
96
+                                  WHERE           (銷售明細表.料號 LIKE N'%" & PA21 & "%') OR
97
+                                                              (銷售明細表.備註 LIKE N'%" & PA21 & "%') OR
98
+                                                              (物料資料庫.品名 LIKE N'%" & PA21 & "%')
99
+                                  GROUP BY    銷售明細表.單號) AS QQQ ON 銷售控制表.單號 = QQQ.單號 LEFT OUTER JOIN
93 100
                             銷售收款事項 ON 銷售控制表.單號 = 銷售收款事項.單號
94
-                WHERE      (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.名稱 LIKE N'%" & PA20 & "%' OR 
95
-                            客戶資料表.電話1 LIKE N'%" & PA20 & "%' OR 客戶資料表.電話2 LIKE N'%" & PA20 & "%' OR 客戶資料表.地址 LIKE N'%" & PA20 & "%' OR 
96
-                            客戶資料表.公司名稱 LIKE N'%" & PA20 & "%' OR 客戶資料表.統編 LIKE N'%" & PA20 & "%')
101
+                WHERE      (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.名稱 LIKE N'%" & PA20 & "%') OR
102
+                           (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.電話1 LIKE N'%" & PA20 & "%') OR
103
+                           (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.電話2 LIKE N'%" & PA20 & "%') OR
104
+                           (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.地址 LIKE N'%" & PA20 & "%') OR
105
+                           (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.公司名稱 LIKE N'%" & PA20 & "%') OR
106
+                           (銷售控制表.單號 LIKE '" & PA19 & "%') AND (銷售收款事項.內容 LIKE '未收餘額') AND (客戶資料表.統編 LIKE N'%" & PA20 & "%')
97 107
                 ORDER BY    銷售控制表.單號 DESC"
98 108
         CmdSet_For_DGV()
99 109
     End Sub

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

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

+ 1
- 1
YD-ERP-SYS/YD-ERP-SYS.vb Vedi File

@@ -86,7 +86,7 @@ Public Class YD_ERP_SYS
86 86
             業務_cb.SelectedIndex = i
87 87
             Set_清單1()
88 88
             If 銷售單據_dgv.Rows.Count > 0 Then
89
-                單數 = (Strings.Right(銷售單據_dgv.Rows(0).Cells("單號").Value, 6) - Strings.Right(銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value, 6)) - 銷售單據_dgv.Rows.Count
89
+                單數 = (Strings.Mid(銷售單據_dgv.Rows(0).Cells("單號").Value, 2, 6) - Strings.Mid(銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value, 2, 6)) - 銷售單據_dgv.Rows.Count
90 90
                 狀態1 = 業務_cb.Text & " 號業務單最後入單單號 [ " & 銷售單據_dgv.Rows(0).Cells("單號").Value & " ],開單日期是 [ " & 銷售單據_dgv.Rows(0).Cells("開單日期").Value & " ]。 
91 91
    由單號 [" & 銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value & "]  到系統中最後一單,約有 " & 單數 & " 張單據未補齊。" & vbCrLf &
92 92
    "-------------------------------------------------------------------"

+ 0
- 20347
YD-ERP-SYS/bin/Debug/PInvoke.Windows.Core.xml
File diff soppresso perché troppo grande
Vedi File


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


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


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


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


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

@@ -1 +1 @@
1
-a295a2c2a91acb30ae4591c544c591a7f823e28f
1
+53c57df21c94a96acbf03635a64eb5ec9304008f

+ 61
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt Vedi File

@@ -511,3 +511,64 @@ D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_決算表.resourc
511 511
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單一覽表.resources
512 512
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單審核.resources
513 513
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單申請.resources
514
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe.config
515
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.exe
516
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.pdb
517
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\bin\Debug\YD-ERP-SYS.xml
518
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人事資料表.resources
519
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.人員ID卡系統配置設定.resources
520
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲入庫.resources
521
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲出庫.resources
522
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲分區控制表.resources
523
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.倉儲控制表.resources
524
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.單據狀態查詢.resources
525
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損控制表.resources
526
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損申請.resources
527
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.盤盈盤損審核.resources
528
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.一般申請_採購單.resources
529
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售申請_採購單.resources
530
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款未收.resources
531
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.應收帳款已收.resources
532
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購單審核.resources
533
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購應付帳款.resources
534
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購對帳單.resources
535
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購訂製大圖.resources
536
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.客戶資料表.resources
537
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.供應商資料表.resources
538
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.物料檔案.resources
539
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.訂單控制表.resources
540
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.貨款試算表.resources
541
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售分析表.resources
542
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單審核.resources
543
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.銷售單申請.resources
544
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯入EXCEL.resources
545
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯出EXCEL.resources
546
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.匯率管理.resources
547
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.會計科目管理.resources
548
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業務獎金計算基礎.resources
549
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業績單據完單設定.resources
550
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業績獎金彙總表.resources
551
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業績運費明細表.resources
552
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_決算表.resources
553
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.營運成本收支單_對帳表.resources
554
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單一覽表.resources
555
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單審核.resources
556
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單申請.resources
557
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.薪資轉帳表.resources
558
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.FTP資料夾管理.resources
559
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.LoginForm1.resources
560
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.Resources.resources
561
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.YD_ERP_SYS.resources
562
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.個人帳號管理.resources
563
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.簽名檔管理.resources
564
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統使用者管理.resources
565
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統執行檔版本管理.resources
566
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.系統編碼規則.resources
567
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.網段.resources
568
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.GenerateResource.cache
569
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CoreCompileInputs.cache
570
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbproj.CopyComplete
571
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.exe
572
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.xml
573
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.pdb
574
+D:\工巧明\YD\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD-ERP-SYS.vbprojAssemblyReference.cache

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


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


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


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.採購單審核.resources Vedi File


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.採購對帳單.resources Vedi File


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.薪資轉帳表.resources Vedi File


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

@@ -23,18 +23,18 @@ 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()
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
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
-        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
-        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
-        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle37 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle38 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle39 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle40 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle41 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle42 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle43 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle44 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34
+        Dim DataGridViewCellStyle45 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
35
+        Dim DataGridViewCellStyle46 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
36
+        Dim DataGridViewCellStyle47 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
37
+        Dim DataGridViewCellStyle48 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
38 38
         Me.業務_cb = New System.Windows.Forms.ComboBox()
39 39
         Me.銷售單據_dgv = New System.Windows.Forms.DataGridView()
40 40
         Me.未審核_lb = New System.Windows.Forms.Label()
@@ -117,6 +117,7 @@ Partial Class 訂單控制表
117 117
         Me.Label40 = New System.Windows.Forms.Label()
118 118
         Me.Label20 = New System.Windows.Forms.Label()
119 119
         Me.銷售明細_dgv = New System.Windows.Forms.DataGridView()
120
+        Me.Label14 = New System.Windows.Forms.Label()
120 121
         Me.銷售收款流水號_tb = New System.Windows.Forms.TextBox()
121 122
         Me.Label37 = New System.Windows.Forms.Label()
122 123
         Me.銷售備註流水號_tb = New System.Windows.Forms.TextBox()
@@ -137,12 +138,14 @@ Partial Class 訂單控制表
137 138
         Me.重新整理_tsm = New System.Windows.Forms.ToolStripMenuItem()
138 139
         Me.Label13 = New System.Windows.Forms.Label()
139 140
         Me.Panel2 = New System.Windows.Forms.Panel()
141
+        Me.物料關鍵字_tb = New System.Windows.Forms.TextBox()
142
+        Me.Label15 = New System.Windows.Forms.Label()
140 143
         Me.Panel3 = New System.Windows.Forms.Panel()
141 144
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
142 145
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
143 146
         Me.顯示_bt = New System.Windows.Forms.Button()
144 147
         Me.隱藏_bt = New System.Windows.Forms.Button()
145
-        Me.Label14 = New System.Windows.Forms.Label()
148
+        Me.查詢_bt = New System.Windows.Forms.Button()
146 149
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
147 150
         Me.Panel1.SuspendLayout()
148 151
         CType(Me.銷售衍生運費_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -162,27 +165,27 @@ Partial Class 訂單控制表
162 165
         Me.業務_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
163 166
         Me.業務_cb.FormattingEnabled = True
164 167
         Me.業務_cb.Items.AddRange(New Object() {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "B", "Y"})
165
-        Me.業務_cb.Location = New System.Drawing.Point(74, 1)
168
+        Me.業務_cb.Location = New System.Drawing.Point(67, 1)
166 169
         Me.業務_cb.Name = "業務_cb"
167 170
         Me.業務_cb.Size = New System.Drawing.Size(40, 24)
168 171
         Me.業務_cb.TabIndex = 1258
169 172
         '
170 173
         '銷售單據_dgv
171 174
         '
172
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
173
-        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
175
+        DataGridViewCellStyle37.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
176
+        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle37
174 177
         Me.銷售單據_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
175 178
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
176 179
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
177 180
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
178
-        Me.銷售單據_dgv.Location = New System.Drawing.Point(3, 27)
181
+        Me.銷售單據_dgv.Location = New System.Drawing.Point(3, 52)
179 182
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
180 183
         Me.銷售單據_dgv.RowHeadersWidth = 5
181
-        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
182
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
183
-        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
184
+        DataGridViewCellStyle38.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
185
+        DataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
186
+        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle38
184 187
         Me.銷售單據_dgv.RowTemplate.Height = 24
185
-        Me.銷售單據_dgv.Size = New System.Drawing.Size(548, 686)
188
+        Me.銷售單據_dgv.Size = New System.Drawing.Size(548, 661)
186 189
         Me.銷售單據_dgv.TabIndex = 1256
187 190
         '
188 191
         '未審核_lb
@@ -458,8 +461,8 @@ Partial Class 訂單控制表
458 461
         '
459 462
         '銷售衍生運費_dgv
460 463
         '
461
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
462
-        Me.銷售衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
464
+        DataGridViewCellStyle39.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
465
+        Me.銷售衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle39
463 466
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
464 467
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
465 468
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -467,9 +470,9 @@ Partial Class 訂單控制表
467 470
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(3, 540)
468 471
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
469 472
         Me.銷售衍生運費_dgv.RowHeadersWidth = 5
470
-        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
471
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
472
-        Me.銷售衍生運費_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
473
+        DataGridViewCellStyle40.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
474
+        DataGridViewCellStyle40.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
475
+        Me.銷售衍生運費_dgv.RowsDefaultCellStyle = DataGridViewCellStyle40
473 476
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
474 477
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(574, 102)
475 478
         Me.銷售衍生運費_dgv.TabIndex = 1350
@@ -905,17 +908,17 @@ Partial Class 訂單控制表
905 908
         '
906 909
         '客戶資料_dgv
907 910
         '
908
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
909
-        Me.客戶資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
911
+        DataGridViewCellStyle41.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
912
+        Me.客戶資料_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle41
910 913
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
911 914
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
912 915
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
913
-        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 11366)
916
+        Me.客戶資料_dgv.Location = New System.Drawing.Point(17, 11832)
914 917
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
915 918
         Me.客戶資料_dgv.RowHeadersWidth = 5
916
-        DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
917
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
918
-        Me.客戶資料_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
919
+        DataGridViewCellStyle42.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
920
+        DataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
921
+        Me.客戶資料_dgv.RowsDefaultCellStyle = DataGridViewCellStyle42
919 922
         Me.客戶資料_dgv.RowTemplate.Height = 24
920 923
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
921 924
         Me.客戶資料_dgv.TabIndex = 1254
@@ -1005,8 +1008,8 @@ Partial Class 訂單控制表
1005 1008
         '
1006 1009
         '銷售備註_dgv
1007 1010
         '
1008
-        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1009
-        Me.銷售備註_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
1011
+        DataGridViewCellStyle43.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1012
+        Me.銷售備註_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle43
1010 1013
         Me.銷售備註_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1011 1014
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1012 1015
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1014,17 +1017,17 @@ Partial Class 訂單控制表
1014 1017
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 411)
1015 1018
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1016 1019
         Me.銷售備註_dgv.RowHeadersWidth = 5
1017
-        DataGridViewCellStyle8.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1018
-        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1019
-        Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
1020
+        DataGridViewCellStyle44.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1021
+        DataGridViewCellStyle44.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1022
+        Me.銷售備註_dgv.RowsDefaultCellStyle = DataGridViewCellStyle44
1020 1023
         Me.銷售備註_dgv.RowTemplate.Height = 24
1021 1024
         Me.銷售備註_dgv.Size = New System.Drawing.Size(571, 102)
1022 1025
         Me.銷售備註_dgv.TabIndex = 1250
1023 1026
         '
1024 1027
         '收款事項_dgv
1025 1028
         '
1026
-        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1027
-        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
1029
+        DataGridViewCellStyle45.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer))
1030
+        Me.收款事項_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle45
1028 1031
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1029 1032
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1030 1033
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1032,9 +1035,9 @@ Partial Class 訂單控制表
1032 1035
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 668)
1033 1036
         Me.收款事項_dgv.Name = "收款事項_dgv"
1034 1037
         Me.收款事項_dgv.RowHeadersWidth = 5
1035
-        DataGridViewCellStyle10.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1036
-        DataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1037
-        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle10
1038
+        DataGridViewCellStyle46.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1039
+        DataGridViewCellStyle46.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1040
+        Me.收款事項_dgv.RowsDefaultCellStyle = DataGridViewCellStyle46
1038 1041
         Me.收款事項_dgv.RowTemplate.Height = 24
1039 1042
         Me.收款事項_dgv.Size = New System.Drawing.Size(574, 102)
1040 1043
         Me.收款事項_dgv.TabIndex = 1282
@@ -1071,8 +1074,8 @@ Partial Class 訂單控制表
1071 1074
         '
1072 1075
         '銷售明細_dgv
1073 1076
         '
1074
-        DataGridViewCellStyle11.BackColor = System.Drawing.Color.White
1075
-        Me.銷售明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle11
1077
+        DataGridViewCellStyle47.BackColor = System.Drawing.Color.White
1078
+        Me.銷售明細_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle47
1076 1079
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1077 1080
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1078 1081
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -1080,13 +1083,23 @@ Partial Class 訂單控制表
1080 1083
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1081 1084
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1082 1085
         Me.銷售明細_dgv.RowHeadersWidth = 5
1083
-        DataGridViewCellStyle12.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1084
-        DataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1085
-        Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle12
1086
+        DataGridViewCellStyle48.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1087
+        DataGridViewCellStyle48.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1088
+        Me.銷售明細_dgv.RowsDefaultCellStyle = DataGridViewCellStyle48
1086 1089
         Me.銷售明細_dgv.RowTemplate.Height = 24
1087 1090
         Me.銷售明細_dgv.Size = New System.Drawing.Size(760, 355)
1088 1091
         Me.銷售明細_dgv.TabIndex = 1199
1089 1092
         '
1093
+        'Label14
1094
+        '
1095
+        Me.Label14.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1096
+        Me.Label14.AutoSize = True
1097
+        Me.Label14.Location = New System.Drawing.Point(579, 452)
1098
+        Me.Label14.Name = "Label14"
1099
+        Me.Label14.Size = New System.Drawing.Size(168, 16)
1100
+        Me.Label14.TabIndex = 1353
1101
+        Me.Label14.Text = "--------------------------------"
1102
+        '
1090 1103
         '銷售收款流水號_tb
1091 1104
         '
1092 1105
         Me.銷售收款流水號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -1209,7 +1222,7 @@ Partial Class 訂單控制表
1209 1222
         '客戶1_tb
1210 1223
         '
1211 1224
         Me.客戶1_tb.ForeColor = System.Drawing.Color.Black
1212
-        Me.客戶1_tb.Location = New System.Drawing.Point(173, 2)
1225
+        Me.客戶1_tb.Location = New System.Drawing.Point(166, 2)
1213 1226
         Me.客戶1_tb.Name = "客戶1_tb"
1214 1227
         Me.客戶1_tb.Size = New System.Drawing.Size(122, 23)
1215 1228
         Me.客戶1_tb.TabIndex = 1307
@@ -1219,7 +1232,7 @@ Partial Class 訂單控制表
1219 1232
         Me.Label12.AutoSize = True
1220 1233
         Me.Label12.ForeColor = System.Drawing.Color.Black
1221 1234
         Me.Label12.ImeMode = System.Windows.Forms.ImeMode.NoControl
1222
-        Me.Label12.Location = New System.Drawing.Point(118, 6)
1235
+        Me.Label12.Location = New System.Drawing.Point(111, 6)
1223 1236
         Me.Label12.Name = "Label12"
1224 1237
         Me.Label12.Size = New System.Drawing.Size(56, 16)
1225 1238
         Me.Label12.TabIndex = 1306
@@ -1272,7 +1285,7 @@ Partial Class 訂單控制表
1272 1285
         Me.Label13.AutoSize = True
1273 1286
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1274 1287
         Me.Label13.ForeColor = System.Drawing.Color.Red
1275
-        Me.Label13.Location = New System.Drawing.Point(296, 5)
1288
+        Me.Label13.Location = New System.Drawing.Point(289, 5)
1276 1289
         Me.Label13.Name = "Label13"
1277 1290
         Me.Label13.Size = New System.Drawing.Size(260, 15)
1278 1291
         Me.Label13.TabIndex = 1338
@@ -1283,7 +1296,9 @@ Partial Class 訂單控制表
1283 1296
         Me.Panel2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1284 1297
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1285 1298
         Me.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
1286
-        Me.Panel2.Controls.Add(Me.未審核_lb)
1299
+        Me.Panel2.Controls.Add(Me.查詢_bt)
1300
+        Me.Panel2.Controls.Add(Me.物料關鍵字_tb)
1301
+        Me.Panel2.Controls.Add(Me.Label15)
1287 1302
         Me.Panel2.Controls.Add(Me.Label27)
1288 1303
         Me.Panel2.Controls.Add(Me.Label23)
1289 1304
         Me.Panel2.Controls.Add(Me.銷售資料流水號_tb)
@@ -1299,11 +1314,31 @@ Partial Class 訂單控制表
1299 1314
         Me.Panel2.Controls.Add(Me.銷售收款流水號_tb)
1300 1315
         Me.Panel2.Controls.Add(Me.Label13)
1301 1316
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1317
+        Me.Panel2.Controls.Add(Me.未審核_lb)
1302 1318
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1303 1319
         Me.Panel2.Name = "Panel2"
1304 1320
         Me.Panel2.Size = New System.Drawing.Size(556, 719)
1305 1321
         Me.Panel2.TabIndex = 1339
1306 1322
         '
1323
+        '物料關鍵字_tb
1324
+        '
1325
+        Me.物料關鍵字_tb.ForeColor = System.Drawing.Color.Black
1326
+        Me.物料關鍵字_tb.Location = New System.Drawing.Point(67, 27)
1327
+        Me.物料關鍵字_tb.Name = "物料關鍵字_tb"
1328
+        Me.物料關鍵字_tb.Size = New System.Drawing.Size(221, 23)
1329
+        Me.物料關鍵字_tb.TabIndex = 1340
1330
+        '
1331
+        'Label15
1332
+        '
1333
+        Me.Label15.AutoSize = True
1334
+        Me.Label15.ForeColor = System.Drawing.Color.Black
1335
+        Me.Label15.ImeMode = System.Windows.Forms.ImeMode.NoControl
1336
+        Me.Label15.Location = New System.Drawing.Point(0, 31)
1337
+        Me.Label15.Name = "Label15"
1338
+        Me.Label15.Size = New System.Drawing.Size(68, 16)
1339
+        Me.Label15.TabIndex = 1339
1340
+        Me.Label15.Text = "物料關鍵字"
1341
+        '
1307 1342
         'Panel3
1308 1343
         '
1309 1344
         Me.Panel3.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
@@ -1385,15 +1420,14 @@ Partial Class 訂單控制表
1385 1420
         Me.隱藏_bt.Text = "隱藏" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "控件"
1386 1421
         Me.隱藏_bt.UseVisualStyleBackColor = True
1387 1422
         '
1388
-        'Label14
1423
+        '查詢_bt
1389 1424
         '
1390
-        Me.Label14.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1391
-        Me.Label14.AutoSize = True
1392
-        Me.Label14.Location = New System.Drawing.Point(579, 452)
1393
-        Me.Label14.Name = "Label14"
1394
-        Me.Label14.Size = New System.Drawing.Size(168, 16)
1395
-        Me.Label14.TabIndex = 1353
1396
-        Me.Label14.Text = "--------------------------------"
1425
+        Me.查詢_bt.Location = New System.Drawing.Point(291, 26)
1426
+        Me.查詢_bt.Name = "查詢_bt"
1427
+        Me.查詢_bt.Size = New System.Drawing.Size(81, 25)
1428
+        Me.查詢_bt.TabIndex = 1341
1429
+        Me.查詢_bt.Text = "查詢"
1430
+        Me.查詢_bt.UseVisualStyleBackColor = True
1397 1431
         '
1398 1432
         '訂單控制表
1399 1433
         '
@@ -1533,4 +1567,7 @@ Partial Class 訂單控制表
1533 1567
     Protected WithEvents 銷售單據_dgv As DataGridView
1534 1568
     Friend WithEvents 字體大小調整_lb As Label
1535 1569
     Friend WithEvents Label14 As Label
1570
+    Friend WithEvents 物料關鍵字_tb As TextBox
1571
+    Friend WithEvents Label15 As Label
1572
+    Friend WithEvents 查詢_bt As Button
1536 1573
 End Class

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

@@ -9,7 +9,7 @@ Public Class 訂單控制表
9 9
         銷售單據_dgv.AllowUserToAddRows = False
10 10
         銷售單據_dgv.RowTemplate.Height = 35
11 11
 
12
-        PA19 = 業務_cb.Text : PA20 = 客戶1_tb.Text
12
+        PA19 = 業務_cb.Text : PA20 = 客戶1_tb.Text : PA21 = 物料關鍵字_tb.Text
13 13
         SQL_銷售控制表_訂單控制表()
14 14
         da.Fill(ds1) : 銷售單據_dgv.DataSource = ds1.Tables(0) : conn.Close()
15 15
 
@@ -492,14 +492,12 @@ Public Class 訂單控制表
492 492
         Next
493 493
         Set_合記計算()
494 494
     End Sub
495
-
496 495
     Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
497 496
         銷售單據_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
498 497
         銷售明細_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
499 498
         銷售備註_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
500 499
         銷售衍生運費_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
501 500
         收款事項_dgv.RowsDefaultCellStyle.Font = New Font("微軟正黑體", 字體_NUD.Value)
502
-
503 501
     End Sub
504 502
     Private Sub 客戶編號_tb_TextChanged(sender As Object, e As EventArgs) Handles 客戶編號_tb.TextChanged
505 503
         PA15 = 客戶編號_tb.Text
@@ -510,10 +508,11 @@ Public Class 訂單控制表
510 508
             客戶_tb.Text = "" : 公司_tb.Text = "" : 統編_tb.Text = "" : 住址_tb.Text = "" : 電話1_tb.Text = "" : 電話2_tb.Text = ""
511 509
         End If
512 510
     End Sub
511
+    Private Sub 物料關鍵字_tb_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 物料關鍵字_tb.KeyPress
512
+        If e.KeyChar = Chr(13) Then : Set_清單1() : End If
513
+    End Sub
513 514
     Private Sub 客戶1_tb_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles 客戶1_tb.KeyPress
514
-        If e.KeyChar = Chr(13) Then
515
-            Set_清單1()
516
-        End If
515
+        If e.KeyChar = Chr(13) Then : Set_清單1() : End If
517 516
     End Sub
518 517
     Private Sub 重新整理_tsm_Click(sender As Object, e As EventArgs) Handles 重新整理_tsm.Click
519 518
         Set_清單4() : Set_清單5() : Set_清單6() : Set_清單7()
@@ -536,4 +535,7 @@ Public Class 訂單控制表
536 535
         NU1 = Panel3.Size.Width - 556
537 536
         Panel3.Size = New Size(NU1, NU2)
538 537
     End Sub
538
+    Private Sub 查詢_bt_Click(sender As Object, e As EventArgs) Handles 查詢_bt.Click
539
+        Set_清單1()
540
+    End Sub
539 541
 End Class

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

@@ -748,8 +748,8 @@ Public Class 銷售單申請
748 748
                 If dr.Read() Then
749 749
                     MsgBox("輸入的銷售單號重複。")
750 750
                 Else
751
-                    If IsNumeric(PA) = True Then
752
-                        If PA.Length = 7 Then
751
+                    If IsNumeric(Strings.Mid(PA, 2, 6)) = True Then
752
+                        If PA.Length = 7 Or PA.Length = 9 Then
753 753
                             開立庫存調整單_bt.Enabled = False : 銷售單據_dgv.Enabled = False
754 754
                             單號_tb.Text = PA : 調庫單號_tb.Text = "" : 客戶編號_tb.Text = "" : 運費 = 0 : 客戶流水_tb.Text = ""
755 755
 
@@ -792,10 +792,10 @@ Public Class 銷售單申請
792 792
                             司機運費_tb.Text = "0" : 預估利潤_tb.Text = "0" : 客戶編號_tb.Text = "" : 客戶_tb.Text = "" : 公司_tb.Text = "" : 電話1_tb.Text = "" : 電話2_tb.Text = ""
793 793
                             統編_tb.Text = "" : 住址_tb.Text = "" : 含稅_ch.Checked = False
794 794
                         Else
795
-                            MsgBox("輸入的單號需要完整七個數字。")
795
+                            MsgBox("輸入的單號需要完整七位數或是九位數。")
796 796
                         End If
797 797
                     Else
798
-                        MsgBox("請輸入數字。")
798
+                        MsgBox("單號除了開頭第一位其他都必須是數字。")
799 799
                     End If
800 800
                 End If
801 801
             End If

Loading…
Annulla
Salva