From ec0d91353b767f089fa72f3cd1eb62568852710b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 22 八月 2024 10:39:30 +0800 Subject: [PATCH] 工单管理增加取消下发功能 --- src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts b/src/views/tigerprojects/system/lowcode/entityts/WoRouteBinding.ts index 92ff1d9..9aea2d6 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-13 16:05:42 + * @LastEditTime: 2024-08-21 23:20:38 */ import { Ref, h, ref, render, unref } from 'vue'; @@ -275,6 +275,7 @@ CUST_CODE: params['selectedNodes'][0].cust, PROD_CODE: params['selectedNodes'][0].prod, OPTION_1: res.Data.Items[0].OPTION_1, + OPTION_2: res.Data.Items[0].OPTION_2, }); /* 濡傛灉鏄寘瑁呰鍒� */ if (res.Data.Items[0].ACT_TYPE == 6) { @@ -658,7 +659,7 @@ SP_MES_WO2CUST({ wo: args[2][0]['wo'] }); break; case 'editRoute': - args[1](true, { rotId: args[2][0].wo, slotName: '', rotType: 'Wo' }); + args[1](true, { rotId: args[2][0].wo, slotName: '', rotType: 'Wo', prodCode:args[3],custCode:args[2][0].cust }); break; } }, @@ -1271,6 +1272,28 @@ colSlot: 'pkgadd', }, { + field: 'OPTION_2', + label: '鏄惁绉伴噸', + required: true, + component: 'Select', + colProps: { span: 12 }, + ifShow: ({ values }) => isPackage(values.ACT_TYPE), + componentProps: { + options: [ + { + label: '鏄�', + value: 'Y', + key: 'Y', + }, + { + label: '鍚�', + value: 'N', + key: 'N', + }, + ], + }, + }, + { field: 'REMARK', label: '澶囨敞', component: 'Input', -- Gitblit v1.9.3