Newer
Older
smart-metering-front / src / views / customer / customerInfo / customer_interface.ts
// 列表查询条件
export interface ICustomerQuery {
  businessSize: string // 业务规模
  customerName: string // 公司名称
  customerNo: string // 客户编号
  grade: string // 履约评级
  offset: number
  limit: number
}

// 客户人员
export interface CustomerPerson {
  id?: number | string // id
  customerId?: string // 客户登录id
  job: string // 职务
  department: string// 部门
  name: string// 姓名
  phone: string// 联系方式
  userNo?: string // 人员编号
  editable?: boolean // 是否可编辑
  [key: string]: any
}

// 客户信息-列表
export interface ICustomer {
  businessContent: string // 业务内容
  customerName: string // 公司名称
  customerNo: string //	客户编号(列表、更新接口参数)
  bankAccount: string // 银行账户名
  bankAccountNumber: string // 银行账号
  bankName: string // 银行名称
  briefName: string // 公司简称
  businessScope: string // 公司业务范围
  grade: string // 履约评级
  gradeName?: string // 履约评级
  companySize: string // 公司规模
  companySizeName?: string // 公司规模
  businessSize: string // 业务规模
  businessSizeName?: string // 业务规模
  evaluation: string // 整体评价
  evaluationName?: string // 整体评价
  companyAddressBref?: string // 公司地址-拼接省市
  fullAddress: string // 公司地址-详细地址
  addressArea: string // 公司地址-区
  addressCity: string //	公司地址-市
  addressCountry: string // 公司地址-国家
  addressProvince: string // 公司地址-省
  addressAreaName: string // 公司地址-区
  addressCityName: string //	公司地址-市
  addressCountryName: string // 公司地址-国家
  addressProvinceName: string // 公司地址-省
  createTime?: string // 创建时间
  director: string // 负责人
  id: string // 主键id(列表、更新接口参数)
  fax: string // 传真
  invoiceFullAddress: string // 开票地址-详细地址
  invoiceArea: string // 开票地址-区
  invoiceCity: string //	开票地址-市
  invoiceCountry: string // 开票地址-国家
  invoiceProvince: string // 开票地址-省
  invoiceAreaName: string // 开票地址-区
  invoiceCityName: string //	开票地址-市
  invoiceCountryName: string // 开票地址-国家
  invoiceProvinceName: string // 开票地址-省
  email: string // 邮箱
  minioFileName: string // 上传文件返回名称
  mobile: string // 手机
  phone: string // 电话
  postalCode: string //	邮编
  remark: string // 备注
  taxNumber: string // 税号
  website: string //	网址
  customerUserList: CustomerPerson[] // 客户人员列表
}

// 样品记录列表
export interface SimpleSample {
  sampleCode: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 样品型号
  manufacturingNo: string // 出厂编号
  mesureTime: string // 上次检定日志
  mesurePeriod: string // 检定周期
}

// 合同
export interface SimpleContract {
  contractCode: string // 合同编号
  contractName: string // 合同名称
  contractPrice: string // 合同金额
  contractStatus: string // 合同状态
  contractTime: string // 合同时间
  aCompanyDutyman: string // 负责人
}

// 检定记录
export interface SimpleMeasureRecord {
  orderCode: string // 委托单编号
  orderTime: string // 委托单日期
  customerCode: string // 委托人代码
  customerName: string // 委托人名称
  deliverer: string // 送检人
  deliverTime: string // 送检日期
}

// 检定证书
export interface SimpleCertification {
  certificationCode: string // 证书编号
  certificationName: string // 证书名称
  certificationType: string // 证书类型
  effectiveDate: string // 证书出具日期
  expirationDate: string // 证书有效期
}