Browse Source

EQLEVEL报表

faster_AG_grid
安虹睿 1 year ago
parent
commit
ab9498dfec
  1. 10
      PC/UI.WinIn.FasterZ.AgGridReport/src/router/index.js
  2. 48
      PC/UI.WinIn.FasterZ.AgGridReport/src/views/report/EQLevelReport.vue

10
PC/UI.WinIn.FasterZ.AgGridReport/src/router/index.js

@ -27,7 +27,7 @@ import doorRelocationTargetReport from '../views/report/doorRelocationTargetRepo
import doorRelocationStartReport from '../views/report/doorRelocationStartReport.vue' import doorRelocationStartReport from '../views/report/doorRelocationStartReport.vue'
import doorDeliveryNoteReport from '../views/report/doorDeliveryNoteReport.vue' import doorDeliveryNoteReport from '../views/report/doorDeliveryNoteReport.vue'
import doorReturnNoteReport from '../views/report/doorReturnNoteReport.vue' import doorReturnNoteReport from '../views/report/doorReturnNoteReport.vue'
import EQLevelReport from '../views/report/EQLevelReport.vue'
Vue.use(VueRouter) Vue.use(VueRouter)
@ -184,6 +184,14 @@ const routes = [
title:"发货记录/外库成品发货报表", title:"发货记录/外库成品发货报表",
} }
}, },
{
path: '/EQLevelReport',
name: 'EQLevelReport',
component: EQLevelReport,
meta:{
title:"EQLevel报表",
}
},
{ {
path: '/doorUnplannedOutReport', path: '/doorUnplannedOutReport',
name: 'doorUnplannedOutReport', name: 'doorUnplannedOutReport',

48
PC/UI.WinIn.FasterZ.AgGridReport/src/views/report/EQLevelReport.vue

@ -0,0 +1,48 @@
<template>
<reportPage
:columnList="columnDefs"
:searchConfig="searchConfig"
:searchForm="searchForm"
:reportName="'EQLevel报表'"
:procName="'Proc_Zheng_EQLevel报表'"
></reportPage>
</template>
<script>
import reportPage from "@/components/reportPage/index"
import util from '@/utils/util'
export default {
name: "EQLevelReport",
components: {
reportPage
},
data () {
return {
columnDefs: [
{ field: 'EQLevel编号', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '物料代码', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '物料名称', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '物料描述1', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '物料描述2', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '批次', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '箱标签', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '托标签', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '库位代码', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '物品质量信息', cellClass:"centerAlign", filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
{ field: '标签质量信息', cellClass:"centerAlign", filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } },
],
searchConfig:[
{type:'select',prop:'ItemCode',label:'物料',optionsProc:'itemCode',options:[]},
{type:'date',prop:'beginDate',label:'起始'},
{type:'date',prop:'endDate',label:'截止'},
],
searchForm:{
ItemCode:'',
beginDate:"",
endDate:'',
},
};
}
};
</script>
Loading…
Cancel
Save