B70340 3 yıl önce
ebeveyn
işleme
156540155c

BIN
.vs/YD-ERP-SYS/v16/.suo Dosyayı Görüntüle


+ 19
- 6
YD-ERP-SYS/LoginForm1.Designer.vb Dosyayı Görüntüle

46
         Me.UsernameLabel = New System.Windows.Forms.Label()
46
         Me.UsernameLabel = New System.Windows.Forms.Label()
47
         Me.LogoPictureBox = New System.Windows.Forms.PictureBox()
47
         Me.LogoPictureBox = New System.Windows.Forms.PictureBox()
48
         Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
48
         Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
49
+        Me.UPDATE_bt = New System.Windows.Forms.Button()
49
         CType(Me.FTP清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
50
         CType(Me.FTP清單_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
50
         CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).BeginInit()
51
         CType(Me.LogoPictureBox, System.ComponentModel.ISupportInitialize).BeginInit()
51
         Me.SuspendLayout()
52
         Me.SuspendLayout()
118
         Me.Label3.AutoSize = True
119
         Me.Label3.AutoSize = True
119
         Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
120
         Me.Label3.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
120
         Me.Label3.ForeColor = System.Drawing.Color.Red
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
         Me.Label3.Name = "Label3"
123
         Me.Label3.Name = "Label3"
123
         Me.Label3.Size = New System.Drawing.Size(188, 48)
124
         Me.Label3.Size = New System.Drawing.Size(188, 48)
124
         Me.Label3.TabIndex = 661
125
         Me.Label3.TabIndex = 661
136
         '
137
         '
137
         'FTP執行檔_wb
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
         Me.FTP執行檔_wb.MinimumSize = New System.Drawing.Size(20, 20)
141
         Me.FTP執行檔_wb.MinimumSize = New System.Drawing.Size(20, 20)
141
         Me.FTP執行檔_wb.Name = "FTP執行檔_wb"
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
         Me.FTP執行檔_wb.TabIndex = 659
144
         Me.FTP執行檔_wb.TabIndex = 659
144
         Me.FTP執行檔_wb.Url = New System.Uri("", System.UriKind.Relative)
145
         Me.FTP執行檔_wb.Url = New System.Uri("", System.UriKind.Relative)
145
         '
146
         '
238
         Me.PasswordLabel.BackColor = System.Drawing.Color.White
239
         Me.PasswordLabel.BackColor = System.Drawing.Color.White
239
         Me.PasswordLabel.Location = New System.Drawing.Point(265, 83)
240
         Me.PasswordLabel.Location = New System.Drawing.Point(265, 83)
240
         Me.PasswordLabel.Name = "PasswordLabel"
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
         Me.PasswordLabel.TabIndex = 650
243
         Me.PasswordLabel.TabIndex = 650
243
         Me.PasswordLabel.Text = "密碼(&P)"
244
         Me.PasswordLabel.Text = "密碼(&P)"
244
         Me.PasswordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
245
         Me.PasswordLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
248
         Me.UsernameLabel.BackColor = System.Drawing.Color.White
249
         Me.UsernameLabel.BackColor = System.Drawing.Color.White
249
         Me.UsernameLabel.Location = New System.Drawing.Point(265, 37)
250
         Me.UsernameLabel.Location = New System.Drawing.Point(265, 37)
250
         Me.UsernameLabel.Name = "UsernameLabel"
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
         Me.UsernameLabel.TabIndex = 648
253
         Me.UsernameLabel.TabIndex = 648
253
         Me.UsernameLabel.Text = "使用者名稱(&U)"
254
         Me.UsernameLabel.Text = "使用者名稱(&U)"
254
         Me.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
255
         Me.UsernameLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
263
         Me.LogoPictureBox.TabIndex = 647
264
         Me.LogoPictureBox.TabIndex = 647
264
         Me.LogoPictureBox.TabStop = False
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
         'LoginForm1
277
         'LoginForm1
267
         '
278
         '
268
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
279
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
269
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
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
         Me.Controls.Add(Me.使用者帳號_cb)
283
         Me.Controls.Add(Me.使用者帳號_cb)
272
         Me.Controls.Add(Me.Label5)
284
         Me.Controls.Add(Me.Label5)
273
         Me.Controls.Add(Me.伺服器區域_ch)
285
         Me.Controls.Add(Me.伺服器區域_ch)
328
     Friend WithEvents UsernameLabel As Windows.Forms.Label
340
     Friend WithEvents UsernameLabel As Windows.Forms.Label
329
     Friend WithEvents LogoPictureBox As Windows.Forms.PictureBox
341
     Friend WithEvents LogoPictureBox As Windows.Forms.PictureBox
330
     Friend WithEvents SaveFileDialog1 As Windows.Forms.SaveFileDialog
342
     Friend WithEvents SaveFileDialog1 As Windows.Forms.SaveFileDialog
343
+    Friend WithEvents UPDATE_bt As Button
331
 End Class
344
 End Class

+ 21
- 15
YD-ERP-SYS/LoginForm1.vb Dosyayı Görüntüle

30
         刷卡登入_ch.Checked = True : 刷卡登入_ch.Enabled = False : 登入綁定_ch.Checked = False : 登入綁定_ch.Enabled = False : 帳號_tb.Visible = False
30
         刷卡登入_ch.Checked = True : 刷卡登入_ch.Enabled = False : 登入綁定_ch.Checked = False : 登入綁定_ch.Enabled = False : 帳號_tb.Visible = False
31
         執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
31
         執行檔版本號_lb.Text = "執行檔版本號 : " & 版本
32
         網段.ShowDialog()
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
         Me.Size = New Size(466, 279)
34
         Me.Size = New Size(466, 279)
40
         If screenWidth = 1920 And screenHeight = 1080 Then : Me.Location = New Point(727, 401)
35
         If screenWidth = 1920 And screenHeight = 1080 Then : Me.Location = New Point(727, 401)
44
         ElseIf screenWidth = 1600 And screenHeight = 900 Then : Me.Location = New Point(567, 311)
39
         ElseIf screenWidth = 1600 And screenHeight = 900 Then : Me.Location = New Point(567, 311)
45
         End If
40
         End If
46
         Me.ActiveControl = 使用者帳號_cb
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
         '-----MAC碼與硬碟資料-------------------------------------------------------------------------------------------------------------------------------------------------------------
53
         '-----MAC碼與硬碟資料-------------------------------------------------------------------------------------------------------------------------------------------------------------
48
         Dim Wmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
54
         Dim Wmi As New Management.ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration")
49
         For Each WmiObj As Management.ManagementObject In Wmi.Get
55
         For Each WmiObj As Management.ManagementObject In Wmi.Get
112
         Dim aa1 As MsgBoxResult
118
         Dim aa1 As MsgBoxResult
113
         aa1 = MsgBox("系統版本號 與 資料庫版本號 對應不上,請下載最新的執行檔。", MsgBoxStyle.OkCancel)
119
         aa1 = MsgBox("系統版本號 與 資料庫版本號 對應不上,請下載最新的執行檔。", MsgBoxStyle.OkCancel)
114
         If aa1 = MsgBoxResult.Ok Then
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
         End If
125
         End If
126
     End Sub
126
     End Sub
127
     Private Sub 登入第一層()
127
     Private Sub 登入第一層()
218
     Private Sub ComboBox2_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 使用者帳號_cb.TextChanged
218
     Private Sub ComboBox2_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 使用者帳號_cb.TextChanged
219
         帳號_tb.Text = 使用者帳號_cb.Text
219
         帳號_tb.Text = 使用者帳號_cb.Text
220
     End Sub
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
 End Class
227
 End Class

+ 15
- 5
YD-ERP-SYS/Module/SQL_業務系統管理.vb Dosyayı Görüntüle

86
         ConnOpen()
86
         ConnOpen()
87
         SQL1 = "SELECT      銷售控制表.流水號, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.開單日期, 銷售控制表.交貨日期, 
87
         SQL1 = "SELECT      銷售控制表.流水號, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.開單日期, 銷售控制表.交貨日期, 
88
                             銷售控制表.含稅, 銷售控制表.單位主管, 銷售控制表.審核日期, 銷售收款事項.內容, 銷售收款事項.金額, 
88
                             銷售控制表.含稅, 銷售控制表.單位主管, 銷售控制表.審核日期, 銷售收款事項.內容, 銷售收款事項.金額, 
89
-                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2,
89
+                            銷售控制表.送貨地點, 銷售控制表.運費, 銷售控制表.客戶編號, 客戶資料表.電話1, 客戶資料表.電話2, 
90
                             客戶資料表.地址, 客戶資料表.公司名稱, 客戶資料表.統編, 銷售控制表.稅金
90
                             客戶資料表.地址, 客戶資料表.公司名稱, 客戶資料表.統編, 銷售控制表.稅金
91
                 FROM        銷售控制表 INNER JOIN
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
                             銷售收款事項 ON 銷售控制表.單號 = 銷售收款事項.單號
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
                 ORDER BY    銷售控制表.單號 DESC"
107
                 ORDER BY    銷售控制表.單號 DESC"
98
         CmdSet_For_DGV()
108
         CmdSet_For_DGV()
99
     End Sub
109
     End Sub

+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb Dosyayı Görüntüle

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

+ 1
- 1
YD-ERP-SYS/YD-ERP-SYS.vb Dosyayı Görüntüle

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

+ 0
- 20347
YD-ERP-SYS/bin/Debug/PInvoke.Windows.Core.xml
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe Dosyayı Görüntüle


BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb Dosyayı Görüntüle


+ 1
- 1
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache Dosyayı Görüntüle

1
-a295a2c2a91acb30ae4591c544c591a7f823e28f
1
+53c57df21c94a96acbf03635a64eb5ec9304008f

+ 61
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt Dosyayı Görüntüle

511
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單一覽表.resources
511
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單一覽表.resources
512
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單審核.resources
512
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單審核.resources
513
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.財務_收支單申請.resources
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 Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.應收帳款未收.resources Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.採購單審核.resources Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.採購對帳單.resources Dosyayı Görüntüle


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.薪資轉帳表.resources Dosyayı Görüntüle


+ 96
- 59
YD-ERP-SYS/業務系統管理/訂單控制表.Designer.vb Dosyayı Görüntüle

23
     <System.Diagnostics.DebuggerStepThrough()>
23
     <System.Diagnostics.DebuggerStepThrough()>
24
     Private Sub InitializeComponent()
24
     Private Sub InitializeComponent()
25
         Me.components = New System.ComponentModel.Container()
25
         Me.components = New System.ComponentModel.Container()
26
-        Dim 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
         Me.業務_cb = New System.Windows.Forms.ComboBox()
38
         Me.業務_cb = New System.Windows.Forms.ComboBox()
39
         Me.銷售單據_dgv = New System.Windows.Forms.DataGridView()
39
         Me.銷售單據_dgv = New System.Windows.Forms.DataGridView()
40
         Me.未審核_lb = New System.Windows.Forms.Label()
40
         Me.未審核_lb = New System.Windows.Forms.Label()
117
         Me.Label40 = New System.Windows.Forms.Label()
117
         Me.Label40 = New System.Windows.Forms.Label()
118
         Me.Label20 = New System.Windows.Forms.Label()
118
         Me.Label20 = New System.Windows.Forms.Label()
119
         Me.銷售明細_dgv = New System.Windows.Forms.DataGridView()
119
         Me.銷售明細_dgv = New System.Windows.Forms.DataGridView()
120
+        Me.Label14 = New System.Windows.Forms.Label()
120
         Me.銷售收款流水號_tb = New System.Windows.Forms.TextBox()
121
         Me.銷售收款流水號_tb = New System.Windows.Forms.TextBox()
121
         Me.Label37 = New System.Windows.Forms.Label()
122
         Me.Label37 = New System.Windows.Forms.Label()
122
         Me.銷售備註流水號_tb = New System.Windows.Forms.TextBox()
123
         Me.銷售備註流水號_tb = New System.Windows.Forms.TextBox()
137
         Me.重新整理_tsm = New System.Windows.Forms.ToolStripMenuItem()
138
         Me.重新整理_tsm = New System.Windows.Forms.ToolStripMenuItem()
138
         Me.Label13 = New System.Windows.Forms.Label()
139
         Me.Label13 = New System.Windows.Forms.Label()
139
         Me.Panel2 = New System.Windows.Forms.Panel()
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
         Me.Panel3 = New System.Windows.Forms.Panel()
143
         Me.Panel3 = New System.Windows.Forms.Panel()
141
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
144
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
142
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
145
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
143
         Me.顯示_bt = New System.Windows.Forms.Button()
146
         Me.顯示_bt = New System.Windows.Forms.Button()
144
         Me.隱藏_bt = New System.Windows.Forms.Button()
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
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
149
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
147
         Me.Panel1.SuspendLayout()
150
         Me.Panel1.SuspendLayout()
148
         CType(Me.銷售衍生運費_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
151
         CType(Me.銷售衍生運費_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
162
         Me.業務_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
165
         Me.業務_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
163
         Me.業務_cb.FormattingEnabled = True
166
         Me.業務_cb.FormattingEnabled = True
164
         Me.業務_cb.Items.AddRange(New Object() {"", "1", "2", "3", "4", "5", "6", "7", "8", "9", "B", "Y"})
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
         Me.業務_cb.Name = "業務_cb"
169
         Me.業務_cb.Name = "業務_cb"
167
         Me.業務_cb.Size = New System.Drawing.Size(40, 24)
170
         Me.業務_cb.Size = New System.Drawing.Size(40, 24)
168
         Me.業務_cb.TabIndex = 1258
171
         Me.業務_cb.TabIndex = 1258
169
         '
172
         '
170
         '銷售單據_dgv
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
         Me.銷售單據_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
177
         Me.銷售單據_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
175
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
178
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
176
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
179
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
177
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
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
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
182
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
180
         Me.銷售單據_dgv.RowHeadersWidth = 5
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
         Me.銷售單據_dgv.RowTemplate.Height = 24
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
         Me.銷售單據_dgv.TabIndex = 1256
189
         Me.銷售單據_dgv.TabIndex = 1256
187
         '
190
         '
188
         '未審核_lb
191
         '未審核_lb
458
         '
461
         '
459
         '銷售衍生運費_dgv
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
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
466
         Me.銷售衍生運費_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
464
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
467
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
465
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
468
         Me.銷售衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
467
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(3, 540)
470
         Me.銷售衍生運費_dgv.Location = New System.Drawing.Point(3, 540)
468
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
471
         Me.銷售衍生運費_dgv.Name = "銷售衍生運費_dgv"
469
         Me.銷售衍生運費_dgv.RowHeadersWidth = 5
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
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
476
         Me.銷售衍生運費_dgv.RowTemplate.Height = 24
474
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(574, 102)
477
         Me.銷售衍生運費_dgv.Size = New System.Drawing.Size(574, 102)
475
         Me.銷售衍生運費_dgv.TabIndex = 1350
478
         Me.銷售衍生運費_dgv.TabIndex = 1350
905
         '
908
         '
906
         '客戶資料_dgv
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
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
913
         Me.客戶資料_dgv.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
911
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
914
         Me.客戶資料_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
912
         Me.客戶資料_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
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
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
917
         Me.客戶資料_dgv.Name = "客戶資料_dgv"
915
         Me.客戶資料_dgv.RowHeadersWidth = 5
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
         Me.客戶資料_dgv.RowTemplate.Height = 24
922
         Me.客戶資料_dgv.RowTemplate.Height = 24
920
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
923
         Me.客戶資料_dgv.Size = New System.Drawing.Size(191, 92)
921
         Me.客戶資料_dgv.TabIndex = 1254
924
         Me.客戶資料_dgv.TabIndex = 1254
1005
         '
1008
         '
1006
         '銷售備註_dgv
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
         Me.銷售備註_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1013
         Me.銷售備註_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1011
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1014
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1012
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1015
         Me.銷售備註_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1014
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 411)
1017
         Me.銷售備註_dgv.Location = New System.Drawing.Point(3, 411)
1015
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1018
         Me.銷售備註_dgv.Name = "銷售備註_dgv"
1016
         Me.銷售備註_dgv.RowHeadersWidth = 5
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
         Me.銷售備註_dgv.RowTemplate.Height = 24
1023
         Me.銷售備註_dgv.RowTemplate.Height = 24
1021
         Me.銷售備註_dgv.Size = New System.Drawing.Size(571, 102)
1024
         Me.銷售備註_dgv.Size = New System.Drawing.Size(571, 102)
1022
         Me.銷售備註_dgv.TabIndex = 1250
1025
         Me.銷售備註_dgv.TabIndex = 1250
1023
         '
1026
         '
1024
         '收款事項_dgv
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
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1031
         Me.收款事項_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1029
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1032
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1030
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1033
         Me.收款事項_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1032
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 668)
1035
         Me.收款事項_dgv.Location = New System.Drawing.Point(3, 668)
1033
         Me.收款事項_dgv.Name = "收款事項_dgv"
1036
         Me.收款事項_dgv.Name = "收款事項_dgv"
1034
         Me.收款事項_dgv.RowHeadersWidth = 5
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
         Me.收款事項_dgv.RowTemplate.Height = 24
1041
         Me.收款事項_dgv.RowTemplate.Height = 24
1039
         Me.收款事項_dgv.Size = New System.Drawing.Size(574, 102)
1042
         Me.收款事項_dgv.Size = New System.Drawing.Size(574, 102)
1040
         Me.收款事項_dgv.TabIndex = 1282
1043
         Me.收款事項_dgv.TabIndex = 1282
1071
         '
1074
         '
1072
         '銷售明細_dgv
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
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1079
         Me.銷售明細_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
1077
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1080
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1078
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1081
         Me.銷售明細_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
1080
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1083
         Me.銷售明細_dgv.Location = New System.Drawing.Point(3, 29)
1081
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1084
         Me.銷售明細_dgv.Name = "銷售明細_dgv"
1082
         Me.銷售明細_dgv.RowHeadersWidth = 5
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
         Me.銷售明細_dgv.RowTemplate.Height = 24
1089
         Me.銷售明細_dgv.RowTemplate.Height = 24
1087
         Me.銷售明細_dgv.Size = New System.Drawing.Size(760, 355)
1090
         Me.銷售明細_dgv.Size = New System.Drawing.Size(760, 355)
1088
         Me.銷售明細_dgv.TabIndex = 1199
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
         '銷售收款流水號_tb
1103
         '銷售收款流水號_tb
1091
         '
1104
         '
1092
         Me.銷售收款流水號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1105
         Me.銷售收款流水號_tb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
1209
         '客戶1_tb
1222
         '客戶1_tb
1210
         '
1223
         '
1211
         Me.客戶1_tb.ForeColor = System.Drawing.Color.Black
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
         Me.客戶1_tb.Name = "客戶1_tb"
1226
         Me.客戶1_tb.Name = "客戶1_tb"
1214
         Me.客戶1_tb.Size = New System.Drawing.Size(122, 23)
1227
         Me.客戶1_tb.Size = New System.Drawing.Size(122, 23)
1215
         Me.客戶1_tb.TabIndex = 1307
1228
         Me.客戶1_tb.TabIndex = 1307
1219
         Me.Label12.AutoSize = True
1232
         Me.Label12.AutoSize = True
1220
         Me.Label12.ForeColor = System.Drawing.Color.Black
1233
         Me.Label12.ForeColor = System.Drawing.Color.Black
1221
         Me.Label12.ImeMode = System.Windows.Forms.ImeMode.NoControl
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
         Me.Label12.Name = "Label12"
1236
         Me.Label12.Name = "Label12"
1224
         Me.Label12.Size = New System.Drawing.Size(56, 16)
1237
         Me.Label12.Size = New System.Drawing.Size(56, 16)
1225
         Me.Label12.TabIndex = 1306
1238
         Me.Label12.TabIndex = 1306
1272
         Me.Label13.AutoSize = True
1285
         Me.Label13.AutoSize = True
1273
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1286
         Me.Label13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1274
         Me.Label13.ForeColor = System.Drawing.Color.Red
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
         Me.Label13.Name = "Label13"
1289
         Me.Label13.Name = "Label13"
1277
         Me.Label13.Size = New System.Drawing.Size(260, 15)
1290
         Me.Label13.Size = New System.Drawing.Size(260, 15)
1278
         Me.Label13.TabIndex = 1338
1291
         Me.Label13.TabIndex = 1338
1283
         Me.Panel2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1296
         Me.Panel2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1284
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1297
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
1285
         Me.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
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
         Me.Panel2.Controls.Add(Me.Label27)
1302
         Me.Panel2.Controls.Add(Me.Label27)
1288
         Me.Panel2.Controls.Add(Me.Label23)
1303
         Me.Panel2.Controls.Add(Me.Label23)
1289
         Me.Panel2.Controls.Add(Me.銷售資料流水號_tb)
1304
         Me.Panel2.Controls.Add(Me.銷售資料流水號_tb)
1299
         Me.Panel2.Controls.Add(Me.銷售收款流水號_tb)
1314
         Me.Panel2.Controls.Add(Me.銷售收款流水號_tb)
1300
         Me.Panel2.Controls.Add(Me.Label13)
1315
         Me.Panel2.Controls.Add(Me.Label13)
1301
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1316
         Me.Panel2.Controls.Add(Me.銷售單據_dgv)
1317
+        Me.Panel2.Controls.Add(Me.未審核_lb)
1302
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1318
         Me.Panel2.Location = New System.Drawing.Point(2, 2)
1303
         Me.Panel2.Name = "Panel2"
1319
         Me.Panel2.Name = "Panel2"
1304
         Me.Panel2.Size = New System.Drawing.Size(556, 719)
1320
         Me.Panel2.Size = New System.Drawing.Size(556, 719)
1305
         Me.Panel2.TabIndex = 1339
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
         'Panel3
1342
         'Panel3
1308
         '
1343
         '
1309
         Me.Panel3.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1344
         Me.Panel3.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1385
         Me.隱藏_bt.Text = "隱藏" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "控件"
1420
         Me.隱藏_bt.Text = "隱藏" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "控件"
1386
         Me.隱藏_bt.UseVisualStyleBackColor = True
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
     Protected WithEvents 銷售單據_dgv As DataGridView
1567
     Protected WithEvents 銷售單據_dgv As DataGridView
1534
     Friend WithEvents 字體大小調整_lb As Label
1568
     Friend WithEvents 字體大小調整_lb As Label
1535
     Friend WithEvents Label14 As Label
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
 End Class
1573
 End Class

+ 8
- 6
YD-ERP-SYS/業務系統管理/訂單控制表.vb Dosyayı Görüntüle

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

+ 4
- 4
YD-ERP-SYS/業務系統管理/銷售單申請.vb Dosyayı Görüntüle

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

Loading…
İptal
Kaydet