安虹睿
1 year ago
12 changed files with 225 additions and 81 deletions
@ -0,0 +1,50 @@ |
|||||
|
<template> |
||||
|
<reportPage |
||||
|
:columnList="columnDefs" |
||||
|
:searchConfig="searchConfig" |
||||
|
:searchForm="searchForm" |
||||
|
:BottomFixedItem="BottomFixedItem" |
||||
|
:reportName="'采购收货/采购退货(无PO)报表'" |
||||
|
:procName="'Proc_Zheng_采购收货_采购退货_无po'" |
||||
|
></reportPage> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import reportPage from "@/components/reportPage/index" |
||||
|
import util from '@/utils/util' |
||||
|
|
||||
|
export default { |
||||
|
name: "procureNoPOReport", |
||||
|
components: { |
||||
|
reportPage |
||||
|
}, |
||||
|
data () { |
||||
|
return { |
||||
|
columnDefs: [ |
||||
|
{ field: '供应商代码', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '供应商名称', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '物料代码', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '物料名称', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '物料描述1', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '物料描述2', flex:1, filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '收货数量', type:"kiloNumber", width:200, cellClass:"rightAlign", valueFormatter: ((data)=>{return util.numberFixedFormatter(data.value,true)}), filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '退货数量', type:"kiloNumber", width:200, cellClass: 'rightAlign', valueFormatter: ((data)=>{return util.numberFixedFormatter(data.value,true)}), filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
{ field: '单位', width:150, cellClass:"centerAlign", filter: 'agTextColumnFilter', suppressMenu: true, floatingFilterComponentParams: { suppressFilterButton: true } }, |
||||
|
], |
||||
|
searchConfig:[ |
||||
|
{type:'select',prop:'ItemCode',label:'物料',optionsProc:'itemCode'}, |
||||
|
{type:'select',prop:'SupplierCode',label:'供应商',optionsProc:'SupplierCode'}, |
||||
|
{type:'date',prop:'beginDate',label:'起始'}, |
||||
|
{type:'date',prop:'endDate',label:'截止'}, |
||||
|
], |
||||
|
searchForm:{ |
||||
|
ItemCode:'', |
||||
|
SupplierCode:'', |
||||
|
beginDate:"", |
||||
|
endDate:'', |
||||
|
}, |
||||
|
BottomFixedItem:['收货数量','退货数量'] |
||||
|
}; |
||||
|
}, |
||||
|
}; |
||||
|
</script> |
Loading…
Reference in new issue