B70340 2 yıl önce
ebeveyn
işleme
95924ef9f6

BIN
.vs/WINPROFIT-ERP-SYS/FileContentIndex/919720fc-d259-45c2-ab66-115f1572b8df.vsidx → .vs/WINPROFIT-ERP-SYS/FileContentIndex/55bd8ecc-9caf-4b2c-8055-e99825ff8c5a.vsidx Dosyayı Görüntüle


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


+ 1
- 1
SHENKANG-MES-SYS/MyModule/全域變數.vb Dosyayı Görüntüle

@@ -7,7 +7,7 @@
7 7
                                  CC51, CC52, CC53, CC54, CC55, CC56, CC57, CC58, CC59, CC60, CC61, CC62, CC63, CC64, CC65, CC66, CC67, CC68, CC69, CC70, CC71, CC72, CC73, CC74, CC75, CC76, CC77, CC78, 
8 8
                                  CC79, CC80, CC81, CC82, CC83, CC84, CC85, CC86, CC87, CC88, CC89, CC90, CC91, CC92, CC93, CC94, CC95 FROM"
9 9
     '----系統版本-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10
-    Public 版本 As String = "2022060901"
10
+    Public 版本 As String = "2022083001"
11 11
     '----系統用全域變數-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 12
     Public PA, PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PA16, PA17, PA18, PA19, PA20, PA21, PA22, PA23, PA24, PA25, PA26, PA27, PA28, PA29, PA30, PA31,
13 13
            PA32, PA33 As String

+ 1
- 1
SHENKANG-MES-SYS/bin/Debug/WINPROFIT-ERP-SYS.application Dosyayı Görüntüle

@@ -14,7 +14,7 @@
14 14
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
15 15
         </dsig:Transforms>
16 16
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
17
-        <dsig:DigestValue>T4qMKofgUEspyI6xBkh8/+oo5klU32trsGi4qHhuZQk=</dsig:DigestValue>
17
+        <dsig:DigestValue>VWde6u6lJxnIdJqouHfCz5/funMx0iqpxaTAEcWr+N4=</dsig:DigestValue>
18 18
       </hash>
19 19
     </dependentAssembly>
20 20
   </dependency>

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


+ 2
- 2
SHENKANG-MES-SYS/bin/Debug/WINPROFIT-ERP-SYS.exe.manifest Dosyayı Görüntüle

@@ -43,14 +43,14 @@
43 43
     </dependentAssembly>
44 44
   </dependency>
45 45
   <dependency>
46
-    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WINPROFIT-ERP-SYS.exe" size="5654016">
46
+    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WINPROFIT-ERP-SYS.exe" size="5658112">
47 47
       <assemblyIdentity name="WINPROFIT-ERP-SYS" version="1.1.0.0" language="neutral" processorArchitecture="msil" />
48 48
       <hash>
49 49
         <dsig:Transforms>
50 50
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
51 51
         </dsig:Transforms>
52 52
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
53
-        <dsig:DigestValue>EdqwWCXgq4H6gdwghYOAz9QCjKpZvARB8mx/CRJYwUY=</dsig:DigestValue>
53
+        <dsig:DigestValue>jIGFELVJJ1w/KNItfoTU6nZ80AbXiDosKwcYe6XyYOs=</dsig:DigestValue>
54 54
       </hash>
55 55
     </dependentAssembly>
56 56
   </dependency>

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


BIN
SHENKANG-MES-SYS/bin/Debug/app.publish/WINPROFIT-ERP-SYS.exe Dosyayı Görüntüle


+ 1
- 1
SHENKANG-MES-SYS/obj/Debug/WINPROFIT-ERP-SYS.application Dosyayı Görüntüle

@@ -14,7 +14,7 @@
14 14
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
15 15
         </dsig:Transforms>
16 16
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
17
-        <dsig:DigestValue>T4qMKofgUEspyI6xBkh8/+oo5klU32trsGi4qHhuZQk=</dsig:DigestValue>
17
+        <dsig:DigestValue>VWde6u6lJxnIdJqouHfCz5/funMx0iqpxaTAEcWr+N4=</dsig:DigestValue>
18 18
       </hash>
19 19
     </dependentAssembly>
20 20
   </dependency>

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


+ 2
- 2
SHENKANG-MES-SYS/obj/Debug/WINPROFIT-ERP-SYS.exe.manifest Dosyayı Görüntüle

@@ -43,14 +43,14 @@
43 43
     </dependentAssembly>
44 44
   </dependency>
45 45
   <dependency>
46
-    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WINPROFIT-ERP-SYS.exe" size="5654016">
46
+    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WINPROFIT-ERP-SYS.exe" size="5658112">
47 47
       <assemblyIdentity name="WINPROFIT-ERP-SYS" version="1.1.0.0" language="neutral" processorArchitecture="msil" />
48 48
       <hash>
49 49
         <dsig:Transforms>
50 50
           <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
51 51
         </dsig:Transforms>
52 52
         <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
53
-        <dsig:DigestValue>EdqwWCXgq4H6gdwghYOAz9QCjKpZvARB8mx/CRJYwUY=</dsig:DigestValue>
53
+        <dsig:DigestValue>jIGFELVJJ1w/KNItfoTU6nZ80AbXiDosKwcYe6XyYOs=</dsig:DigestValue>
54 54
       </hash>
55 55
     </dependentAssembly>
56 56
   </dependency>

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


BIN
SHENKANG-MES-SYS/obj/Debug/WINPROFIT-ERP-SYS.vbproj.AssemblyReference.cache Dosyayı Görüntüle


BIN
SHENKANG-MES-SYS/obj/Debug/WINPROFIT-ERP-SYS.vbproj.GenerateResource.cache Dosyayı Görüntüle


+ 106
- 41
SHENKANG-MES-SYS/量產訂單管理系統/量產訂單輸入.Designer.vb Dosyayı Görüntüle

@@ -111,6 +111,11 @@ Partial Class 量產訂單輸入
111 111
         Me.下單日_dtp = New System.Windows.Forms.DateTimePicker()
112 112
         Me.修改形體_bt = New System.Windows.Forms.Button()
113 113
         Me.提示3_lb = New System.Windows.Forms.Label()
114
+        Me.Label1 = New System.Windows.Forms.Label()
115
+        Me.Label2 = New System.Windows.Forms.Label()
116
+        Me.舊顏色資料_tb = New System.Windows.Forms.TextBox()
117
+        Me.新顏色資料_tb = New System.Windows.Forms.TextBox()
118
+        Me.顏色資料修改_bt = New System.Windows.Forms.Button()
114 119
         CType(Me.表單1_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
115 120
         CType(Me.表單4_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
116 121
         CType(Me.表單2_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -154,7 +159,7 @@ Partial Class 量產訂單輸入
154 159
         Me.量產訂單清單_lb.AutoSize = True
155 160
         Me.量產訂單清單_lb.Location = New System.Drawing.Point(8, 8)
156 161
         Me.量產訂單清單_lb.Name = "量產訂單清單_lb"
157
-        Me.量產訂單清單_lb.Size = New System.Drawing.Size(80, 16)
162
+        Me.量產訂單清單_lb.Size = New System.Drawing.Size(79, 16)
158 163
         Me.量產訂單清單_lb.TabIndex = 871
159 164
         Me.量產訂單清單_lb.Text = "量產訂單清單"
160 165
         '
@@ -184,14 +189,15 @@ Partial Class 量產訂單輸入
184 189
         Me.訂單屬性_lb.ForeColor = System.Drawing.Color.Green
185 190
         Me.訂單屬性_lb.Location = New System.Drawing.Point(1245, 56)
186 191
         Me.訂單屬性_lb.Name = "訂單屬性_lb"
187
-        Me.訂單屬性_lb.Size = New System.Drawing.Size(56, 16)
192
+        Me.訂單屬性_lb.Size = New System.Drawing.Size(55, 16)
188 193
         Me.訂單屬性_lb.TabIndex = 982
189 194
         Me.訂單屬性_lb.Text = "訂單屬性"
190 195
         '
191 196
         '日期3_dtp
192 197
         '
198
+        Me.日期3_dtp.CustomFormat = "yyyy/MM/dd"
193 199
         Me.日期3_dtp.Format = System.Windows.Forms.DateTimePickerFormat.[Short]
194
-        Me.日期3_dtp.Location = New System.Drawing.Point(1031, 225)
200
+        Me.日期3_dtp.Location = New System.Drawing.Point(488, 251)
195 201
         Me.日期3_dtp.Name = "日期3_dtp"
196 202
         Me.日期3_dtp.Size = New System.Drawing.Size(87, 23)
197 203
         Me.日期3_dtp.TabIndex = 981
@@ -202,7 +208,7 @@ Partial Class 量產訂單輸入
202 208
         Me.提示_lb.ForeColor = System.Drawing.Color.Red
203 209
         Me.提示_lb.Location = New System.Drawing.Point(849, 230)
204 210
         Me.提示_lb.Name = "提示_lb"
205
-        Me.提示_lb.Size = New System.Drawing.Size(176, 16)
211
+        Me.提示_lb.Size = New System.Drawing.Size(175, 16)
206 212
         Me.提示_lb.TabIndex = 980
207 213
         Me.提示_lb.Text = "請不要刪除到一筆資料都不剩下"
208 214
         '
@@ -220,9 +226,9 @@ Partial Class 量產訂單輸入
220 226
         '
221 227
         Me.提示1_lb.AutoSize = True
222 228
         Me.提示1_lb.ForeColor = System.Drawing.Color.Red
223
-        Me.提示1_lb.Location = New System.Drawing.Point(1122, 230)
229
+        Me.提示1_lb.Location = New System.Drawing.Point(579, 256)
224 230
         Me.提示1_lb.Name = "提示1_lb"
225
-        Me.提示1_lb.Size = New System.Drawing.Size(208, 16)
231
+        Me.提示1_lb.Size = New System.Drawing.Size(207, 16)
226 232
         Me.提示1_lb.TabIndex = 978
227 233
         Me.提示1_lb.Text = "交期欄位請遵循YYYY/MM/DD的格式"
228 234
         '
@@ -230,9 +236,9 @@ Partial Class 量產訂單輸入
230 236
         '
231 237
         Me.提示4_lb.AutoSize = True
232 238
         Me.提示4_lb.ForeColor = System.Drawing.Color.Red
233
-        Me.提示4_lb.Location = New System.Drawing.Point(1646, 603)
239
+        Me.提示4_lb.Location = New System.Drawing.Point(1646, 619)
234 240
         Me.提示4_lb.Name = "提示4_lb"
235
-        Me.提示4_lb.Size = New System.Drawing.Size(247, 16)
241
+        Me.提示4_lb.Size = New System.Drawing.Size(246, 16)
236 242
         Me.提示4_lb.TabIndex = 977
237 243
         Me.提示4_lb.Text = "存檔之前SIZW RUN欄位手動修改後存檔有效"
238 244
         '
@@ -240,9 +246,9 @@ Partial Class 量產訂單輸入
240 246
         '
241 247
         Me.提示2_lb.AutoSize = True
242 248
         Me.提示2_lb.ForeColor = System.Drawing.Color.Red
243
-        Me.提示2_lb.Location = New System.Drawing.Point(1336, 230)
249
+        Me.提示2_lb.Location = New System.Drawing.Point(793, 256)
244 250
         Me.提示2_lb.Name = "提示2_lb"
245
-        Me.提示2_lb.Size = New System.Drawing.Size(356, 16)
251
+        Me.提示2_lb.Size = New System.Drawing.Size(355, 16)
246 252
         Me.提示2_lb.TabIndex = 976
247 253
         Me.提示2_lb.Text = "存檔之前交期開始、交期結束、備註三個欄位手動修改後存檔有效"
248 254
         '
@@ -252,7 +258,7 @@ Partial Class 量產訂單輸入
252 258
         Me.Label10.ForeColor = System.Drawing.Color.Red
253 259
         Me.Label10.Location = New System.Drawing.Point(1142, 201)
254 260
         Me.Label10.Name = "Label10"
255
-        Me.Label10.Size = New System.Drawing.Size(29, 16)
261
+        Me.Label10.Size = New System.Drawing.Size(28, 16)
256 262
         Me.Label10.TabIndex = 975
257 263
         Me.Label10.Text = "DM"
258 264
         '
@@ -294,7 +300,7 @@ Partial Class 量產訂單輸入
294 300
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
295 301
         Me.表單4_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
296 302
         Me.表單4_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
297
-        Me.表單4_dgv.Location = New System.Drawing.Point(484, 621)
303
+        Me.表單4_dgv.Location = New System.Drawing.Point(484, 637)
298 304
         Me.表單4_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
299 305
         Me.表單4_dgv.Name = "表單4_dgv"
300 306
         Me.表單4_dgv.RowHeadersWidth = 5
@@ -303,7 +309,7 @@ Partial Class 量產訂單輸入
303 309
         Me.表單4_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
304 310
         Me.表單4_dgv.RowTemplate.Height = 24
305 311
         Me.表單4_dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect
306
-        Me.表單4_dgv.Size = New System.Drawing.Size(1423, 340)
312
+        Me.表單4_dgv.Size = New System.Drawing.Size(1423, 324)
307 313
         Me.表單4_dgv.TabIndex = 971
308 314
         '
309 315
         '生成訂單SIZERUN_bt
@@ -394,7 +400,7 @@ Partial Class 量產訂單輸入
394 400
         Me.VendorName_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
395 401
         Me.VendorName_lb.Location = New System.Drawing.Point(485, 112)
396 402
         Me.VendorName_lb.Name = "VendorName_lb"
397
-        Me.VendorName_lb.Size = New System.Drawing.Size(88, 16)
403
+        Me.VendorName_lb.Size = New System.Drawing.Size(87, 16)
398 404
         Me.VendorName_lb.TabIndex = 962
399 405
         Me.VendorName_lb.Text = "Vendor Name"
400 406
         '
@@ -424,7 +430,7 @@ Partial Class 量產訂單輸入
424 430
         Me.Remark_lb.ForeColor = System.Drawing.Color.Green
425 431
         Me.Remark_lb.Location = New System.Drawing.Point(1248, 109)
426 432
         Me.Remark_lb.Name = "Remark_lb"
427
-        Me.Remark_lb.Size = New System.Drawing.Size(51, 16)
433
+        Me.Remark_lb.Size = New System.Drawing.Size(50, 16)
428 434
         Me.Remark_lb.TabIndex = 959
429 435
         Me.Remark_lb.Text = "Remark"
430 436
         '
@@ -473,7 +479,7 @@ Partial Class 量產訂單輸入
473 479
         Me.ToPort_lb.ForeColor = System.Drawing.Color.Green
474 480
         Me.ToPort_lb.Location = New System.Drawing.Point(1448, 57)
475 481
         Me.ToPort_lb.Name = "ToPort_lb"
476
-        Me.ToPort_lb.Size = New System.Drawing.Size(49, 16)
482
+        Me.ToPort_lb.Size = New System.Drawing.Size(48, 16)
477 483
         Me.ToPort_lb.TabIndex = 954
478 484
         Me.ToPort_lb.Text = "To Port"
479 485
         '
@@ -483,7 +489,7 @@ Partial Class 量產訂單輸入
483 489
         Me.FromPort_lb.ForeColor = System.Drawing.Color.Green
484 490
         Me.FromPort_lb.Location = New System.Drawing.Point(1448, 31)
485 491
         Me.FromPort_lb.Name = "FromPort_lb"
486
-        Me.FromPort_lb.Size = New System.Drawing.Size(63, 16)
492
+        Me.FromPort_lb.Size = New System.Drawing.Size(62, 16)
487 493
         Me.FromPort_lb.TabIndex = 953
488 494
         Me.FromPort_lb.Text = "From Port"
489 495
         '
@@ -523,7 +529,7 @@ Partial Class 量產訂單輸入
523 529
         Me.DeliveryTerms_lb.ForeColor = System.Drawing.Color.Green
524 530
         Me.DeliveryTerms_lb.Location = New System.Drawing.Point(1448, 5)
525 531
         Me.DeliveryTerms_lb.Name = "DeliveryTerms_lb"
526
-        Me.DeliveryTerms_lb.Size = New System.Drawing.Size(90, 16)
532
+        Me.DeliveryTerms_lb.Size = New System.Drawing.Size(89, 16)
527 533
         Me.DeliveryTerms_lb.TabIndex = 948
528 534
         Me.DeliveryTerms_lb.Text = "Delivery Terms"
529 535
         '
@@ -540,9 +546,9 @@ Partial Class 量產訂單輸入
540 546
         '
541 547
         Me.資料流水號_lb.AutoSize = True
542 548
         Me.資料流水號_lb.ForeColor = System.Drawing.Color.Red
543
-        Me.資料流水號_lb.Location = New System.Drawing.Point(485, 230)
549
+        Me.資料流水號_lb.Location = New System.Drawing.Point(488, 228)
544 550
         Me.資料流水號_lb.Name = "資料流水號_lb"
545
-        Me.資料流水號_lb.Size = New System.Drawing.Size(68, 16)
551
+        Me.資料流水號_lb.Size = New System.Drawing.Size(67, 16)
546 552
         Me.資料流水號_lb.TabIndex = 946
547 553
         Me.資料流水號_lb.Text = "資料流水號"
548 554
         '
@@ -582,7 +588,7 @@ Partial Class 量產訂單輸入
582 588
         Me.訂單數量_lb.ForeColor = System.Drawing.Color.Green
583 589
         Me.訂單數量_lb.Location = New System.Drawing.Point(1706, 106)
584 590
         Me.訂單數量_lb.Name = "訂單數量_lb"
585
-        Me.訂單數量_lb.Size = New System.Drawing.Size(56, 16)
591
+        Me.訂單數量_lb.Size = New System.Drawing.Size(55, 16)
586 592
         Me.訂單數量_lb.TabIndex = 941
587 593
         Me.訂單數量_lb.Text = "訂單數量"
588 594
         '
@@ -601,7 +607,7 @@ Partial Class 量產訂單輸入
601 607
         Me.客戶訂單號_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
602 608
         Me.客戶訂單號_lb.Location = New System.Drawing.Point(481, 32)
603 609
         Me.客戶訂單號_lb.Name = "客戶訂單號_lb"
604
-        Me.客戶訂單號_lb.Size = New System.Drawing.Size(68, 16)
610
+        Me.客戶訂單號_lb.Size = New System.Drawing.Size(67, 16)
605 611
         Me.客戶訂單號_lb.TabIndex = 939
606 612
         Me.客戶訂單號_lb.Text = "客戶訂單號"
607 613
         '
@@ -631,7 +637,7 @@ Partial Class 量產訂單輸入
631 637
         Me.C_N_lb.ForeColor = System.Drawing.Color.Green
632 638
         Me.C_N_lb.Location = New System.Drawing.Point(1248, 83)
633 639
         Me.C_N_lb.Name = "C_N_lb"
634
-        Me.C_N_lb.Size = New System.Drawing.Size(31, 16)
640
+        Me.C_N_lb.Size = New System.Drawing.Size(30, 16)
635 641
         Me.C_N_lb.TabIndex = 934
636 642
         Me.C_N_lb.Text = "C_N"
637 643
         '
@@ -641,7 +647,7 @@ Partial Class 量產訂單輸入
641 647
         Me.交期_lb.ForeColor = System.Drawing.Color.Green
642 648
         Me.交期_lb.Location = New System.Drawing.Point(1247, 6)
643 649
         Me.交期_lb.Name = "交期_lb"
644
-        Me.交期_lb.Size = New System.Drawing.Size(32, 16)
650
+        Me.交期_lb.Size = New System.Drawing.Size(31, 16)
645 651
         Me.交期_lb.TabIndex = 930
646 652
         Me.交期_lb.Text = "交期"
647 653
         '
@@ -651,7 +657,7 @@ Partial Class 量產訂單輸入
651 657
         Me.型體名稱_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
652 658
         Me.型體名稱_lb.Location = New System.Drawing.Point(748, 84)
653 659
         Me.型體名稱_lb.Name = "型體名稱_lb"
654
-        Me.型體名稱_lb.Size = New System.Drawing.Size(56, 16)
660
+        Me.型體名稱_lb.Size = New System.Drawing.Size(55, 16)
655 661
         Me.型體名稱_lb.TabIndex = 928
656 662
         Me.型體名稱_lb.Text = "型體名稱"
657 663
         '
@@ -661,7 +667,7 @@ Partial Class 量產訂單輸入
661 667
         Me.型體號碼_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
662 668
         Me.型體號碼_lb.Location = New System.Drawing.Point(747, 59)
663 669
         Me.型體號碼_lb.Name = "型體號碼_lb"
664
-        Me.型體號碼_lb.Size = New System.Drawing.Size(56, 16)
670
+        Me.型體號碼_lb.Size = New System.Drawing.Size(55, 16)
665 671
         Me.型體號碼_lb.TabIndex = 926
666 672
         Me.型體號碼_lb.Text = "型體號碼"
667 673
         '
@@ -671,7 +677,7 @@ Partial Class 量產訂單輸入
671 677
         Me.工廠_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
672 678
         Me.工廠_lb.Location = New System.Drawing.Point(481, 57)
673 679
         Me.工廠_lb.Name = "工廠_lb"
674
-        Me.工廠_lb.Size = New System.Drawing.Size(32, 16)
680
+        Me.工廠_lb.Size = New System.Drawing.Size(31, 16)
675 681
         Me.工廠_lb.TabIndex = 924
676 682
         Me.工廠_lb.Text = "工廠"
677 683
         '
@@ -681,7 +687,7 @@ Partial Class 量產訂單輸入
681 687
         Me.季節_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
682 688
         Me.季節_lb.Location = New System.Drawing.Point(747, 10)
683 689
         Me.季節_lb.Name = "季節_lb"
684
-        Me.季節_lb.Size = New System.Drawing.Size(32, 16)
690
+        Me.季節_lb.Size = New System.Drawing.Size(31, 16)
685 691
         Me.季節_lb.TabIndex = 923
686 692
         Me.季節_lb.Text = "季節"
687 693
         '
@@ -691,7 +697,7 @@ Partial Class 量產訂單輸入
691 697
         Me.客戶_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
692 698
         Me.客戶_lb.Location = New System.Drawing.Point(747, 35)
693 699
         Me.客戶_lb.Name = "客戶_lb"
694
-        Me.客戶_lb.Size = New System.Drawing.Size(32, 16)
700
+        Me.客戶_lb.Size = New System.Drawing.Size(31, 16)
695 701
         Me.客戶_lb.TabIndex = 921
696 702
         Me.客戶_lb.Text = "客戶"
697 703
         '
@@ -719,7 +725,7 @@ Partial Class 量產訂單輸入
719 725
         Me.訂單流水號_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
720 726
         Me.訂單流水號_lb.Location = New System.Drawing.Point(481, 7)
721 727
         Me.訂單流水號_lb.Name = "訂單流水號_lb"
722
-        Me.訂單流水號_lb.Size = New System.Drawing.Size(68, 16)
728
+        Me.訂單流水號_lb.Size = New System.Drawing.Size(67, 16)
723 729
         Me.訂單流水號_lb.TabIndex = 936
724 730
         Me.訂單流水號_lb.Text = "訂單流水號"
725 731
         '
@@ -729,7 +735,7 @@ Partial Class 量產訂單輸入
729 735
         Me.ModeOfDelivery_lb.ForeColor = System.Drawing.Color.Green
730 736
         Me.ModeOfDelivery_lb.Location = New System.Drawing.Point(1448, 83)
731 737
         Me.ModeOfDelivery_lb.Name = "ModeOfDelivery_lb"
732
-        Me.ModeOfDelivery_lb.Size = New System.Drawing.Size(108, 16)
738
+        Me.ModeOfDelivery_lb.Size = New System.Drawing.Size(107, 16)
733 739
         Me.ModeOfDelivery_lb.TabIndex = 947
734 740
         Me.ModeOfDelivery_lb.Text = "Mode Of Delivery"
735 741
         '
@@ -739,7 +745,7 @@ Partial Class 量產訂單輸入
739 745
         Me.ShipFromAddress_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
740 746
         Me.ShipFromAddress_lb.Location = New System.Drawing.Point(657, 112)
741 747
         Me.ShipFromAddress_lb.Name = "ShipFromAddress_lb"
742
-        Me.ShipFromAddress_lb.Size = New System.Drawing.Size(113, 16)
748
+        Me.ShipFromAddress_lb.Size = New System.Drawing.Size(112, 16)
743 749
         Me.ShipFromAddress_lb.TabIndex = 950
744 750
         Me.ShipFromAddress_lb.Text = "Ship From Address"
745 751
         '
@@ -752,7 +758,7 @@ Partial Class 量產訂單輸入
752 758
             Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
753 759
         Me.表單3_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
754 760
         Me.表單3_dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
755
-        Me.表單3_dgv.Location = New System.Drawing.Point(484, 250)
761
+        Me.表單3_dgv.Location = New System.Drawing.Point(484, 277)
756 762
         Me.表單3_dgv.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
757 763
         Me.表單3_dgv.Name = "表單3_dgv"
758 764
         Me.表單3_dgv.RowHeadersWidth = 5
@@ -761,7 +767,7 @@ Partial Class 量產訂單輸入
761 767
         Me.表單3_dgv.RowsDefaultCellStyle = DataGridViewCellStyle8
762 768
         Me.表單3_dgv.RowTemplate.Height = 24
763 769
         Me.表單3_dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect
764
-        Me.表單3_dgv.Size = New System.Drawing.Size(1423, 350)
770
+        Me.表單3_dgv.Size = New System.Drawing.Size(1423, 334)
765 771
         Me.表單3_dgv.TabIndex = 942
766 772
         '
767 773
         '下單日_lb
@@ -770,7 +776,7 @@ Partial Class 量產訂單輸入
770 776
         Me.下單日_lb.ForeColor = System.Drawing.Color.Green
771 777
         Me.下單日_lb.Location = New System.Drawing.Point(1247, 31)
772 778
         Me.下單日_lb.Name = "下單日_lb"
773
-        Me.下單日_lb.Size = New System.Drawing.Size(44, 16)
779
+        Me.下單日_lb.Size = New System.Drawing.Size(43, 16)
774 780
         Me.下單日_lb.TabIndex = 932
775 781
         Me.下單日_lb.Text = "下單日"
776 782
         '
@@ -847,7 +853,7 @@ Partial Class 量產訂單輸入
847 853
         Me.客戶名稱_lb.ForeColor = System.Drawing.Color.FromArgb(CType(CType(0, Byte), Integer), CType(CType(0, Byte), Integer), CType(CType(192, Byte), Integer))
848 854
         Me.客戶名稱_lb.Location = New System.Drawing.Point(481, 84)
849 855
         Me.客戶名稱_lb.Name = "客戶名稱_lb"
850
-        Me.客戶名稱_lb.Size = New System.Drawing.Size(56, 16)
856
+        Me.客戶名稱_lb.Size = New System.Drawing.Size(55, 16)
851 857
         Me.客戶名稱_lb.TabIndex = 992
852 858
         Me.客戶名稱_lb.Text = "客戶名稱"
853 859
         '
@@ -865,7 +871,7 @@ Partial Class 量產訂單輸入
865 871
         Me.工廠交期_lb.ForeColor = System.Drawing.Color.Green
866 872
         Me.工廠交期_lb.Location = New System.Drawing.Point(1604, 152)
867 873
         Me.工廠交期_lb.Name = "工廠交期_lb"
868
-        Me.工廠交期_lb.Size = New System.Drawing.Size(56, 16)
874
+        Me.工廠交期_lb.Size = New System.Drawing.Size(55, 16)
869 875
         Me.工廠交期_lb.TabIndex = 995
870 876
         Me.工廠交期_lb.Text = "工廠交期"
871 877
         '
@@ -875,7 +881,7 @@ Partial Class 量產訂單輸入
875 881
         Me.客戶交期開始_lb.ForeColor = System.Drawing.Color.Green
876 882
         Me.客戶交期開始_lb.Location = New System.Drawing.Point(1604, 177)
877 883
         Me.客戶交期開始_lb.Name = "客戶交期開始_lb"
878
-        Me.客戶交期開始_lb.Size = New System.Drawing.Size(80, 16)
884
+        Me.客戶交期開始_lb.Size = New System.Drawing.Size(79, 16)
879 885
         Me.客戶交期開始_lb.TabIndex = 997
880 886
         Me.客戶交期開始_lb.Text = "客戶交期開始"
881 887
         '
@@ -893,7 +899,7 @@ Partial Class 量產訂單輸入
893 899
         Me.客戶交期結束_lb.ForeColor = System.Drawing.Color.Green
894 900
         Me.客戶交期結束_lb.Location = New System.Drawing.Point(1604, 202)
895 901
         Me.客戶交期結束_lb.Name = "客戶交期結束_lb"
896
-        Me.客戶交期結束_lb.Size = New System.Drawing.Size(80, 16)
902
+        Me.客戶交期結束_lb.Size = New System.Drawing.Size(79, 16)
897 903
         Me.客戶交期結束_lb.TabIndex = 999
898 904
         Me.客戶交期結束_lb.Text = "客戶交期結束"
899 905
         '
@@ -945,17 +951,71 @@ Partial Class 量產訂單輸入
945 951
         '
946 952
         Me.提示3_lb.AutoSize = True
947 953
         Me.提示3_lb.ForeColor = System.Drawing.Color.Red
948
-        Me.提示3_lb.Location = New System.Drawing.Point(487, 602)
954
+        Me.提示3_lb.Location = New System.Drawing.Point(487, 618)
949 955
         Me.提示3_lb.Name = "提示3_lb"
950
-        Me.提示3_lb.Size = New System.Drawing.Size(560, 16)
956
+        Me.提示3_lb.Size = New System.Drawing.Size(559, 16)
951 957
         Me.提示3_lb.TabIndex = 1004
952 958
         Me.提示3_lb.Text = "修改資料表中的顏色時,一定要上下兩個清單中的顏色都對應到,確認資料都有對應修改正確才按存檔!!!"
953 959
         '
960
+        'Label1
961
+        '
962
+        Me.Label1.AutoSize = True
963
+        Me.Label1.ForeColor = System.Drawing.Color.Red
964
+        Me.Label1.Location = New System.Drawing.Point(1249, 229)
965
+        Me.Label1.Name = "Label1"
966
+        Me.Label1.Size = New System.Drawing.Size(67, 16)
967
+        Me.Label1.TabIndex = 1005
968
+        Me.Label1.Text = "舊顏色資料"
969
+        '
970
+        'Label2
971
+        '
972
+        Me.Label2.AutoSize = True
973
+        Me.Label2.ForeColor = System.Drawing.Color.Red
974
+        Me.Label2.Location = New System.Drawing.Point(1249, 256)
975
+        Me.Label2.Name = "Label2"
976
+        Me.Label2.Size = New System.Drawing.Size(67, 16)
977
+        Me.Label2.TabIndex = 1006
978
+        Me.Label2.Text = "新顏色資料"
979
+        '
980
+        '舊顏色資料_tb
981
+        '
982
+        Me.舊顏色資料_tb.ForeColor = System.Drawing.Color.Red
983
+        Me.舊顏色資料_tb.Location = New System.Drawing.Point(1318, 224)
984
+        Me.舊顏色資料_tb.Name = "舊顏色資料_tb"
985
+        Me.舊顏色資料_tb.Size = New System.Drawing.Size(141, 23)
986
+        Me.舊顏色資料_tb.TabIndex = 1007
987
+        Me.舊顏色資料_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
988
+        '
989
+        '新顏色資料_tb
990
+        '
991
+        Me.新顏色資料_tb.ForeColor = System.Drawing.Color.Red
992
+        Me.新顏色資料_tb.Location = New System.Drawing.Point(1318, 251)
993
+        Me.新顏色資料_tb.Name = "新顏色資料_tb"
994
+        Me.新顏色資料_tb.Size = New System.Drawing.Size(141, 23)
995
+        Me.新顏色資料_tb.TabIndex = 1008
996
+        Me.新顏色資料_tb.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
997
+        '
998
+        '顏色資料修改_bt
999
+        '
1000
+        Me.顏色資料修改_bt.Font = New System.Drawing.Font("微軟正黑體", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
1001
+        Me.顏色資料修改_bt.ForeColor = System.Drawing.Color.Red
1002
+        Me.顏色資料修改_bt.Location = New System.Drawing.Point(1462, 224)
1003
+        Me.顏色資料修改_bt.Name = "顏色資料修改_bt"
1004
+        Me.顏色資料修改_bt.Size = New System.Drawing.Size(139, 50)
1005
+        Me.顏色資料修改_bt.TabIndex = 1009
1006
+        Me.顏色資料修改_bt.Text = "顏色資料修改"
1007
+        Me.顏色資料修改_bt.UseVisualStyleBackColor = True
1008
+        '
954 1009
         '量產訂單輸入
955 1010
         '
956 1011
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
957 1012
         Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
958 1013
         Me.ClientSize = New System.Drawing.Size(1914, 971)
1014
+        Me.Controls.Add(Me.顏色資料修改_bt)
1015
+        Me.Controls.Add(Me.新顏色資料_tb)
1016
+        Me.Controls.Add(Me.舊顏色資料_tb)
1017
+        Me.Controls.Add(Me.Label2)
1018
+        Me.Controls.Add(Me.Label1)
959 1019
         Me.Controls.Add(Me.提示3_lb)
960 1020
         Me.Controls.Add(Me.修改形體_bt)
961 1021
         Me.Controls.Add(Me.下單日_dtp)
@@ -1132,4 +1192,9 @@ Partial Class 量產訂單輸入
1132 1192
     Friend WithEvents 下單日_dtp As DateTimePicker
1133 1193
     Friend WithEvents 修改形體_bt As Button
1134 1194
     Friend WithEvents 提示3_lb As Label
1195
+    Friend WithEvents Label1 As Label
1196
+    Friend WithEvents Label2 As Label
1197
+    Friend WithEvents 舊顏色資料_tb As TextBox
1198
+    Friend WithEvents 新顏色資料_tb As TextBox
1199
+    Friend WithEvents 顏色資料修改_bt As Button
1135 1200
 End Class

+ 45
- 3
SHENKANG-MES-SYS/量產訂單管理系統/量產訂單輸入.vb Dosyayı Görüntüle

@@ -182,17 +182,23 @@ Public Class 量產訂單輸入
182 182
             季節_cb.Text = 表單3_dgv.Rows(0).Cells("年份季度").Value : 訂單屬性_cb.Text = 表單3_dgv.Rows(0).Cells("訂單屬性").Value
183 183
         End If
184 184
     End Sub
185
+    Private Sub 表單2_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 表單2_dgv.CellClick
186
+        If e.RowIndex = -1 Then : Else
187
+            新顏色資料_tb.Text = 表單2_dgv.Rows(e.RowIndex).Cells("顏色").Value
188
+        End If
189
+    End Sub
185 190
     Private Sub 表單3_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 表單3_dgv.CellClick
186 191
         If e.RowIndex = -1 Then : Else
187 192
             資料流水號_tb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("資料流水號").Value : 訂單屬性_cb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("訂單屬性").Value
188 193
             型體號碼_cb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("型體號碼").Value : 型體名稱_cb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("型體名稱").Value
189
-            DM_cb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("楦型").Value
194
+            DM_cb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("楦型").Value : 舊顏色資料_tb.Text = 表單3_dgv.Rows(e.RowIndex).Cells("顏色").Value
190 195
         End If
191 196
     End Sub
192 197
     Private Sub 表單4_dgv_CellClick(ByVal sender As System.Object, ByVal e As DataGridViewCellEventArgs) Handles 表單4_dgv.CellClick
193 198
         If e.RowIndex = -1 Then : Else
194 199
             資料流水號_tb.Text = 表單4_dgv.Rows(e.RowIndex).Cells("資料流水號").Value : 型體號碼_cb.Text = 表單4_dgv.Rows(e.RowIndex).Cells("ItemNumber").Value
195 200
             型體名稱_cb.Text = 表單4_dgv.Rows(e.RowIndex).Cells("ProductName").Value : DM_cb.Text = 表單4_dgv.Rows(e.RowIndex).Cells("DM").Value
201
+            舊顏色資料_tb.Text = 表單4_dgv.Rows(e.RowIndex).Cells("Color").Value
196 202
         End If
197 203
     End Sub
198 204
     Private Sub 表單3_dgv_CellEndEdit(ByVal sender As Object, ByVal e As DataGridViewCellEventArgs) Handles 表單3_dgv.CellEndEdit
@@ -385,13 +391,49 @@ Public Class 量產訂單輸入
385 391
         生成量產訂單號碼_bt.Enabled = True : 套用已有量產訂單號_bt.Enabled = True : 生成量產訂單抬頭_bt.Enabled = False : 生成訂單SIZERUN_bt.Enabled = False
386 392
         存檔_bt.Enabled = False : 更新BUYER_bt.Enabled = False
387 393
     End Sub
388
-    Private Sub Button17_Click(sender As Object, e As EventArgs) Handles 更新BUYER_bt.Click
394
+    Private Sub 更新BUYER_bt_Click(sender As Object, e As EventArgs) Handles 更新BUYER_bt.Click
389 395
         For i As Integer = 0 To 表單3_dgv.Rows.Count - 1
390 396
             表單3_dgv.Rows(i).Cells("BUYER").Value = 客戶_cb.Text
391 397
         Next
392 398
         MsgBox("注意還未存檔喔")
393 399
     End Sub
394
-    Private Sub Button9_Click(sender As Object, e As EventArgs) Handles 新增顏色_bt.Click
400
+    Private Sub 顏色資料修改_bt_Click(sender As Object, e As EventArgs) Handles 顏色資料修改_bt.Click
401
+        For i As Integer = 0 To 表單3_dgv.Rows.Count - 1
402
+            If 表單3_dgv.Rows(i).Cells("顏色").Value.ToString = 舊顏色資料_tb.Text Then
403
+                表單3_dgv.Rows(i).Cells("顏色").Value = 新顏色資料_tb.Text
404
+            End If
405
+        Next
406
+        For i As Integer = 0 To 表單4_dgv.Rows.Count - 1
407
+            If 表單4_dgv.Rows(i).Cells("Color").Value.ToString = 舊顏色資料_tb.Text Then
408
+                表單4_dgv.Rows(i).Cells("Color").Value = 新顏色資料_tb.Text
409
+            End If
410
+        Next
411
+        For i As Integer = 0 To 表單3_dgv.Rows.Count - 1
412
+            資料數 = 表單3_dgv.Rows.Count : MyModule1.進度條()
413
+            PA4 = 表單3_dgv.Rows(i).Cells("訂單數量").Value : PA5 = 表單3_dgv.Rows(i).Cells("交期開始").Value
414
+            PA6 = 表單3_dgv.Rows(i).Cells("交期結束").Value : PA7 = 表單3_dgv.Rows(i).Cells("備註").Value
415
+            PA8 = 表單3_dgv.Rows(i).Cells("工廠交期").Value : PA9 = 表單3_dgv.Rows(i).Cells("BUYER").Value
416
+            PA10 = 表單3_dgv.Rows(i).Cells("顏色").Value : PA11 = 表單3_dgv.Rows(i).Cells("資料流水號").Value
417
+            SQL_更改訂單控制表() : conn.Close()
418
+        Next i : WINPROFIT_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
419
+        For i As Integer = 0 To 表單4_dgv.Rows.Count - 1
420
+            資料數 = 表單4_dgv.Rows.Count : MyModule1.進度條()
421
+            PA12 = 表單4_dgv.Rows(i).Cells("4").Value : PA13 = 表單4_dgv.Rows(i).Cells("4.5").Value
422
+            PA14 = 表單4_dgv.Rows(i).Cells("5").Value : PA15 = 表單4_dgv.Rows(i).Cells("5.5").Value
423
+            PA16 = 表單4_dgv.Rows(i).Cells("6").Value : PA17 = 表單4_dgv.Rows(i).Cells("6.5").Value
424
+            PA18 = 表單4_dgv.Rows(i).Cells("7").Value : PA19 = 表單4_dgv.Rows(i).Cells("7.5").Value
425
+            PA20 = 表單4_dgv.Rows(i).Cells("8").Value : PA21 = 表單4_dgv.Rows(i).Cells("8.5").Value
426
+            PA22 = 表單4_dgv.Rows(i).Cells("9").Value : PA23 = 表單4_dgv.Rows(i).Cells("9.5").Value
427
+            PA24 = 表單4_dgv.Rows(i).Cells("10").Value : PA25 = 表單4_dgv.Rows(i).Cells("10.5").Value
428
+            PA26 = 表單4_dgv.Rows(i).Cells("11").Value : PA27 = 表單4_dgv.Rows(i).Cells("11.5").Value
429
+            PA28 = 表單4_dgv.Rows(i).Cells("12").Value : PA29 = 表單4_dgv.Rows(i).Cells("12.5").Value
430
+            PA30 = 表單4_dgv.Rows(i).Cells("13").Value : PA31 = 表單4_dgv.Rows(i).Cells("14").Value
431
+            PA32 = 表單4_dgv.Rows(i).Cells("Color").Value : PA33 = 表單4_dgv.Rows(i).Cells("資料流水號").Value
432
+            SQL_更改訂單明細表() : conn.Close()
433
+        Next i : WINPROFIT_ERP_SYS.ToolStripProgressBar1.Value = 0 : 最終數 = 0
434
+        MsgBox("存檔完成。")
435
+    End Sub
436
+    Private Sub 新增顏色_bt_Click(sender As Object, e As EventArgs) Handles 新增顏色_bt.Click
395 437
         清單修改.Close() : 訂單顏色修改 = True : 清單修改.ShowDialog() : Set_清單1() : 訂單顏色修改 = False
396 438
     End Sub
397 439
     Private Sub Button18_Click(sender As Object, e As EventArgs) Handles 修改形體_bt.Click

Loading…
İptal
Kaydet