ソースを参照

update

master
cyril.tsui 2ヶ月前
コミット
dd10c0e13d
3個のファイルの変更8行の追加2行の削除
  1. +1
    -0
      src/app/api/jo/actions.ts
  2. +1
    -0
      src/app/api/jo/index.ts
  3. +6
    -2
      src/components/JoSearch/JoSearch.tsx

+ 1
- 0
src/app/api/jo/actions.ts ファイルの表示

@@ -32,6 +32,7 @@ export interface SearchJoResultResponse {
export interface SearchJoResult {
id: number;
code: string;
itemCode: string;
name: string;
reqQty: number;
uom: string;


+ 1
- 0
src/app/api/jo/index.ts ファイルの表示

@@ -23,6 +23,7 @@ export interface Machine {
export interface JoDetail {
id: number;
code: string;
itemCode: string;
name: string;
reqQty: number;
uom: string;


+ 6
- 2
src/components/JoSearch/JoSearch.tsx ファイルの表示

@@ -38,7 +38,7 @@ const JoSearch: React.FC<Props> = ({ defaultInputs, bomCombo }) => {

const searchCriteria: Criterion<SearchParamNames>[] = useMemo(() => [
{ label: t("Code"), paramName: "code", type: "text" },
{ label: t("Name"), paramName: "name", type: "text" },
{ label: t("Item Name"), paramName: "name", type: "text" },
], [t])

const columns = useMemo<Column<SearchJoResult>[]>(
@@ -53,9 +53,13 @@ const JoSearch: React.FC<Props> = ({ defaultInputs, bomCombo }) => {
name: "code",
label: t("Code")
},
{
name: "itemCode",
label: t("Item Code")
},
{
name: "name",
label: t("Name"),
label: t("Item Name"),
},
{
name: "reqQty",


読み込み中…
キャンセル
保存