From d972fbb5bb3a82fff82d965a29041461c090e715 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 01 八月 2024 19:48:52 +0800
Subject: [PATCH] 工艺绑定更新

---
 src/views/tigerprojects/system/lowcode/entityts/ProdRouteBinding.ts |    6 +++---
 src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts   |   37 ++++++++++++++++++++++---------------
 2 files changed, 25 insertions(+), 18 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/ProdRouteBinding.ts b/src/views/tigerprojects/system/lowcode/entityts/ProdRouteBinding.ts
index 0e2fc84..0ebed4b 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/ProdRouteBinding.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/ProdRouteBinding.ts
@@ -4,7 +4,7 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-08-01 19:24:46
+ * @LastEditTime: 2024-08-01 19:47:19
  */
 
 import { Ref, h, ref, render, unref } from 'vue';
@@ -260,7 +260,7 @@
           break;
         case 'pkgadd':
           value = {
-            pkgRULE_CODE: d.values['val'],
+            PKG_CODE: d.values['val'],
           };
           break;
         case 'addRoute':
@@ -863,7 +863,7 @@
       colSlot: 'printadd',
     },
     {
-      field: 'pkgRULE_CODE',
+      field: 'PKG_CODE',
       label: '鍖呰瑙勫垯',
       colProps: { span: 11 },
       component: 'Input',
diff --git a/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts b/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts
index 71679d6..0d84b3d 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts
@@ -4,7 +4,7 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-08-01 11:25:16
+ * @LastEditTime: 2024-08-01 19:46:42
  */
 
 import { Ref, h, ref, render, unref } from 'vue';
@@ -279,8 +279,9 @@
           break;
         case 'pkgadd':
           value = {
-            pkgRULE_CODE: d.values['val'],
+            PKG_CODE: d.values['val'],
           };
+          break;
         case 'addRoute':
           if (isNullOrEmpty(args[1]['CODE'])) {
             createErrorModal({
@@ -345,6 +346,12 @@
         addRoute: useModal(),
         addCustomer: useModal(),
         editRoute: useModal(),
+        scanadd: useModal(),
+        assyadd: useModal(),
+        testadd: useModal(),
+        auditadd: useModal(),
+        printadd: useModal(),
+        pkgadd: useModal(),
       };
     },
     /**
@@ -827,7 +834,7 @@
       field: 'RULE_CODE',
       label: '鎵爜楠岃瘉',
       component: 'Input',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       ifShow: ({ values }) => isScan(values.ACT_TYPE),
     },
     {
@@ -835,14 +842,14 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isScan(values.ACT_TYPE),
       colSlot: 'scanadd',
     },
     {
       field: 'ITEM_CODE',
       label: '缁勮涓婃枡',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       component: 'Input',
       ifShow: ({ values }) => isAssy(values.ACT_TYPE),
     },
@@ -851,14 +858,14 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isAssy(values.ACT_TYPE),
       colSlot: 'assyadd',
     },
     {
       field: 'TEST_CODE',
       label: '浜у搧娴嬭瘯',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       component: 'Input',
       ifShow: ({ values }) => isTest(values.ACT_TYPE),
     },
@@ -867,14 +874,14 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isTest(values.ACT_TYPE),
       colSlot: 'testadd',
     },
     {
       field: 'SAPL_CODE',
       label: '浜у搧鎶芥',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       component: 'Input',
       ifShow: ({ values }) => isAudit(values.ACT_TYPE),
     },
@@ -883,14 +890,14 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isAudit(values.ACT_TYPE),
       colSlot: 'auditadd',
     },
     {
       field: 'LABEL_CODE',
       label: '鏍囩鎵撳嵃',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       component: 'Input',
       ifShow: ({ values }) => isPrint(values.ACT_TYPE),
     },
@@ -899,14 +906,14 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isPrint(values.ACT_TYPE),
       colSlot: 'printadd',
     },
     {
-      field: 'pkgRULE_CODE',
+      field: 'PKG_CODE',
       label: '鍖呰瑙勫垯',
-      colProps: { span: 10 },
+      colProps: { span: 11 },
       component: 'Input',
       ifShow: ({ values }) => isPackage(values.ACT_TYPE),
     },
@@ -915,7 +922,7 @@
       label: '1',
       defaultValue: '',
       component: 'Input',
-      colProps: { span: 2, pull: 1 },
+      colProps: { span: 1, pull: 1 },
       ifShow: ({ values }) => isPackage(values.ACT_TYPE),
       colSlot: 'pkgadd',
     },

--
Gitblit v1.9.3