// 物料表 inKey:库内
export const tableContentData = [
  {
    name: '物料',
    tableData: [
      { label: '物料编码', key: 'materialCode', inKey: 'assetCode' },
      { label: '物料名称', key: 'materialName', inKey: 'assetName' },
      { label: '牌号', key: 'tradeMark', inKey: 'brand' },
      { label: '型号', key: 'model', inKey: 'model' },
      { label: '单位', key: 'unit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '产品',
    tableData: [
      { label: '产品编码', key: 'materialCode', inKey: 'assetCode' },
      { label: '产品名称', key: 'materialName', inKey: 'assetName' },
      { label: '牌号', key: 'brandNum', inKey: 'brand' },
      { label: '型号', key: 'model', inKey: 'model' },
      { label: '单位', key: 'unit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '周转车',
    tableData: [
      { label: '周转车编码', key: 'code', inKey: 'assetCode' },
      { label: '周转车名称', key: 'name', inKey: 'assetName' },
      { label: '规格型号', key: 'model', inKey: 'model' },
      { label: '单位', key: 'unit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '舟皿',
    tableData: [
      { label: '舟皿编码', key: 'code', inKey: 'assetCode' },
      { label: '舟皿名称', key: 'name', inKey: 'assetName' },
      { label: '规格型号', key: 'model', inKey: 'model' },
      { label: '单位', key: 'unit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '生产设备',
    tableData: [
      { label: '设备编码', key: 'code', inKey: 'assetCode' },
      { label: '设备名称', key: 'name', inKey: 'assetName' },
      { label: '规格型号', key: 'specifications', inKey: 'model' },
      { label: '单位', key: 'pkgUnit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '模具',
    tableData: [
      { label: '模具编码', key: 'code', inKey: 'assetCode' },
      { label: '模具名称', key: 'name', inKey: 'assetName' },
      { label: '规格型号', key: 'model', inKey: 'model' },
      { label: '单位', key: 'unit', inKey: 'basePackUtil' }
    ]
  },
  {
    name: '备品备件',
    tableData: [
      { label: '备件编码', key: 'code', inKey: 'assetCode' },
      { label: '备件名称', key: 'name', inKey: 'assetName' },
      { label: '备件类型', key: 'model', inKey: 'model' },
      { label: '型号', key: 'unit', inKey: 'basePackUtil' }
    ]
  }
]

// *入库明细
export const warehousingMaterialListTable = {
  物料: {
    assetId: 'id',
    assetCode: 'materialCode', //编码
    assetName: 'materialName', //名称
    batchNo: 'batchNo', //批次号
    brandNum: 'tradeMark', //牌号
    modelType: 'model', //型号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'unit', //单位
    minimumPackingUnit: '', //最小包装单位
    minimumUnit: '', //最小单元
    warehouseName: '' //仓库
  },
  周转车: {
    assetId: 'id',
    assetCode: 'code', //编码
    assetName: 'name', //名称
    batchNo: '', //批次号
    brandNum: 'model', //牌号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'unit', //单位
    warehouseName: '' //仓库
  },
  舟皿: {
    assetId: 'id',
    assetCode: 'code', //编码
    assetName: 'name', //名称
    batchNo: '', //批次号
    brandNum: 'model', //牌号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'unit', //单位
    warehouseName: '' //仓库
  },
  生产设备: {
    assetId: 'id',
    assetCode: 'code', //编码
    assetName: 'name', //名称
    batchNo: '', //批次号
    brandNum: 'specifications', //牌号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'pkgUnit', //单位
    warehouseName: '' //仓库
  },
  模具: {
    assetId: 'id',
    assetCode: 'code', //编码
    assetName: 'name', //名称
    batchNo: '', //批次号
    brandNum: 'model', //牌号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'unit', //单位
    warehouseName: '' //仓库
  },
  备品备件: {
    assetId: 'id',
    assetCode: 'code', //编码
    assetName: 'name', //名称
    batchNo: '', //批次号
    brandNum: 'model', //牌号
    materialId: 'classificationId', //类型
    materialName: 'classificationName', //类型
    amount: 'price', //单价
    realInventoryNum: 'inventoryLibrary', //实时库存
    realInventoryAmount: '', //实时库存金额
    outInAmount: '', //入库总额
    unit: 'unit', //单位
    warehouseName: '' //仓库
  }
}
