From efcc2e97beb8c3b05f422fe7efafa059447473de Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期四, 01 八月 2024 17:23:58 +0800
Subject: [PATCH] 产品绑定工艺路线更新

---
 src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts |   22 +++++-----------------
 1 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts b/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts
index d412c34..dda5d59 100644
--- a/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts
+++ b/src/views/tigerprojects/system/lowcode/entityts/BIZ_MES_WO.ts
@@ -4,15 +4,13 @@
  * @version:
  * @Date: 2024-06-19 20:34:27
  * @LastEditors: Ben Lin
- * @LastEditTime: 2024-07-22 16:38:10
+ * @LastEditTime: 2024-07-25 21:46:26
  */
 
 import { Ref, h, ref, render, unref } from 'vue';
 import { GetEnum, SaveEntity, convertToTree, getEntity } from '/@/api/tigerapi/system';
 import { useLocale } from '/@/locales/useLocale';
-import { isNullOrEmpty, isNullOrUnDef } from '/@/utils/is';
 import { useI18n } from '/@/hooks/web/useI18n';
-import { NavItem } from '/@/api/tigerapi/model/basModel';
 import { useMessage } from '/@/hooks/web/useMessage';
 import { useModal } from '/@/components/Modal';
 import { ActionItem, BasicColumn, FormSchema } from '/@/components/Table';
@@ -22,8 +20,6 @@
 import { CustModalParams, FunctionType } from '/@/api/tigerapi/model/systemModel';
 import { SaveMesBatchWo } from '/@/api/tigerapi/mes/wo';
 import { useForm } from '/@/components/Form/index';
-import { uploadApi } from '/@/api/sys/upload';
-import { initRoute } from '../data';
 import { SP_MES_PROD2WO } from '/@/api/tigerapi/mes/router';
 import { cloneDeep } from 'lodash-es';
 
@@ -31,14 +27,6 @@
 const { createErrorModal } = useMessage();
 const { getLocale } = useLocale();
 function _default() {
-  /* 瀹氫箟鍙橀噺 */
-  const isNormal = (type: number) => type === 0;
-  const isScan = (type: number) => type === 1;
-  const isAssy = (type: number) => type === 2;
-  const isTest = (type: number) => type === 3;
-  const isAudit = (type: number) => type === 4;
-  const isPrint = (type: number) => type === 5;
-  const isPackage = (type: number) => type === 6;
   const ActionColumn: BasicColumn = {
     width: 180,
     title: '鎿嶄綔',
@@ -55,7 +43,7 @@
      * @description: 鑾峰彇鏂板鎸夐挳鐨勮涓�
      * @return {*}
      */
-    CreateAction: (fnName: string) => {
+    CreateAction: (type: string) => {
       return {
         action: 'drawer', //drawer(鎵撳紑宸︿晶鎶藉眽妗�) | go(璺宠浆鍒版柊鐨勯〉闈�)
       };
@@ -332,7 +320,7 @@
               CUST_CODE: wo.CUST_CODE,
               FACTORY: wo.FACTORY,
               WS_CODE: wo.WS_CODE,
-              ACT_LINE: form.PLAN_LINE,
+              ACT_LINE: form.ACT_LINE,
               STD_WORKER_QTY: wo.STD_WORKER_QTY,
               ACT_WORKER_QTY: wo.ACT_WORKER_QTY,
               RELEASE_TIME: new Date(),
@@ -486,8 +474,8 @@
       },
     },
     {
-      label: '璁″垝浜х嚎',
-      field: 'PLAN_LINE',
+      label: '瀹為檯浜х嚎',
+      field: 'ACT_LINE',
       component: 'ApiSelect',
       required: true,
       colProps: {

--
Gitblit v1.9.3