import MyTable from '@/components/MyTable'
import { C1GoodType } from '@/pages/C_goodsManage/C1ledger/type'
import { Y22tableC } from '@/utils/tableData'
import React from 'react'

type Props = {
  isLook?: boolean
  info: C1GoodType
}

function Y22com({ isLook, info }: Props) {
  return (
    <div className='Y22com'>
      {/* 待完善 */}
      <div className='Y22sta'>库存状态：待入库</div>

      {/* 表格 */}
      <MyTable
        classKey='Y22comTable'
        yHeight={isLook ? 640 : 666}
        list={[{ id: 1 }]}
        columnsTemp={Y22tableC}
        lastBtn={[]}
        pagingInfo={false}
        widthSet={isLook ? undefined : { description: 600 }}
      />
    </div>
  )
}

const MemoY22com = React.memo(Y22com)

export default MemoY22com
