瀏覽代碼

20201014備份

Signed-off-by: B70340 <b70340@gmail.com>
B70340 4 年之前
父節點
當前提交
f7d07d32ba

二進制
.vs/TENDEN-MES-SYS/v16/.suo 查看文件


+ 1
- 1
TENDEN-MES-SYS/Module/Module1.vb 查看文件

4
     Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public 登入人IP As String
4
     Public Target As String : Public Target1 As String : Public Target2 As String : Public FTP帳號 As String : Public FTP密碼 As String : Public 登入人IP As String
5
     Public CC(99) As Boolean : Public AA(99) As String : Public 登入判斷 As Boolean
5
     Public CC(99) As Boolean : Public AA(99) As String : Public 登入判斷 As Boolean
6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
6
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7
-    Public 版本 As String = "2020092901"
7
+    Public 版本 As String = "2020100801"
8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9
     Public SQL1 As String
9
     Public SQL1 As String
10
     Public 匯率 As Double
10
     Public 匯率 As Double

二進制
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.exe 查看文件


二進制
TENDEN-MES-SYS/bin/Debug/TENDEN-ERP-SYS.pdb 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.exe 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/TENDEN-ERP-SYS.pdb 查看文件


二進制
TENDEN-MES-SYS/obj/Debug/天盾系統.vbprojAssemblyReference.cache 查看文件


+ 15
- 11
TENDEN-MES-SYS/樣品訂單管理/中文樣品單.vb 查看文件

122
         DataGridView4.AllowUserToAddRows = False
122
         DataGridView4.AllowUserToAddRows = False
123
         If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
123
         If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
124
     End Sub
124
     End Sub
125
-    Private  Sub Set_DGV4載入後設定()
125
+    Private Sub Set_DGV4載入後設定()
126
         cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds3) : DataGridView4.DataSource = ds3.Tables(0) : conn.Close()
126
         cmd.Connection = conn : cmd.CommandText = SQL1 : da.SelectCommand = cmd : da.SelectCommand.CommandTimeout = 900 : da.Fill(ds3) : DataGridView4.DataSource = ds3.Tables(0) : conn.Close()
127
     End Sub
127
     End Sub
128
     Private  Sub Set_顏色清單()
128
     Private  Sub Set_顏色清單()
129
         Set_DGV4載入前設定()
129
         Set_DGV4載入前設定()
130
         If 暫存模式 = False Then
130
         If 暫存模式 = False Then
131
-            SQL1 = "SELECT 樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, Approved_Date, " &
131
+            SQL1 = "SELECT 樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1 AS 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, Approved_Date, " &
132
                    "Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
132
                    "Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
133
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments FROM 確認樣品單控制表 " &
133
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments FROM 確認樣品單控制表 " &
134
                    "WHERE (樣品流水號 LIKE '" & TextBox3.Text & "') ORDER BY   顏色, 訂單顏色"
134
                    "WHERE (樣品流水號 LIKE '" & TextBox3.Text & "') ORDER BY   顏色, 訂單顏色"
135
         Else
135
         Else
136
-            SQL1 = "SELECT 樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, Approved_Date, " &
136
+            SQL1 = "SELECT 樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1 AS 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, Approved_Date, " &
137
                    "Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
137
                    "Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
138
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments FROM 確認樣品單控制表暫存檔 " &
138
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments FROM 確認樣品單控制表暫存檔 " &
139
                    "WHERE (樣品流水號 LIKE '" & TextBox3.Text & "') ORDER BY   顏色, 訂單顏色"
139
                    "WHERE (樣品流水號 LIKE '" & TextBox3.Text & "') ORDER BY   顏色, 訂單顏色"
266
         DataGridView4.Columns(42).Visible = False
266
         DataGridView4.Columns(42).Visible = False
267
         DataGridView4.Columns(43).FillWeight = 160
267
         DataGridView4.Columns(43).FillWeight = 160
268
         DataGridView4.EditMode = DataGridViewEditMode.EditOnEnter
268
         DataGridView4.EditMode = DataGridViewEditMode.EditOnEnter
269
+
270
+        DataGridView4.Columns(5).DefaultCellStyle.Format = "#,##0.0"
271
+        DataGridView4.Columns(5).DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
272
+        DataGridView4.Columns(5).HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter
269
     End Sub
273
     End Sub
270
     Private  Sub Set_grid4()
274
     Private  Sub Set_grid4()
271
         DataGridView5.Columns(0).FillWeight = 150 : DataGridView5.Columns(5).FillWeight = 934
275
         DataGridView5.Columns(0).FillWeight = 150 : DataGridView5.Columns(5).FillWeight = 934
1085
             For i As Integer = 1 To PA
1089
             For i As Integer = 1 To PA
1086
                 Set_樣品單流水編號設定2_1()
1090
                 Set_樣品單流水編號設定2_1()
1087
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1091
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1088
-                SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1092
+                SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1089
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1093
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1090
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1094
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1091
                        "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1095
                        "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1105
                 For i As Integer = 0 To DataGridView4.Rows.Count - 1
1109
                 For i As Integer = 0 To DataGridView4.Rows.Count - 1
1106
                     Set_樣品單流水編號設定2_1()
1110
                     Set_樣品單流水編號設定2_1()
1107
                     If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1111
                     If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1108
-                    SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1112
+                    SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1109
                            "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1113
                            "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1110
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1114
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1111
                            "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "',N'" & DataGridView4.Rows(i).Cells("顏色").Value & "','" & DataGridView4.Rows(i).Cells("訂單顏色").Value &
1115
                            "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "',N'" & DataGridView4.Rows(i).Cells("顏色").Value & "','" & DataGridView4.Rows(i).Cells("訂單顏色").Value &
1439
         For i = 0 To DataGridView4.Rows.Count - 1
1443
         For i = 0 To DataGridView4.Rows.Count - 1
1440
             If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1444
             If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1441
             SQL1 = "UPDATE 確認樣品單控制表暫存檔 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1445
             SQL1 = "UPDATE 確認樣品單控制表暫存檔 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1442
-                   "數量 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1446
+                   "數量1 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1443
                    "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1447
                    "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1444
                    "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1448
                    "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1445
                    "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &
1449
                    "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &
1577
         cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
1581
         cmd.Connection = conn : cmd.CommandText = SQL1 : cmd.ExecuteNonQuery() : conn.Close()
1578
         For i As Integer = 0 To DataGridView4.Rows.Count - 1
1582
         For i As Integer = 0 To DataGridView4.Rows.Count - 1
1579
             If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1583
             If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1580
-            SQL1 = "INSERT INTO 確認樣品單控制表 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1584
+            SQL1 = "INSERT INTO 確認樣品單控制表 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1581
                    "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1585
                    "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1582
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1586
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1583
                    "VALUES ('" & DataGridView4.Rows(i).Cells("樣品流水號").Value &
1587
                    "VALUES ('" & DataGridView4.Rows(i).Cells("樣品流水號").Value &
1698
             For i = 0 To DataGridView4.Rows.Count - 1
1702
             For i = 0 To DataGridView4.Rows.Count - 1
1699
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1703
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1700
                 SQL1 = "UPDATE 確認樣品單控制表 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1704
                 SQL1 = "UPDATE 確認樣品單控制表 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1701
-                       "數量 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1705
+                       "數量1 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1702
                        "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1706
                        "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1703
                        "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1707
                        "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1704
                        "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &
1708
                        "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &
1811
             For i As Integer = 1 To PA
1815
             For i As Integer = 1 To PA
1812
                 Set_樣品單流水編號設定2_2()
1816
                 Set_樣品單流水編號設定2_2()
1813
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1817
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1814
-                SQL1 = "INSERT INTO 確認樣品單控制表 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1818
+                SQL1 = "INSERT INTO 確認樣品單控制表 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1815
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1819
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1816
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1820
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1817
                        "VALUES ('" & TextBox3.Text & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1821
                        "VALUES ('" & TextBox3.Text & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1900
             For i As Integer = 1 To PA
1904
             For i As Integer = 1 To PA
1901
                 Set_樣品單流水編號設定2_1()
1905
                 Set_樣品單流水編號設定2_1()
1902
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1906
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1903
-                SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1907
+                SQL1 = "INSERT INTO 確認樣品單控制表暫存檔 (樣品流水號, 樣品流水號一, 顏色, 訂單顏色, 數量1, 面料, 內裏, 底部, 飾物, 備註, FINISH, Upper_Material, CFM_SPEC, ETD, Ship_Date, AWB, " &
1904
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1908
                        "Approved_Date, Comments, 一ST_XFD, PO, Column1, Column2, DATE, SIZE, FROMS, FACTORY, 確認結果1, 確認結果2, 確認結果3, 注意, 確認通知單鞋圖, 掛牌Date, 掛牌Color, Material_Article, " &
1905
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1909
                    "Construc_Name, Insole, Footbed, 掛牌Size, Gender, Width, D_C_S, Stage, 掛牌Comments) " &
1906
                        "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1910
                        "VALUES ('" & 樣品單流水號變數1 & "','" & 樣品單流水號變數2 & "','','','','" & 樣品單流水號變數2 & "1" & "','" & 樣品單流水號變數2 & "2" & "','" & 樣品單流水號變數2 & "3" &
1990
             For i = 0 To DataGridView4.Rows.Count - 1
1994
             For i = 0 To DataGridView4.Rows.Count - 1
1991
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1995
                 If conn.State = ConnectionState.Closed Then : conn.ConnectionString = ConString : conn.Open() : End If
1992
                 SQL1 = "UPDATE 確認樣品單控制表 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1996
                 SQL1 = "UPDATE 確認樣品單控制表 SET 顏色 = N'" & DataGridView4.Rows(i).Cells("顏色").Value & "', 訂單顏色 = '" & DataGridView4.Rows(i).Cells("Color_Code").Value & "', " &
1993
-                           "數量 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1997
+                           "數量1 = '" & DataGridView4.Rows(i).Cells("數量").Value & "', 面料 = '" & DataGridView4.Rows(i).Cells("面料").Value & "', 內裏 = '" & DataGridView4.Rows(i).Cells("內裏").Value & "', " &
1994
                            "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1998
                            "底部 = '" & DataGridView4.Rows(i).Cells("底部").Value & "', 飾物 = '" & DataGridView4.Rows(i).Cells("飾物").Value & "', 備註 = N'" & DataGridView4.Rows(i).Cells("備註").Value & "', " &
1995
                            "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1999
                            "FINISH = N'" & DataGridView4.Rows(i).Cells("FINISH").Value & "', 掛牌Date = '" & DataGridView4.Rows(i).Cells("掛牌Date").Value & "', " &
1996
                            "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &
2000
                            "掛牌Color = '" & DataGridView4.Rows(i).Cells("掛牌Color").Value & "', Material_Article = '" & DataGridView4.Rows(i).Cells("Material_Article").Value & "', " &

Loading…
取消
儲存