Ben Lin
2025-03-08 697c405ac874da346e74df40266763370355154d
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 [];