安虹睿
11 months ago
2 changed files with 59 additions and 0 deletions
@ -0,0 +1,50 @@ |
|||||
|
<template> |
||||
|
<reportPage |
||||
|
:columnList="columnDefs" |
||||
|
:searchConfig="searchConfig" |
||||
|
:searchForm="searchForm" |
||||
|
:BottomFixedItem="BottomFixedItem" |
||||
|
:reportName="'海外收货/海外退货报表'" |
||||
|
:procName="'Proc_Zheng_海外收货_海外退货_有PO'" |
||||
|
></reportPage> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import reportPage from "@/components/reportPage/index" |
||||
|
import util from '@/utils/util' |
||||
|
|
||||
|
export default { |
||||
|
name: "overseasInAndOutReport", |
||||
|
components: { |
||||
|
reportPage |
||||
|
}, |
||||
|
data () { |
||||
|
return { |
||||
|
columnDefs: [ |
||||
|
{ 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: '物料描述1', filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '物料描述2', 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 } }, |
||||
|
{ field: '退货数量', type:"kiloNumber", cellClass: 'rightAlign', valueFormatter: ((data)=>{return util.numberFixedFormatter(data.value,true)}), 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:'select',prop:'SupplierCode',label:'供应商',optionsProc:'SupplierCode',options:[]}, |
||||
|
{type:'date',prop:'beginDate',label:'起始'}, |
||||
|
{type:'date',prop:'endDate',label:'截止'}, |
||||
|
], |
||||
|
searchForm:{ |
||||
|
ItemCode:'', |
||||
|
SupplierCode:'', |
||||
|
beginDate:"", |
||||
|
endDate:'', |
||||
|
}, |
||||
|
BottomFixedItem:['收货数量','退货数量'] |
||||
|
}; |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
Loading…
Reference in new issue