| | |
| | | },//表头参数 |
| | | columns:[ |
| | | {type:'expand',fixed:"left",slots: { content:'content' },width: 50}, |
| | | { type: 'seq',fixed:"left", title: '自序', width: 50 }, |
| | | {title: '操作', width: 70, slots: { default: 'button_slot' },fixed:"left"}, |
| | | { field: 'salesOrderNo',width: 130, title: '销售单号',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' } }, |
| | | { field: 'customerName',width: 130, title: '客户名称',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | { field: 'entryName',width: 130, title: '项目名称',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' } }, |
| | | { field: 'batch',width: 75, title: '批次',sortable: true, }, |
| | | {field: 'number',width: 83, title: '订单数', sortable: true, }, |
| | | {field: 'area',width: 100, title: '订单面积', sortable: true,showOverflow:"ellipsis" ,}, |
| | | {field: 'types',width: 110, title: '订单类型', sortable: true,}, |
| | | {field: 'salesman',width: 85, title: '业务员', sortable: true}, |
| | | {field: 'orderBOMGenerationTime',width: 160,title: '工单BOM生成时间', sortable: true,showOverflow:"ellipsis"}, |
| | | {field: 'orderBOMAuditTime',width: 160,title: '工单BOM审核时间', sortable: true}, |
| | | ],//表头按钮 |
| | | { type: 'seq',fixed:"left", title: '自序', width: 50 }, |
| | | |
| | | { field: '销售单号',width: 130, title: '销售单号',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' } }, |
| | | { field: '客户名称',width: 130, title: '客户名称',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | { field: '项目名称',width: 130, title: '项目名称',sortable: true, filters:[{ data: '' }],slots: { filter: 'num1_filter' } }, |
| | | { field: '批次',width: 75, title: '批次',sortable: true, }, |
| | | {field: '订单数',width: 83, title: '订单数', sortable: true, }, |
| | | {field: '订单面积',width: 100, title: '订单面积', sortable: true,showOverflow:"ellipsis" ,}, |
| | | {field: '订单类型',width: 110, title: '订单类型', sortable: true,}, |
| | | {field: '业务员',width: 85, title: '业务员', sortable: true}, |
| | | {field: '工单BOM生成时间',width: 160,title: '工单BOM生成时间', sortable: true,showOverflow:"ellipsis"}, |
| | | {field: '工单BOM审核时间',width: 160,title: '工单BOM审核时间', sortable: true}, |
| | | ], |
| | | //表头按钮 |
| | | toolbarConfig: { |
| | | // buttons: [{ |
| | | // |
| | |
| | | }, |
| | | data: [ |
| | | { |
| | | salesOrderNo: 'NG23121201', |
| | | customerName: '江门馗达特玻科技有限公司', |
| | | entryName: '大板镜', |
| | | batch: '1批一', |
| | | number:'1212', |
| | | area:'442.21', |
| | | types:'内部', |
| | | salesman:'XX', |
| | | orderBOMGenerationTime:'2020-01-01', |
| | | orderBOMAuditTime:'2020-01-02', |
| | | //销售单号 |
| | | 销售单号: 'NG23121201', |
| | | //客户名称 |
| | | 客户名称: '江门馗达特玻科技有限公司', |
| | | //项目名称 |
| | | 项目名称: '大板镜', |
| | | //批次 |
| | | 批次: '1批一', |
| | | //订单数 |
| | | 订单数:'1212', |
| | | //订单面积 |
| | | 订单面积:'442.21', |
| | | //订单类型 |
| | | 订单类型:'内部', |
| | | //业务员 |
| | | 业务员:'XX', |
| | | //工单BOM生成时间 |
| | | 工单BOM生成时间:'2020-01-01', |
| | | //工单BOM审核时间 |
| | | 工单BOM审核时间:'2020-01-02', |
| | | }, |
| | | { |
| | | salesOrderNo: 'NG23121201', |
| | | customerName: '江门馗达特玻科技有限公司', |
| | | entryName: '大板镜', |
| | | batch: '1批一', |
| | | number:'1212', |
| | | area:'442.21', |
| | | types:'内部', |
| | | salesman:'XX', |
| | | orderBOMGenerationTime:'2020-01-01', |
| | | orderBOMAuditTime:'2020-01-02', |
| | | //销售单号 |
| | | 销售单号: 'NG23121201', |
| | | //客户名称 |
| | | 客户名称: '江门馗达特玻科技有限公司', |
| | | //项目名称 |
| | | 项目名称: '大板镜', |
| | | //批次 |
| | | 批次: '1批一', |
| | | //订单数 |
| | | 订单数:'1212', |
| | | //订单面积 |
| | | 订单面积:'442.21', |
| | | //订单类型 |
| | | 订单类型:'内部', |
| | | //业务员 |
| | | 业务员:'XX', |
| | | //工单BOM生成时间 |
| | | 工单BOM生成时间:'2020-01-01', |
| | | //工单BOM审核时间 |
| | | 工单BOM审核时间:'2020-01-02', |
| | | }, |
| | | { |
| | | salesOrderNo: 'NG23121201', |
| | | customerName: '江门馗达特玻科技有限公司', |
| | | entryName: '大板镜', |
| | | batch: '1批一', |
| | | number:'1212', |
| | | area:'442.21', |
| | | types:'内部', |
| | | salesman:'XX', |
| | | orderBOMGenerationTime:'2020-01-01', |
| | | orderBOMAuditTime:'2020-01-02', |
| | | //销售单号 |
| | | 销售单号: 'NG23121201', |
| | | //客户名称 |
| | | 客户名称: '江门馗达特玻科技有限公司', |
| | | //项目名称 |
| | | 项目名称: '大板镜', |
| | | //批次 |
| | | 批次: '1批一', |
| | | //订单数 |
| | | 订单数:'1212', |
| | | //订单面积 |
| | | 订单面积:'442.21', |
| | | //订单类型 |
| | | 订单类型:'内部', |
| | | //业务员 |
| | | 业务员:'XX', |
| | | //工单BOM生成时间 |
| | | 工单BOM生成时间:'2020-01-01', |
| | | //工单BOM审核时间 |
| | | 工单BOM审核时间:'2020-01-02', |
| | | }, |
| | | { |
| | | salesOrderNo: 'NG23121201', |
| | | customerName: '江门馗达特玻科技有限公司', |
| | | entryName: '大板镜', |
| | | batch: '1批一', |
| | | number:'1212', |
| | | area:'442.21', |
| | | types:'内部', |
| | | salesman:'XX', |
| | | orderBOMGenerationTime:'2020-01-01', |
| | | orderBOMAuditTime:'2020-01-02', |
| | | //销售单号 |
| | | 销售单号: 'NG23121201', |
| | | //客户名称 |
| | | 客户名称: '江门馗达特玻科技有限公司', |
| | | //项目名称 |
| | | 项目名称: '大板镜', |
| | | //批次 |
| | | 批次: '1批一', |
| | | //订单数 |
| | | 订单数:'1212', |
| | | //订单面积 |
| | | 订单面积:'442.21', |
| | | //订单类型 |
| | | 订单类型:'内部', |
| | | //业务员 |
| | | 业务员:'XX', |
| | | //工单BOM生成时间 |
| | | 工单BOM生成时间:'2020-01-01', |
| | | //工单BOM审核时间 |
| | | 工单BOM审核时间:'2020-01-02', |
| | | }, |
| | | ],//table body实际数据 |
| | | //脚部求和 |
| | | footerMethod ({ columns, data }) {//页脚函数 |
| | | let footList=['finishedNumber','finishedArea','wornNumber','wornArea'] |
| | | let footList=['订单数','订单面积'] |
| | | return[ |
| | | columns.map((column, columnIndex) => { |
| | | if (columnIndex === 0) { |