| | |
| | | import { BasicColumn } from '/@/components/Table'; |
| | | import { FormSchema } from '/@/components/Table'; |
| | | import { BasicColumn, FormSchema } from '/@/components/Table'; |
| | | import { optionsListApi } from '/@/api/tigerapi/wms/wms_item'; |
| | | import { h } from 'vue'; |
| | | import { Tag } from 'ant-design-vue'; |
| | |
| | | dataIndex: 'ITEM_CODE', |
| | | width: 200, |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '物料描述', |
| | | dataIndex: 'ITEM_NAME', |
| | | width: 200, |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '条码', |
| | | dataIndex: 'SN', |
| | | width:300, |
| | | width: 300, |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '操作时间', |
| | | dataIndex: 'UPDATE_TIME', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '延期天数', |
| | | dataIndex: 'PostponeDays', |
| | | width:150, |
| | | width: 150, |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '数量', |
| | | dataIndex: 'QTY', |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '储存状态', |
| | | dataIndex: 'STATUS', |
| | | width: 180, |
| | | resizable:true, |
| | | resizable: true, |
| | | customRender: ({ record }) => { |
| | | const status = record.STATUS; |
| | | let text = ''; |
| | |
| | | { |
| | | title: '仓库', |
| | | dataIndex: 'WH_CODE', |
| | | width:100, |
| | | width: 100, |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '储区', |
| | | dataIndex: 'REGION_CODE', |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '货架', |
| | | dataIndex: 'SHELF_CODE', |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '储位', |
| | | dataIndex: 'LOCATION_CODE', |
| | | sorter: true, |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '单位', |
| | | dataIndex: 'UNIT', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '生产日期', |
| | | dataIndex: 'PROD_DATE', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '首次入库日期', |
| | | dataIndex: 'FIRST_IN_DATE', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '业务编码', |
| | | dataIndex: 'TRANS_CODE', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '单据号码', |
| | | dataIndex: 'TRANS_NO', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '单据行号', |
| | | dataIndex: 'TRANS_LINE', |
| | | width:100, |
| | | resizable:true |
| | | width: 100, |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '供应商代码', |
| | | dataIndex: 'SUPP_CODE', |
| | | width:100, |
| | | resizable:true |
| | | width: 100, |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '供应商批次号', |
| | | dataIndex: 'SUPP_LOTNO', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '批次号', |
| | | dataIndex: 'LOTNO', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '箱号', |
| | | dataIndex: 'CARTON_NO', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '栈板号', |
| | | dataIndex: 'PALLET_NO', |
| | | resizable:true |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: '更新人', |
| | | dataIndex: 'UPDATE_USER', |
| | | resizable:true |
| | | },{ |
| | | resizable: true, |
| | | }, |
| | | { |
| | | title: 'ID', |
| | | dataIndex: 'ID', |
| | | ifShow:false, |
| | | resizable:true |
| | | ifShow: false, |
| | | resizable: true, |
| | | }, |
| | | ]; |
| | | |
| | |
| | | component: 'Input', |
| | | colProps: { span: 8 }, |
| | | }, |
| | | |
| | | |
| | | { |
| | | field: 'ITEM_CODE', |
| | | label: '物料代码', |
| | |
| | | label: '存储状态', |
| | | component: 'ApiSelect', |
| | | colProps: { span: 8 }, |
| | | defaultValue:40, |
| | | defaultValue: 40, |
| | | componentProps: { |
| | | mode: 'multiple', |
| | | api: optionsListApi, |
| | | resultField: 'Data', |
| | | labelField: 'Desc', |
| | | valueField: 'Value', |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | field: 'WH_CODE', |
| | |
| | | field: 'UPDATE_TIME', |
| | | label: '操作时间', |
| | | component: 'RangePicker', |
| | | ifShow:false, |
| | | ifShow: false, |
| | | }, |
| | | ]; |
| | | // 延期天数 |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | ]; |