// 单位
interface UnitItem {
    disable: boolean;
    id: number;
    isClosed: boolean;
    name: string;
    precision: number;
    roundoffType: number;
}
interface SupplierItem {
    id: number;
    code: string;
    name: string;
    disable: boolean;
}
interface WarehouseAllItem {
    id: number;
    name: string;
    code: null;
    contacts: string;
    contactsId: number;
    useOrgId: null;
    customerWarehouseTag: boolean;
    tempTransferWarehouse: number;
    defaultReplenishCustomer: number;
    customerId: number;
    stockType: number;
    disable: boolean;
}

// 用户
interface UserList {
    id: number;
    code: null;
    name: string;
    number: number;
    disable: boolean;
}
interface DropDownAllItem {
    id: 15756737;
    level: 2;
    name: "jx_cs_15_01";
    number: "123456";
}
//物料分类
export interface DropDownAll {
    groupNameList: DropDownAllItem;
    chinds: DropDownAllItem[];
}
//汇率
export interface TaxRate {
    disable: boolean;
    id: number;
    name: string;
}
//对外暴露
export interface MainState {
    unit: UnitItem[];
    supplier: SupplierItem[];
    warehouseAll: WarehouseAllItem[];
    userList: UserList[];
    dropDownAll: DropDownAll[];
    taxRate: TaxRate[];
}
