Newer
Older
vue3-front / src / views / measure / price / list_interface.ts
export interface IlistQuery {
  checkType: string
  // model: string
  priceItem: string
  priceName: string
  priceNo: string
  priceType: string
  limit: number
  offset: number
}

export interface IlistType {
  priceNo: string
  priceName: string
  checkType: string
  model: string
  priceType: string
  priceItem: string
  price: string
  operatorDiscountPermission: string
  directorDiscountPermission: string
  priceStandard: string
  createTime: string
}

export interface optionsType {
  id: string
  name: string
  value: string
}
// 历史价格对象
export interface historyPriceItem {
  createTime: string // 创建时间
  enableTime: string // 启用时间
  endTime: string // 结束时间
  id: string | number // 主键id
  price: number // 定价
  priced: string // 价格表id
  priceNo: string // 价格编号
  updateStaff: string // 修改人员
  updateTime: string // 更新时间
}
// 价格表单对象类型
export interface priceForm {
  checkType: string // 校验类型-字典value
  createTime: null | string // 创建时间
  directorDiscountPermission: string // 负责人折扣权限-字典value
  historicalPriceList?: historyPriceItem[] // 历史价格列表
  id: null | string // 主键id
  isDel: number // 删除标记
  model: string // 型号
  operatorDiscountPermission: string // 业务员折扣权限-字典value
  price: string // 标准价格(元)
  priceDescription: string // 说明
  priceItem: string //	项目-字典value
  priceLimit: string //	限制范围
  priceName: string // 价格名称
  priceNo: string // 价格编号
  priceStandard: string // 依据标准-计量规程文件名
  priceType: string // 价格类别-字典value
  remark: string // 备注
  updateTime: null | string // 更新时间
}