/*
 * @Date: 2022-03-07 09:19:27
 * @LastEditors: 陈禹琨 cyk910622@163.com
 * @LastEditTime: 2022-07-19 11:53:12
 * @FilePath: \upcloud-base-fe-wms\src\views\kzyWMS\inBound\quality\billEditor\config\scanCode\lefttable.js
 * @Description: cyk
 */
let grid = {
    labelCol: { span: 9 },
    span: 6
  }
  export function leftItems(self) {
    let _this = self
    return [
      { type: 'input', name: 'maxSu', label: '大包装个数', ...grid, value: 0, disabled: true, hidden: true },
      { type: 'input', name: 'middleSu', label: '中包装个数', ...grid, value: 0, disabled: true,hidden: true  },
      { type: 'input', name: 'shouldScanQty', label: '应扫', ...grid, value: 0, disabled: true ,},
      { type: 'input', name: 'maxScanedQty', label: '实扫大包装数', ...grid, value: 0, disabled: true },
      { type: 'input', name: 'middleScanedQty', label: '实扫中包装数', ...grid, value: 0, disabled: true },
      { type: 'input', name: 'minScanedQty', label: '实扫小包装数', ...grid, value: 0, disabled: true },
      { type: 'number', name: 'customBillNum', label: '剩余', ...grid, value: 0, disabled: true }
    ]
  }
  
  export const tableColumnsConfig = [
    { title: 'itemId', dataIndex: 'itemId', key: 'itemId', width: 80, type: 'txt', hidden: true },
    { title: 'taskRqcId', dataIndex: 'taskRqcId', key: 'taskRqcId', width: 80, type: 'txt', hidden: true },
    { title: 'rcvHeadId', dataIndex: 'rcvHeadId', key: 'rcvHeadId', width: 80, type: 'txt', hidden: true },
    { title: 'rcvLineId', dataIndex: 'rcvLineId', key: 'rcvLineId', width: 80, type: 'txt', hidden: true },
    { title: 'cargoOwnerCode', dataIndex: 'cargoOwnerCode', key: 'cargoOwnerCode', width: 80, type: 'txt', hidden: true },
    { title: '容器号', dataIndex: 'containerCode', key: 'containerCode', width: 80, type: 'txt' },
    { title: '库别', dataIndex: 'whAreaCategory', key: 'whAreaCategory', width: 80, type: 'txt' },
    { title: '库位', dataIndex: 'locatorCode', key: 'locatorCode', width: 80, type: 'txt' },
    { title: '批号', dataIndex: 'manufacturerLotNum', key: 'manufacturerLotNum', width: 80, type: 'txt' },
    { title: '商品名称', dataIndex: 'itemName', key: 'itemName', width: 160, type: 'txt' },
    { title: '商品编号', dataIndex: 'itemNum', key: 'itemNum', width: 120, type: 'txt' },
    { title: '规格', dataIndex: 'specification', key: 'specification', width: 80, type: 'txt' },
    { title: '数量', dataIndex: 'pieceQty', key: 'pieceQty', width: 80, type: 'txt' },
    { title: '订单编号', dataIndex: 'asnHeaderId', key: 'asnHeaderId', width: 120, type: 'txt' },
    { title: '包装单位', dataIndex: 'uom', key: 'uom', width: 80, type: 'txt' },
    { title: '件数', dataIndex: 'caseQty', key: 'caseQty', width: 60, type: 'txt' },
    { title: '零散数', dataIndex: 'oddPieceQty', key: 'oddPieceQty', width: 80, type: 'txt' },
    { title: '中包装', dataIndex: 'middleSu', key: 'middleSu', width: 80, type: 'txt' },
    { title: '大包装', dataIndex: 'maxSu', key: 'maxSu', width: 80, type: 'txt' },
    { title: '生产厂家', dataIndex: 'manufacturerName', key: 'manufacturerName', width: 80, type: 'txt' },
    { title: '标准托盘量', dataIndex: 'palletStdQuantity', key: 'palletStdQuantity', width: 80, type: 'txt' }
  ]
  