Your Name
2023-01-30 d8afe78f6a31bf0cf6743f85fb05a121f541c6aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
export interface GoodsDetailStateType {
    goodsDetailData: GoodsDetailDataType [];
    departmentList: DepartmentType [];
    irStatusList: Type [];
    listQuery:{
        pageSize: number;
        pageIndex: number;
        searchParams: {
            irStatus: number | null;
            rfid: string | null;
            smId: number | null;
        }
    },
    checkOutQuery: {
        id: null | number;
        claimantId: null | boolean;
    };
    checkInQuery: {
        id?: null | number;
        ids?: Array<number>;
    };
    checkOutNames: string;
    total: number;
}
 
export interface GoodsDetailEditType {
    title: string;
    depId: null | number;
    loading: boolean;
    classifyId: null | number;
    goodsDetailEditVisible?: boolean;
    goodsDetailForm: GoodsDetailEditFormType;
    goodsDetailRules: {};
    departmentList: DepartmentType [];
    classifyList: Array<ClassificationListType>;
    goodsList: Array<BaseMaterialListType>;
}
 
export interface GoodsDetailAddType extends GoodsDetailEditType{
    goodsDetailAddVisible: boolean;
    RFID: string;
    startRfid: string;
    endRfid: string;
}
 
export interface GoodsDetailEditFormType {
    id:  null | number;
    rfid?:  null | string;
    startRfid?:  null | string;
    endRfid?:  null | string;
    wareHousingCount?:  null | number;
    smId: null | number;
    validType: null | number;
    validTime: null | string;
}
 
export interface GoodsDetailDataType extends GoodsDetailEditFormType{
    name: string | null;
    depId: null | number;
    bigClassifyId: null | number;
}
 
export interface Type {
    id: number;
    name: string;
}
 
export interface DepartmentType {
    depId: number;
    depName: string;
    classificationList: Array<ClassificationListType>;
}
 
export interface ClassificationListType {
    baseMaterialList: Array<BaseMaterialListType>;
    materialClassifyId: number;
    materialClassifyName: string;
}
 
export interface BaseMaterialListType {
    materialName: string;
    smId: number;
}
 
 
export interface checkOutStateType {
    title: string;
    loading: boolean;
    checkOutDialogVisible: boolean;
    materialName: string;
    checkOutForm: {
        id?: null | number;
        receiveUid: null | number;
        ids?: Array<number>;
    };
    // checkOutMoreForm: {
    //     ids: Array<number>;
    //     claimantId: null | boolean;
    // }
    userList: []
}