// 1、查询条件中入库单据类型应该是下拉选项，
// 入库仓库编号建议改成入库仓库，既可以输入编码也可以输入名称查询，供应商同理；
import { rcvTypeOptions } from "../../../../config/options";
import { genWarehouseAuthSearchModal,genCargoownerAuthSearchModal } from "../../../../../SearchModal";

let grid = {
  labelCol: { span: 8 }, span: 6,
};
// 提取单号需要增加按照商品助记码、单位助记码和单据编号、货主进行筛选查询
const items = [
  ...genWarehouseAuthSearchModal(1, true, false, null, null, grid),
  ...genCargoownerAuthSearchModal(1, true, false, null, null, grid),
  // { type: 'input',name: 'asnAutoBillNum',label: 'ASN单号 ', value: '', ...grid,},
  { type: 'input',name: 'itemZjm',label: '商品助记码 ', value: '', ...grid,},
  { type: 'input',name: 'shipperZjm',label: '单位助记码 ', value: '', ...grid,},
  { type: 'input',name: 'asnAutoBillNum',label: '单据编号 ', value: '', ...grid,},
  {type: 'date', name: 'startTime', format: 'YYYY-MM-DD',label: '开始日期', value: '', ...grid, },
  {type: 'date', name: 'endTime',format: 'YYYY-MM-DD',label: '结束日期', value: '', ...grid, },
]
export default items
