import { BasicColumn, FormSchema } from '/@/components/Table'; export const columns: BasicColumn[] = [ { title: '条码', align: 'center', dataIndex: 'barcode', width: 240 }, { title: '批次号', align: 'center', dataIndex: 'batchNo', width: 220 }, { title: '物料名称', align: 'center', dataIndex: 'materialName', width: 320 }, { title: '修改前重量', align: 'center', dataIndex: 'beforeRemainingWeight', width: 110 }, { title: '修改前数量', align: 'center', dataIndex: 'beforeRemainingQty', width: 100 }, { title: '修改前库区', align: 'center', dataIndex: 'beforeWarehouseArea', width: 120 }, { title: '修改后重量', align: 'center', dataIndex: 'afterRemainingWeight', width: 110 }, { title: '修改后数量', align: 'center', dataIndex: 'afterRemainingQty', width: 100 }, { title: '修改后库区', align: 'center', dataIndex: 'afterWarehouseArea', width: 120 }, { title: '修改时间', align: 'center', dataIndex: 'modifyTime', width: 165, }, { title: '修改人姓名', align: 'center', dataIndex: 'modifyByName', width: 120 }, { title: '数值来源', align: 'center', dataIndex: 'dataSource', width: 160, ellipsis: true }, ]; export const searchFormSchema: FormSchema[] = [ { label: '条码', field: 'barcode', component: 'JInput', colProps: { span: 6 } }, { label: '批次号', field: 'batchNo', component: 'JInput', colProps: { span: 6 } }, { label: '物料名称', field: 'materialName', component: 'Input', colProps: { span: 6 } }, { label: '修改人', field: 'modifyByName', component: 'Input', colProps: { span: 6 } }, { label: '数值来源', field: 'dataSource', component: 'Input', colProps: { span: 6 }, componentProps: { placeholder: '如 Web端原材料卡片' }, }, { label: '修改时间', field: 'modifyTime', component: 'RangePicker', colProps: { span: 8 }, componentProps: { showTime: true, valueFormat: 'YYYY-MM-DD HH:mm:ss', }, }, ];