B70340 преди 2 години
родител
ревизия
e914371e3d

Двоични данни
.vs/YD-ERP-SYS/FileContentIndex/951b297e-f833-48a3-aab8-8856cd3a9a31.vsidx → .vs/YD-ERP-SYS/FileContentIndex/0c96085b-87dc-4ae9-89e7-bb5f67c1c63c.vsidx Целия файл


Двоични данни
.vs/YD-ERP-SYS/v17/.suo Целия файл


+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb Целия файл

@@ -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 = "2023022001"
6
+    Public 版本 As String = "2023031601"
7 7
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 8
     Public 列印用SQL, 列印用SQL2, 公司編號, 公司電話, 公司統編, 公司地址, 關鍵字編號, 進度條後墜 As String
9 9
     '----系統閒置-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Двоични данни
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe Целия файл


Двоични данни
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb Целия файл


Двоични данни
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe Целия файл


Двоични данни
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb Целия файл


Двоични данни
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache Целия файл


+ 1
- 1
YD-ERP-SYS/採購系統管理/採購對帳單.vb Целия файл

@@ -48,7 +48,7 @@ Public Class 採購對帳單
48 48
         採購清單_dgv.Columns(24).FillWeight = 80 : 採購清單_dgv.Columns(25).FillWeight = 80 : 採購清單_dgv.Columns(26).FillWeight = 80 : 採購清單_dgv.Columns(27).FillWeight = 45
49 49
         採購清單_dgv.Columns(28).FillWeight = 45 : 採購清單_dgv.Columns(29).Visible = False
50 50
 
51
-        採購清單_dgv.Columns("數量").DefaultCellStyle.Format = "#,##0" : 採購清單_dgv.Columns("成本").DefaultCellStyle.Format = "#,##0"
51
+        採購清單_dgv.Columns("數量").DefaultCellStyle.Format = "#,##0" : 採購清單_dgv.Columns("成本").DefaultCellStyle.Format = "#,##0.0"
52 52
         採購清單_dgv.Columns("金額").DefaultCellStyle.Format = "#,##0"
53 53
         採購清單_dgv.Columns("數量").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
54 54
         採購清單_dgv.Columns("數量").HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter

+ 32
- 32
YD-ERP-SYS/採購系統管理/採購應付帳款.Designer.vb Целия файл

@@ -22,15 +22,15 @@ Partial Class 採購應付帳款
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle4 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle9 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        Dim DataGridViewCellStyle10 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Dim DataGridViewCellStyle11 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle12 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle13 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle14 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
+        Dim DataGridViewCellStyle15 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
+        Dim DataGridViewCellStyle16 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
+        Dim DataGridViewCellStyle17 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
+        Dim DataGridViewCellStyle18 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
34 34
         Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
35 35
         Me.一般月_ch = New System.Windows.Forms.CheckBox()
36 36
         Me.會計月_ch = New System.Windows.Forms.CheckBox()
@@ -214,8 +214,8 @@ Partial Class 採購應付帳款
214 214
         '
215 215
         '供應商_dgv
216 216
         '
217
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.Lavender
218
-        Me.供應商_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
217
+        DataGridViewCellStyle10.BackColor = System.Drawing.Color.Lavender
218
+        Me.供應商_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle10
219 219
         Me.供應商_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
220 220
             Or System.Windows.Forms.AnchorStyles.Left) _
221 221
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -226,9 +226,9 @@ Partial Class 採購應付帳款
226 226
         Me.供應商_dgv.Location = New System.Drawing.Point(247, 81)
227 227
         Me.供應商_dgv.Name = "供應商_dgv"
228 228
         Me.供應商_dgv.RowHeadersWidth = 5
229
-        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
230
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
231
-        Me.供應商_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
229
+        DataGridViewCellStyle11.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
230
+        DataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
231
+        Me.供應商_dgv.RowsDefaultCellStyle = DataGridViewCellStyle11
232 232
         Me.供應商_dgv.RowTemplate.Height = 24
233 233
         Me.供應商_dgv.Size = New System.Drawing.Size(1092, 607)
234 234
         Me.供應商_dgv.TabIndex = 1439
@@ -266,8 +266,8 @@ Partial Class 採購應付帳款
266 266
         '
267 267
         '採購清單_dgv
268 268
         '
269
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
270
-        Me.採購清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
269
+        DataGridViewCellStyle12.BackColor = System.Drawing.Color.FromArgb(CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(224, Byte), Integer))
270
+        Me.採購清單_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle12
271 271
         Me.採購清單_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
272 272
             Or System.Windows.Forms.AnchorStyles.Left) _
273 273
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -278,9 +278,9 @@ Partial Class 採購應付帳款
278 278
         Me.採購清單_dgv.Location = New System.Drawing.Point(247, 81)
279 279
         Me.採購清單_dgv.Name = "採購清單_dgv"
280 280
         Me.採購清單_dgv.RowHeadersWidth = 5
281
-        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
282
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
283
-        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
281
+        DataGridViewCellStyle13.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
282
+        DataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
283
+        Me.採購清單_dgv.RowsDefaultCellStyle = DataGridViewCellStyle13
284 284
         Me.採購清單_dgv.RowTemplate.Height = 24
285 285
         Me.採購清單_dgv.Size = New System.Drawing.Size(1092, 607)
286 286
         Me.採購清單_dgv.TabIndex = 1443
@@ -667,8 +667,8 @@ Partial Class 採購應付帳款
667 667
         '
668 668
         '合計_dgv
669 669
         '
670
-        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
671
-        Me.合計_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
670
+        DataGridViewCellStyle14.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
671
+        Me.合計_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle14
672 672
         Me.合計_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
673 673
             Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
674 674
         Me.合計_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -677,9 +677,9 @@ Partial Class 採購應付帳款
677 677
         Me.合計_dgv.Location = New System.Drawing.Point(4, 428)
678 678
         Me.合計_dgv.Name = "合計_dgv"
679 679
         Me.合計_dgv.RowHeadersWidth = 5
680
-        DataGridViewCellStyle6.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
681
-        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
682
-        Me.合計_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
680
+        DataGridViewCellStyle15.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
681
+        DataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
682
+        Me.合計_dgv.RowsDefaultCellStyle = DataGridViewCellStyle15
683 683
         Me.合計_dgv.RowTemplate.Height = 24
684 684
         Me.合計_dgv.Size = New System.Drawing.Size(237, 153)
685 685
         Me.合計_dgv.TabIndex = 1479
@@ -997,9 +997,9 @@ Partial Class 採購應付帳款
997 997
         Me.外埔報表_dgv.Location = New System.Drawing.Point(247, 81)
998 998
         Me.外埔報表_dgv.Name = "外埔報表_dgv"
999 999
         Me.外埔報表_dgv.RowHeadersWidth = 5
1000
-        DataGridViewCellStyle7.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1001
-        DataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1002
-        Me.外埔報表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle7
1000
+        DataGridViewCellStyle16.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1001
+        DataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1002
+        Me.外埔報表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle16
1003 1003
         Me.外埔報表_dgv.RowTemplate.Height = 24
1004 1004
         Me.外埔報表_dgv.Size = New System.Drawing.Size(1092, 607)
1005 1005
         Me.外埔報表_dgv.TabIndex = 1523
@@ -1019,8 +1019,8 @@ Partial Class 採購應付帳款
1019 1019
         '
1020 1020
         '供應商1_dgv
1021 1021
         '
1022
-        DataGridViewCellStyle8.BackColor = System.Drawing.Color.Lavender
1023
-        Me.供應商1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
1022
+        DataGridViewCellStyle17.BackColor = System.Drawing.Color.Lavender
1023
+        Me.供應商1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle17
1024 1024
         Me.供應商1_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
1025 1025
             Or System.Windows.Forms.AnchorStyles.Left) _
1026 1026
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -1031,9 +1031,9 @@ Partial Class 採購應付帳款
1031 1031
         Me.供應商1_dgv.Location = New System.Drawing.Point(247, 81)
1032 1032
         Me.供應商1_dgv.Name = "供應商1_dgv"
1033 1033
         Me.供應商1_dgv.RowHeadersWidth = 5
1034
-        DataGridViewCellStyle9.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1035
-        DataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1036
-        Me.供應商1_dgv.RowsDefaultCellStyle = DataGridViewCellStyle9
1034
+        DataGridViewCellStyle18.Font = New System.Drawing.Font("微軟正黑體", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1035
+        DataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
1036
+        Me.供應商1_dgv.RowsDefaultCellStyle = DataGridViewCellStyle18
1037 1037
         Me.供應商1_dgv.RowTemplate.Height = 24
1038 1038
         Me.供應商1_dgv.Size = New System.Drawing.Size(1092, 607)
1039 1039
         Me.供應商1_dgv.TabIndex = 1525

+ 4
- 3
YD-ERP-SYS/採購系統管理/採購應付帳款.vb Целия файл

@@ -65,6 +65,7 @@ Public Class 採購應付帳款
65 65
         供應商_dgv.Columns(13).DefaultCellStyle.BackColor = Color.MistyRose
66 66
 
67 67
         For i As Integer = 0 To 供應商_dgv.Rows.Count - 1
68
+            Dim DD As String = 供應商_dgv("編號", i).Value.ToString
68 69
             If 供應商_dgv("編號", i).Value.ToString = "" Then
69 70
                 供應商_dgv("編號", i).Value = 供應商_dgv("廠商編碼", i).Value.ToString : 供應商_dgv("稅金1", i).Value = "0"
70 71
                 供應商_dgv("廣告1", i).Value = "0" : 供應商_dgv("當月貨款", i).Value = "0"
@@ -627,19 +628,19 @@ Public Class 採購應付帳款
627 628
         採購明細_bt.Enabled = False : 應負帳款_bt.Enabled = True : 補充備註_bt.Enabled = True : 採購清單_dgv.Visible = True : 供應商1_dgv.Visible = False : 外埔報表_dgv.Visible = False
628 629
         應負帳款退回_bt.Enabled = True : 提示_lb.Text = "要將採購明細資料退回時,請點選採購明細中要退回的資料後點選左邊的應負帳款退回"
629 630
         轉財務系統_bt.Enabled = False : 主會科_cb.Enabled = False : 主會科編號_cb.Enabled = False : 副會科_cb.Enabled = False : 副會科編號_cb.Enabled = False
630
-        子會科_cb.Enabled = False : 幣別_cb.Enabled = False : 應負帳款退回_bt.Text = "應付帳款退回"
631
+        子會科_cb.Enabled = False : 幣別_cb.Enabled = False : 應負帳款退回_bt.Text = "應付帳款退回" : Panel1.SendToBack()
631 632
     End Sub
632 633
     Private Sub 應負帳款_bt_Click(sender As Object, e As EventArgs) Handles 應負帳款_bt.Click
633 634
         採購明細_bt.Enabled = True : 應負帳款_bt.Enabled = False : 補充備註_bt.Enabled = True : 採購清單_dgv.Visible = False : 供應商1_dgv.Visible = True : 外埔報表_dgv.Visible = False
634 635
         應負帳款退回_bt.Enabled = False : 提示_lb.Text = "目前呈現表單為應付帳款,若要退回採購明細資料請點選下方採購明細"
635 636
         轉財務系統_bt.Enabled = True : 主會科_cb.Enabled = True : 主會科編號_cb.Enabled = True : 副會科_cb.Enabled = True : 副會科編號_cb.Enabled = True
636
-        子會科_cb.Enabled = True : 幣別_cb.Enabled = True : 應負帳款退回_bt.Text = "應付帳款退回"
637
+        子會科_cb.Enabled = True : 幣別_cb.Enabled = True : 應負帳款退回_bt.Text = "應付帳款退回" : Panel1.SendToBack()
637 638
     End Sub
638 639
     Private Sub 補充備註_bt_Click(sender As Object, e As EventArgs) Handles 補充備註_bt.Click
639 640
         採購明細_bt.Enabled = True : 應負帳款_bt.Enabled = True : 補充備註_bt.Enabled = False : 採購清單_dgv.Visible = False : 供應商1_dgv.Visible = False : 外埔報表_dgv.Visible = True
640 641
         應負帳款退回_bt.Enabled = True : 提示_lb.Text = "要將備註資料退回時,請點選備註明細中要退回的資料後點選左邊的備註過帳退回"
641 642
         轉財務系統_bt.Enabled = False : 主會科_cb.Enabled = False : 主會科編號_cb.Enabled = False : 副會科_cb.Enabled = False : 副會科編號_cb.Enabled = False
642
-        子會科_cb.Enabled = False : 幣別_cb.Enabled = False : 應負帳款退回_bt.Text = "備註過帳退回"
643
+        子會科_cb.Enabled = False : 幣別_cb.Enabled = False : 應負帳款退回_bt.Text = "備註過帳退回" : Panel1.SendToBack()
643 644
     End Sub
644 645
     Private Sub 重新讀取_bt_Click(sender As Object, e As EventArgs) Handles 重新讀取_bt.Click
645 646
         Set_清單4() : Set_清單1() : Set_清單2()

Loading…
Отказ
Запис