B70340 3 lat temu
rodzic
commit
6b3e5c4c88

BIN
.vs/YD-ERP-SYS/v16/.suo Wyświetl plik


+ 9
- 1
YD-ERP-SYS/Module/SQL_倉儲系統管理.vb Wyświetl plik

@@ -84,7 +84,15 @@
84 84
     End Sub
85 85
     '---------------------倉儲控制表-----------------------------------------------------------------------------------------------------------------
86 86
     Friend Sub SQL_倉儲控制表_控制表()
87
-        If 倉儲控制表.不顯示歸零_ch.Checked = True Then : SQL3 = " AND (RR.庫存 <> 0)" : Else : SQL3 = "" : End If
87
+        If 倉儲控制表.不顯示歸零_ch.Checked = True And 倉儲控制表.料號2_tb.Text = "" Then
88
+            SQL3 = " AND (RR.庫存 <> 0)"
89
+        ElseIf 倉儲控制表.不顯示歸零_ch.Checked = True And 倉儲控制表.料號2_tb.Text <> "" Then
90
+            SQL3 = " AND (RR.庫存 <> 0) AND BB.料號 LIKE '" & 倉儲控制表.料號2_tb.Text & "%'"
91
+        ElseIf 倉儲控制表.不顯示歸零_ch.Checked = False And 倉儲控制表.料號2_tb.Text <> "" Then
92
+            SQL3 = " AND BB.料號 LIKE '" & 倉儲控制表.料號2_tb.Text & "%'"
93
+        Else
94
+            SQL3 = ""
95
+        End If
88 96
 
89 97
         If 倉儲控制表.指定倉庫_cb.Text = "" And 倉儲控制表.倉儲狀態_cb.Text = "" Then
90 98
             SQL2 = " WHERE (BB.訂製 IS NOT NULL)" & SQL3

+ 19
- 0
YD-ERP-SYS/Module/SQL_業績計算系統.vb Wyświetl plik

@@ -246,4 +246,23 @@
246 246
                 WHERE 單號 LIKE N'" & 業績單據完單設定.業務單號_tb.Text & "'"
247 247
         CmdSet_For_dr()
248 248
     End Sub
249
+    Friend Sub SQL_業績運費()
250
+        ConnOpen()
251
+        SQL1 = "SELECT     銷售控制表.轉業績日期 AS 完單日期, 銷售控制表.單號, 客戶資料表.名稱, 銷售控制表.運費, 銷售控制表.運費已付, 
252
+                           客戶資料表.地址, 銷售控制表.合載 AS 備註
253
+                FROM       銷售控制表 LEFT OUTER JOIN
254
+                           銷售收款事項 ON 銷售控制表.單號 = 銷售收款事項.單號 LEFT OUTER JOIN
255
+                           客戶資料表 ON 銷售控制表.客戶編號 = 客戶資料表.舊編
256
+                WHERE     (銷售控制表.轉業績日期 NOT LIKE '') AND 
257
+                          (銷售控制表.轉業績日期 BETWEEN '" & Strings.Format(業績運費明細表.開始日期_dtp.Value, "yyyy/MM/dd") & "' AND 
258
+                                                         '" & Strings.Format(業績運費明細表.結束日期_dtp.Value, "yyyy/MM/dd") & "') AND 
259
+                          (銷售收款事項.內容 = N'未收餘額') AND (銷售收款事項.金額 = 0)
260
+                ORDER BY   完單日期, 銷售控制表.單號"
261
+        CmdSet_For_DGV()
262
+    End Sub
263
+    Friend Sub SQL_業績運費_修正()
264
+        ConnOpen()
265
+        SQL1 = "UPDATE 銷售控制表 SET 運費已付 = N'" & PA1 & "', 合載 = N'" & PA2 & "' WHERE 單號 LIKE N'" & PA & "'"
266
+        CmdSet_For_dr()
267
+    End Sub
249 268
 End Module

+ 1
- 1
YD-ERP-SYS/Module/全域變數.vb Wyświetl plik

@@ -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 = "2021083001"
7
+    Public 版本 As String = "2021090501"
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

+ 18
- 8
YD-ERP-SYS/YD-ERP-SYS.Designer.vb Wyświetl plik

@@ -25,8 +25,9 @@ Partial Class YD_ERP_SYS
25 25
     Private Sub InitializeComponent()
26 26
         Me.components = New System.ComponentModel.Container()
27 27
         Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(YD_ERP_SYS))
28
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        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
+        Me.業績運費明細表_tsm = New System.Windows.Forms.ToolStripMenuItem()
30 31
         Me.MenuStrip = New System.Windows.Forms.MenuStrip()
31 32
         Me.FileMenu = New System.Windows.Forms.ToolStripMenuItem()
32 33
         Me.個人帳號管理_tsm = New System.Windows.Forms.ToolStripMenuItem()
@@ -117,6 +118,14 @@ Partial Class YD_ERP_SYS
117 118
         CType(Me.銷售單據_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
118 119
         Me.SuspendLayout()
119 120
         '
121
+        '業績運費明細表_tsm
122
+        '
123
+        Me.業績運費明細表_tsm.ForeColor = System.Drawing.Color.Red
124
+        Me.業績運費明細表_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Shipping5
125
+        Me.業績運費明細表_tsm.Name = "業績運費明細表_tsm"
126
+        Me.業績運費明細表_tsm.Size = New System.Drawing.Size(181, 22)
127
+        Me.業績運費明細表_tsm.Text = "業績運費明細表"
128
+        '
120 129
         'MenuStrip
121 130
         '
122 131
         Me.MenuStrip.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.FileMenu, Me.WindowsMenu, Me.人事系統管理_tsm, Me.業務系統管理_tsm, Me.採購系統管理_tsm, Me.倉儲系統管理_tsm, Me.財務系統管理_tsm, Me.資料庫系統管理_tsm})
@@ -501,7 +510,7 @@ Partial Class YD_ERP_SYS
501 510
         '
502 511
         '財務系統管理_tsm
503 512
         '
504
-        Me.財務系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.業績獎金彙總表_tsm, Me.業績單據完單設定_tsm, Me.ToolStripSeparator15, Me.營運成本收支單申請_tsm, Me.營運成本收支單審核_tsm, Me.營運成本收支單一覽表_tsm, Me.ToolStripSeparator12, Me.營運成本收支單對帳表_tsm, Me.營運報表_tsm, Me.ToolStripSeparator13, Me.薪資轉帳表_tsm, Me.匯率管理_tsm, Me.會計科目管理_tsm, Me.業務獎金計算基礎_tcm})
513
+        Me.財務系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.業績獎金彙總表_tsm, Me.業績運費明細表_tsm, Me.業績單據完單設定_tsm, Me.ToolStripSeparator15, Me.營運成本收支單申請_tsm, Me.營運成本收支單審核_tsm, Me.營運成本收支單一覽表_tsm, Me.ToolStripSeparator12, Me.營運成本收支單對帳表_tsm, Me.營運報表_tsm, Me.ToolStripSeparator13, Me.薪資轉帳表_tsm, Me.匯率管理_tsm, Me.會計科目管理_tsm, Me.業務獎金計算基礎_tcm})
505 514
         Me.財務系統管理_tsm.ForeColor = System.Drawing.Color.Red
506 515
         Me.財務系統管理_tsm.Image = Global.YD_ERP_SYS.My.Resources.Resources.Payment1
507 516
         Me.財務系統管理_tsm.Name = "財務系統管理_tsm"
@@ -723,16 +732,16 @@ Partial Class YD_ERP_SYS
723 732
         '
724 733
         '銷售單據_dgv
725 734
         '
726
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
727
-        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
735
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
736
+        Me.銷售單據_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
728 737
         Me.銷售單據_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
729 738
         Me.銷售單據_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
730 739
         Me.銷售單據_dgv.Location = New System.Drawing.Point(639, 90)
731 740
         Me.銷售單據_dgv.Name = "銷售單據_dgv"
732 741
         Me.銷售單據_dgv.RowHeadersWidth = 5
733
-        DataGridViewCellStyle2.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
734
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
735
-        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
742
+        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
743
+        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
744
+        Me.銷售單據_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
736 745
         Me.銷售單據_dgv.RowTemplate.Height = 24
737 746
         Me.銷售單據_dgv.Size = New System.Drawing.Size(542, 465)
738 747
         Me.銷售單據_dgv.TabIndex = 1257
@@ -856,4 +865,5 @@ Partial Class YD_ERP_SYS
856 865
     Friend WithEvents 業績獎金彙總表_tsm As ToolStripMenuItem
857 866
     Friend WithEvents 業務獎金計算基礎_tcm As ToolStripMenuItem
858 867
     Friend WithEvents 業績單據完單設定_tsm As ToolStripMenuItem
868
+    Friend WithEvents 業績運費明細表_tsm As ToolStripMenuItem
859 869
 End Class

+ 6
- 1
YD-ERP-SYS/YD-ERP-SYS.vb Wyświetl plik

@@ -88,7 +88,8 @@ Public Class YD_ERP_SYS
88 88
             If 銷售單據_dgv.Rows.Count > 0 Then
89 89
                 單數 = (Strings.Right(銷售單據_dgv.Rows(0).Cells("單號").Value, 6) - Strings.Right(銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value, 6)) - 銷售單據_dgv.Rows.Count
90 90
                 狀態1 = 業務_cb.Text & " 號業務單最後入單單號 [ " & 銷售單據_dgv.Rows(0).Cells("單號").Value & " ],開單日期是 [ " & 銷售單據_dgv.Rows(0).Cells("開單日期").Value & " ]。 
91
-   由單號 [" & 銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value & "]  到系統中最後一單,約有 " & 單數 & " 張單據未補齊。"
91
+   由單號 [" & 銷售單據_dgv.Rows(銷售單據_dgv.Rows.Count - 1).Cells("單號").Value & "]  到系統中最後一單,約有 " & 單數 & " 張單據未補齊。" & vbCrLf &
92
+   "-------------------------------------------------------------------"
92 93
                 狀態 = 狀態 & vbCrLf &
93 94
                            狀態1
94 95
             End If
@@ -245,6 +246,10 @@ Public Class YD_ERP_SYS
245 246
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
246 247
         PA = "" : 業績單據完單設定.Show() : 業績單據完單設定.BringToFront()
247 248
     End Sub
249
+    Private Sub 業績運費明細表_tsm_Click(sender As Object, e As EventArgs) Handles 業績運費明細表_tsm.Click
250
+        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
251
+        PA = "" : 業績運費明細表.Show() : 業績運費明細表.BringToFront()
252
+    End Sub
248 253
     Private Sub 營運成本收支單一覽表ToolStripMenuItem1_Click(sender As Object, e As EventArgs) Handles 營運成本收支單一覽表_tsm.Click
249 254
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
250 255
         PA = "" : PA18 = "" : PA19 = "" : PA20 = "" : 營運成本收支單一覽表.Show() : 營運成本收支單一覽表.BringToFront()

+ 9
- 0
YD-ERP-SYS/YD-ERP-SYS.vbproj Wyświetl plik

@@ -330,6 +330,12 @@
330 330
     <Compile Include="財務系統管理\業績獎金彙總表.vb">
331 331
       <SubType>Form</SubType>
332 332
     </Compile>
333
+    <Compile Include="財務系統管理\業績運費明細表.Designer.vb">
334
+      <DependentUpon>業績運費明細表.vb</DependentUpon>
335
+    </Compile>
336
+    <Compile Include="財務系統管理\業績運費明細表.vb">
337
+      <SubType>Form</SubType>
338
+    </Compile>
333 339
     <Compile Include="財務系統管理\營運報表.Designer.vb">
334 340
       <DependentUpon>營運報表.vb</DependentUpon>
335 341
     </Compile>
@@ -542,6 +548,9 @@
542 548
     <EmbeddedResource Include="財務系統管理\業績獎金彙總表.resx">
543 549
       <DependentUpon>業績獎金彙總表.vb</DependentUpon>
544 550
     </EmbeddedResource>
551
+    <EmbeddedResource Include="財務系統管理\業績運費明細表.resx">
552
+      <DependentUpon>業績運費明細表.vb</DependentUpon>
553
+    </EmbeddedResource>
545 554
     <EmbeddedResource Include="財務系統管理\營運報表.resx">
546 555
       <DependentUpon>營運報表.vb</DependentUpon>
547 556
     </EmbeddedResource>

BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.exe Wyświetl plik


BIN
YD-ERP-SYS/bin/Debug/YD-ERP-SYS.pdb Wyświetl plik


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.exe Wyświetl plik


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.pdb Wyświetl plik


+ 1
- 1
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.CoreCompileInputs.cache Wyświetl plik

@@ -1 +1 @@
1
-925f96eada3b8933ee6d9a387b39de39c623d377
1
+7306029ad47280a03329fef82e4399e994c6e258

+ 1
- 0
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.FileListAbsolute.txt Wyświetl plik

@@ -510,3 +510,4 @@ D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.採購應付帳款.resou
510 510
 D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業績獎金彙總表.resources
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
+D:\工巧明\YD-ERP-SYS\YD-ERP-SYS\obj\Debug\YD_ERP_SYS.業績運費明細表.resources

BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbproj.GenerateResource.cache Wyświetl plik


BIN
YD-ERP-SYS/obj/Debug/YD-ERP-SYS.vbprojAssemblyReference.cache Wyświetl plik


BIN
YD-ERP-SYS/obj/Debug/YD_ERP_SYS.業績運費明細表.resources Wyświetl plik


+ 62
- 12
YD-ERP-SYS/倉儲系統管理/倉儲控制表.Designer.vb Wyświetl plik

@@ -23,10 +23,10 @@ Partial Class 倉儲控制表
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25 25
         Me.components = New System.ComponentModel.Container()
26
-        Dim 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()
26
+        Dim DataGridViewCellStyle5 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
+        Dim DataGridViewCellStyle6 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
+        Dim DataGridViewCellStyle7 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
+        Dim DataGridViewCellStyle8 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30 30
         Me.控制表_dgv = New System.Windows.Forms.DataGridView()
31 31
         Me.明細表_dgv = New System.Windows.Forms.DataGridView()
32 32
         Me.物料圖_pb = New System.Windows.Forms.PictureBox()
@@ -61,6 +61,9 @@ Partial Class 倉儲控制表
61 61
         Me.中間距_ch = New System.Windows.Forms.CheckBox()
62 62
         Me.小間距_ch = New System.Windows.Forms.CheckBox()
63 63
         Me.SplitContainer1 = New System.Windows.Forms.SplitContainer()
64
+        Me.查詢_bt = New System.Windows.Forms.Button()
65
+        Me.清空1_bt = New System.Windows.Forms.Button()
66
+        Me.料號2_tb = New System.Windows.Forms.TextBox()
64 67
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
65 68
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
66 69
         Me.訂製狀態_tb = New System.Windows.Forms.TextBox()
@@ -87,6 +90,7 @@ Partial Class 倉儲控制表
87 90
         Me.刪除_bt = New System.Windows.Forms.Button()
88 91
         Me.Label11 = New System.Windows.Forms.Label()
89 92
         Me.倉儲流水_tb = New System.Windows.Forms.TextBox()
93
+        Me.Label20 = New System.Windows.Forms.Label()
90 94
         CType(Me.控制表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
91 95
         CType(Me.明細表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
92 96
         CType(Me.物料圖_pb, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -102,8 +106,8 @@ Partial Class 倉儲控制表
102 106
         '
103 107
         '控制表_dgv
104 108
         '
105
-        DataGridViewCellStyle1.BackColor = System.Drawing.Color.White
106
-        Me.控制表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
109
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.White
110
+        Me.控制表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
107 111
         Me.控制表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
108 112
             Or System.Windows.Forms.AnchorStyles.Left) _
109 113
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -112,16 +116,16 @@ Partial Class 倉儲控制表
112 116
         Me.控制表_dgv.Location = New System.Drawing.Point(467, 29)
113 117
         Me.控制表_dgv.Name = "控制表_dgv"
114 118
         Me.控制表_dgv.RowHeadersWidth = 5
115
-        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
116
-        Me.控制表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle2
119
+        DataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
120
+        Me.控制表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle6
117 121
         Me.控制表_dgv.RowTemplate.Height = 24
118 122
         Me.控制表_dgv.Size = New System.Drawing.Size(823, 382)
119 123
         Me.控制表_dgv.TabIndex = 1039
120 124
         '
121 125
         '明細表_dgv
122 126
         '
123
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
124
-        Me.明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
127
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(224, Byte), Integer), CType(CType(192, Byte), Integer))
128
+        Me.明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
125 129
         Me.明細表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
126 130
             Or System.Windows.Forms.AnchorStyles.Left) _
127 131
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -130,8 +134,8 @@ Partial Class 倉儲控制表
130 134
         Me.明細表_dgv.Location = New System.Drawing.Point(3, 29)
131 135
         Me.明細表_dgv.Name = "明細表_dgv"
132 136
         Me.明細表_dgv.RowHeadersWidth = 5
133
-        DataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
134
-        Me.明細表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
137
+        DataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.[True]
138
+        Me.明細表_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
135 139
         Me.明細表_dgv.RowTemplate.Height = 24
136 140
         Me.明細表_dgv.Size = New System.Drawing.Size(1287, 188)
137 141
         Me.明細表_dgv.TabIndex = 1040
@@ -449,6 +453,10 @@ Partial Class 倉儲控制表
449 453
         '
450 454
         'SplitContainer1.Panel1
451 455
         '
456
+        Me.SplitContainer1.Panel1.Controls.Add(Me.Label20)
457
+        Me.SplitContainer1.Panel1.Controls.Add(Me.查詢_bt)
458
+        Me.SplitContainer1.Panel1.Controls.Add(Me.清空1_bt)
459
+        Me.SplitContainer1.Panel1.Controls.Add(Me.料號2_tb)
452 460
         Me.SplitContainer1.Panel1.Controls.Add(Me.控制表_dgv)
453 461
         Me.SplitContainer1.Panel1.Controls.Add(Me.字體大小調整_lb)
454 462
         Me.SplitContainer1.Panel1.Controls.Add(Me.字體_NUD)
@@ -512,6 +520,35 @@ Partial Class 倉儲控制表
512 520
         Me.SplitContainer1.SplitterDistance = 416
513 521
         Me.SplitContainer1.TabIndex = 1380
514 522
         '
523
+        '查詢_bt
524
+        '
525
+        Me.查詢_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
526
+        Me.查詢_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
527
+        Me.查詢_bt.Location = New System.Drawing.Point(949, 3)
528
+        Me.查詢_bt.Name = "查詢_bt"
529
+        Me.查詢_bt.Size = New System.Drawing.Size(61, 24)
530
+        Me.查詢_bt.TabIndex = 1494
531
+        Me.查詢_bt.Text = "查詢"
532
+        Me.查詢_bt.UseVisualStyleBackColor = True
533
+        '
534
+        '清空1_bt
535
+        '
536
+        Me.清空1_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
537
+        Me.清空1_bt.ImeMode = System.Windows.Forms.ImeMode.NoControl
538
+        Me.清空1_bt.Location = New System.Drawing.Point(885, 3)
539
+        Me.清空1_bt.Name = "清空1_bt"
540
+        Me.清空1_bt.Size = New System.Drawing.Size(61, 24)
541
+        Me.清空1_bt.TabIndex = 1493
542
+        Me.清空1_bt.Text = "清除"
543
+        Me.清空1_bt.UseVisualStyleBackColor = True
544
+        '
545
+        '料號2_tb
546
+        '
547
+        Me.料號2_tb.Location = New System.Drawing.Point(751, 3)
548
+        Me.料號2_tb.Name = "料號2_tb"
549
+        Me.料號2_tb.Size = New System.Drawing.Size(131, 23)
550
+        Me.料號2_tb.TabIndex = 1492
551
+        '
515 552
         '字體大小調整_lb
516 553
         '
517 554
         Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -746,6 +783,15 @@ Partial Class 倉儲控制表
746 783
         Me.倉儲流水_tb.Size = New System.Drawing.Size(98, 23)
747 784
         Me.倉儲流水_tb.TabIndex = 1380
748 785
         '
786
+        'Label20
787
+        '
788
+        Me.Label20.AutoSize = True
789
+        Me.Label20.Location = New System.Drawing.Point(598, 6)
790
+        Me.Label20.Name = "Label20"
791
+        Me.Label20.Size = New System.Drawing.Size(152, 16)
792
+        Me.Label20.TabIndex = 1495
793
+        Me.Label20.Text = "請輸入供應商編號或是料號"
794
+        '
749 795
         '倉儲控制表
750 796
         '
751 797
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
@@ -834,4 +880,8 @@ Partial Class 倉儲控制表
834 880
     Friend WithEvents 倉名編號_tb As TextBox
835 881
     Friend WithEvents 倉級_tb As TextBox
836 882
     Friend WithEvents 訂製狀態_tb As TextBox
883
+    Friend WithEvents 料號2_tb As TextBox
884
+    Friend WithEvents 查詢_bt As Button
885
+    Friend WithEvents 清空1_bt As Button
886
+    Friend WithEvents Label20 As Label
837 887
 End Class

+ 6
- 0
YD-ERP-SYS/倉儲系統管理/倉儲控制表.vb Wyświetl plik

@@ -588,4 +588,10 @@ Public Class 倉儲控制表
588 588
             MsgBox("調整帳務完成!!") : Set_清單() : Set_清單1()
589 589
         End If
590 590
     End Sub
591
+    Private Sub 清空1_bt_Click(sender As Object, e As EventArgs) Handles 清空1_bt.Click
592
+        料號2_tb.Text = "" : Set_清單() : Set_清單1()
593
+    End Sub
594
+    Private Sub 查詢_bt_Click(sender As Object, e As EventArgs) Handles 查詢_bt.Click
595
+        Set_清單() : Set_清單1()
596
+    End Sub
591 597
 End Class

+ 1
- 1
YD-ERP-SYS/業務系統管理/訂單控制表.vb Wyświetl plik

@@ -257,7 +257,7 @@ Public Class 訂單控制表
257 257
                 If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
258 258
                     司機運費_tb.Text = 最低運費_cb.Text
259 259
                 ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
260
-                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
260
+                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
261 261
                 End If
262 262
             Else
263 263
                 司機運費_tb.Text = 運費

+ 3
- 3
YD-ERP-SYS/業務系統管理/銷售單審核.vb Wyświetl plik

@@ -377,7 +377,7 @@ Public Class 銷售單審核
377 377
                 If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
378 378
                     司機運費_tb.Text = 最低運費_cb.Text
379 379
                 ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
380
-                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
380
+                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
381 381
                 End If
382 382
             Else
383 383
                 司機運費_tb.Text = 運費
@@ -1302,7 +1302,7 @@ Public Class 銷售單審核
1302 1302
             If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
1303 1303
                 司機運費_tb.Text = 最低運費_cb.Text
1304 1304
             ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
1305
-                司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
1305
+                司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
1306 1306
             End If
1307 1307
         End If
1308 1308
         存檔1()
@@ -1408,7 +1408,7 @@ Public Class 銷售單審核
1408 1408
                 If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
1409 1409
                     司機運費_tb.Text = 最低運費_cb.Text
1410 1410
                 ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
1411
-                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
1411
+                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
1412 1412
                 End If
1413 1413
             Else
1414 1414
                 司機運費_tb.Text = 運費

+ 3
- 3
YD-ERP-SYS/業務系統管理/銷售單申請.vb Wyświetl plik

@@ -377,7 +377,7 @@ Public Class 銷售單申請
377 377
                 If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
378 378
                     司機運費_tb.Text = 最低運費_cb.Text
379 379
                 ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
380
-                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
380
+                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
381 381
                 End If
382 382
             Else
383 383
                 司機運費_tb.Text = 運費
@@ -1380,7 +1380,7 @@ Public Class 銷售單申請
1380 1380
             If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
1381 1381
                 司機運費_tb.Text = 最低運費_cb.Text
1382 1382
             ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
1383
-                司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
1383
+                司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
1384 1384
             End If
1385 1385
         End If
1386 1386
         存檔1()
@@ -1480,7 +1480,7 @@ Public Class 銷售單申請
1480 1480
                 If (不含1類銷售小記 - Val(其他成本_tb.Text)) <= Val(最低售價_cb.Text) Then
1481 1481
                     司機運費_tb.Text = 最低運費_cb.Text
1482 1482
                 ElseIf (不含1類銷售小記 - Val(其他成本_tb.Text)) > Val(最低售價_cb.Text) Then
1483
-                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text)) / 100 * 3 ' - Val(其他成本_tb.Text)
1483
+                    司機運費_tb.Text = (不含1類銷售小記 - Val(稅金_tb.Text) - Val(刷卡傭金_tb.Text) - Val(其他成本_tb.Text)) / 100 * 3
1484 1484
                 End If
1485 1485
             Else
1486 1486
                 司機運費_tb.Text = 運費

+ 27
- 27
YD-ERP-SYS/財務系統管理/業績獎金彙總表.Designer.vb Wyświetl plik

@@ -22,15 +22,15 @@ Partial Class 業績獎金彙總表
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()> _
24 24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle19 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle20 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle21 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
28
-        Dim DataGridViewCellStyle22 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
29
-        Dim DataGridViewCellStyle23 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
30
-        Dim DataGridViewCellStyle24 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
31
-        Dim DataGridViewCellStyle25 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
32
-        Dim DataGridViewCellStyle26 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
33
-        Dim DataGridViewCellStyle27 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
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()
34 34
         Me.彙總1_dgv = New System.Windows.Forms.DataGridView()
35 35
         Me.字體大小調整_lb = New System.Windows.Forms.Label()
36 36
         Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
@@ -81,8 +81,8 @@ Partial Class 業績獎金彙總表
81 81
         '
82 82
         '彙總1_dgv
83 83
         '
84
-        DataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
85
-        Me.彙總1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle19
84
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
85
+        Me.彙總1_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
86 86
         Me.彙總1_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
87 87
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
88 88
         Me.彙總1_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
@@ -123,8 +123,8 @@ Partial Class 業績獎金彙總表
123 123
         '
124 124
         '衍生運費_dgv
125 125
         '
126
-        DataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
127
-        Me.衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle20
126
+        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
127
+        Me.衍生運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
128 128
         Me.衍生運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
129 129
         Me.衍生運費_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
130 130
         Me.衍生運費_dgv.Location = New System.Drawing.Point(470, 33)
@@ -138,8 +138,8 @@ Partial Class 業績獎金彙總表
138 138
         '
139 139
         '其他_dgv
140 140
         '
141
-        DataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
142
-        Me.其他_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle21
141
+        DataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
142
+        Me.其他_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
143 143
         Me.其他_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
144 144
         Me.其他_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
145 145
         Me.其他_dgv.Location = New System.Drawing.Point(1177, 33)
@@ -153,8 +153,8 @@ Partial Class 業績獎金彙總表
153 153
         '
154 154
         '外車車資_dgv
155 155
         '
156
-        DataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
157
-        Me.外車車資_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle22
156
+        DataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
157
+        Me.外車車資_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle4
158 158
         Me.外車車資_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
159 159
         Me.外車車資_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
160 160
         Me.外車車資_dgv.Location = New System.Drawing.Point(627, 33)
@@ -168,8 +168,8 @@ Partial Class 業績獎金彙總表
168 168
         '
169 169
         '料號一_dgv
170 170
         '
171
-        DataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
172
-        Me.料號一_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle23
171
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
172
+        Me.料號一_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
173 173
         Me.料號一_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
174 174
         Me.料號一_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
175 175
         Me.料號一_dgv.Location = New System.Drawing.Point(992, 33)
@@ -183,8 +183,8 @@ Partial Class 業績獎金彙總表
183 183
         '
184 184
         '備註運費_dgv
185 185
         '
186
-        DataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
187
-        Me.備註運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle24
186
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
187
+        Me.備註運費_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
188 188
         Me.備註運費_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
189 189
         Me.備註運費_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
190 190
         Me.備註運費_dgv.Location = New System.Drawing.Point(835, 33)
@@ -257,8 +257,8 @@ Partial Class 業績獎金彙總表
257 257
         '
258 258
         '獎金彙總_dgv
259 259
         '
260
-        DataGridViewCellStyle25.BackColor = System.Drawing.Color.Lavender
261
-        Me.獎金彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle25
260
+        DataGridViewCellStyle7.BackColor = System.Drawing.Color.Lavender
261
+        Me.獎金彙總_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle7
262 262
         Me.獎金彙總_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
263 263
             Or System.Windows.Forms.AnchorStyles.Left) _
264 264
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -296,8 +296,8 @@ Partial Class 業績獎金彙總表
296 296
         '
297 297
         '獎金明細表_dgv
298 298
         '
299
-        DataGridViewCellStyle26.BackColor = System.Drawing.Color.LavenderBlush
300
-        Me.獎金明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle26
299
+        DataGridViewCellStyle8.BackColor = System.Drawing.Color.LavenderBlush
300
+        Me.獎金明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle8
301 301
         Me.獎金明細表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
302 302
             Or System.Windows.Forms.AnchorStyles.Left) _
303 303
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
@@ -313,8 +313,8 @@ Partial Class 業績獎金彙總表
313 313
         '
314 314
         '過度表_dgv
315 315
         '
316
-        DataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
317
-        Me.過度表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle27
316
+        DataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
317
+        Me.過度表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle9
318 318
         Me.過度表_dgv.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
319 319
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
320 320
         Me.過度表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill

+ 321
- 0
YD-ERP-SYS/財務系統管理/業績運費明細表.Designer.vb Wyświetl plik

@@ -0,0 +1,321 @@
1
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
2
+Partial Class 業績運費明細表
3
+    Inherits System.Windows.Forms.Form
4
+
5
+    'Form 覆寫 Dispose 以清除元件清單。
6
+    <System.Diagnostics.DebuggerNonUserCode()> _
7
+    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
8
+        Try
9
+            If disposing AndAlso components IsNot Nothing Then
10
+                components.Dispose()
11
+            End If
12
+        Finally
13
+            MyBase.Dispose(disposing)
14
+        End Try
15
+    End Sub
16
+
17
+    '為 Windows Form 設計工具的必要項
18
+    Private components As System.ComponentModel.IContainer
19
+
20
+    '注意: 以下為 Windows Form 設計工具所需的程序
21
+    '可以使用 Windows Form 設計工具進行修改。
22
+    '請勿使用程式碼編輯器進行修改。
23
+    <System.Diagnostics.DebuggerStepThrough()> _
24
+    Private Sub InitializeComponent()
25
+        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
+        Me.列印成EXCEL_bt = New System.Windows.Forms.Button()
27
+        Me.Label1 = New System.Windows.Forms.Label()
28
+        Me.下個月_bt = New System.Windows.Forms.Button()
29
+        Me.上個月_bt = New System.Windows.Forms.Button()
30
+        Me.結束日期_dtp = New System.Windows.Forms.DateTimePicker()
31
+        Me.開始日期_dtp = New System.Windows.Forms.DateTimePicker()
32
+        Me.運費明細表_dgv = New System.Windows.Forms.DataGridView()
33
+        Me.字體大小調整_lb = New System.Windows.Forms.Label()
34
+        Me.字體_NUD = New System.Windows.Forms.NumericUpDown()
35
+        Me.中間日期_dtp = New System.Windows.Forms.DateTimePicker()
36
+        Me.NUD2 = New System.Windows.Forms.NumericUpDown()
37
+        Me.NUD1 = New System.Windows.Forms.NumericUpDown()
38
+        Me.Label5 = New System.Windows.Forms.Label()
39
+        Me.Label2 = New System.Windows.Forms.Label()
40
+        Me.NUD3 = New System.Windows.Forms.NumericUpDown()
41
+        Me.Label3 = New System.Windows.Forms.Label()
42
+        Me.存檔_bt = New System.Windows.Forms.Button()
43
+        Me.全部取消_bt = New System.Windows.Forms.Button()
44
+        Me.全部選擇_bt = New System.Windows.Forms.Button()
45
+        CType(Me.運費明細表_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
46
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).BeginInit()
47
+        CType(Me.NUD2, System.ComponentModel.ISupportInitialize).BeginInit()
48
+        CType(Me.NUD1, System.ComponentModel.ISupportInitialize).BeginInit()
49
+        CType(Me.NUD3, System.ComponentModel.ISupportInitialize).BeginInit()
50
+        Me.SuspendLayout()
51
+        '
52
+        '列印成EXCEL_bt
53
+        '
54
+        Me.列印成EXCEL_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
55
+        Me.列印成EXCEL_bt.ForeColor = System.Drawing.Color.Green
56
+        Me.列印成EXCEL_bt.Location = New System.Drawing.Point(336, 3)
57
+        Me.列印成EXCEL_bt.Name = "列印成EXCEL_bt"
58
+        Me.列印成EXCEL_bt.Size = New System.Drawing.Size(107, 23)
59
+        Me.列印成EXCEL_bt.TabIndex = 1541
60
+        Me.列印成EXCEL_bt.Text = "列印成EXCEL"
61
+        Me.列印成EXCEL_bt.UseVisualStyleBackColor = True
62
+        '
63
+        'Label1
64
+        '
65
+        Me.Label1.AutoSize = True
66
+        Me.Label1.Location = New System.Drawing.Point(99, 6)
67
+        Me.Label1.Name = "Label1"
68
+        Me.Label1.Size = New System.Drawing.Size(20, 16)
69
+        Me.Label1.TabIndex = 1538
70
+        Me.Label1.Text = "到"
71
+        '
72
+        '下個月_bt
73
+        '
74
+        Me.下個月_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
75
+        Me.下個月_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
76
+        Me.下個月_bt.Location = New System.Drawing.Point(274, 3)
77
+        Me.下個月_bt.Name = "下個月_bt"
78
+        Me.下個月_bt.Size = New System.Drawing.Size(57, 23)
79
+        Me.下個月_bt.TabIndex = 1537
80
+        Me.下個月_bt.Text = "下個月"
81
+        Me.下個月_bt.UseVisualStyleBackColor = True
82
+        '
83
+        '上個月_bt
84
+        '
85
+        Me.上個月_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
86
+        Me.上個月_bt.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
87
+        Me.上個月_bt.Location = New System.Drawing.Point(216, 3)
88
+        Me.上個月_bt.Name = "上個月_bt"
89
+        Me.上個月_bt.Size = New System.Drawing.Size(57, 23)
90
+        Me.上個月_bt.TabIndex = 1536
91
+        Me.上個月_bt.Text = "上個月"
92
+        Me.上個月_bt.UseVisualStyleBackColor = True
93
+        '
94
+        '結束日期_dtp
95
+        '
96
+        Me.結束日期_dtp.CustomFormat = "yyyy/MM/dd"
97
+        Me.結束日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.Custom
98
+        Me.結束日期_dtp.Location = New System.Drawing.Point(119, 3)
99
+        Me.結束日期_dtp.Name = "結束日期_dtp"
100
+        Me.結束日期_dtp.Size = New System.Drawing.Size(91, 23)
101
+        Me.結束日期_dtp.TabIndex = 1535
102
+        '
103
+        '開始日期_dtp
104
+        '
105
+        Me.開始日期_dtp.CustomFormat = "yyyy/MM/dd"
106
+        Me.開始日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.Custom
107
+        Me.開始日期_dtp.Location = New System.Drawing.Point(4, 3)
108
+        Me.開始日期_dtp.Name = "開始日期_dtp"
109
+        Me.開始日期_dtp.Size = New System.Drawing.Size(91, 23)
110
+        Me.開始日期_dtp.TabIndex = 1534
111
+        '
112
+        '運費明細表_dgv
113
+        '
114
+        DataGridViewCellStyle1.BackColor = System.Drawing.Color.LavenderBlush
115
+        Me.運費明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle1
116
+        Me.運費明細表_dgv.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _
117
+            Or System.Windows.Forms.AnchorStyles.Left) _
118
+            Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
119
+        Me.運費明細表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
120
+        Me.運費明細表_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
121
+        Me.運費明細表_dgv.Location = New System.Drawing.Point(4, 29)
122
+        Me.運費明細表_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
123
+        Me.運費明細表_dgv.Name = "運費明細表_dgv"
124
+        Me.運費明細表_dgv.RowHeadersWidth = 5
125
+        Me.運費明細表_dgv.RowTemplate.Height = 24
126
+        Me.運費明細表_dgv.Size = New System.Drawing.Size(1330, 541)
127
+        Me.運費明細表_dgv.TabIndex = 1542
128
+        '
129
+        '字體大小調整_lb
130
+        '
131
+        Me.字體大小調整_lb.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
132
+        Me.字體大小調整_lb.AutoSize = True
133
+        Me.字體大小調整_lb.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
134
+        Me.字體大小調整_lb.ForeColor = System.Drawing.Color.Brown
135
+        Me.字體大小調整_lb.ImeMode = System.Windows.Forms.ImeMode.NoControl
136
+        Me.字體大小調整_lb.Location = New System.Drawing.Point(1218, 6)
137
+        Me.字體大小調整_lb.Name = "字體大小調整_lb"
138
+        Me.字體大小調整_lb.Size = New System.Drawing.Size(56, 16)
139
+        Me.字體大小調整_lb.TabIndex = 1544
140
+        Me.字體大小調整_lb.Text = "字體調整"
141
+        '
142
+        '字體_NUD
143
+        '
144
+        Me.字體_NUD.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
145
+        Me.字體_NUD.DecimalPlaces = 1
146
+        Me.字體_NUD.Increment = New Decimal(New Integer() {1, 0, 0, 65536})
147
+        Me.字體_NUD.Location = New System.Drawing.Point(1274, 3)
148
+        Me.字體_NUD.Maximum = New Decimal(New Integer() {18, 0, 0, 0})
149
+        Me.字體_NUD.Minimum = New Decimal(New Integer() {6, 0, 0, 0})
150
+        Me.字體_NUD.Name = "字體_NUD"
151
+        Me.字體_NUD.Size = New System.Drawing.Size(52, 23)
152
+        Me.字體_NUD.TabIndex = 1543
153
+        Me.字體_NUD.Value = New Decimal(New Integer() {9, 0, 0, 0})
154
+        '
155
+        '中間日期_dtp
156
+        '
157
+        Me.中間日期_dtp.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right
158
+        Me.中間日期_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
159
+        Me.中間日期_dtp.Location = New System.Drawing.Point(52, 41)
160
+        Me.中間日期_dtp.Name = "中間日期_dtp"
161
+        Me.中間日期_dtp.Size = New System.Drawing.Size(43, 23)
162
+        Me.中間日期_dtp.TabIndex = 1545
163
+        Me.中間日期_dtp.Visible = False
164
+        '
165
+        'NUD2
166
+        '
167
+        Me.NUD2.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
168
+        Me.NUD2.Location = New System.Drawing.Point(236, 574)
169
+        Me.NUD2.Maximum = New Decimal(New Integer() {100000000, 0, 0, 0})
170
+        Me.NUD2.Minimum = New Decimal(New Integer() {100000000, 0, 0, -2147483648})
171
+        Me.NUD2.Name = "NUD2"
172
+        Me.NUD2.Size = New System.Drawing.Size(100, 23)
173
+        Me.NUD2.TabIndex = 1549
174
+        Me.NUD2.ThousandsSeparator = True
175
+        '
176
+        'NUD1
177
+        '
178
+        Me.NUD1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
179
+        Me.NUD1.Location = New System.Drawing.Point(67, 574)
180
+        Me.NUD1.Maximum = New Decimal(New Integer() {100000000, 0, 0, 0})
181
+        Me.NUD1.Minimum = New Decimal(New Integer() {100000000, 0, 0, -2147483648})
182
+        Me.NUD1.Name = "NUD1"
183
+        Me.NUD1.Size = New System.Drawing.Size(100, 23)
184
+        Me.NUD1.TabIndex = 1548
185
+        Me.NUD1.ThousandsSeparator = True
186
+        '
187
+        'Label5
188
+        '
189
+        Me.Label5.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
190
+        Me.Label5.AutoSize = True
191
+        Me.Label5.Location = New System.Drawing.Point(1, 577)
192
+        Me.Label5.Name = "Label5"
193
+        Me.Label5.Size = New System.Drawing.Size(68, 16)
194
+        Me.Label5.TabIndex = 1547
195
+        Me.Label5.Text = "已付總額:"
196
+        '
197
+        'Label2
198
+        '
199
+        Me.Label2.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
200
+        Me.Label2.AutoSize = True
201
+        Me.Label2.Location = New System.Drawing.Point(170, 577)
202
+        Me.Label2.Name = "Label2"
203
+        Me.Label2.Size = New System.Drawing.Size(68, 16)
204
+        Me.Label2.TabIndex = 1546
205
+        Me.Label2.Text = "未付總額:"
206
+        '
207
+        'NUD3
208
+        '
209
+        Me.NUD3.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
210
+        Me.NUD3.Location = New System.Drawing.Point(405, 574)
211
+        Me.NUD3.Maximum = New Decimal(New Integer() {1000000, 0, 0, 0})
212
+        Me.NUD3.Minimum = New Decimal(New Integer() {1000000, 0, 0, -2147483648})
213
+        Me.NUD3.Name = "NUD3"
214
+        Me.NUD3.Size = New System.Drawing.Size(100, 23)
215
+        Me.NUD3.TabIndex = 1551
216
+        Me.NUD3.ThousandsSeparator = True
217
+        '
218
+        'Label3
219
+        '
220
+        Me.Label3.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
221
+        Me.Label3.AutoSize = True
222
+        Me.Label3.Location = New System.Drawing.Point(342, 577)
223
+        Me.Label3.Name = "Label3"
224
+        Me.Label3.Size = New System.Drawing.Size(65, 16)
225
+        Me.Label3.TabIndex = 1550
226
+        Me.Label3.Text = "運費總額 : "
227
+        '
228
+        '存檔_bt
229
+        '
230
+        Me.存檔_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
231
+        Me.存檔_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
232
+        Me.存檔_bt.ForeColor = System.Drawing.Color.Green
233
+        Me.存檔_bt.Location = New System.Drawing.Point(659, 574)
234
+        Me.存檔_bt.Name = "存檔_bt"
235
+        Me.存檔_bt.Size = New System.Drawing.Size(107, 24)
236
+        Me.存檔_bt.TabIndex = 1552
237
+        Me.存檔_bt.Text = "存檔"
238
+        Me.存檔_bt.UseVisualStyleBackColor = True
239
+        '
240
+        '全部取消_bt
241
+        '
242
+        Me.全部取消_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
243
+        Me.全部取消_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
244
+        Me.全部取消_bt.ForeColor = System.Drawing.Color.Olive
245
+        Me.全部取消_bt.Location = New System.Drawing.Point(583, 574)
246
+        Me.全部取消_bt.Name = "全部取消_bt"
247
+        Me.全部取消_bt.Size = New System.Drawing.Size(70, 24)
248
+        Me.全部取消_bt.TabIndex = 1554
249
+        Me.全部取消_bt.Text = "全部取消"
250
+        Me.全部取消_bt.UseVisualStyleBackColor = True
251
+        '
252
+        '全部選擇_bt
253
+        '
254
+        Me.全部選擇_bt.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
255
+        Me.全部選擇_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
256
+        Me.全部選擇_bt.ForeColor = System.Drawing.Color.Olive
257
+        Me.全部選擇_bt.Location = New System.Drawing.Point(511, 574)
258
+        Me.全部選擇_bt.Name = "全部選擇_bt"
259
+        Me.全部選擇_bt.Size = New System.Drawing.Size(70, 24)
260
+        Me.全部選擇_bt.TabIndex = 1553
261
+        Me.全部選擇_bt.Text = "全部選擇"
262
+        Me.全部選擇_bt.UseVisualStyleBackColor = True
263
+        '
264
+        '業績運費明細表
265
+        '
266
+        Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
267
+        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
268
+        Me.ClientSize = New System.Drawing.Size(1338, 603)
269
+        Me.Controls.Add(Me.全部取消_bt)
270
+        Me.Controls.Add(Me.全部選擇_bt)
271
+        Me.Controls.Add(Me.存檔_bt)
272
+        Me.Controls.Add(Me.NUD3)
273
+        Me.Controls.Add(Me.Label3)
274
+        Me.Controls.Add(Me.NUD2)
275
+        Me.Controls.Add(Me.NUD1)
276
+        Me.Controls.Add(Me.Label5)
277
+        Me.Controls.Add(Me.Label2)
278
+        Me.Controls.Add(Me.中間日期_dtp)
279
+        Me.Controls.Add(Me.字體大小調整_lb)
280
+        Me.Controls.Add(Me.字體_NUD)
281
+        Me.Controls.Add(Me.運費明細表_dgv)
282
+        Me.Controls.Add(Me.列印成EXCEL_bt)
283
+        Me.Controls.Add(Me.Label1)
284
+        Me.Controls.Add(Me.下個月_bt)
285
+        Me.Controls.Add(Me.上個月_bt)
286
+        Me.Controls.Add(Me.結束日期_dtp)
287
+        Me.Controls.Add(Me.開始日期_dtp)
288
+        Me.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
289
+        Me.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
290
+        Me.Name = "業績運費明細表"
291
+        Me.Text = "業績運費明細表"
292
+        CType(Me.運費明細表_dgv, System.ComponentModel.ISupportInitialize).EndInit()
293
+        CType(Me.字體_NUD, System.ComponentModel.ISupportInitialize).EndInit()
294
+        CType(Me.NUD2, System.ComponentModel.ISupportInitialize).EndInit()
295
+        CType(Me.NUD1, System.ComponentModel.ISupportInitialize).EndInit()
296
+        CType(Me.NUD3, System.ComponentModel.ISupportInitialize).EndInit()
297
+        Me.ResumeLayout(False)
298
+        Me.PerformLayout()
299
+
300
+    End Sub
301
+
302
+    Friend WithEvents 列印成EXCEL_bt As Button
303
+    Friend WithEvents Label1 As Label
304
+    Friend WithEvents 下個月_bt As Button
305
+    Friend WithEvents 上個月_bt As Button
306
+    Friend WithEvents 結束日期_dtp As DateTimePicker
307
+    Friend WithEvents 開始日期_dtp As DateTimePicker
308
+    Friend WithEvents 運費明細表_dgv As DataGridView
309
+    Friend WithEvents 字體大小調整_lb As Label
310
+    Friend WithEvents 字體_NUD As NumericUpDown
311
+    Friend WithEvents 中間日期_dtp As DateTimePicker
312
+    Friend WithEvents NUD2 As NumericUpDown
313
+    Friend WithEvents NUD1 As NumericUpDown
314
+    Friend WithEvents Label5 As Label
315
+    Friend WithEvents Label2 As Label
316
+    Friend WithEvents NUD3 As NumericUpDown
317
+    Friend WithEvents Label3 As Label
318
+    Friend WithEvents 存檔_bt As Button
319
+    Friend WithEvents 全部取消_bt As Button
320
+    Friend WithEvents 全部選擇_bt As Button
321
+End Class

+ 120
- 0
YD-ERP-SYS/財務系統管理/業績運費明細表.resx Wyświetl plik

@@ -0,0 +1,120 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<root>
3
+  <!-- 
4
+    Microsoft ResX Schema 
5
+    
6
+    Version 2.0
7
+    
8
+    The primary goals of this format is to allow a simple XML format 
9
+    that is mostly human readable. The generation and parsing of the 
10
+    various data types are done through the TypeConverter classes 
11
+    associated with the data types.
12
+    
13
+    Example:
14
+    
15
+    ... ado.net/XML headers & schema ...
16
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+    <resheader name="version">2.0</resheader>
18
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+    </data>
25
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+        <comment>This is a comment</comment>
28
+    </data>
29
+                
30
+    There are any number of "resheader" rows that contain simple 
31
+    name/value pairs.
32
+    
33
+    Each data row contains a name, and value. The row also contains a 
34
+    type or mimetype. Type corresponds to a .NET class that support 
35
+    text/value conversion through the TypeConverter architecture. 
36
+    Classes that don't support this are serialized and stored with the 
37
+    mimetype set.
38
+    
39
+    The mimetype is used for serialized objects, and tells the 
40
+    ResXResourceReader how to depersist the object. This is currently not 
41
+    extensible. For a given mimetype the value must be set accordingly:
42
+    
43
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
+    that the ResXResourceWriter will generate, however the reader can 
45
+    read any of the formats listed below.
46
+    
47
+    mimetype: application/x-microsoft.net.object.binary.base64
48
+    value   : The object must be serialized with 
49
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
+            : and then encoded with base64 encoding.
51
+    
52
+    mimetype: application/x-microsoft.net.object.soap.base64
53
+    value   : The object must be serialized with 
54
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+            : and then encoded with base64 encoding.
56
+
57
+    mimetype: application/x-microsoft.net.object.bytearray.base64
58
+    value   : The object must be serialized into a byte array 
59
+            : using a System.ComponentModel.TypeConverter
60
+            : and then encoded with base64 encoding.
61
+    -->
62
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
+    <xsd:element name="root" msdata:IsDataSet="true">
65
+      <xsd:complexType>
66
+        <xsd:choice maxOccurs="unbounded">
67
+          <xsd:element name="metadata">
68
+            <xsd:complexType>
69
+              <xsd:sequence>
70
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
+              </xsd:sequence>
72
+              <xsd:attribute name="name" use="required" type="xsd:string" />
73
+              <xsd:attribute name="type" type="xsd:string" />
74
+              <xsd:attribute name="mimetype" type="xsd:string" />
75
+              <xsd:attribute ref="xml:space" />
76
+            </xsd:complexType>
77
+          </xsd:element>
78
+          <xsd:element name="assembly">
79
+            <xsd:complexType>
80
+              <xsd:attribute name="alias" type="xsd:string" />
81
+              <xsd:attribute name="name" type="xsd:string" />
82
+            </xsd:complexType>
83
+          </xsd:element>
84
+          <xsd:element name="data">
85
+            <xsd:complexType>
86
+              <xsd:sequence>
87
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
+              </xsd:sequence>
90
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
+              <xsd:attribute ref="xml:space" />
94
+            </xsd:complexType>
95
+          </xsd:element>
96
+          <xsd:element name="resheader">
97
+            <xsd:complexType>
98
+              <xsd:sequence>
99
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
+              </xsd:sequence>
101
+              <xsd:attribute name="name" type="xsd:string" use="required" />
102
+            </xsd:complexType>
103
+          </xsd:element>
104
+        </xsd:choice>
105
+      </xsd:complexType>
106
+    </xsd:element>
107
+  </xsd:schema>
108
+  <resheader name="resmimetype">
109
+    <value>text/microsoft-resx</value>
110
+  </resheader>
111
+  <resheader name="version">
112
+    <value>2.0</value>
113
+  </resheader>
114
+  <resheader name="reader">
115
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+  </resheader>
117
+  <resheader name="writer">
118
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
+  </resheader>
120
+</root>

+ 209
- 0
YD-ERP-SYS/財務系統管理/業績運費明細表.vb Wyświetl plik

@@ -0,0 +1,209 @@
1
+Imports Microsoft.Office.Interop.Excel.XlUnderlineStyle
2
+Imports Microsoft.Office.Interop.Excel.Constants
3
+Imports Microsoft.Office.Interop.Excel.XlBordersIndex
4
+Imports Microsoft.Office.Interop.Excel.XlLineStyle
5
+Imports Microsoft.Office.Interop.Excel.XlBorderWeight
6
+Imports Microsoft.Office.Interop.Excel.XlThemeFont
7
+Imports Microsoft.Office.Interop.Excel.XlThemeColor
8
+Imports Microsoft.Office.Interop.Excel.XlWindowState
9
+Imports Microsoft.Office.Interop.Excel
10
+Public Class 業績運費明細表
11
+    ReadOnly ds As New DataSet : Dim N1 As Integer
12
+    Dim xlApp As Application : Dim xlBook As Workbook : Dim xlSheet As Worksheet
13
+    Private Sub Set_清單1()
14
+        運費明細表_dgv.DataSource = Nothing : ds.Clear()
15
+        運費明細表_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
16
+        運費明細表_dgv.ColumnHeadersHeight = 25
17
+        運費明細表_dgv.AllowUserToAddRows = False
18
+        運費明細表_dgv.RowTemplate.Height = 25
19
+
20
+        SQL_業績運費()
21
+        da.Fill(ds) : 運費明細表_dgv.DataSource = ds.Tables(0) : conn.Close()
22
+        運費明細表_dgv.Columns(0).FillWeight = 80 : 運費明細表_dgv.Columns(1).FillWeight = 80 : 運費明細表_dgv.Columns(2).FillWeight = 100 : 運費明細表_dgv.Columns(3).FillWeight = 80
23
+        運費明細表_dgv.Columns(4).FillWeight = 80 : 運費明細表_dgv.Columns(5).FillWeight = 180 : 運費明細表_dgv.Columns(6).FillWeight = 200
24
+
25
+        運費明細表_dgv.Columns("運費").DefaultCellStyle.Format = "#,##0"
26
+        運費明細表_dgv.Columns("運費").DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight
27
+        運費明細表_dgv.EditMode = DataGridViewEditMode.EditOnEnter
28
+        運費明細表_dgv.Columns(0).ReadOnly = True : 運費明細表_dgv.Columns(1).ReadOnly = True : 運費明細表_dgv.Columns(2).ReadOnly = True : 運費明細表_dgv.Columns(3).ReadOnly = True
29
+        運費明細表_dgv.Columns(5).ReadOnly = True
30
+
31
+        計算()
32
+    End Sub
33
+    Private Sub 計算()
34
+        NUD1.Value = 0 : NUD2.Value = 0
35
+        For I As Integer = 0 To 運費明細表_dgv.Rows.Count - 1
36
+            If IsDBNull(運費明細表_dgv.Rows(I).Cells("運費已付").Value) = True Then
37
+                運費明細表_dgv.Rows(I).Cells("運費已付").Value = False
38
+            End If
39
+            If IsDBNull(運費明細表_dgv.Rows(I).Cells("備註").Value) = True Then
40
+                運費明細表_dgv.Rows(I).Cells("備註").Value = ""
41
+            End If
42
+            If 運費明細表_dgv.Rows(I).Cells("運費已付").Value = True Then
43
+                NUD1.Value += 運費明細表_dgv.Rows(I).Cells("運費").Value
44
+            Else
45
+                NUD2.Value += 運費明細表_dgv.Rows(I).Cells("運費").Value
46
+            End If
47
+        Next
48
+        NUD3.Value = NUD2.Value + NUD1.Value
49
+    End Sub
50
+    Private Sub 日期格式()
51
+        '-------------日期一----------------------------------------------------------------------------------------
52
+        DTP = Strings.Left(Strings.Format(開始日期_dtp.Value, "yyyy/MM/dd"), 8) & "01" : 開始日期_dtp.Value = DTP
53
+        '-------------日期二----------------------------------------------------------------------------------------
54
+        DTP = Strings.Left(Strings.Format(結束日期_dtp.Value, "yyyy/MM/dd"), 8) & "01" : 結束日期_dtp.Value = DTP
55
+        結束日期_dtp.Value = 結束日期_dtp.Value.AddMonths(1) : 結束日期_dtp.Value = 結束日期_dtp.Value.AddDays(-1)
56
+    End Sub
57
+    Private Sub 業績運費明細表_Load(sender As Object, e As EventArgs) Handles MyBase.Load
58
+        Me.MdiParent = YD_ERP_SYS : Me.WindowState = 2 : Me.AutoScroll = True
59
+        日期格式() : Set_清單1()
60
+        If YD_ERP_SYS.Size.Width > 1440 And YD_ERP_SYS.Size.Height > 900 Then
61
+            字體_NUD.Value = 9
62
+        ElseIf YD_ERP_SYS.Size.Width <= 1440 And YD_ERP_SYS.Size.Height <= 900 Then
63
+            字體_NUD.Value = 8
64
+        End If
65
+    End Sub
66
+    Private Sub 業績獎金彙總表_SizeChanged(sender As Object, e As EventArgs) Handles MyBase.SizeChanged
67
+        If YD_ERP_SYS.Size.Width > 1440 And YD_ERP_SYS.Size.Height > 900 Then
68
+            字體_NUD.Value = 9
69
+        ElseIf YD_ERP_SYS.Size.Width <= 1440 And YD_ERP_SYS.Size.Height <= 900 Then
70
+            字體_NUD.Value = 8
71
+        End If
72
+    End Sub
73
+    Private Sub 運費明細表_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 運費明細表_dgv.CellClick
74
+        If e.RowIndex = -1 Then : Else
75
+            If 運費明細表_dgv.Rows(e.RowIndex).Cells("運費已付").Value = True Then
76
+                運費明細表_dgv.Rows(e.RowIndex).Cells("運費已付").Value = False
77
+            Else
78
+                運費明細表_dgv.Rows(e.RowIndex).Cells("運費已付").Value = True
79
+            End If
80
+        End If
81
+    End Sub
82
+    Private Sub 運費明細表_dgv_RowPostPaint(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles 運費明細表_dgv.CellEnter
83
+        計算()
84
+    End Sub
85
+    Private Sub 上個月_bt_Click(sender As Object, e As EventArgs) Handles 上個月_bt.Click
86
+        中間日期_dtp.Value = 中間日期_dtp.Value.AddMonths(-1)
87
+        開始日期_dtp.Value = 中間日期_dtp.Value
88
+        結束日期_dtp.Value = 中間日期_dtp.Value
89
+        日期格式() : Set_清單1()
90
+    End Sub
91
+    Private Sub 下個月_bt_Click(sender As Object, e As EventArgs) Handles 下個月_bt.Click
92
+        中間日期_dtp.Value = 中間日期_dtp.Value.AddMonths(1)
93
+        開始日期_dtp.Value = 中間日期_dtp.Value
94
+        結束日期_dtp.Value = 中間日期_dtp.Value
95
+        日期格式() : Set_清單1()
96
+    End Sub
97
+    Private Sub 字體_NUD_ValueChanged(sender As Object, e As EventArgs) Handles 字體_NUD.ValueChanged
98
+        運費明細表_dgv.RowsDefaultCellStyle.Font = New System.Drawing.Font("微軟正黑體", 字體_NUD.Value)
99
+    End Sub
100
+    Private Sub 存檔_bt_Click(sender As Object, e As EventArgs) Handles 存檔_bt.Click
101
+        資料數 = 運費明細表_dgv.Rows.Count
102
+        For I As Integer = 0 To 運費明細表_dgv.Rows.Count - 1
103
+            MyModule1.進度條()
104
+            PA = 運費明細表_dgv.Rows(I).Cells("單號").Value : PA1 = 運費明細表_dgv.Rows(I).Cells("運費已付").Value : PA2 = 運費明細表_dgv.Rows(I).Cells("備註").Value
105
+            SQL_業績運費_修正()
106
+        Next : YD_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
107
+        MsgBox("存檔完成!!!") : Set_清單1()
108
+    End Sub
109
+    Private Sub 全部選擇_bt_Click(sender As Object, e As EventArgs) Handles 全部選擇_bt.Click
110
+        For i As Integer = 0 To 運費明細表_dgv.Rows.Count - 1 : 運費明細表_dgv.Rows(i).Cells("運費已付").Value = True : Next i : 計算()
111
+    End Sub
112
+    Private Sub 全部取消_bt_Click(sender As Object, e As EventArgs) Handles 全部取消_bt.Click
113
+        For i As Integer = 0 To 運費明細表_dgv.Rows.Count - 1 : 運費明細表_dgv.Rows(i).Cells("運費已付").Value = False : Next i : 計算()
114
+    End Sub
115
+    Private Sub 列印成EXCEL_bt_Click(sender As Object, e As EventArgs) Handles 列印成EXCEL_bt.Click
116
+        xlApp = CType(CreateObject("Excel.Application"), Application)
117
+        xlBook = xlApp.Workbooks.Add
118
+        xlApp.DisplayAlerts = True
119
+        xlBook.Activate()
120
+        xlSheet = NewMethod(xlBook)
121
+        xlSheet.Activate()
122
+        xlApp.Visible = True
123
+        xlApp.Application.WindowState = xlMaximized
124
+
125
+        xlSheet.Cells(1, 1) = "雅邸家居" : xlSheet.Cells(2, 1) = "司 機 運 費 (明細表)" : xlSheet.Cells(3, 1) = "日期區間:" & 開始日期_dtp.Value & " ~ " & 結束日期_dtp.Value
126
+        xlSheet.Cells(4, 1) = "完單日期" : xlSheet.Cells(4, 2) = "單據號碼" : xlSheet.Cells(4, 3) = "客戶名稱" : xlSheet.Cells(4, 4) = "運費" : xlSheet.Cells(4, 5) = "已付"
127
+        xlSheet.Cells(4, 6) = "地址" : xlSheet.Cells(4, 7) = "備註"
128
+        For I As Integer = 0 To 運費明細表_dgv.Rows.Count - 1
129
+            xlSheet.Cells(I + 5, 1) = 運費明細表_dgv.Rows(I).Cells("完單日期").Value
130
+            xlSheet.Cells(I + 5, 2) = 運費明細表_dgv.Rows(I).Cells("單號").Value
131
+            xlSheet.Cells(I + 5, 3) = 運費明細表_dgv.Rows(I).Cells("名稱").Value
132
+            xlSheet.Cells(I + 5, 4) = 運費明細表_dgv.Rows(I).Cells("運費").Value
133
+            xlSheet.Cells(I + 5, 5) = 運費明細表_dgv.Rows(I).Cells("運費已付").Value
134
+            xlSheet.Cells(I + 5, 6) = 運費明細表_dgv.Rows(I).Cells("地址").Value
135
+            xlSheet.Cells(I + 5, 7) = 運費明細表_dgv.Rows(I).Cells("備註").Value
136
+            N1 = I
137
+        Next
138
+        xlSheet.Cells(N1 + 6, 1) = "已付總額" : xlSheet.Cells(N1 + 6, 2) = NUD1.Value
139
+        xlSheet.Cells(N1 + 6, 3) = "未付總額" : xlSheet.Cells(N1 + 6, 4) = NUD2.Value
140
+        xlSheet.Cells(N1 + 6, 5) = "運費總額" : xlSheet.Cells(N1 + 6, 6) = NUD3.Value
141
+
142
+        BB(xlApp, xlSheet)
143
+
144
+        xlSheet.PageSetup.PrintArea = ""
145
+        xlApp.Cells.Select()
146
+        xlSheet.Range("B1").Select()
147
+        xlApp.Application.WindowState = xlMinimized
148
+        xlSheet.Cells.Select()
149
+        MsgBox("列印完成。")
150
+    End Sub
151
+    Private Shared Function NewMethod(xlBook As Workbook) As Worksheet
152
+        Return CType(xlBook.Worksheets.Add, Worksheet)
153
+    End Function
154
+    Private Sub BB(ByVal myExcel As Application, ByVal xlSheet As Worksheet)
155
+        xlSheet.Cells.Select()
156
+        With myExcel.Selection.Font : .Name = "微軟正黑體" : .Size = 12 : .Strikethrough = False : .Superscript = False : .Subscript = False : .OutlineFont = False
157
+            .Shadow = False : .Underline = xlUnderlineStyleNone : .ThemeColor = xlThemeColorLight1 : .TintAndShade = 0 : .ThemeFont = xlThemeFontNone : End With
158
+
159
+        xlSheet.Range("D5:D" & N1 + 5).Select() : myExcel.Selection.Style = "Comma" : myExcel.Selection.NumberFormatLocal = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
160
+        xlSheet.Range("B" & N1 + 6).Select() : myExcel.Selection.Style = "Comma" : myExcel.Selection.NumberFormatLocal = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
161
+        xlSheet.Range("D" & N1 + 6).Select() : myExcel.Selection.Style = "Comma" : myExcel.Selection.NumberFormatLocal = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
162
+        xlSheet.Range("F" & N1 + 6).Select() : myExcel.Selection.Style = "Comma" : myExcel.Selection.NumberFormatLocal = "_-* #,##0_-;-* #,##0_-;_-* ""-""??_-;_-@_-"
163
+        With myExcel.Selection : .HorizontalAlignment = xlLeft : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
164
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With
165
+
166
+        xlSheet.Columns("B:G").Select
167
+        xlSheet.Columns("B:G").EntireColumn.AutoFit
168
+        xlSheet.Range("A1:G1").Select()
169
+        With myExcel.Selection : .HorizontalAlignment = xlCenter : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
170
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With : myExcel.Selection.Merge
171
+        With myExcel.Selection.Font : .Name = "微軟正黑體" : .Size = 24 : .Strikethrough = False : .Superscript = False : .Subscript = False : .OutlineFont = False
172
+            .Shadow = False : .Underline = xlUnderlineStyleNone : .ThemeColor = xlThemeColorLight1 : .TintAndShade = 0 : .ThemeFont = xlThemeFontNone : End With
173
+
174
+        xlSheet.Range("A2:G2").Select()
175
+        With myExcel.Selection : .HorizontalAlignment = xlCenter : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
176
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With : myExcel.Selection.Merge
177
+
178
+        xlSheet.Range("A4:G4").Select()
179
+        myExcel.Selection.Borders(xlDiagonalDown).LineStyle = xlNone : myExcel.Selection.Borders(xlDiagonalUp).LineStyle = xlNone
180
+        myExcel.Selection.Borders(xlEdgeLeft).LineStyle = xlNone
181
+        With myExcel.Selection.Borders(xlEdgeTop) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThin : End With
182
+        With myExcel.Selection.Borders(xlEdgeBottom) : .LineStyle = xlDouble : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlThick : End With
183
+        myExcel.Selection.Borders(xlEdgeRight).LineStyle = xlNone : myExcel.Selection.Borders(xlInsideVertical).LineStyle = xlNone
184
+        myExcel.Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
185
+
186
+        xlSheet.Range("A3:G3").Select()
187
+        myExcel.Selection.Borders(xlDiagonalDown).LineStyle = xlNone : myExcel.Selection.Borders(xlDiagonalUp).LineStyle = xlNone
188
+        myExcel.Selection.Borders(xlEdgeLeft).LineStyle = xlNone : myExcel.Selection.Borders(xlEdgeTop).LineStyle = xlNone
189
+        With myExcel.Selection.Borders(xlEdgeBottom) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlMedium : End With
190
+        myExcel.Selection.Borders(xlEdgeRight).LineStyle = xlNone : myExcel.Selection.Borders(xlInsideVertical).LineStyle = xlNone
191
+        myExcel.Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
192
+
193
+        xlSheet.Range("A20:G" & N1 + 5).Select()
194
+        myExcel.Selection.Borders(xlDiagonalDown).LineStyle = xlNone : myExcel.Selection.Borders(xlDiagonalUp).LineStyle = xlNone
195
+        myExcel.Selection.Borders(xlEdgeLeft).LineStyle = xlNone : myExcel.Selection.Borders(xlEdgeTop).LineStyle = xlNone
196
+        With myExcel.Selection.Borders(xlEdgeBottom) : .LineStyle = xlContinuous : .ColorIndex = 0 : .TintAndShade = 0 : .Weight = xlMedium : End With
197
+        myExcel.Selection.Borders(xlEdgeRight).LineStyle = xlNone : myExcel.Selection.Borders(xlInsideVertical).LineStyle = xlNone
198
+        myExcel.Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
199
+
200
+        xlSheet.Range("A" & N1 + 6).Select()
201
+        With myExcel.Selection : .HorizontalAlignment = xlRight : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
202
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With
203
+
204
+        xlSheet.Range("C" & N1 + 6).Select()
205
+        With myExcel.Selection : .HorizontalAlignment = xlRight : .VerticalAlignment = xlCenter : .WrapText = False : .Orientation = 0 : .AddIndent = False
206
+            .IndentLevel = 0 : .ShrinkToFit = False : .ReadingOrder = xlContext : .MergeCells = False : End With
207
+        myExcel.ActiveWindow.DisplayGridlines = False
208
+    End Sub
209
+End Class

Ładowanie…
Anuluj
Zapisz