From 697c405ac874da346e74df40266763370355154d Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期六, 08 三月 2025 15:40:25 +0800 Subject: [PATCH] ASN单 --- src/views/tigerprojects/system/lowcode/entityts/BIZ_U9_ASN_DTL.ts | 54 +++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src/views/tigerprojects/system/lowcode/entityts/BIZ_U9_ASN_DTL.ts b/src/views/tigerprojects/system/lowcode/entityts/BIZ_U9_ASN_DTL.ts index 2216bdb..bb83fe6 100644 --- a/src/views/tigerprojects/system/lowcode/entityts/BIZ_U9_ASN_DTL.ts +++ b/src/views/tigerprojects/system/lowcode/entityts/BIZ_U9_ASN_DTL.ts @@ -84,14 +84,22 @@ sorter: true, resizable: true, }, - // { - // dataIndex: 'BATCH_NO', - // title: '宸ュ崟鎵规鍙�', - // ifShow: true, - // sorter: true, - // resizable: true, - // customRender: () => {}, - // }, + { + dataIndex: 'ITEM_CODE', + title: '鐗╂枡缂栫爜', + ifShow: true, + sorter: true, + resizable: true, + customRender: () => {}, + }, + { + dataIndex: 'ITEM_NAME', + title: '鐗╂枡鍚嶇О', + ifShow: true, + sorter: true, + resizable: true, + customRender: () => {}, + }, { dataIndex: 'STATUS', title: '鐘舵��', @@ -220,15 +228,27 @@ ]; } }, - GetSearchForm: () => { - return [ - { - field: 'ORDER_NO', - label: t('鍗曟嵁鍙�'), - colProps: { span: 8 }, - component: 'Input', - }, - ]; + GetSearchForm: (type: string) => { + switch (type) { + case 'BIZ_U9_ASN_DTL': + return [ + { + field: 'ORDER_NO', + label: t('鍗曟嵁鍙�'), + colProps: { span: 8 }, + component: 'Input', + }, + ]; + case 'BIZ_U9_ASN_SN': + return [ + { + field: 'ORDER_NO', + label: t('鍗曟嵁鍙�'), + colProps: { span: 8 }, + component: 'Input', + }, + ]; + }; }, GetCrudForm: () => { return []; -- Gitblit v1.9.3