| | |
| | | plain |
| | | icon="Download" |
| | | @click="handleExport" |
| | | v-hasPermi="['apsPlateProcessStat:export']" |
| | | v-hasPermi="['plateProcessShopStat:export']" |
| | | >导出</el-button |
| | | > |
| | | </el-col> |
| | |
| | | { |
| | | title: "业务类型", |
| | | field: "businessType", |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: "单据号", |
| | | field: "documentNumber", |
| | | width: 100, |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: "当前工序号", |
| | | field: "currentProcessNumberTxt", |
| | | width: 100, |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: "需求分类", |
| | | field: "requirementType", |
| | | width: 80, |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: "单据状态", |
| | | field: "documentStatus", |
| | | width: 80, |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: "当前工序", |
| | | field: "workCenter", |
| | | width: 80, |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: "计划开工日", |
| | | field: "processPlanStartDaytxt", |
| | | width: 140, |
| | | width: 200, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: "料号", |
| | | field: "itemNumber", |
| | | width: 140, |
| | | width: 150, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: "图号", |
| | | field: "drawingNo", |
| | | width: 120, |
| | | width: 150, |
| | | // format: 'YYYY-MM-DD' |
| | | }, |
| | | { |
| | | title: "版本号", |
| | | field: "versionNumber", |
| | | width: 140, |
| | | width: 100, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: "生产数量", |
| | | field: "productionQuantity", |
| | | width: 140, |
| | | width: 100, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: "计划完工日", |
| | | field: "planEndDay", |
| | | width: 140, |
| | | width: 150, |
| | | format: "YYYY-MM-DD hh:mm:ss", |
| | | }, |
| | | ]); |
| | |
| | | } |
| | | /** 导出按钮操作 */ |
| | | function handleExport() { |
| | | proxy.download( |
| | | "/aps/plateProcessShopStat/export", |
| | | // { |
| | | // ...queryParams.value, |
| | | // }, |
| | | `aps_plate_process_stat_${new Date().getTime()}.xlsx` |
| | | ); |
| | | } |
| | | proxy.download('aps/plateProcessShopStat/export', { |
| | | |
| | | onMounted(async () => { |
| | | }, `plate_workshop_stat_${new Date().getTime()}.xlsx`) |
| | | } |
| | | getList(); |
| | | }); |
| | | // onMounted(async () => { |
| | | // |
| | | // }); |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | ::v-deep(.mytable-style.vxe-table .vxe-body--row.row-green) { |