Newer
Older
smart-metering-front / src / views / measure / price / list_interface.ts
export interface IlistQuery {
  checkType: string // 检校类型
  // model: string
  priceItem: string // 项目
  priceName: string // 价格名称
  priceNo: string // 价格编号
  priceType: string // 类别
  categoryName: string // 类别名称
  itemName: string // 项目名称
  limit: number // 页码
  offset: number // 分页数量
}

// 下拉框类型
export interface optionsType {
  id: string // id
  name: string // label
  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 {
  priceStandardName?: string // 依据标准
  checkType: string // 校验类型-字典value
  createTime?: null | string // 创建时间
  directorDiscountPermission: string // 负责人折扣权限-字典value
  historicalPriceList?: historyPriceItem[] // 历史价格列表
  id: null | string // 主键id
  isDel?: string // 删除标记
  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 // 更新时间
  categoryName: string // 类别名称
  itemName: string // 项目名称
}