Bang Hu
1 天以前 8a709ba6db50831048f9c3e2452ea6dc6c3de36f
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
/*
 * @Description:采购模块接口类型定义
 * @Version: 2.0
 * @Autor: wuyun
 * @Date: 2022-08-01 15:58:16
 * @LastEditors: wuyun
 * @LastEditTime: 2022-08-09 16:36:37
 */
import { PageQueryParam, PageResult } from '../base'
 
/**
 * 供应商列表项声明
 */
export interface SupplierItem {
    id: string
    supplierName: string
    province: string
    product: string
    status: string
    contact: string
    contactPhone: string
    lastOrderDate?: string
    loading?: boolean //额外加的字段,前端用
    children?: SupplierProductItem[] //额外加的字段,前端用
}
/**
 * 供应商产品列表项声明
 */
export interface SupplierProductItem {
    id?: string
    productCategory: string
    productModel?: string
    supplyPeriod?: string
    unitPrice: string
    unit: string
    remark?: string
    lastOrderDate?: string | null
    isEdit?: boolean
    loading?: boolean
    supplierId?: string
}
/**
 * 用户表单类型声明
 */
export interface SupplierFormData {
    id?: string
    name: string
    areaCode: string
    status: string
    statusName?: string
    taxpayerId: string
    bankDeposit: string
    legalPerson: string
    account: string
    registeredCapital?: string
    fax?: string
    website?: string
    remark?: string
    businessScope?: string
    address: string
    allArea?: string
}
export interface SupplierContact {
    id?: string
    name: string
    supplierId?: string
    phone: string
    sort?: number
    isEdit?: boolean
    loading?: boolean
}