siu 7 mesi fa
parent
commit
20390f525b
29 ha cambiato i file con 2752 aggiunte e 183 eliminazioni
  1. BIN
      .vs/OW-ERP-SYS/FileContentIndex/0ee80f04-ab55-424f-b071-acfb803df412.vsidx
  2. BIN
      .vs/OW-ERP-SYS/FileContentIndex/346b4811-1b40-4e1a-b07c-6571af85f322.vsidx
  3. BIN
      .vs/OW-ERP-SYS/FileContentIndex/3a90949a-f4d4-4a82-9eab-18e0e80de049.vsidx
  4. BIN
      .vs/OW-ERP-SYS/FileContentIndex/5b2d7214-0474-4026-a628-31cef131ddc8.vsidx
  5. BIN
      .vs/OW-ERP-SYS/FileContentIndex/92d7fa9f-0399-412e-b67b-18bef1b15c92.vsidx
  6. BIN
      .vs/OW-ERP-SYS/FileContentIndex/9af5c27b-f5aa-4b93-8d21-bad260823174.vsidx
  7. BIN
      .vs/OW-ERP-SYS/FileContentIndex/c39076c7-d94c-4c1d-a7d7-e3b81fb6e7e0.vsidx
  8. BIN
      .vs/OW-ERP-SYS/FileContentIndex/da4f3cd6-de1f-4512-99b9-b67b3dcdbf49.vsidx
  9. BIN
      .vs/OW-ERP-SYS/FileContentIndex/dcdcb535-5ba4-46c8-b6f5-bc8fe6e365ab.vsidx
  10. BIN
      .vs/OW-ERP-SYS/FileContentIndex/f0889d66-353b-412f-a238-e5cad15b546a.vsidx
  11. BIN
      .vs/OW-ERP-SYS/v17/.suo
  12. 83
    87
      .vs/OW-ERP-SYS/v17/DocumentLayout.json
  13. 1837
    0
      OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.Designer.vb
  14. 120
    0
      OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.resx
  15. 539
    0
      OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.vb
  16. 75
    75
      OW-ERP-SYS/05、技術管理系統/製程管制紀錄表_精製組.Designer.vb
  17. 7
    4
      OW-ERP-SYS/05、技術管理系統/製程管制紀錄表_精製組.vb
  18. 55
    4
      OW-ERP-SYS/0、MyModule/主資料庫/SQL_技術管理系統.vb
  19. 20
    12
      OW-ERP-SYS/OW-ERP-SYS.Designer.vb
  20. 5
    0
      OW-ERP-SYS/OW-ERP-SYS.vb
  21. 9
    0
      OW-ERP-SYS/OW-ERP-SYS.vbproj
  22. BIN
      OW-ERP-SYS/bin/Debug/OW-ERP-SYS.exe
  23. BIN
      OW-ERP-SYS/bin/Debug/OW-ERP-SYS.pdb
  24. BIN
      OW-ERP-SYS/obj/Debug/OW-ERP-SYS.pdb
  25. 1
    1
      OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.CoreCompileInputs.cache
  26. 1
    0
      OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.FileListAbsolute.txt
  27. BIN
      OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.GenerateResource.cache
  28. BIN
      OW-ERP-SYS/obj/Debug/OW_ERP_SYS.生產日報表_精製組.resources
  29. BIN
      OW-ERP-SYS/obj/Debug/ow-erp-sys.exe

BIN
.vs/OW-ERP-SYS/FileContentIndex/0ee80f04-ab55-424f-b071-acfb803df412.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/346b4811-1b40-4e1a-b07c-6571af85f322.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/3a90949a-f4d4-4a82-9eab-18e0e80de049.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/5b2d7214-0474-4026-a628-31cef131ddc8.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/92d7fa9f-0399-412e-b67b-18bef1b15c92.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/9af5c27b-f5aa-4b93-8d21-bad260823174.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/c39076c7-d94c-4c1d-a7d7-e3b81fb6e7e0.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/da4f3cd6-de1f-4512-99b9-b67b3dcdbf49.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/dcdcb535-5ba4-46c8-b6f5-bc8fe6e365ab.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/FileContentIndex/f0889d66-353b-412f-a238-e5cad15b546a.vsidx Vedi File


BIN
.vs/OW-ERP-SYS/v17/.suo Vedi File


+ 83
- 87
.vs/OW-ERP-SYS/v17/DocumentLayout.json Vedi File

@@ -7,40 +7,40 @@
7 7
       "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
8 8
     },
9 9
     {
10
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
11
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
10
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
11
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
12 12
     },
13 13
     {
14
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
15
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
14
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
15
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
16 16
     },
17 17
     {
18
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\0\u3001mymodule\\\u4E3B\u8CC7\u6599\u5EAB\\sql_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
18
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\0\u3001mymodule\\\u4E3B\u8CC7\u6599\u5EAB\\sql_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
19 19
       "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\0\u3001mymodule\\\u4E3B\u8CC7\u6599\u5EAB\\sql_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
20 20
     },
21 21
     {
22
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
23
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
24
-    },
25
-    {
26
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
27
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
22
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
23
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
28 24
     },
29 25
     {
30
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
31
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
26
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
27
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
32 28
     },
33 29
     {
34 30
       "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
35 31
       "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
36 32
     },
37 33
     {
38
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\ow-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
39
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\ow-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
34
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
35
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
40 36
     },
41 37
     {
42
-      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|d:\\ow-erp-sys\\ow-erp-sys\\ow-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
43
-      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\ow-erp-sys.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
38
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
39
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
40
+    },
41
+    {
42
+      "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
43
+      "RelativeMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|solutionrelative:ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form"
44 44
     },
45 45
     {
46 46
       "AbsoluteMoniker": "D:0:0:{6EC44D36-D153-43A1-BE08-174C088DDE70}|OW-ERP-SYS\\OW-ERP-SYS.vbproj|D:\\ow-erp-sys\\ow-erp-sys\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u4E00\u822C\u7D44.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}|Form",
@@ -62,8 +62,33 @@
62 62
       "DocumentGroups": [
63 63
         {
64 64
           "DockedWidth": 200,
65
-          "SelectedChildIndex": 0,
65
+          "SelectedChildIndex": 2,
66 66
           "Children": [
67
+            {
68
+              "$type": "Document",
69
+              "DocumentIndex": 2,
70
+              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
71
+              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
72
+              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
73
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
74
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
75
+              "ViewState": "AQIAAAAAAAAAAAAAAAAAAHEAAAAdAAAA",
76
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
77
+              "WhenOpened": "2024-11-01T05:40:29.977Z",
78
+              "EditorCaption": ""
79
+            },
80
+            {
81
+              "$type": "Document",
82
+              "DocumentIndex": 1,
83
+              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb [\u8A2D\u8A08]",
84
+              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
85
+              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb",
86
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb [\u8A2D\u8A08]",
87
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u7CBE\u88FD\u7D44.vb [\u8A2D\u8A08]",
88
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
89
+              "WhenOpened": "2024-11-01T03:07:54.034Z",
90
+              "EditorCaption": " [\u8A2D\u8A08]"
91
+            },
67 92
             {
68 93
               "$type": "Document",
69 94
               "DocumentIndex": 0,
@@ -72,14 +97,14 @@
72 97
               "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb",
73 98
               "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb",
74 99
               "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb",
75
-              "ViewState": "AQIAAJoAAAAAAAAAAAAUwKwAAAAOAAAA",
100
+              "ViewState": "AQIAABsBAAAAAAAAAAAWwCoBAAAuAAAA",
76 101
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
77 102
               "WhenOpened": "2024-10-28T03:17:41.128Z",
78 103
               "EditorCaption": ""
79 104
             },
80 105
             {
81 106
               "$type": "Document",
82
-              "DocumentIndex": 1,
107
+              "DocumentIndex": 4,
83 108
               "Title": "\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb [\u8A2D\u8A08]",
84 109
               "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb",
85 110
               "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u7CBE\u88FD\u7D44.vb",
@@ -91,29 +116,15 @@
91 116
             },
92 117
             {
93 118
               "$type": "Document",
94
-              "DocumentIndex": 2,
95
-              "Title": "\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
96
-              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
97
-              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
98
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
99
-              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
100
-              "ViewState": "AQIAAF8BAAAAAAAAAAAuwHQBAAA4AAAA",
101
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
102
-              "WhenOpened": "2024-10-29T01:15:54.57Z",
103
-              "EditorCaption": ""
104
-            },
105
-            {
106
-              "$type": "Document",
107
-              "DocumentIndex": 4,
108
-              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
119
+              "DocumentIndex": 6,
120
+              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
109 121
               "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
110 122
               "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
111
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
112
-              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
113
-              "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAADAAAA",
123
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
124
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
114 125
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
115
-              "WhenOpened": "2024-10-29T05:29:35.043Z",
116
-              "EditorCaption": ""
126
+              "WhenOpened": "2024-10-28T02:01:56.788Z",
127
+              "EditorCaption": " [\u8A2D\u8A08]"
117 128
             },
118 129
             {
119 130
               "$type": "Document",
@@ -123,26 +134,40 @@
123 134
               "RelativeDocumentMoniker": "OW-ERP-SYS\\0\u3001MyModule\\\u4E3B\u8CC7\u6599\u5EAB\\SQL_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb",
124 135
               "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\0\u3001MyModule\\\u4E3B\u8CC7\u6599\u5EAB\\SQL_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb",
125 136
               "RelativeToolTip": "OW-ERP-SYS\\0\u3001MyModule\\\u4E3B\u8CC7\u6599\u5EAB\\SQL_\u6280\u8853\u7BA1\u7406\u7CFB\u7D71.vb",
126
-              "ViewState": "AQIAALUHAAAAAAAAAAAQwMYHAAAgAAAA",
137
+              "ViewState": "AQIAANQHAAAAAAAAAAAMwO0HAABCAAAA",
127 138
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
128 139
               "WhenOpened": "2024-10-29T01:16:08.224Z",
129 140
               "EditorCaption": ""
130 141
             },
142
+            {
143
+              "$type": "Document",
144
+              "DocumentIndex": 7,
145
+              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
146
+              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
147
+              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
148
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
149
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
150
+              "ViewState": "AQIAALoBAAAAAAAAAAAYwMgBAABTAAAA",
151
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
152
+              "WhenOpened": "2024-10-29T05:29:35.043Z",
153
+              "EditorCaption": ""
154
+            },
131 155
             {
132 156
               "$type": "Document",
133 157
               "DocumentIndex": 5,
134
-              "Title": "\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
135
-              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
136
-              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
137
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
138
-              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
158
+              "Title": "\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
159
+              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
160
+              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
161
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
162
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u5976\u6CB9\u7D44.vb",
163
+              "ViewState": "AQIAAMsAAAAAAAAAAAAQwHQBAAA4AAAA",
139 164
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
140
-              "WhenOpened": "2024-10-28T03:29:49.294Z",
141
-              "EditorCaption": " [\u8A2D\u8A08]"
165
+              "WhenOpened": "2024-10-29T01:15:54.57Z",
166
+              "EditorCaption": ""
142 167
             },
143 168
             {
144 169
               "$type": "Document",
145
-              "DocumentIndex": 6,
170
+              "DocumentIndex": 8,
146 171
               "Title": "\u751F\u7522\u6392\u7A0B\u8868.vb",
147 172
               "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
148 173
               "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
@@ -150,45 +175,18 @@
150 175
               "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
151 176
               "ViewState": "AQIAAF4AAAAAAAAAAAAUwH0BAAALAAAA",
152 177
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
153
-              "WhenOpened": "2024-10-14T06:17:02.197Z",
154
-              "EditorCaption": ""
155
-            },
156
-            {
157
-              "$type": "Document",
158
-              "DocumentIndex": 7,
159
-              "Title": "\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
160
-              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
161
-              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb",
162
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
163
-              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u65E5\u5831\u8868_\u5976\u6CB9\u7D44.vb [\u8A2D\u8A08]",
164
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
165
-              "WhenOpened": "2024-10-28T02:01:56.788Z",
166
-              "EditorCaption": " [\u8A2D\u8A08]"
167
-            },
168
-            {
169
-              "$type": "Document",
170
-              "DocumentIndex": 8,
171
-              "Title": "OW-ERP-SYS.vb [\u8A2D\u8A08]",
172
-              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\OW-ERP-SYS.vb",
173
-              "RelativeDocumentMoniker": "OW-ERP-SYS\\OW-ERP-SYS.vb",
174
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\OW-ERP-SYS.vb [\u8A2D\u8A08]",
175
-              "RelativeToolTip": "OW-ERP-SYS\\OW-ERP-SYS.vb [\u8A2D\u8A08]",
176
-              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
177
-              "WhenOpened": "2024-10-29T01:34:52.775Z",
178
-              "EditorCaption": " [\u8A2D\u8A08]"
178
+              "WhenOpened": "2024-10-14T06:17:02.197Z"
179 179
             },
180 180
             {
181 181
               "$type": "Document",
182 182
               "DocumentIndex": 9,
183
-              "Title": "OW-ERP-SYS.vb",
184
-              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\OW-ERP-SYS.vb",
185
-              "RelativeDocumentMoniker": "OW-ERP-SYS\\OW-ERP-SYS.vb",
186
-              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\OW-ERP-SYS.vb",
187
-              "RelativeToolTip": "OW-ERP-SYS\\OW-ERP-SYS.vb",
188
-              "ViewState": "AQIAAKEBAAAAAAAAAAAQwLABAABJAAAA",
183
+              "Title": "\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
184
+              "DocumentMoniker": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
185
+              "RelativeDocumentMoniker": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb",
186
+              "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
187
+              "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u751F\u7522\u6392\u7A0B\u8868.vb [\u8A2D\u8A08]",
189 188
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
190
-              "WhenOpened": "2024-10-29T01:35:57.141Z",
191
-              "EditorCaption": ""
189
+              "WhenOpened": "2024-10-28T03:29:49.294Z"
192 190
             },
193 191
             {
194 192
               "$type": "Document",
@@ -199,8 +197,7 @@
199 197
               "ToolTip": "D:\\ow-erp-sys\\OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u4E00\u822C\u7D44.vb [\u8A2D\u8A08]",
200 198
               "RelativeToolTip": "OW-ERP-SYS\\05\u3001\u6280\u8853\u7BA1\u7406\u7CFB\u7D71\\\u88FD\u7A0B\u7BA1\u5236\u7D00\u9304\u8868_\u4E00\u822C\u7D44.vb [\u8A2D\u8A08]",
201 199
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
202
-              "WhenOpened": "2024-10-28T02:01:21.101Z",
203
-              "EditorCaption": " [\u8A2D\u8A08]"
200
+              "WhenOpened": "2024-10-28T02:01:21.101Z"
204 201
             },
205 202
             {
206 203
               "$type": "Document",
@@ -212,8 +209,7 @@
212 209
               "RelativeToolTip": "OW-ERP-SYS\\LoginForm1.vb",
213 210
               "ViewState": "AQIAAJ0AAAAAAAAAAAAWwKsAAAALAAAA",
214 211
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
215
-              "WhenOpened": "2024-08-12T06:36:55.284Z",
216
-              "EditorCaption": ""
212
+              "WhenOpened": "2024-08-12T06:36:55.284Z"
217 213
             },
218 214
             {
219 215
               "$type": "Document",

+ 1837
- 0
OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.Designer.vb
File diff soppresso perché troppo grande
Vedi File


+ 120
- 0
OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.resx Vedi File

@@ -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>

+ 539
- 0
OW-ERP-SYS/05、技術管理系統/生產日報表_精製組.vb Vedi File

@@ -0,0 +1,539 @@
1
+Imports System.IO
2
+
3
+Public Class 生產日報表_精製組
4
+    Private isLoading As Boolean = True
5
+    Private 有無修改 As Boolean = False
6
+    Private 有無生產排程 As Boolean = False
7
+    Dim 登入人級別num As Integer
8
+    Private Button_light As Boolean = False
9
+    Private Sub 生產日報表_精製組_Load(sender As Object, e As EventArgs) Handles MyBase.Load
10
+
11
+        SQL_查找表單ISO編碼_共用(Me.Text)
12
+        If dr.Read() Then
13
+            ISO編碼001_lb.Text = "【" & dr("ISO編碼001").ToString() & "】"
14
+        End If
15
+        抗氧化劑_cb.Items.Clear()
16
+        LoadDataToCB(抗氧化劑_dgv, 抗氧化劑_cb)
17
+        Set_原料油()
18
+        最高權限_pl.Height = 45 : 最高權限_pl.Width = 142
19
+        If 登入人級別 = "00" Then : 最高權限_pl.Visible = True
20
+        Else : 最高權限_pl.Visible = False
21
+        End If
22
+        AddHandler 抗氧化劑_cb.TextChanged, AddressOf TextBox_TextChanged
23
+        AddHandler BHA_tb.TextChanged, AddressOf TextBox_TextChanged
24
+        AddHandler 丙二醇_tb.TextChanged, AddressOf TextBox_TextChanged
25
+        AddHandler TBHQ_tb.TextChanged, AddressOf TextBox_TextChanged
26
+        AddHandler 維他命E_tb.TextChanged, AddressOf TextBox_TextChanged
27
+        AddHandler 抗氧化劑_tb.TextChanged, AddressOf TextBox_TextChanged
28
+        AddHandler 柴油K_tb.TextChanged, AddressOf TextBox_TextChanged
29
+        AddHandler 開始時間_tb.TextChanged, AddressOf TextBox_TextChanged
30
+        AddHandler 結束時間_tb.TextChanged, AddressOf TextBox_TextChanged
31
+        AddHandler 合計時間_tb.TextChanged, AddressOf TextBox_TextChanged
32
+        AddHandler 人工人數_tb.TextChanged, AddressOf TextBox_TextChanged
33
+        AddHandler 備註_tb.TextChanged, AddressOf TextBox_TextChanged
34
+        Set_管制控制表_讀取() : Set_日報明細表_精製組_更新()
35
+        isLoading = False
36
+    End Sub
37
+    Private Sub TextBox_TextChanged(sender As Object, e As EventArgs)
38
+        ' 取得發生改變的控件
39
+        有無修改 = True
40
+    End Sub
41
+    Private Sub Set_原料油()
42
+        Dim ds1 As New DataSet : 原料油_dgv.DataSource = Nothing : ds1.Clear()
43
+        SQL_製程管制精製組_原料油_讀取()
44
+        da.Fill(ds1) : 原料油_dgv.DataSource = ds1.Tables(0) : conn.Close()
45
+    End Sub
46
+    Private Sub 批次_nud_ValueChanged(sender As Object, e As EventArgs) Handles 批次_nud.ValueChanged
47
+        If isLoading Then Return
48
+        If 有無修改 AndAlso 日報流水號_tb.Text <> "" Then
49
+            MGB("有偵測到物件修改,是否要進行存檔?", 2)
50
+            If 訊息回應 = "YES" Then
51
+                控制存()
52
+            End If
53
+        End If
54
+        日報流水號_tb.Text = "" : 預設控件() : Set_管制控制表_讀取() : Set_日報明細表_精製組_更新()
55
+    End Sub
56
+    Private Sub 前一天_bt_Click(sender As Object, e As EventArgs) Handles 前一天_bt.Click
57
+        '檢查當前日期是否大於DateTimePicker的最小值, 以避免超出範圍
58
+        If 有無修改 AndAlso 日報流水號_tb.Text <> "" Then
59
+            MGB("有偵測到物件修改,是否要進行存檔?", 2)
60
+            If 訊息回應 = "YES" Then
61
+                控制存()
62
+            End If
63
+        End If
64
+
65
+        If 生產日期_dtp.Value.Date > 生產日期_dtp.MinDate Then
66
+            日報流水號_tb.Text = "" : 預設控件()
67
+            生產日期_dtp.Value = 生產日期_dtp.Value.AddDays(-1)
68
+            Set_管制控制表_讀取() : Set_日報明細表_精製組_更新()
69
+        Else
70
+            MessageBox.Show("已達到可選擇的最早日期。")
71
+        End If
72
+    End Sub
73
+    Private Sub 後一天_bt_Click(sender As Object, e As EventArgs) Handles 後一天_bt.Click
74
+        '檢查目前日期是否小於DateTimePicker的最大值, 以避免超出範圍
75
+        If 有無修改 AndAlso 日報流水號_tb.Text <> "" Then
76
+            MGB("有偵測到物件修改,是否要進行存檔?", 2)
77
+            If 訊息回應 = "YES" Then
78
+                控制存()
79
+            End If
80
+        End If
81
+        If 生產日期_dtp.Value.Date < 生產日期_dtp.MaxDate Then
82
+            日報流水號_tb.Text = "" : 預設控件()
83
+            生產日期_dtp.Value = 生產日期_dtp.Value.AddDays(1)
84
+            Set_管制控制表_讀取() : Set_日報明細表_精製組_更新()
85
+        Else
86
+            MessageBox.Show("已達到可選擇的最晚日期。")
87
+        End If
88
+    End Sub
89
+    Private Sub Set_管制控制表_讀取()
90
+        Dim 生產日期 As String = 生產日期_dtp.Value.ToString("yyyy/MM/dd")
91
+        Dim 批次 As String = 批次_nud.Value.ToString
92
+        SQL_製程管制控制表_精製組_讀取(生產日期, 批次)
93
+        If dr.Read() Then
94
+            儲存_bt.Enabled = True : 審核簽名_bt.Enabled = True
95
+            SQL_生產日報控制表_精製組_讀取(生產日期, 批次)
96
+            If dr.Read() Then ' 有資料,讀取
97
+                日報流水號_tb.Text = dr("控制流水號").ToString
98
+                開始時間_tb.Text = dr("運轉開始時間").ToString : 結束時間_tb.Text = dr("運轉結束時間").ToString
99
+                合計時間_tb.Text = dr("合計時間").ToString : 人工人數_tb.Text = dr("人工人數").ToString
100
+                製表簽名編碼_tb.Text = dr("製表簽名編碼").ToString()
101
+                課長簽名編碼_tb.Text = dr("課長簽名編碼").ToString() : 經理簽名編碼_tb.Text = dr("經理簽名編碼").ToString()
102
+                製表日期_DTP.Text = dr("製表簽名時間").ToString()
103
+                課長日期_DTP.Text = dr("課長簽名時間").ToString() : 經理日期_DTP.Text = dr("經理簽名時間").ToString()
104
+                BHA_tb.Text = dr("BHA").ToString()
105
+                丙二醇_tb.Text = dr("丙二醇").ToString()
106
+                TBHQ_tb.Text = dr("TBHQ20").ToString()
107
+                維他命E_tb.Text = dr("維他命E").ToString()
108
+                抗氧化劑_cb.Text = dr("額外抗氧").ToString()
109
+                抗氧化劑_tb.Text = dr("額外抗氧公斤").ToString()
110
+                柴油K_tb.Text = dr("柴油").ToString()
111
+                Dim 備註內容 As String = dr("備註").ToString()
112
+                Dim 分割後的備註 As String() = 備註內容.Split(New Char() {";"c}, StringSplitOptions.RemoveEmptyEntries)
113
+                備註_tb.Text = String.Join(Environment.NewLine, 分割後的備註)
114
+                有無生產排程 = True
115
+            Else  ' 無資料,新增
116
+                日報流水號_tb.Text = 產生新流水號("DR", "生產日報表_精製組", "控制流水號")
117
+                SQL_生產日報控制表_精製組_新增(日報流水號_tb.Text, 生產日期, 批次, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")
118
+                SQL_生產日報控制表_精製組_讀取(生產日期, 批次) : dr.Read()
119
+                日報流水號_tb.Text = dr("控制流水號").ToString
120
+                開始時間_tb.Text = dr("運轉開始時間").ToString : 結束時間_tb.Text = dr("運轉結束時間").ToString
121
+                合計時間_tb.Text = dr("合計時間").ToString : 人工人數_tb.Text = dr("人工人數").ToString
122
+                Dim 備註內容 As String = dr("備註").ToString()
123
+                Dim 分割後的備註 As String() = 備註內容.Split(New Char() {";"c}, StringSplitOptions.RemoveEmptyEntries)
124
+                備註_tb.Text = String.Join(Environment.NewLine, 分割後的備註)
125
+            End If
126
+        Else
127
+            儲存_bt.Enabled = False : 審核簽名_bt.Enabled = False : 有無生產排程 = False
128
+        End If
129
+        圖片讀取()
130
+    End Sub
131
+    Private Sub Set_日報明細表_精製組_更新()
132
+        Dim 生產日期 As String = 生產日期_dtp.Value.ToString("yyyy/MM/dd")
133
+        Dim 批次 As String = 批次_nud.Value.ToString
134
+        SQL_製程管制控制表_精製組_讀取(生產日期, 批次)
135
+        If dr.Read() Then
136
+            桶槽編號_tb.Text = dr("使用油槽").ToString
137
+            使用數量_tb.Text = dr("總重").ToString
138
+            磷酸_tb.Text = dr("總添加次數").ToString
139
+            白土_tb.Text = dr("總添加量").ToString
140
+            顯示後(dr("VE208").ToString, 液鹼_tb)
141
+            顯示後(dr("VE226").ToString, 硫酸_tb)
142
+            檸檬酸_tb.Text = dr("檸檬酸").ToString
143
+            分配TB文字(dr("FCQ553結束").ToString(), 數量1_tb, 數量2_tb, 數量3_tb, 數量4_tb)
144
+            分配TB文字(dr("桶槽").ToString(), 編號1_tb, 編號2_tb, 編號3_tb, 編號4_tb)
145
+            If 數量1_tb.Text <> "" Then
146
+                成品1_tb.Text = dr("原料油").ToString
147
+            Else
148
+                成品1_tb.Text = ""
149
+            End If
150
+            If 數量2_tb.Text <> "" Then
151
+                成品2_tb.Text = dr("原料油").ToString
152
+            Else
153
+                成品2_tb.Text = ""
154
+            End If
155
+            If 數量3_tb.Text <> "" Then
156
+                成品3_tb.Text = dr("原料油").ToString
157
+            Else
158
+                成品3_tb.Text = ""
159
+            End If
160
+            If 數量4_tb.Text <> "" Then
161
+                成品4_tb.Text = dr("原料油").ToString
162
+            Else
163
+                成品4_tb.Text = ""
164
+            End If
165
+            數量5_tb.Text = dr("高酸油").ToString
166
+            顯示後(dr("FCQ512").ToString, 柴油L_tb)
167
+            For i As Integer = 0 To 原料油_dgv.Rows.Count - 1
168
+                If 原料油_dgv.Rows(i).Cells("原料油").Value IsNot Nothing AndAlso Not IsDBNull(原料油_dgv.Rows(i).Cells("原料油").Value) Then
169
+                    If 原料油_dgv.Rows(i).Cells("原料油").Value.ToString() = dr("原料油").ToString Then
170
+                        If dr("原料油").ToString <> "" Then
171
+                            品名_tb.Text = 原料油_dgv.Rows(i).Cells("成品").Value.ToString()
172
+                            Exit For  ' 找到後退出迴圈
173
+                        End If
174
+                    End If
175
+                End If
176
+            Next
177
+            Dim sum As Double
178
+            Dim ls As Double
179
+            Dim result As Double
180
+            If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(磷酸_tb.Text, ls) Then
181
+                result = (ls / sum) * 100
182
+                磷酸1_tb.Text = result.ToString("F2")
183
+            Else
184
+                磷酸1_tb.Text = ""
185
+            End If
186
+            If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(白土_tb.Text, ls) Then
187
+                result = (ls / sum) * 100
188
+                白土1_tb.Text = result.ToString("F2")
189
+            Else
190
+                白土1_tb.Text = ""
191
+            End If
192
+            If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(液鹼_tb.Text, ls) Then
193
+                result = (ls / sum) * 100
194
+                液鹼1_tb.Text = result.ToString("F2")
195
+            Else
196
+                液鹼1_tb.Text = ""
197
+            End If
198
+            If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(硫酸_tb.Text, ls) Then
199
+                result = (ls / sum) * 100
200
+                硫酸1_tb.Text = result.ToString("F2")
201
+            Else
202
+                硫酸1_tb.Text = ""
203
+            End If
204
+            If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(柴油K_tb.Text, ls) Then
205
+                result = (ls / sum) * 100
206
+                柴油P_tb.Text = result.ToString("F2")
207
+            Else
208
+                柴油P_tb.Text = ""
209
+            End If
210
+
211
+            Dim total As Double = 0
212
+            Dim la As Double
213
+            If Double.TryParse(數量1_tb.Text, la) Then
214
+                total = total + la
215
+            End If
216
+            If Double.TryParse(數量2_tb.Text, la) Then
217
+                total = total + la
218
+            End If
219
+            If Double.TryParse(數量3_tb.Text, la) Then
220
+                total = total + la
221
+            End If
222
+            If Double.TryParse(數量4_tb.Text, la) Then
223
+                total = total + la
224
+            End If
225
+            總重量_tb.Text = total.ToString()
226
+            If total > 0 Then
227
+                製成率_tb.Text = ((total / sum) * 100).ToString("F2")
228
+            End If
229
+
230
+        Else
231
+
232
+        End If
233
+        有無修改 = False
234
+    End Sub
235
+    Private Sub 顯示後(str As String, 液鹼_tb As TextBox)
236
+        ' 檢查 VE208 是否為空
237
+        If String.IsNullOrEmpty(str) Then
238
+            液鹼_tb.Text = ""
239
+        Else
240
+            ' 使用 ";" 分割文字
241
+            Dim parts As String() = str.Split(";"c)
242
+
243
+            ' 檢查是否有第二段,並確保其內容不為空
244
+            If parts.Length > 1 AndAlso Not String.IsNullOrEmpty(parts(1)) Then
245
+                液鹼_tb.Text = parts(1)
246
+            Else
247
+                液鹼_tb.Text = ""
248
+            End If
249
+        End If
250
+    End Sub
251
+    Private Sub 分配TB文字(input As String, ParamArray textboxes() As TextBox)
252
+        ' 如果輸入字串為空,清空所有 TextBox
253
+        If String.IsNullOrEmpty(input) Then
254
+            For Each tb In textboxes
255
+                tb.Text = String.Empty
256
+            Next
257
+            Return
258
+        End If
259
+
260
+        ' 使用 ';' 將字串分割
261
+        Dim parts As String() = input.Split(";"c)
262
+
263
+        ' 檢查分割的數量與 TextBox 的數量是否匹配
264
+        If parts.Length <> textboxes.Length Then
265
+            For Each tb In textboxes
266
+                tb.Text = String.Empty
267
+            Next
268
+            Return
269
+        End If
270
+
271
+        ' 將分割後的結果賦值給 TextBox
272
+        For i As Integer = 0 To textboxes.Length - 1
273
+            textboxes(i).Text = parts(i)
274
+        Next
275
+    End Sub
276
+    Private Function 產生新流水號(流水號標頭 As String, 查詢表單名稱 As String, SQL欄位名稱 As String)
277
+        Dim 新流水號 As String
278
+        SQL_查找表單最後流水號_共用(查詢表單名稱, SQL欄位名稱)
279
+        If dr.Read() Then : 新流水號 = dr(SQL欄位名稱).ToString() : Else : 新流水號 = 流水號標頭 & "00000000" : End If : conn.Close()
280
+        Dim NUM1 As Integer = Integer.Parse(新流水號.Substring(2)) + 1
281
+        新流水號 = 流水號標頭 & NUM1.ToString().PadLeft(8, "0"c)
282
+        Return 新流水號
283
+    End Function
284
+    Private Sub 預設控件()
285
+        品名_tb.Text = "" : 桶槽編號_tb.Text = "" : 使用數量_tb.Text = ""
286
+        磷酸_tb.Text = "" : 白土_tb.Text = "" : 液鹼_tb.Text = "" : 硫酸_tb.Text = ""
287
+        磷酸1_tb.Text = "" : 白土1_tb.Text = "" : 液鹼1_tb.Text = "" : 硫酸1_tb.Text = ""
288
+        檸檬酸_tb.Text = "" : BHA_tb.Text = "" : 丙二醇_tb.Text = "" : TBHQ_tb.Text = "" : 維他命E_tb.Text = ""
289
+        數量1_tb.Text = "" : 數量2_tb.Text = "" : 數量3_tb.Text = "" : 數量4_tb.Text = "" : 數量5_tb.Text = ""
290
+        編號1_tb.Text = "" : 編號2_tb.Text = "" : 編號3_tb.Text = "" : 編號4_tb.Text = ""
291
+        成品1_tb.Text = "" : 成品2_tb.Text = "" : 成品3_tb.Text = "" : 成品4_tb.Text = ""
292
+        柴油L_tb.Text = "" : 柴油K_tb.Text = "" : 製成率_tb.Text = "" : 柴油P_tb.Text = ""
293
+        製表簽名編碼_tb.Text = "" : 組長簽名編碼_tb.Text = ""
294
+        課長簽名編碼_tb.Text = "" : 經理簽名編碼_tb.Text = ""
295
+        開始時間_tb.Text = "" : 結束時間_tb.Text = ""
296
+        合計時間_tb.Text = "" : 人工人數_tb.Text = ""
297
+        備註_tb.Text = "" : 抗氧化劑_cb.Text = "" : 抗氧化劑_tb.Text = ""
298
+    End Sub
299
+    Private Sub 儲存_bt_Click(sender As Object, e As EventArgs) Handles 儲存_bt.Click
300
+        MGB("確 定 要 儲 存 資 料 嗎?", 2)
301
+        If 訊息回應 = "YES" Then
302
+            控制存()
303
+            有無修改 = False
304
+            MGB("存檔完成!", 1)
305
+        End If
306
+    End Sub
307
+    Private Sub 控制存()
308
+        SQL_生產日報控制表_精製組_更新(日報流水號_tb.Text, 生產日期_dtp.Value.ToString("yyyy/MM/dd"), 批次_nud.Value.ToString, 開始時間_tb.Text, 結束時間_tb.Text, 合計時間_tb.Text,
309
+                               人工人數_tb.Text, 備註_tb.Text, BHA_tb.Text, 丙二醇_tb.Text, TBHQ_tb.Text, 維他命E_tb.Text, 抗氧化劑_cb.Text, 抗氧化劑_tb.Text, 柴油K_tb.Text)
310
+    End Sub
311
+    Private Sub LoadDataToCB(dgv As DataGridView, cb As ComboBox)
312
+        Using ds As New DataSet()
313
+            SQL_製程管制精製組_抗氧化劑_讀取()
314
+            da.Fill(ds)
315
+            dgv.DataSource = ds.Tables(0)
316
+            dgv.Columns(0).ReadOnly = True
317
+            cb.Items.Add("")
318
+            For i As Integer = 0 To dgv.Rows.Count - 2
319
+                Dim item As String = dgv.Rows(i).Cells("名稱").Value.ToString()
320
+                cb.Items.Add(item)
321
+            Next
322
+        End Using
323
+        conn.Close()
324
+    End Sub
325
+
326
+    Private Sub 柴油K_tb_TextChanged(sender As Object, e As EventArgs) Handles 柴油K_tb.TextChanged
327
+        Dim sum As Double
328
+        Dim ls As Double
329
+        Dim result As Double
330
+        If Double.TryParse(使用數量_tb.Text, sum) AndAlso Double.TryParse(柴油K_tb.Text, ls) Then
331
+            result = (ls / sum) * 100
332
+            柴油P_tb.Text = result.ToString("F2")
333
+        Else
334
+            柴油P_tb.Text = ""
335
+        End If
336
+    End Sub
337
+
338
+    Private Sub 表單簽名_bt_Click(sender As Object, e As EventArgs) Handles 審核簽名_bt.Click
339
+        ' ----- 查找流水號是否有 已有製程控制表流水號紀錄,有則走核准途徑,無則出現提示途徑 ----- 
340
+        SQL_生產日報控制表_精製組_圖片查詢_讀取(日報流水號_tb.Text)
341
+        ' 核准途徑: 更新控制表內容 
342
+        If dr.Read() Then
343
+            '製表簽名編碼, 備料簽名編碼, 泡油簽名編碼, 組長簽名編碼, 課長簽名編碼, 審核簽名編碼, 配方確認簽名編碼 
344
+            Dim 製表簽名編碼紀錄 As String = If(IsDBNull(dr("製表簽名編碼")), String.Empty, dr("製表簽名編碼").ToString())
345
+            Dim 課長簽名編碼紀錄 As String = If(IsDBNull(dr("課長簽名編碼")), String.Empty, dr("課長簽名編碼").ToString())
346
+            Dim 審核簽名編碼紀錄 As String = If(IsDBNull(dr("經理簽名編碼")), String.Empty, dr("經理簽名編碼").ToString())
347
+            Integer.TryParse(登入人級別, 登入人級別num)
348
+
349
+            ' ↓↓----- 核准按下時,將登入主管圖片檔填入 暫存簽名檔圖片_pb.Image -----↓↓
350
+            If 登入人級別 = "00" Then
351
+            Else
352
+                Dim ds1 As New DataSet : 簽名檔_dgv.DataSource = Nothing : ds1.Clear()
353
+                簽名檔_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
354
+                簽名檔_dgv.ColumnHeadersHeight = 25 : 簽名檔_dgv.AllowUserToAddRows = False
355
+
356
+                SQL_人事系統管理.SQL_主管簽名檔管理()
357
+                da.Fill(ds1) : 簽名檔_dgv.DataSource = ds1.Tables(0) : conn.Close()
358
+                If 簽名檔_dgv.Rows.Count <= 0 Then
359
+                    MGB("使用者簽名檔未登入,無法簽名 !", 1)
360
+                    Exit Sub
361
+                End If
362
+
363
+                簽名檔_dgv.Columns(0).FillWeight = 173 : 簽名檔_dgv.Columns(1).Visible = False
364
+                If 簽名檔_dgv.Rows.Count = 0 Then : Else
365
+                    暫存簽名編碼_tb.Text = 簽名檔_dgv(0, 0).Value.ToString
366
+                    PA1 = 暫存簽名編碼_tb.Text : SQL_主管簽名檔管理_圖片流水號()
367
+                    While dr.Read() = True
368
+                        Dim unused As Byte() = New Byte(-1) {}
369
+                        Dim bytes As Byte() = DirectCast(dr.Item("簽名檔圖片"), Byte())
370
+                        Dim oStream As New MemoryStream(bytes)
371
+                        暫存簽名檔圖片_pb.Image = Bitmap.FromStream(oStream)
372
+                    End While
373
+                    conn.Close() : 暫存簽名檔圖片_pb.SizeMode = 4
374
+                End If
375
+            End If
376
+            ' ↑↑----- 審核按下時,將登入者圖片檔填入 暫存簽名檔圖片_pb.Image -----↑↑
377
+            Dim 簽核完成 As Boolean = False
378
+            If 登入人級別 = "00" And 登入人職稱 = "系統管理員" Then
379
+                If 製表簽名編碼紀錄 = "" Then
380
+                    製表簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image
381
+                    製表簽名檔_pb.SizeMode = 4
382
+                    SQL_控制表_更新簽名("生產日報表_精製組", "製表簽名編碼", 暫存簽名編碼_tb.Text, "製表簽名時間", "控制流水號", 日報流水號_tb.Text)
383
+                    簽核完成 = True
384
+                ElseIf 課長簽名編碼紀錄 = "" Then
385
+                    課長簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image
386
+                    課長簽名檔_pb.SizeMode = 4
387
+                    SQL_控制表_更新簽名("生產日報表_精製組", "課長簽名編碼", 暫存簽名編碼_tb.Text, "課長簽名時間", "控制流水號", 日報流水號_tb.Text)
388
+                    簽核完成 = True
389
+                ElseIf (暫存簽名編碼_tb.Text = "PG00000004") And 審核簽名編碼紀錄 = "" Then
390
+                    經理簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image
391
+                    經理簽名檔_pb.SizeMode = 4
392
+                    SQL_控制表_更新簽名("生產日報表_精製組", "經理簽名編碼", 暫存簽名編碼_tb.Text, "經理簽名時間", "控制流水號", 日報流水號_tb.Text)
393
+                    簽核完成 = True
394
+                End If : conn.Close()
395
+            ElseIf 製表簽名編碼紀錄 = "" Then
396
+                製表簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image ' 確認可簽核時,將登入者圖片檔填入 廠長簽名檔_pb.Image
397
+                製表簽名檔_pb.SizeMode = 4
398
+                SQL_控制表_更新簽名("生產日報表_精製組", "製表簽名編碼", 暫存簽名編碼_tb.Text, "製表簽名時間", "控制流水號", 日報流水號_tb.Text)
399
+                簽核完成 = True
400
+            ElseIf (登入人職稱 = "經理" Or 登入人部門 = "4.生產部" Or 登入人部門 = "5.品研部" Or 登入人部門 = "6.廠務部") And
401
+                登入人級別num <= 3 And 課長簽名編碼紀錄 = "" Then
402
+                If IsNothing(製表簽名檔_pb.Image) Then
403
+                    MGB("製表尚未簽名,單據無法簽核!", 1)
404
+                    簽核完成 = False
405
+                Else
406
+                    課長簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image ' 確認可簽核時,將登入者圖片檔填入 副總簽名檔_pb.Image
407
+                    課長簽名檔_pb.SizeMode = 4
408
+                    SQL_控制表_更新簽名("生產日報表_精製組", "課長簽名編碼", 暫存簽名編碼_tb.Text, "課長簽名時間", "控制流水號", 日報流水號_tb.Text)
409
+                    簽核完成 = True
410
+                End If
411
+            ElseIf ((登入人級別 = "02") And (登入人職稱 = "經理")) And 審核簽名編碼紀錄 = "" Then
412
+                If IsNothing(製表簽名檔_pb.Image) Then
413
+                    MGB("製表尚未簽名,單據無法簽核!", 1)
414
+                    簽核完成 = False
415
+                ElseIf IsNothing(課長簽名檔_pb.Image) Then
416
+                    MGB("課長尚未簽名,單據無法簽核!", 1)
417
+                    簽核完成 = False
418
+                Else
419
+                    經理簽名檔_pb.Image = 暫存簽名檔圖片_pb.Image ' 確認可簽核時,將登入者圖片檔填入 總經理簽名檔_pb.Image
420
+                    經理簽名檔_pb.SizeMode = 4
421
+                    SQL_控制表_更新簽名("生產日報表_精製組", "經理簽名編碼", 暫存簽名編碼_tb.Text, "經理簽名時間", "控制流水號", 日報流水號_tb.Text)
422
+                    簽核完成 = True
423
+                End If
424
+            ElseIf 審核簽名編碼紀錄 <> "" And 課長簽名編碼紀錄 <> "" And 製表簽名編碼紀錄 <> "" Then
425
+                MGB("製程管制表簽核已完成,無法再簽核!", 1)
426
+                Exit Sub
427
+            Else
428
+                MGB("簽核權限錯誤!", 1)
429
+                Exit Sub
430
+            End If
431
+            製表簽名檔_pb.BackColor = Color.White
432
+            課長簽名檔_pb.BackColor = Color.White
433
+            經理簽名檔_pb.BackColor = Color.White
434
+            If 製表簽名檔_pb.Image Is Nothing Then
435
+                製表簽名檔_pb.BackColor = Color.LightPink
436
+            ElseIf 課長簽名檔_pb.Image Is Nothing Then
437
+                課長簽名檔_pb.BackColor = Color.LightPink
438
+            ElseIf 經理簽名檔_pb.Image Is Nothing Then
439
+                經理簽名檔_pb.BackColor = Color.LightPink
440
+            End If
441
+            If 簽核完成 = True Then
442
+                MGB("簽章完成!", 1)
443
+            End If
444
+        Else
445
+            MGB("製程管制表單尚未建立,無法審核!", 1)
446
+        End If : conn.Close()
447
+    End Sub
448
+    Private Sub 開簽名檔_bt_Click(sender As Object, e As EventArgs) Handles 開簽名檔_bt.Click
449
+        Dim ds1 As New DataSet : 簽名檔_dgv.DataSource = Nothing : ds1.Clear()
450
+        簽名檔_dgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.EnableResizing
451
+        簽名檔_dgv.ColumnHeadersHeight = 25 : 簽名檔_dgv.AllowUserToAddRows = False
452
+
453
+        SQL_人事系統管理.SQL_主管簽名檔管理()
454
+        da.Fill(ds1) : 簽名檔_dgv.DataSource = ds1.Tables(0) : conn.Close()
455
+
456
+        簽名檔_dgv.Columns(0).Visible = False : 簽名檔_dgv.Columns(1).FillWeight = 173
457
+        If 簽名檔_dgv.Rows.Count = 0 Then : Else
458
+            暫存簽名編碼_tb.Text = 簽名檔_dgv(0, 0).Value.ToString
459
+            PA1 = 暫存簽名編碼_tb.Text : SQL_主管簽名檔管理_圖片流水號()
460
+            While dr.Read() = True
461
+                Dim unused As Byte() = New Byte(-1) {}
462
+                Dim bytes As Byte() = DirectCast(dr.Item("簽名檔圖片"), Byte())
463
+                Dim oStream As New MemoryStream(bytes)
464
+                暫存簽名檔圖片_pb.Image = Bitmap.FromStream(oStream)
465
+            End While
466
+            conn.Close() : 暫存簽名檔圖片_pb.SizeMode = 4
467
+        End If
468
+
469
+        ' 反轉布爾變數的狀態
470
+        Button_light = Not Button_light
471
+        ' 根據新的狀態執行相應的動作
472
+        If Button_light Then
473
+            ' Button_light 是 ON
474
+            ' 在這裡實現你的功能,比如改變按鈕的顏色或文字等
475
+            開簽名檔_bt.Text = "縮回簽名檔"
476
+            最高權限_pl.Height = 184
477
+        Else
478
+            ' Button_light 是 OFF
479
+            ' 在這裡實現你的功能,比如改變按鈕的顏色或文字等
480
+            開簽名檔_bt.Text = "展開簽名檔"
481
+            最高權限_pl.Height = 45
482
+        End If
483
+    End Sub
484
+    Private Sub 簽名檔_dgv_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles 簽名檔_dgv.CellClick
485
+        If e.RowIndex = -1 Then : Else
486
+            暫存簽名編碼_tb.Text = 簽名檔_dgv(0, e.RowIndex).Value.ToString
487
+            PA20 = 暫存簽名編碼_tb.Text : SQL_簽名檔圖片讀取()
488
+            While dr.Read() = True
489
+                Dim unused As Byte() = New Byte(-1) {}
490
+                Dim bytes As Byte() = DirectCast(dr.Item("簽名檔圖片"), Byte())
491
+                Dim oStream As New MemoryStream(bytes)
492
+                暫存簽名檔圖片_pb.Image = Bitmap.FromStream(oStream)
493
+            End While : conn.Close() : 暫存簽名檔圖片_pb.SizeMode = 4
494
+        End If
495
+    End Sub
496
+    ' ↓↓---------------------- 讀取圖片 相關功能 ----------------------↓↓
497
+    Private Sub 圖片讀取()
498
+        設定簽名圖片(製表簽名編碼_tb, 製表簽名檔_pb)
499
+        設定簽名圖片(課長簽名編碼_tb, 課長簽名檔_pb) : 設定簽名圖片(經理簽名編碼_tb, 經理簽名檔_pb)
500
+
501
+
502
+        製表簽名檔_pb.BackColor = Color.White
503
+
504
+        課長簽名檔_pb.BackColor = Color.White
505
+        經理簽名檔_pb.BackColor = Color.White
506
+
507
+        If 有無生產排程 Then
508
+            If 製表簽名檔_pb.Image Is Nothing Then
509
+                製表簽名檔_pb.BackColor = Color.LightPink
510
+            ElseIf 課長簽名檔_pb.Image Is Nothing Then
511
+                課長簽名檔_pb.BackColor = Color.LightPink
512
+            ElseIf 經理簽名檔_pb.Image Is Nothing Then
513
+                經理簽名檔_pb.BackColor = Color.LightPink
514
+            End If
515
+        End If
516
+    End Sub
517
+    Private Sub 設定簽名圖片(簽名碼_tb As TextBox, 簽名檔圖片 As PictureBox)
518
+        Dim 暫存簽名碼 As String = 簽名碼_tb.Text
519
+        If String.IsNullOrEmpty(暫存簽名碼) Then
520
+            暫存簽名檔圖片_pb.Image = Nothing
521
+            簽名檔圖片.Image = Nothing
522
+        Else
523
+            ' 藉由 "暫存簽名碼" 簽名檔編碼 獲取對應的簽名圖片檔
524
+            PA1 = 暫存簽名碼 : SQL_主管簽名檔管理_圖片流水號()
525
+            While dr.Read() = True
526
+                Dim bytes As Byte() = DirectCast(dr.Item("簽名檔圖片"), Byte())
527
+                Dim oStream As New MemoryStream(bytes)
528
+                Dim bitmaps = Bitmap.FromStream(oStream)
529
+
530
+                ' 將簽名圖片檔放入對應的 panel.Image 顯示
531
+                暫存簽名檔圖片_pb.Image = bitmaps
532
+                簽名檔圖片.Image = bitmaps
533
+            End While
534
+            conn.Close()
535
+            暫存簽名檔圖片_pb.SizeMode = 4
536
+            簽名檔圖片.SizeMode = 4
537
+        End If
538
+    End Sub
539
+End Class

+ 75
- 75
OW-ERP-SYS/05、技術管理系統/製程管制紀錄表_精製組.Designer.vb Vedi File

@@ -22,9 +22,9 @@ Partial Class 製程管制紀錄表_精製組
22 22
     '請勿使用程式碼編輯器進行修改。
23 23
     <System.Diagnostics.DebuggerStepThrough()>
24 24
     Private Sub InitializeComponent()
25
-        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
26
-        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
27
-        Dim DataGridViewCellStyle3 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
25
+        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 28
         Me.最高權限_pl = New System.Windows.Forms.Panel()
29 29
         Me.簽名檔_lb = New System.Windows.Forms.Label()
30 30
         Me.簽名檔選擇_lb = New System.Windows.Forms.Label()
@@ -176,6 +176,11 @@ Partial Class 製程管制紀錄表_精製組
176 176
         Me.種類_1_tb = New System.Windows.Forms.TextBox()
177 177
         Me.Panel2 = New System.Windows.Forms.Panel()
178 178
         Me.隱藏_pl2 = New System.Windows.Forms.Panel()
179
+        Me.物料料號_tb = New System.Windows.Forms.TextBox()
180
+        Me.課長簽名編碼_tb = New System.Windows.Forms.TextBox()
181
+        Me.組長簽名編碼_tb = New System.Windows.Forms.TextBox()
182
+        Me.經理簽名編碼_tb = New System.Windows.Forms.TextBox()
183
+        Me.製表簽名編碼_tb = New System.Windows.Forms.TextBox()
179 184
         Me.暫存簽名編碼_tb = New System.Windows.Forms.TextBox()
180 185
         Me.原料油_dgv = New System.Windows.Forms.DataGridView()
181 186
         Me.暫存dgv_01 = New System.Windows.Forms.DataGridView()
@@ -271,11 +276,6 @@ Partial Class 製程管制紀錄表_精製組
271 276
         Me.儲存明細表_bt = New System.Windows.Forms.Button()
272 277
         Me.批次_nud = New System.Windows.Forms.NumericUpDown()
273 278
         Me.批次_lb = New System.Windows.Forms.Label()
274
-        Me.課長簽名編碼_tb = New System.Windows.Forms.TextBox()
275
-        Me.組長簽名編碼_tb = New System.Windows.Forms.TextBox()
276
-        Me.經理簽名編碼_tb = New System.Windows.Forms.TextBox()
277
-        Me.製表簽名編碼_tb = New System.Windows.Forms.TextBox()
278
-        Me.物料料號_tb = New System.Windows.Forms.TextBox()
279 279
         Me.最高權限_pl.SuspendLayout()
280 280
         CType(Me.簽名檔_dgv, System.ComponentModel.ISupportInitialize).BeginInit()
281 281
         CType(Me.暫存簽名檔圖片_pb, System.ComponentModel.ISupportInitialize).BeginInit()
@@ -352,8 +352,8 @@ Partial Class 製程管制紀錄表_精製組
352 352
         Me.簽名檔_dgv.Name = "簽名檔_dgv"
353 353
         Me.簽名檔_dgv.ReadOnly = True
354 354
         Me.簽名檔_dgv.RowHeadersWidth = 5
355
-        DataGridViewCellStyle1.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
356
-        Me.簽名檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle1
355
+        DataGridViewCellStyle4.Font = New System.Drawing.Font("微軟正黑體", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
356
+        Me.簽名檔_dgv.RowsDefaultCellStyle = DataGridViewCellStyle4
357 357
         Me.簽名檔_dgv.RowTemplate.Height = 24
358 358
         Me.簽名檔_dgv.Size = New System.Drawing.Size(150, 111)
359 359
         Me.簽名檔_dgv.TabIndex = 1785
@@ -704,7 +704,7 @@ Partial Class 製程管制紀錄表_精製組
704 704
         Me.Label66.Name = "Label66"
705 705
         Me.Label66.Size = New System.Drawing.Size(25, 23)
706 706
         Me.Label66.TabIndex = 66
707
-        Me.Label66.Text = ""
707
+        Me.Label66.Text = "Kg"
708 708
         Me.Label66.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
709 709
         '
710 710
         '高酸油_tb
@@ -1410,7 +1410,7 @@ Partial Class 製程管制紀錄表_精製組
1410 1410
         'Panel6
1411 1411
         '
1412 1412
         Me.Panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1413
-        Me.Panel6.Controls.Add(Me.種類_2_cb)
1413
+        Me.Panel6.Controls.Add(Me.種類_2_tb)
1414 1414
         Me.Panel6.Location = New System.Drawing.Point(380, 85)
1415 1415
         Me.Panel6.Name = "Panel6"
1416 1416
         Me.Panel6.Size = New System.Drawing.Size(76, 23)
@@ -1418,10 +1418,9 @@ Partial Class 製程管制紀錄表_精製組
1418 1418
         '
1419 1419
         '種類_2_cb
1420 1420
         '
1421
-        Me.種類_2_cb.Dock = System.Windows.Forms.DockStyle.Fill
1422 1421
         Me.種類_2_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
1423 1422
         Me.種類_2_cb.FormattingEnabled = True
1424
-        Me.種類_2_cb.Location = New System.Drawing.Point(0, 0)
1423
+        Me.種類_2_cb.Location = New System.Drawing.Point(306, 50)
1425 1424
         Me.種類_2_cb.Name = "種類_2_cb"
1426 1425
         Me.種類_2_cb.Size = New System.Drawing.Size(74, 24)
1427 1426
         Me.種類_2_cb.TabIndex = 2182
@@ -1429,7 +1428,7 @@ Partial Class 製程管制紀錄表_精製組
1429 1428
         'Panel7
1430 1429
         '
1431 1430
         Me.Panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1432
-        Me.Panel7.Controls.Add(Me.種類_3_cb)
1431
+        Me.Panel7.Controls.Add(Me.種類_3_tb)
1433 1432
         Me.Panel7.Location = New System.Drawing.Point(380, 107)
1434 1433
         Me.Panel7.Name = "Panel7"
1435 1434
         Me.Panel7.Size = New System.Drawing.Size(76, 23)
@@ -1437,10 +1436,9 @@ Partial Class 製程管制紀錄表_精製組
1437 1436
         '
1438 1437
         '種類_3_cb
1439 1438
         '
1440
-        Me.種類_3_cb.Dock = System.Windows.Forms.DockStyle.Fill
1441 1439
         Me.種類_3_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
1442 1440
         Me.種類_3_cb.FormattingEnabled = True
1443
-        Me.種類_3_cb.Location = New System.Drawing.Point(0, 0)
1441
+        Me.種類_3_cb.Location = New System.Drawing.Point(306, 81)
1444 1442
         Me.種類_3_cb.Name = "種類_3_cb"
1445 1443
         Me.種類_3_cb.Size = New System.Drawing.Size(74, 24)
1446 1444
         Me.種類_3_cb.TabIndex = 2181
@@ -1448,7 +1446,7 @@ Partial Class 製程管制紀錄表_精製組
1448 1446
         'Panel8
1449 1447
         '
1450 1448
         Me.Panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1451
-        Me.Panel8.Controls.Add(Me.種類_4_cb)
1449
+        Me.Panel8.Controls.Add(Me.種類_4_tb)
1452 1450
         Me.Panel8.Location = New System.Drawing.Point(380, 129)
1453 1451
         Me.Panel8.Name = "Panel8"
1454 1452
         Me.Panel8.Size = New System.Drawing.Size(76, 23)
@@ -1456,10 +1454,9 @@ Partial Class 製程管制紀錄表_精製組
1456 1454
         '
1457 1455
         '種類_4_cb
1458 1456
         '
1459
-        Me.種類_4_cb.Dock = System.Windows.Forms.DockStyle.Fill
1460 1457
         Me.種類_4_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
1461 1458
         Me.種類_4_cb.FormattingEnabled = True
1462
-        Me.種類_4_cb.Location = New System.Drawing.Point(0, 0)
1459
+        Me.種類_4_cb.Location = New System.Drawing.Point(306, 114)
1463 1460
         Me.種類_4_cb.Name = "種類_4_cb"
1464 1461
         Me.種類_4_cb.Size = New System.Drawing.Size(74, 24)
1465 1462
         Me.種類_4_cb.TabIndex = 2180
@@ -1467,7 +1464,7 @@ Partial Class 製程管制紀錄表_精製組
1467 1464
         'Panel5
1468 1465
         '
1469 1466
         Me.Panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1470
-        Me.Panel5.Controls.Add(Me.種類_1_cb)
1467
+        Me.Panel5.Controls.Add(Me.種類_1_tb)
1471 1468
         Me.Panel5.Location = New System.Drawing.Point(380, 63)
1472 1469
         Me.Panel5.Name = "Panel5"
1473 1470
         Me.Panel5.Size = New System.Drawing.Size(76, 23)
@@ -1475,10 +1472,9 @@ Partial Class 製程管制紀錄表_精製組
1475 1472
         '
1476 1473
         '種類_1_cb
1477 1474
         '
1478
-        Me.種類_1_cb.Dock = System.Windows.Forms.DockStyle.Fill
1479 1475
         Me.種類_1_cb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
1480 1476
         Me.種類_1_cb.FormattingEnabled = True
1481
-        Me.種類_1_cb.Location = New System.Drawing.Point(0, 0)
1477
+        Me.種類_1_cb.Location = New System.Drawing.Point(306, 20)
1482 1478
         Me.種類_1_cb.Name = "種類_1_cb"
1483 1479
         Me.種類_1_cb.Size = New System.Drawing.Size(74, 24)
1484 1480
         Me.種類_1_cb.TabIndex = 2179
@@ -1876,7 +1872,7 @@ Partial Class 製程管制紀錄表_精製組
1876 1872
         '種類_4_tb
1877 1873
         '
1878 1874
         Me.種類_4_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1879
-        Me.種類_4_tb.Location = New System.Drawing.Point(13, 180)
1875
+        Me.種類_4_tb.Location = New System.Drawing.Point(-1, -1)
1880 1876
         Me.種類_4_tb.Name = "種類_4_tb"
1881 1877
         Me.種類_4_tb.Size = New System.Drawing.Size(76, 23)
1882 1878
         Me.種類_4_tb.TabIndex = 71
@@ -1886,7 +1882,7 @@ Partial Class 製程管制紀錄表_精製組
1886 1882
         '種類_3_tb
1887 1883
         '
1888 1884
         Me.種類_3_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1889
-        Me.種類_3_tb.Location = New System.Drawing.Point(13, 158)
1885
+        Me.種類_3_tb.Location = New System.Drawing.Point(-1, -1)
1890 1886
         Me.種類_3_tb.Name = "種類_3_tb"
1891 1887
         Me.種類_3_tb.Size = New System.Drawing.Size(76, 23)
1892 1888
         Me.種類_3_tb.TabIndex = 63
@@ -1896,7 +1892,7 @@ Partial Class 製程管制紀錄表_精製組
1896 1892
         '種類_2_tb
1897 1893
         '
1898 1894
         Me.種類_2_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1899
-        Me.種類_2_tb.Location = New System.Drawing.Point(13, 136)
1895
+        Me.種類_2_tb.Location = New System.Drawing.Point(-1, -1)
1900 1896
         Me.種類_2_tb.Name = "種類_2_tb"
1901 1897
         Me.種類_2_tb.Size = New System.Drawing.Size(76, 23)
1902 1898
         Me.種類_2_tb.TabIndex = 55
@@ -1906,7 +1902,7 @@ Partial Class 製程管制紀錄表_精製組
1906 1902
         '種類_1_tb
1907 1903
         '
1908 1904
         Me.種類_1_tb.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
1909
-        Me.種類_1_tb.Location = New System.Drawing.Point(13, 114)
1905
+        Me.種類_1_tb.Location = New System.Drawing.Point(-1, -1)
1910 1906
         Me.種類_1_tb.Name = "種類_1_tb"
1911 1907
         Me.種類_1_tb.Size = New System.Drawing.Size(76, 23)
1912 1908
         Me.種類_1_tb.TabIndex = 47
@@ -2007,6 +2003,10 @@ Partial Class 製程管制紀錄表_精製組
2007 2003
         '
2008 2004
         '隱藏_pl2
2009 2005
         '
2006
+        Me.隱藏_pl2.Controls.Add(Me.種類_4_cb)
2007
+        Me.隱藏_pl2.Controls.Add(Me.種類_3_cb)
2008
+        Me.隱藏_pl2.Controls.Add(Me.種類_2_cb)
2009
+        Me.隱藏_pl2.Controls.Add(Me.種類_1_cb)
2010 2010
         Me.隱藏_pl2.Controls.Add(Me.物料料號_tb)
2011 2011
         Me.隱藏_pl2.Controls.Add(Me.課長簽名編碼_tb)
2012 2012
         Me.隱藏_pl2.Controls.Add(Me.組長簽名編碼_tb)
@@ -2015,17 +2015,53 @@ Partial Class 製程管制紀錄表_精製組
2015 2015
         Me.隱藏_pl2.Controls.Add(Me.暫存簽名編碼_tb)
2016 2016
         Me.隱藏_pl2.Controls.Add(Me.原料油_dgv)
2017 2017
         Me.隱藏_pl2.Controls.Add(Me.暫存dgv_01)
2018
-        Me.隱藏_pl2.Controls.Add(Me.種類_4_tb)
2019 2018
         Me.隱藏_pl2.Controls.Add(Me.原料油_tb)
2020
-        Me.隱藏_pl2.Controls.Add(Me.種類_3_tb)
2021
-        Me.隱藏_pl2.Controls.Add(Me.種類_1_tb)
2022
-        Me.隱藏_pl2.Controls.Add(Me.種類_2_tb)
2023 2019
         Me.隱藏_pl2.Location = New System.Drawing.Point(22, 18)
2024 2020
         Me.隱藏_pl2.Name = "隱藏_pl2"
2025 2021
         Me.隱藏_pl2.Size = New System.Drawing.Size(405, 220)
2026 2022
         Me.隱藏_pl2.TabIndex = 2026
2027 2023
         Me.隱藏_pl2.Visible = False
2028 2024
         '
2025
+        '物料料號_tb
2026
+        '
2027
+        Me.物料料號_tb.Location = New System.Drawing.Point(107, 109)
2028
+        Me.物料料號_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2029
+        Me.物料料號_tb.Name = "物料料號_tb"
2030
+        Me.物料料號_tb.Size = New System.Drawing.Size(86, 23)
2031
+        Me.物料料號_tb.TabIndex = 2158
2032
+        '
2033
+        '課長簽名編碼_tb
2034
+        '
2035
+        Me.課長簽名編碼_tb.Location = New System.Drawing.Point(201, 108)
2036
+        Me.課長簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2037
+        Me.課長簽名編碼_tb.Name = "課長簽名編碼_tb"
2038
+        Me.課長簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
2039
+        Me.課長簽名編碼_tb.TabIndex = 2157
2040
+        '
2041
+        '組長簽名編碼_tb
2042
+        '
2043
+        Me.組長簽名編碼_tb.Location = New System.Drawing.Point(200, 81)
2044
+        Me.組長簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2045
+        Me.組長簽名編碼_tb.Name = "組長簽名編碼_tb"
2046
+        Me.組長簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
2047
+        Me.組長簽名編碼_tb.TabIndex = 2156
2048
+        '
2049
+        '經理簽名編碼_tb
2050
+        '
2051
+        Me.經理簽名編碼_tb.Location = New System.Drawing.Point(200, 56)
2052
+        Me.經理簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2053
+        Me.經理簽名編碼_tb.Name = "經理簽名編碼_tb"
2054
+        Me.經理簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
2055
+        Me.經理簽名編碼_tb.TabIndex = 2155
2056
+        '
2057
+        '製表簽名編碼_tb
2058
+        '
2059
+        Me.製表簽名編碼_tb.Location = New System.Drawing.Point(200, 6)
2060
+        Me.製表簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2061
+        Me.製表簽名編碼_tb.Name = "製表簽名編碼_tb"
2062
+        Me.製表簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
2063
+        Me.製表簽名編碼_tb.TabIndex = 2154
2064
+        '
2029 2065
         '暫存簽名編碼_tb
2030 2066
         '
2031 2067
         Me.暫存簽名編碼_tb.Location = New System.Drawing.Point(107, 80)
@@ -2035,8 +2071,8 @@ Partial Class 製程管制紀錄表_精製組
2035 2071
         '
2036 2072
         '原料油_dgv
2037 2073
         '
2038
-        DataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
2039
-        Me.原料油_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle2
2074
+        DataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(CType(CType(192, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
2075
+        Me.原料油_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle5
2040 2076
         Me.原料油_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
2041 2077
         Me.原料油_dgv.BackgroundColor = System.Drawing.Color.White
2042 2078
         Me.原料油_dgv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
@@ -2871,8 +2907,8 @@ Partial Class 製程管制紀錄表_精製組
2871 2907
         '
2872 2908
         '明細表_dgv
2873 2909
         '
2874
-        DataGridViewCellStyle3.BackColor = System.Drawing.Color.White
2875
-        Me.明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle3
2910
+        DataGridViewCellStyle6.BackColor = System.Drawing.Color.White
2911
+        Me.明細表_dgv.AlternatingRowsDefaultCellStyle = DataGridViewCellStyle6
2876 2912
         Me.明細表_dgv.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill
2877 2913
         Me.明細表_dgv.BackgroundColor = System.Drawing.Color.White
2878 2914
         Me.明細表_dgv.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
@@ -2989,46 +3025,6 @@ Partial Class 製程管制紀錄表_精製組
2989 3025
         Me.批次_lb.TabIndex = 2176
2990 3026
         Me.批次_lb.Text = "批次 :"
2991 3027
         '
2992
-        '課長簽名編碼_tb
2993
-        '
2994
-        Me.課長簽名編碼_tb.Location = New System.Drawing.Point(201, 108)
2995
-        Me.課長簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
2996
-        Me.課長簽名編碼_tb.Name = "課長簽名編碼_tb"
2997
-        Me.課長簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
2998
-        Me.課長簽名編碼_tb.TabIndex = 2157
2999
-        '
3000
-        '組長簽名編碼_tb
3001
-        '
3002
-        Me.組長簽名編碼_tb.Location = New System.Drawing.Point(200, 81)
3003
-        Me.組長簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
3004
-        Me.組長簽名編碼_tb.Name = "組長簽名編碼_tb"
3005
-        Me.組長簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
3006
-        Me.組長簽名編碼_tb.TabIndex = 2156
3007
-        '
3008
-        '經理簽名編碼_tb
3009
-        '
3010
-        Me.經理簽名編碼_tb.Location = New System.Drawing.Point(200, 56)
3011
-        Me.經理簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
3012
-        Me.經理簽名編碼_tb.Name = "經理簽名編碼_tb"
3013
-        Me.經理簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
3014
-        Me.經理簽名編碼_tb.TabIndex = 2155
3015
-        '
3016
-        '製表簽名編碼_tb
3017
-        '
3018
-        Me.製表簽名編碼_tb.Location = New System.Drawing.Point(200, 6)
3019
-        Me.製表簽名編碼_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
3020
-        Me.製表簽名編碼_tb.Name = "製表簽名編碼_tb"
3021
-        Me.製表簽名編碼_tb.Size = New System.Drawing.Size(86, 23)
3022
-        Me.製表簽名編碼_tb.TabIndex = 2154
3023
-        '
3024
-        '物料料號_tb
3025
-        '
3026
-        Me.物料料號_tb.Location = New System.Drawing.Point(107, 109)
3027
-        Me.物料料號_tb.Margin = New System.Windows.Forms.Padding(3, 4, 3, 4)
3028
-        Me.物料料號_tb.Name = "物料料號_tb"
3029
-        Me.物料料號_tb.Size = New System.Drawing.Size(86, 23)
3030
-        Me.物料料號_tb.TabIndex = 2158
3031
-        '
3032 3028
         '製程管制紀錄表_精製組
3033 3029
         '
3034 3030
         Me.AutoScaleDimensions = New System.Drawing.SizeF(7.0!, 16.0!)
@@ -3084,9 +3080,13 @@ Partial Class 製程管制紀錄表_精製組
3084 3080
         Me.Panel1.ResumeLayout(False)
3085 3081
         Me.Panel1.PerformLayout()
3086 3082
         Me.Panel6.ResumeLayout(False)
3083
+        Me.Panel6.PerformLayout()
3087 3084
         Me.Panel7.ResumeLayout(False)
3085
+        Me.Panel7.PerformLayout()
3088 3086
         Me.Panel8.ResumeLayout(False)
3087
+        Me.Panel8.PerformLayout()
3089 3088
         Me.Panel5.ResumeLayout(False)
3089
+        Me.Panel5.PerformLayout()
3090 3090
         Me.Panel2.ResumeLayout(False)
3091 3091
         Me.Panel2.PerformLayout()
3092 3092
         Me.隱藏_pl2.ResumeLayout(False)

+ 7
- 4
OW-ERP-SYS/05、技術管理系統/製程管制紀錄表_精製組.vb Vedi File

@@ -296,7 +296,7 @@ Public Class 製程管制紀錄表_精製組
296 296
 
297 297
         製表簽名編碼_tb.Text = "" : 組長簽名編碼_tb.Text = ""
298 298
         課長簽名編碼_tb.Text = "" : 經理簽名編碼_tb.Text = ""
299
-        物料料號_tb.Text = ""
299
+        物料料號_tb.Text = "" : 選擇流水號_tb.Text = ""
300 300
 
301 301
     End Sub
302 302
     Private Sub 新增_bt_Click(sender As Object, e As EventArgs) Handles 新增_bt.Click
@@ -321,6 +321,7 @@ Public Class 製程管制紀錄表_精製組
321 321
         MGB("確 定 要 儲 存 資 料 嗎?", 2)
322 322
         If 訊息回應 = "YES" Then
323 323
             控制存()
324
+            有無修改 = False
324 325
             MGB("存檔完成!", 1)
325 326
         End If
326 327
     End Sub
@@ -403,6 +404,8 @@ Public Class 製程管制紀錄表_精製組
403 404
         If 訊息回應 = "YES" Then
404 405
             SQL_製程管制控制表_精製組_刪除(製程流水號_tb.Text)
405 406
             SQL_製程管制明細表_精製組_刪除(製程流水號_tb.Text)
407
+            Dim 批次 As String = 批次_nud.Value.ToString
408
+            SQL_生產日報控制表_精製組_刪除(生產日期_dtp.Value.ToString("yyyy/MM/dd"), 批次)
406 409
             預設控件() : 製程流水號_tb.Text = "" : Set_管制控制表_讀取() : Set_明細表_讀取()
407 410
             MGB("刪除成功!", 1)
408 411
         End If
@@ -458,13 +461,13 @@ Public Class 製程管制紀錄表_精製組
458 461
     End Sub
459 462
     Private Sub LoadDataToCB(dgv As DataGridView, cb As ComboBox)
460 463
         Using ds As New DataSet()
461
-            SQL_製程管制_原料油_讀取()
464
+            SQL_製程管制精製組_原料油_讀取()
462 465
             da.Fill(ds)
463 466
             dgv.DataSource = ds.Tables(0)
464 467
             dgv.Columns(0).ReadOnly = True
465 468
             cb.Items.Add("")
466 469
             For i As Integer = 0 To dgv.Rows.Count - 2
467
-                Dim item As String = dgv.Rows(i).Cells("名稱").Value.ToString()
470
+                Dim item As String = dgv.Rows(i).Cells("原料油").Value.ToString()
468 471
                 cb.Items.Add(item)
469 472
             Next
470 473
         End Using
@@ -703,7 +706,7 @@ Public Class 製程管制紀錄表_精製組
703 706
     Private Sub 原料油_cb_SelectedIndexChanged(sender As Object, e As EventArgs) Handles 原料油_cb.SelectedIndexChanged
704 707
         If 原料油_cb.Text <> "" Then
705 708
             For i As Integer = 0 To 原料油_dgv.Rows.Count - 1
706
-                If 原料油_dgv.Rows(i).Cells("名稱").Value.ToString() = 原料油_cb.Text Then
709
+                If 原料油_dgv.Rows(i).Cells("原料油").Value.ToString() = 原料油_cb.Text Then
707 710
                     物料料號_tb.Text = 原料油_dgv.Rows(i).Cells("物料料號").Value.ToString()
708 711
                     Exit For  ' 找到後退出迴圈
709 712
                 End If

+ 55
- 4
OW-ERP-SYS/0、MyModule/主資料庫/SQL_技術管理系統.vb Vedi File

@@ -1986,11 +1986,10 @@ Module SQL_技術管理系統
1986 1986
                 WHERE  (製程流水號 LIKE N'" & 製程流水號 & "')"
1987 1987
         CmdSet_For_DGV()
1988 1988
     End Sub
1989
-    Friend Sub SQL_製程管制_原料油_讀取()
1989
+    Friend Sub SQL_製程管制精製組_原料油_讀取()
1990 1990
         ConnOpen()
1991
-        SQL1 = "SELECT DISTINCT 名稱,物料料號    
1992
-                FROM      物料規格表
1993
-                WHERE     種類 LIKE N'原料油'"
1991
+        SQL1 = "SELECT 精製組對應表.原料油, 精製組對應表.成品, 物料規格表.物料料號
1992
+                FROM 精製組對應表 JOIN 物料規格表 ON 精製組對應表.原料油 = 物料規格表.名稱"
1994 1993
         CmdSet_For_DGV()
1995 1994
     End Sub
1996 1995
     Friend Sub SQL_製程管制控制表_精製組_圖片查詢_讀取(製程流水號 As String)
@@ -2000,4 +1999,56 @@ Module SQL_技術管理系統
2000 1999
                 WHERE       製程流水號 LIKE N'" & 製程流水號 & "'"
2001 2000
         CmdSet_For_dr()
2002 2001
     End Sub
2002
+    Friend Sub SQL_生產日報控制表_精製組_讀取(生產日期 As String, 批次 As String)
2003
+        ConnOpen()
2004
+        SQL1 = "SELECT        控制流水號, 生產日期, 批次,運轉開始時間, 運轉結束時間, 合計時間, 人工人數, 備註, 製表簽名編碼, 課長簽名編碼, 
2005
+                              經理簽名編碼, 製表簽名時間, 課長簽名時間, 經理簽名時間,BHA, 丙二醇, TBHQ20, 維他命E, 
2006
+                              額外抗氧, 額外抗氧公斤, 柴油
2007
+                FROM          生產日報表_精製組
2008
+                WHERE         生產日期 ='" & 生產日期 & "' AND 批次 LIKE N'" & 批次 & "'"
2009
+        CmdSet_For_dr()
2010
+    End Sub
2011
+    Friend Sub SQL_生產日報控制表_精製組_圖片查詢_讀取(控制流水號 As String)
2012
+        ConnOpen()
2013
+        SQL1 = "SELECT      製表簽名編碼,  課長簽名編碼, 經理簽名編碼 
2014
+                FROM        生產日報表_精製組
2015
+                WHERE       控制流水號 LIKE N'" & 控制流水號 & "'"
2016
+        CmdSet_For_dr()
2017
+    End Sub
2018
+    Friend Sub SQL_生產日報控制表_精製組_新增(控制流水號 As String, 生產日期 As String, 批次 As String, 運轉開始時間 As String, 運轉結束時間 As String, 合計時間 As String,
2019
+                                              人工人數 As String, 備註 As String, 製表簽名編碼 As String, 課長簽名編碼 As String, 經理簽名編碼 As String, 製表簽名時間 As String,
2020
+                                              課長簽名時間 As String, 經理簽名時間 As String, BHA As String, 丙二醇 As String, TBHQ20 As String, 維他命E As String,
2021
+                                              額外抗氧 As String, 額外抗氧公斤 As String, 柴油 As String)
2022
+        ConnOpen()
2023
+        SQL1 = "INSERT INTO     生產日報表_精製組 (控制流水號, 生產日期,批次 ,運轉開始時間, 運轉結束時間, 合計時間, 人工人數, 備註, 製表簽名編碼, 
2024
+                                課長簽名編碼, 經理簽名編碼, 製表簽名時間, 課長簽名時間, 經理簽名時間,BHA, 丙二醇, TBHQ20, 維他命E, 
2025
+                            額外抗氧, 額外抗氧公斤, 柴油) 
2026
+                VALUES          (N'" & 控制流水號 & "', N'" & 生產日期 & "',N'" & 批次 & "', N'" & 運轉開始時間 & "', N'" & 運轉結束時間 & "', N'" & 合計時間 & "', 
2027
+                                 N'" & 人工人數 & "', N'" & 備註 & "', N'" & 製表簽名編碼 & "', N'" & 課長簽名編碼 & "', 
2028
+                                 N'" & 經理簽名編碼 & "', N'" & 製表簽名時間 & "', N'" & 課長簽名時間 & "', N'" & 經理簽名時間 & "',
2029
+                                 N'" & BHA & "', N'" & 丙二醇 & "', N'" & TBHQ20 & "', N'" & 維他命E & "', N'" & 額外抗氧 & "',
2030
+                                 N'" & 額外抗氧公斤 & "', N'" & 柴油 & "')"
2031
+        CmdSet_For_dr()
2032
+    End Sub
2033
+    Friend Sub SQL_生產日報控制表_精製組_更新(控制流水號 As String, 生產日期 As String, 批次 As String, 運轉開始時間 As String, 運轉結束時間 As String,
2034
+                   合計時間 As String, 人工人數 As String, 備註 As String, BHA As String, 丙二醇 As String, TBHQ20 As String, 維他命E As String,
2035
+                                              額外抗氧 As String, 額外抗氧公斤 As String, 柴油 As String)
2036
+        ConnOpen()
2037
+        SQL1 = "UPDATE   生產日報表_精製組 SET 運轉開始時間 = N'" & 運轉開始時間 & "', 運轉結束時間 = N'" & 運轉結束時間 & "', 合計時間 = N'" & 合計時間 & "'
2038
+                        , 人工人數 = N'" & 人工人數 & "', 備註 = N'" & 備註 & "',  BHA = N'" & BHA & "', 丙二醇 = N'" & 丙二醇 & "', TBHQ20 = N'" & TBHQ20 & "'
2039
+                        , 維他命E = N'" & 維他命E & "', 額外抗氧 = N'" & 額外抗氧 & "', 額外抗氧公斤 = N'" & 額外抗氧公斤 & "', 柴油 = N'" & 柴油 & "'
2040
+                WHERE   (控制流水號 LIKE N'" & 控制流水號 & "') AND (生產日期 LIKE N'" & 生產日期 & "') AND (批次 LIKE N'" & 批次 & "')"
2041
+        CmdSet_For_dr()
2042
+    End Sub
2043
+    Friend Sub SQL_製程管制精製組_抗氧化劑_讀取()
2044
+        ConnOpen()
2045
+        SQL1 = "SELECT 名稱,物料料號
2046
+                FROM  物料規格表 WHERE 種類 =N'抗氧化劑'"
2047
+        CmdSet_For_DGV()
2048
+    End Sub
2049
+    Friend Sub SQL_生產日報控制表_精製組_刪除(生產日期 As String, 批次 As String)
2050
+        ConnOpen()
2051
+        SQL1 = "DELETE FROM 生產日報表_精製組 WHERE 生產日期 ='" & 生產日期 & "' AND 批次 LIKE N'" & 批次 & "'"
2052
+        CmdSet_For_dr()
2053
+    End Sub
2003 2054
 End Module

+ 20
- 12
OW-ERP-SYS/OW-ERP-SYS.Designer.vb Vedi File

@@ -55,6 +55,8 @@ Partial Class OW_ERP_SYS
55 55
         Me.ToolStripSeparator3 = New System.Windows.Forms.ToolStripSeparator()
56 56
         Me.生產製程管制表_一般油脂_tsm = New System.Windows.Forms.ToolStripMenuItem()
57 57
         Me.生產日報表_一般油脂組_tsm = New System.Windows.Forms.ToolStripMenuItem()
58
+        Me.ToolStripSeparator6 = New System.Windows.Forms.ToolStripSeparator()
59
+        Me.生產製程管制表_精緻組_tsm = New System.Windows.Forms.ToolStripMenuItem()
58 60
         Me.ToolStripSeparator4 = New System.Windows.Forms.ToolStripSeparator()
59 61
         Me.設備點檢表_tsm = New System.Windows.Forms.ToolStripMenuItem()
60 62
         Me.ISO編碼表_tsm = New System.Windows.Forms.ToolStripMenuItem()
@@ -141,8 +143,7 @@ Partial Class OW_ERP_SYS
141 143
         Me.製程配方表_p = New System.Windows.Forms.Panel()
142 144
         Me.製程配方表_lb = New System.Windows.Forms.Label()
143 145
         Me.製程配方表_pb = New System.Windows.Forms.PictureBox()
144
-        Me.ToolStripSeparator6 = New System.Windows.Forms.ToolStripSeparator()
145
-        Me.生產製程管制表_精緻組_tsm = New System.Windows.Forms.ToolStripMenuItem()
146
+        Me.生產日報表_精製組_tsm = New System.Windows.Forms.ToolStripMenuItem()
146 147
         Me.MenuStrip.SuspendLayout()
147 148
         Me.StatusStrip1.SuspendLayout()
148 149
         Me.虛擬桌_pl.SuspendLayout()
@@ -285,7 +286,7 @@ Partial Class OW_ERP_SYS
285 286
         '
286 287
         '技術系統管理_tsm
287 288
         '
288
-        Me.技術系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.製程配方表_tsm, Me.ToolStripSeparator1, Me.生產製程表_tsm, Me.生產製程人力表_tsm, Me.生產備料表_tsm, Me.ToolStripSeparator2, Me.生產製程管制表_奶油組_tsm, Me.生產日報表_奶油組_tsm, Me.ToolStripSeparator3, Me.生產製程管制表_一般油脂_tsm, Me.生產日報表_一般油脂組_tsm, Me.ToolStripSeparator6, Me.生產製程管制表_精緻組_tsm, Me.ToolStripSeparator4, Me.設備點檢表_tsm, Me.ISO編碼表_tsm, Me.非登非追_tsm})
289
+        Me.技術系統管理_tsm.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.製程配方表_tsm, Me.ToolStripSeparator1, Me.生產製程表_tsm, Me.生產製程人力表_tsm, Me.生產備料表_tsm, Me.ToolStripSeparator2, Me.生產製程管制表_奶油組_tsm, Me.生產日報表_奶油組_tsm, Me.ToolStripSeparator3, Me.生產製程管制表_一般油脂_tsm, Me.生產日報表_一般油脂組_tsm, Me.ToolStripSeparator6, Me.生產製程管制表_精緻組_tsm, Me.生產日報表_精製組_tsm, Me.ToolStripSeparator4, Me.設備點檢表_tsm, Me.ISO編碼表_tsm, Me.非登非追_tsm})
289 290
         Me.技術系統管理_tsm.Font = New System.Drawing.Font("Microsoft JhengHei UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))
290 291
         Me.技術系統管理_tsm.ForeColor = System.Drawing.Color.Red
291 292
         Me.技術系統管理_tsm.Name = "技術系統管理_tsm"
@@ -363,6 +364,17 @@ Partial Class OW_ERP_SYS
363 364
         Me.生產日報表_一般油脂組_tsm.Size = New System.Drawing.Size(209, 22)
364 365
         Me.生產日報表_一般油脂組_tsm.Text = "生產日報表 一般油脂組"
365 366
         '
367
+        'ToolStripSeparator6
368
+        '
369
+        Me.ToolStripSeparator6.Name = "ToolStripSeparator6"
370
+        Me.ToolStripSeparator6.Size = New System.Drawing.Size(206, 6)
371
+        '
372
+        '生產製程管制表_精緻組_tsm
373
+        '
374
+        Me.生產製程管制表_精緻組_tsm.Name = "生產製程管制表_精緻組_tsm"
375
+        Me.生產製程管制表_精緻組_tsm.Size = New System.Drawing.Size(209, 22)
376
+        Me.生產製程管制表_精緻組_tsm.Text = "生產製程管制表 精製組"
377
+        '
366 378
         'ToolStripSeparator4
367 379
         '
368 380
         Me.ToolStripSeparator4.Name = "ToolStripSeparator4"
@@ -1174,16 +1186,11 @@ Partial Class OW_ERP_SYS
1174 1186
         Me.製程配方表_pb.TabIndex = 0
1175 1187
         Me.製程配方表_pb.TabStop = False
1176 1188
         '
1177
-        'ToolStripSeparator6
1178
-        '
1179
-        Me.ToolStripSeparator6.Name = "ToolStripSeparator6"
1180
-        Me.ToolStripSeparator6.Size = New System.Drawing.Size(206, 6)
1181
-        '
1182
-        '生產製程管制表_精緻組_tsm
1189
+        '生產日報表_精製組_tsm
1183 1190
         '
1184
-        Me.生產製程管制表_精緻組_tsm.Name = "生產製程管制表_精緻組_tsm"
1185
-        Me.生產製程管制表_精緻組_tsm.Size = New System.Drawing.Size(209, 22)
1186
-        Me.生產製程管制表_精緻組_tsm.Text = "生產製程管制表 精製組"
1191
+        Me.生產日報表_精製組_tsm.Name = "生產日報表_精製組_tsm"
1192
+        Me.生產日報表_精製組_tsm.Size = New System.Drawing.Size(209, 22)
1193
+        Me.生產日報表_精製組_tsm.Text = "生產日報表 精製組"
1187 1194
         '
1188 1195
         'OW_ERP_SYS
1189 1196
         '
@@ -1362,4 +1369,5 @@ Partial Class OW_ERP_SYS
1362 1369
     Friend WithEvents 成品入庫單_pb As PictureBox
1363 1370
     Friend WithEvents ToolStripSeparator6 As ToolStripSeparator
1364 1371
     Friend WithEvents 生產製程管制表_精緻組_tsm As ToolStripMenuItem
1372
+    Friend WithEvents 生產日報表_精製組_tsm As ToolStripMenuItem
1365 1373
 End Class

+ 5
- 0
OW-ERP-SYS/OW-ERP-SYS.vb Vedi File

@@ -432,6 +432,10 @@ Public Class OW_ERP_SYS
432 432
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
433 433
         重置() : 製程管制紀錄表_精製組.Show() : 製程管制紀錄表_精製組.BringToFront() : 虛擬桌面隱藏()
434 434
     End Sub
435
+    Private Sub 生產日報表_精製組_tsm_Click(sender As Object, e As EventArgs) Handles 生產日報表_精製組_tsm.Click
436
+        For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
437
+        重置() : 生產日報表_精製組.Show() : 生產日報表_精製組.BringToFront() : 虛擬桌面隱藏()
438
+    End Sub
435 439
 
436 440
     Private Sub 製程管制表_一般_pb_Click(sender As Object, e As EventArgs) Handles 製程管制表_一般_pb.Click
437 441
         生產製程管制表_一般油脂_tsm.PerformClick()
@@ -491,6 +495,7 @@ Public Class OW_ERP_SYS
491 495
     End Sub
492 496
 
493 497
 
498
+
494 499
     Private Sub 部門權限設定_tsm_Click(sender As Object, e As EventArgs) Handles 部門權限設定_tsm.Click
495 500
         For Each ChildForm As Form In Me.MdiChildren : ChildForm.Close() : Next
496 501
         重置() : 部門權限設定.Show() : 部門權限設定.BringToFront() : 虛擬桌面隱藏()

+ 9
- 0
OW-ERP-SYS/OW-ERP-SYS.vbproj Vedi File

@@ -177,6 +177,12 @@
177 177
     <Compile Include="05、技術管理系統\生產日報表_奶油組.vb">
178 178
       <SubType>Form</SubType>
179 179
     </Compile>
180
+    <Compile Include="05、技術管理系統\生產日報表_精製組.Designer.vb">
181
+      <DependentUpon>生產日報表_精製組.vb</DependentUpon>
182
+    </Compile>
183
+    <Compile Include="05、技術管理系統\生產日報表_精製組.vb">
184
+      <SubType>Form</SubType>
185
+    </Compile>
180 186
     <Compile Include="05、技術管理系統\製程管制紀錄表_一般組.Designer.vb">
181 187
       <DependentUpon>製程管制紀錄表_一般組.vb</DependentUpon>
182 188
     </Compile>
@@ -450,6 +456,9 @@
450 456
     <EmbeddedResource Include="05、技術管理系統\生產日報表_奶油組.resx">
451 457
       <DependentUpon>生產日報表_奶油組.vb</DependentUpon>
452 458
     </EmbeddedResource>
459
+    <EmbeddedResource Include="05、技術管理系統\生產日報表_精製組.resx">
460
+      <DependentUpon>生產日報表_精製組.vb</DependentUpon>
461
+    </EmbeddedResource>
453 462
     <EmbeddedResource Include="05、技術管理系統\製程管制紀錄表_一般組.resx">
454 463
       <DependentUpon>製程管制紀錄表_一般組.vb</DependentUpon>
455 464
     </EmbeddedResource>

BIN
OW-ERP-SYS/bin/Debug/OW-ERP-SYS.exe Vedi File


BIN
OW-ERP-SYS/bin/Debug/OW-ERP-SYS.pdb Vedi File


BIN
OW-ERP-SYS/obj/Debug/OW-ERP-SYS.pdb Vedi File


+ 1
- 1
OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.CoreCompileInputs.cache Vedi File

@@ -1 +1 @@
1
-6076a27de8d3ebb6fdaa88ac8f99b0f032c1e65b7d502d1af0ee1622e0ecab9e
1
+1e4a245190078fe53e22d6a8ada7158d611f8b6182559cc869395aa4fbf4c298

+ 1
- 0
OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.FileListAbsolute.txt Vedi File

@@ -272,3 +272,4 @@ D:\ow-erp-sys\OW-ERP-SYS\obj\Debug\OW-ERP-SYS.vbproj.Up2Date
272 272
 D:\ow-erp-sys\OW-ERP-SYS\obj\Debug\OW-ERP-SYS.exe
273 273
 D:\ow-erp-sys\OW-ERP-SYS\obj\Debug\OW-ERP-SYS.xml
274 274
 D:\ow-erp-sys\OW-ERP-SYS\obj\Debug\OW-ERP-SYS.pdb
275
+D:\ow-erp-sys\OW-ERP-SYS\obj\Debug\OW_ERP_SYS.生產日報表_精製組.resources

BIN
OW-ERP-SYS/obj/Debug/OW-ERP-SYS.vbproj.GenerateResource.cache Vedi File


BIN
OW-ERP-SYS/obj/Debug/OW_ERP_SYS.生產日報表_精製組.resources Vedi File


BIN
OW-ERP-SYS/obj/Debug/ow-erp-sys.exe Vedi File


Loading…
Annulla
Salva