Newer
Older
smart-metering-front / src / views / device / standingBook / standingBook-interface.ts
liyaguang on 20 Dec 2022 3 KB feat: 固定资产新建编辑
// 设备台账相关类型定义
// 固定资产查询参数
export interface fixedAssetsParams {
  abc?: string // ABC		false
  assetNo: string	// 资产编号		false
  assetType?: string	// 资产类型		false
  equipmentCategory: string	// 设备类别		false
  equipmentName: string // 设备名称		false
  equipmentNo?: string // 设备编号		false
  equipmentSpecifications: string //	设备规格		false
  id?: string //
  isCalibrationTestEquipment?: string //	是否是技术指标需要校准检定的设备		false
  isFixedAssets?: string //	是否加入固定资产台账		true
  isMeasureAccount?: string //	是否是测量工装台账		false
  isStandardSupportEquipment?: string //	是否标准配套设备		false
  managerState?: string //	管理状态		false
  manufacturingNo?: string //	出厂编号		false
  mesureType?: string //	检定方式		false
  modelNo: string //	型号		false
  useDept?: string //	使用部门		fals
  validDate?: string //	有效日期		false
  limit?: number
  offset?: number
}
// 下拉框数据类型
export interface selectType {
  name: string
  id: string
  value: string
}
// 部门类型
export interface deptType {
  checked: boolean
  code: string
  id: string
  name: string
  open: boolean
  pCodes: string
  pid: string
  value: string
}
// 固定资产类型
export interface fixedAssetsType {
  abc: string
  abcName: string
  assetNo: string
  assetSource: string
  assetType: string | number
  assetTypeName: string
  attribute: string
  capitalSource: string
  capitalSourceName: string
  cardEstablishmentDate: string
  createTime: string
  createUser: string
  depreciationMethod: string
  depreciationMethodName: string
  depreciationPeriod: string
  enableDate: string
  equipmentCategory: string
  equipmentCategoryName: string
  equipmentName: string
  equipmentNo: string
  equipmentSpecifications: string
  equipmentType: string
  equipmentTypeName: string
  fileList: any
  id: string
  installIncidentalExpenses: string
  installPlace: string
  intactState: string
  isCalibrationTestEquipment: string
  isDel: number
  isFixedAssets: string
  isMeasureAccount: string
  isStandardSupportEquipment: string
  labelBind: string
  majorCategory: string
  majorCategoryName: string
  managerLevel: string
  managerLevelName: string
  managerState: string | number
  managerStateName: string
  manufacturer: string
  manufacturerCountry: string
  manufacturingDate: string
  manufacturingNo: string
  mesureCycle: string
  mesureCycleName: string
  mesureDate: string
  mesureDept: string
  mesureRange: string
  mesureResult: string
  mesureResultfName: string
  mesureType: string
  mesureTypeName: string
  modelNo: string
  originValue: string
  overallDimension: string
  presentOriginValue: string
  purpose: string
  remark: string
  singlePrice: string
  technicalLevel: string
  uncertainty: string
  updateTime: string
  useDept: string
  useDeptName: string
  usePerson: string
  usePersonName: string
  validDate: string
  version: string
  weight: string
}
export interface menuType {
  name: string
  comp: any
}