From 15b3879cd259108e7ebb755fe02c190f28f1e20c Mon Sep 17 00:00:00 2001
From: leiqunqing <zhengqifeng@hnkhzn.com>
Date: 星期五, 06 二月 2026 14:46:23 +0800
Subject: [PATCH] 完善项目

---
 代码管理/WIDESEAWCS_Client/src/views/basicinfo/processInfoDetail.vue |  317 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 295 insertions(+), 22 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/processInfoDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/processInfoDetail.vue"
index 5800e3f..f267713 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/processInfoDetail.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WIDESEAWCS_Client/src/views/basicinfo/processInfoDetail.vue"
@@ -19,6 +19,7 @@
 
 export default defineComponent({
   setup() {
+    // 琛ㄦ牸鍩虹閰嶇疆 - 鏂板榛樿鍊掑簭銆佺粺涓�瑙勮寖
     const table = ref({
       key: "id",
       footer: "Foots",
@@ -26,40 +27,116 @@
       name: "processInfoDetail",
       url: "/processInfoDetail/",
       sortName: "createDate",
+      sortOrder: "desc", // 鏂板锛氬垱寤烘椂闂撮粯璁ゅ�掑簭锛屽拰涓婚〉闈繚鎸佷竴鑷�
     });
 
+    // 缂栬緫琛ㄥ崟瀛楁 - 鍚屾涓婚〉闈紝鏂板pressPressure锛堝帇瑁呭帇鍔涳級锛屽尮閰嶅悗绔疄浣�
     const editFormFields = ref({
       id: "",
       palletCode: "",
       productCode: "",
       productName: "",
+      productSn: "", // 娴佹按鍙�
+      pressTightenNg: "", // 鍘嬭鎷х揣_鎷х揣NG
+      pressTightenOk: "", // 鍘嬭鎷х揣_鎷х揣OK
+      pressTightenUnfinished: "", // 鍘嬭鎷х揣_鏈鍔犲伐鏈畬鎴�
+      checkUnfinished: "", // 妫�娴媉鏈妫�娴嬫湭瀹屾垚
+      pressHeight: "", // 鍘嬭浣嶄笅鍘嬮珮搴�
+      screwTorque: "", // 鍘嬭浣嶆嫥绱ф壄鍔�
+      screwAngle: "", // 鍘嬭浣嶆嫥绱ц搴�
+      pressPressure: "", // 銆愭柊澧炪�戝帇瑁呬綅涓嬪帇鍘嬪姏锛堝尮閰嶅悗绔疄浣擄級
+      height1: "", // 鎷х揣浣嶆娴嬮珮搴�1
+      height2: "", // 鎷х揣浣嶆娴嬮珮搴�2
+      height3: "", // 鎷х揣浣嶆娴嬮珮搴�3
     });
 
+    // 缂栬緫琛ㄥ崟閰嶇疆 - 鍙栨秷鍐椾綑鍒嗙被銆佸潎鍖�鎺掑竷锛屾柊澧炲帇瑁呭帇鍔涢」锛岃ˉ鍏ㄩ粯璁ゅ��/鏍¢獙锛岀粺涓�瀹藉害
     const editFormOptions = ref([
+      // 绗竴琛岋細鍩虹鏍囪瘑锛屽搴﹀崗璋冿紝鍜屼富椤甸潰甯冨眬涓�鑷�
       [
         {
           title: "宸ヨ鏉跨紪鍙�",
           field: "palletCode",
           type: "input",
-          width: 200,
+          width: 160,
           require: true,
+          placeholder: "璇疯緭鍏ュ伐瑁呮澘缂栧彿",
         },
         {
           title: "鎴愬搧缂栧彿",
           field: "productCode",
           type: "input",
-          width: 200,
+          width: 160,
           require: true,
+          placeholder: "璇疯緭鍏ユ垚鍝佺紪鍙�",
         },
         {
           title: "鎴愬搧鍚嶇О",
           field: "productName",
           type: "input",
-          width: 200,
+          width: 160,
           require: true,
+          placeholder: "璇疯緭鍏ユ垚鍝佸悕绉�",
+        },
+        {
+          title: "娴佹按鍙�",
+          field: "productSn",
+          type: "input",
+          width: 180,
+          require: false,
+          placeholder: "璇疯緭鍏ヤ骇鍝佹祦姘村彿",
         },
       ],
+      // 绗簩琛岋細4涓姸鎬佸垪+涓婚敭锛岃ˉ鍏ㄩ粯璁ゅ��0锛堝惁锛夛紝缁熶竴瀹藉害/瀵归綈锛岄殣钘忎富閿�
       [
+        {
+          title: "鎷х揣NG",
+          field: "pressTightenNg",
+          type: "select",
+          width: 150,
+          align: "center",
+          defaultValue: "0", // 鏂板榛樿鍊硷紝鍜屼富椤甸潰涓�鑷�
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+        {
+          title: "鎷х揣OK",
+          field: "pressTightenOk",
+          type: "select",
+          width: 150,
+          align: "center",
+          defaultValue: "0", // 鏂板榛樿鍊�
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+        {
+          title: "鎷х揣鏈畬鎴�",
+          field: "pressTightenUnfinished",
+          type: "select",
+          width: 170,
+          align: "center",
+          defaultValue: "0",
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+        {
+          title: "妫�娴嬫湭瀹屾垚",
+          field: "checkUnfinished",
+          type: "select",
+          width: 150,
+          align: "center",
+          defaultValue: "0", // 鏂板榛樿鍊硷紝缁熶竴瑙勮寖
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
         {
           title: "涓婚敭ID",
           field: "id",
@@ -69,90 +146,286 @@
           readonly: true,
         },
       ],
+      [
+        {
+          title: "鍘嬭楂樺害",
+          field: "pressHeight",
+          type: "input",
+          inputType: "number",
+          width: 160,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+        {
+          title: "鍘嬭鍘嬪姏",
+          field: "pressPressure", // 鏂板鍘嬭鍘嬪姏椤�
+          type: "input",
+          inputType: "number",
+          width: 160,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+        {
+          title: "鍘嬭鎵姏",
+          field: "screwTorque",
+          type: "input",
+          inputType: "number",
+          width: 160,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+        {
+          title: "鎷х揣瑙掑害",
+          field: "screwAngle",
+          type: "input",
+          inputType: "number",
+          width: 160,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+      ],
+      // 绗簲琛岋細鎷х揣浣嶆娴嬮珮搴︼紝灏忔暟鏍¢獙锛屽眳涓帓甯冿紝缁熶竴瀹藉害
+      [
+        {
+          title: "妫�娴嬮珮搴�1",
+          field: "height1",
+          type: "input",
+          inputType: "number",
+          width: 200,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+        {
+          title: "妫�娴嬮珮搴�2",
+          field: "height2",
+          type: "input",
+          inputType: "number",
+          width: 200,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+        {
+          title: "妫�娴嬮珮搴�3",
+          field: "height3",
+          type: "input",
+          inputType: "number",
+          width: 200,
+          require: false,
+          attrs: { step: 0.01, min: 0 },
+          placeholder: "淇濈暀2浣嶅皬鏁�",
+        },
+      ],
     ]);
 
+    // 鎼滅储琛ㄥ崟瀛楁 - 淇濇寔鍜屼富椤甸潰銆佸師鏈変唬鐮佷竴鑷达紝鏍稿績鎼滅储椤规棤璋冩暣
     const searchFormFields = ref({
       palletCode: "",
       productCode: "",
       productName: "",
+      productSn: "", // 娴佹按鍙锋悳绱�
       creater: "",
       createDate: "",
     });
 
+    // 鎼滅储琛ㄥ崟閰嶇疆 - 浼樺寲瀹藉害鍖归厤甯冨眬锛屽拰涓婚〉闈㈠畬鍏ㄤ竴鑷�
     const searchFormOptions = ref([
       [
-        { title: "宸ヨ鏉跨紪鍙�", field: "palletCode", type: "like" },
-        { title: "鎴愬搧缂栧彿", field: "productCode", type: "like" },
-        { title: "鎴愬搧鍚嶇О", field: "productName", type: "like" },
+        { title: "宸ヨ鏉跨紪鍙�", field: "palletCode", type: "like", width: 180 },
+        { title: "鎴愬搧缂栧彿", field: "productCode", type: "like", width: 180 },
+        { title: "鎴愬搧鍚嶇О", field: "productName", type: "like", width: 180 },
+        { title: "娴佹按鍙�", field: "productSn", type: "like", width: 200 },
       ],
       [
-        { title: "鍒涘缓浜�", field: "creater", type: "like" },
-        { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime" },
+        { title: "鍒涘缓浜�", field: "creater", type: "like", width: 200 },
+        { title: "鍒涘缓鏃堕棿", field: "createDate", type: "datetime", width: 380 },
       ],
     ]);
 
+    // 琛ㄦ牸鍒楅厤缃� - 銆愭柊澧瀙ressPressure鍒椼�戯紝缁熶竴鍒楀悕/瀹藉害/绫诲瀷锛屼慨澶嶉瀛楁瘝澶у啓闂锛屼紭鍖栧榻�
     const columns = ref([
       {
         field: "id",
         title: "搴忓彿",
         type: "int",
-        width: 90,
+        width: 80,
         hidden: true,
-        readonly: true,
-        require: true,
-        align: "left",
+        align: "center",
       },
       {
         field: "palletCode",
         title: "宸ヨ鏉跨紪鍙�",
         type: "string",
-        width: 200,
+        width: 140,
         align: "left",
       },
       {
         field: "productCode",
         title: "鎴愬搧缂栧彿",
         type: "string",
-        width: 200,
+        width: 140,
         align: "left",
       },
       {
         field: "productName",
         title: "鎴愬搧鍚嶇О",
         type: "string",
-        width: 200,
+        width: 150,
         align: "left",
       },
+      {
+        field: "productSn",
+        title: "娴佹按鍙�",
+        type: "string",
+        width: 180,
+        align: "left",
+        overflow: "ellipsis",
+      },
+      // 4涓姸鎬佸垪 - 淇鍘熸湁PressTightenNg棣栧瓧姣嶅ぇ鍐欓棶棰橈紝缁熶竴瑙勮寖
+      {
+        field: "pressTightenNg",
+        title: "鎷х揣NG",
+        type: "select",
+        width: 120,
+        align: "center",
+        bind: {
+          key: "value",
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+      },
+      {
+        field: "pressTightenOk",
+        title: "鎷х揣OK",
+        type: "select",
+        width: 120,
+        align: "center",
+        bind: {
+          key: "value",
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+      },
+      {
+        field: "pressTightenUnfinished",
+        title: "鎷х揣鏈畬鎴�",
+        type: "select",
+        width: 140,
+        align: "center",
+        bind: {
+          key: "value",
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+      },
+      {
+        field: "checkUnfinished",
+        title: "妫�娴嬫湭瀹屾垚",
+        type: "select",
+        width: 120,
+        align: "center",
+        bind: {
+          key: "value",
+          data: [
+            { key: "0", value: "鍚�" },
+            { key: "1", value: "鏄�" },
+          ],
+        },
+      },
+      {
+        field: "pressHeight",
+        title: "鍘嬭楂樺害",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      {
+        field: "pressPressure", // 鏂板鍘嬭鍘嬪姏鍒�
+        title: "鍘嬭鍘嬪姏",
+        type: "decimal",
+        width: 100,
+        align: "center",
+        columnDescription: "鍘嬭浣嶄笅鍘嬪帇鍔�",
+      },
+      {
+        field: "screwTorque",
+        title: "鍘嬭鎵姏",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      {
+        field: "screwAngle",
+        title: "鎷х揣瑙掑害",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      // 鎷х揣浣嶆娴嬮珮搴�
+      {
+        field: "height1",
+        title: "妫�娴嬮珮搴�1",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      {
+        field: "height2",
+        title: "妫�娴嬮珮搴�2",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      {
+        field: "height3",
+        title: "妫�娴嬮珮搴�3",
+        type: "decimal",
+        width: 100,
+        align: "center",
+      },
+      // 鍏叡瀛楁 - 鍒涘缓/淇敼淇℃伅锛屽拰涓婚〉闈竴鑷�
       {
         field: "creater",
         title: "鍒涘缓浜�",
         type: "string",
-        width: 90,
-        align: "left",
+        width: 80,
+        align: "center",
       },
       {
         field: "createDate",
         title: "鍒涘缓鏃堕棿",
         type: "datetime",
-        width: 150,
-        align: "left",
+        width: 160,
+        align: "center",
       },
       {
         field: "modifier",
         title: "淇敼浜�",
         type: "string",
-        width: 100,
-        align: "left",
+        width: 80,
+        align: "center",
       },
       {
         field: "modifyDate",
         title: "淇敼鏃堕棿",
         type: "datetime",
         width: 160,
-        align: "left",
+        align: "center",
       },
     ]);
 
+    // 鏃犱簩绾ф槑缁嗭紝淇濇寔绌洪厤缃笉鍙�
     const detail = ref({
       cnName: "",
       table: "",

--
Gitblit v1.9.3