Newer
Older
vue3-front / src / views / business / schedule / interchange / interchange_interface.ts
dutingting on 2 Feb 2023 3 KB 编辑详情(pending)
import type { TableColumn } from '@/components/NormalTable/table_interface'

export interface IListQuery {
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  orderCode: string // 委托书编号
  customerId: string // 委托方代码
  startTime: string // 预计送达开始时间
  endTime: string // 预计送达结束时间
  isUrgent: string // 是否加急
  sampleAttr: string // 样品属性
  type: string // 类型(buttonBox)
  offset: number
  limit: number
}

export interface IinterchangeList {
  id: string
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 型号
  evaluationName: string // 出厂编号
  orderCode: string // 委托书编号
  customerId: string // 委托方代码
  customerName: string // 委托方名称
  deliverer: string // 送检人
  isUrgent: string // 是否加急
  sampleAttr: string // 样品属性
  planDeliverTime: string // 预计送达时间
  deliverTime: string // 实际送达时间
  requireOverTime: string // 要求检完时间
  currentCertifications: string | number // 已出具证书总数
  requireCertifications: string | number // 应出具证书总数
  currentDeliver: 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 // 证书有效期
}

export interface Menu {
  name: string
  columns: TableColumn[]
  pagination: boolean
  list: 'measureRecords' | 'certificationRecords'
  searchFunc: Function
}

export interface ISampleDetail {
  id?: string
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 样品型号
  manufacturingNo: string // 出厂编号
  customerNo: string // 委托方代码
  customerName: string // 委托方名称
  phone: string // 委托方电话
  postalCode: string // 委托方邮编
  companyAddress: string // 委托方地址
  mesureCategory: string // 检校类别
  manufacturer: string // 生产厂家
  manufacturerCountry: string // 厂家国别
  manufacturingDate: string // 出厂年月
  ABC: string // ABC
  deliverer?: string // 送检人
  delivererTel?: string // 送检人联系方式
  planDeliverTime?: string // 预计送达时间
  requireOverTime?: string // 要求检完时间
  mesureContent: string // 检定项目
  mesurePeriod: string // 检定周期
  remark: string // 备注
  minioFileName: string // 说明书
  labelBind: string // 标签绑定
  mesureType: string // 检定方式
  measureDate?: string // 检定日期
  effectiveDate?: string // 有效日期
  measureResultCode?: string // 检定结果代码
  measureResult?: string // 检定结果
}