/*
|
* @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
|
}
|