B70340 hace 1 año
padre
commit
c732632e74

BIN
.vs/YD-ERP-SYS/FileContentIndex/2d745377-91eb-4f30-a3f8-bc4f834b013a.vsidx Ver fichero


BIN
.vs/YD-ERP-SYS/FileContentIndex/dd1bc4e0-60d7-4b26-9c09-4f5175470248.vsidx Ver fichero


BIN
.vs/YD-ERP-SYS/v17/.suo Ver fichero


+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb Ver fichero

@@ -3,7 +3,7 @@
3 3
     Public g_conn_type, gUserName, 登入人職稱, 登入人級別, 登入人組別, 登入人IP, 版本號, Target, Target1, Target2, FTP帳號, FTP密碼, FTP物理位置, 業務號碼, AA(99), 類別 As String
4 4
     Public BB(99), CC(99), 登入判斷 As Boolean
5 5
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6
-    Public 版本 As String = "2023082101"
6
+    Public 版本 As String = "2023092201"
7 7
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 8
     Public 列印用SQL, 列印用SQL2, 公司編號, 公司電話, 公司統編, 公司地址, 關鍵字編號, 進度條後墜 As String
9 9
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe Ver fichero


BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb Ver fichero


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe Ver fichero


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb Ver fichero


+ 1
- 1
YD-ERP-SYS/業務系統管理/應收帳款已收.vb Ver fichero

@@ -191,7 +191,7 @@
191 191
         While (dr.Read()) : 業務_cb.Items.Add(dr("業務號")) : End While : conn.Close()
192 192
     End Sub
193 193
     Private Sub 應收帳款已收_Load(sender As Object, e As EventArgs) Handles MyBase.Load
194
-        營運成本收支單號_tb.Text = "" : 申請人_tb.Text = "" : SQL2 = ""
194
+        營運成本收支單號_tb.Text = "" : 申請人_tb.Text = "" : SQL2 = "" : Panel2.SendToBack()
195 195
         SQL_應收帳款未收_轉財務Null為False() : 業務_cb_下拉表單資料載入()
196 196
         首次開啟 = False : 業務_cb.Text = 業務號碼 : Set_清單1() : 首次開啟 = True '--------------------資料讀取
197 197
         ComboBox3.Items.Clear() : ComboBox4.Items.Clear() : ComboBox3.Text = "" : ComboBox4.Text = ""

+ 4
- 1
YD-ERP-SYS/業務系統管理/訂單控制表.vb Ver fichero

@@ -240,7 +240,10 @@ Public Class 訂單控制表
240 240
             稅金_tb.Text = 稅金存檔
241 241
             銷售合計_tb.Text = CLng(售價小計_tb.Text) + CLng(稅金_tb.Text)
242 242
             售價小計_tb.Text = CLng(銷售合計_tb.Text) - CLng(稅金_tb.Text)
243
-        End If : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
243
+        End If
244
+        If 稅金另算有資料 = False Then
245
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
246
+        End If
244 247
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
245 248
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
246 249
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value

+ 12
- 3
YD-ERP-SYS/業務系統管理/銷售單審核.vb Ver fichero

@@ -298,7 +298,10 @@ Public Class 銷售單審核
298 298
             稅金_tb.Text = 稅金存檔
299 299
             銷售合計_tb.Text = CLng(售價小計_tb.Text) + CLng(稅金_tb.Text)
300 300
             售價小計_tb.Text = CLng(銷售合計_tb.Text) - CLng(稅金_tb.Text)
301
-        End If : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
301
+        End If
302
+        If 稅金另算有資料 = False Then
303
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
304
+        End If
302 305
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
303 306
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
304 307
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value
@@ -1227,7 +1230,10 @@ Public Class 銷售單審核
1227 1230
             稅金_tb.Text = 稅金存檔
1228 1231
             銷售合計_tb.Text = CLng(售價小計_tb.Text) + CLng(稅金_tb.Text)
1229 1232
             售價小計_tb.Text = CLng(銷售合計_tb.Text) - CLng(稅金_tb.Text)
1230
-        End If : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
1233
+        End If
1234
+        If 稅金另算有資料 = False Then
1235
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
1236
+        End If
1231 1237
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1232 1238
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
1233 1239
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value
@@ -1339,7 +1345,10 @@ Public Class 銷售單審核
1339 1345
             通知_lb.Text = "刷卡稅金大於自動計算後的稅金,邏輯有誤,請從新拆售價。"
1340 1346
         End If
1341 1347
 
1342
-        稅金存檔 = CLng(稅金_tb.Text) : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
1348
+        稅金存檔 = CLng(稅金_tb.Text)
1349
+        If 稅金另算有資料 = False Then
1350
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
1351
+        End If
1343 1352
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1344 1353
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
1345 1354
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value

+ 12
- 3
YD-ERP-SYS/業務系統管理/銷售單申請.vb Ver fichero

@@ -310,7 +310,10 @@ Public Class 銷售單申請
310 310
             稅金_tb.Text = 稅金存檔
311 311
             銷售合計_tb.Text = CLng(售價小計_tb.Text) + CLng(稅金_tb.Text)
312 312
             售價小計_tb.Text = CLng(銷售合計_tb.Text) - CLng(稅金_tb.Text)
313
-        End If : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
313
+        End If
314
+        If 稅金另算有資料 = False Then
315
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
316
+        End If
314 317
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
315 318
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
316 319
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value
@@ -1520,7 +1523,10 @@ Public Class 銷售單申請
1520 1523
             稅金_tb.Text = 稅金存檔
1521 1524
             銷售合計_tb.Text = CLng(售價小計_tb.Text) + CLng(稅金_tb.Text)
1522 1525
             售價小計_tb.Text = CLng(銷售合計_tb.Text) - CLng(稅金_tb.Text)
1523
-        End If : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
1526
+        End If
1527
+        If 稅金另算有資料 = False Then
1528
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2 :
1529
+        End If
1524 1530
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1525 1531
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
1526 1532
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value
@@ -1628,7 +1634,10 @@ Public Class 銷售單申請
1628 1634
             通知_lb.Text = "刷卡稅金大於自動計算後的稅金,邏輯有誤,請從新拆售價。"
1629 1635
         End If
1630 1636
 
1631
-        稅金存檔 = CLng(稅金_tb.Text) : If 稅金另算有資料 = False Then : 稅金25_tb.Text = CLng(稅金_tb.Text) / 2 : End If
1637
+        稅金存檔 = CLng(稅金_tb.Text)
1638
+        If 稅金另算有資料 = False Then
1639
+            '稅金25_tb.Text = CLng(稅金_tb.Text) / 2
1640
+        End If
1632 1641
         '-------003-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1633 1642
         For i As Integer = 0 To 銷售備註_dgv.Rows.Count - 1
1634 1643
             收入小計_tb.Text = CLng(收入小計_tb.Text) + 銷售備註_dgv("收入", i).Value

Loading…
Cancelar
Guardar