安虹睿
8 months ago
3 changed files with 70 additions and 0 deletions
@ -0,0 +1,51 @@ |
|||
<template> |
|||
<reportPage |
|||
:columnList="columnDefs" |
|||
:searchConfig="searchConfig" |
|||
:searchForm="searchForm" |
|||
:BottomFixedItem="BottomFixedItem" |
|||
:reportName="'存储时效控制报表'" |
|||
:procName="'Proc_Zheng_存储时效控制'" |
|||
></reportPage> |
|||
</template> |
|||
|
|||
<script> |
|||
import reportPage from "@/components/reportPage/index" |
|||
import util from '@/utils/util' |
|||
|
|||
export default { |
|||
name: "storageAgingReport", |
|||
components: { |
|||
reportPage |
|||
}, |
|||
data () { |
|||
return { |
|||
columnDefs: [ |
|||
{ 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: '批次', cellClass:"centerAlign", 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 } }, |
|||
{ field: '入库时间', cellClass:"centerAlign", valueFormatter: ((data)=>{return util.formatTimeStrToStr(data.value)}), 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 } }, |
|||
{ field: '数量', type:"kiloNumber", cellClass:"rightAlign", valueFormatter: ((data)=>{return util.numberFixedFormatter(data.value,true)}), filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
|||
], |
|||
searchConfig:[ |
|||
{type:'select',prop:'ItemCode',label:'物料',optionsProc:'itemCode',options:[]}, |
|||
{type:'select',prop:'LocationCode',label:'库位',optionsProc:'LocationCode',options:[]}, |
|||
{type:'select',prop:'IsExceedThreshold',noClear:true,label:'是否超过时效',optionsProc:'IsExceedThreshold',options:[]}, |
|||
], |
|||
searchForm:{ |
|||
ItemCode:"", |
|||
LocationCode:'', |
|||
IsExceedThreshold:'全部', |
|||
}, |
|||
BottomFixedItem:['数量'], |
|||
}; |
|||
} |
|||
}; |
|||
</script> |
Loading…
Reference in new issue