import{S as i,c$ as p,cc as n,Z as a,cp as l}from"./index.e80c366d.js";import{c as r}from"./createRequset.60472412.js";const o=i(new Date).format("YYYY-MM"),h={formItems:[{field:"date",type:"date_picker",trigger:"change",defaultValue:o,label:"\u4E0B\u5355\u6708\u4EFD:",otherOptions:{type:"month",valueFormat:"YYYY-MM",format:"YYYY-MM",clearable:!1}},{field:"depart_id",type:"depart-query",trigger:"change"}]},s="admin/report/";var d={list:r(`${s}dzList`),export:r(`${s}dzListExport`)};const E=[{value:"1",label:"\u672A\u53D1\u8D27",type:"warning"},{value:"2",label:"\u90E8\u5206\u5DF2\u53D1",type:"primary"},{value:"3",label:"\u5168\u90E8\u5DF2\u53D1",type:"success"},{value:"4",label:"\u53D1\u8D27\u5B8C\u6210",type:"warning"}],c=[{value:"1",label:"\u672A\u5F00\u7968",type:"warning"},{value:"2",label:"\u90E8\u5206\u5F00\u7968",type:"primary"},{value:"3",label:"\u5168\u90E8\u5F00\u7968",type:"success"}],b=[{value:"1",label:"\u672A\u56DE\u6B3E",type:"warning"},{value:"2",label:"\u90E8\u5206\u56DE\u6B3E",type:"primary"},{value:"3",label:"\u5168\u90E8\u56DE\u6B3E",type:"success"}],m=[{type:"index",label:"\u5E8F\u53F7",minWidth:"50px"},{prop:"sequenceNo",label:"\u786E\u8BA4\u5355\u7F16\u53F7",minWidth:"155px"},{prop:"cxCode",label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u53F7",minWidth:"155px"},{prop:"createdTime",label:"\u786E\u8BA4\u5355\u4E0B\u5355\u65F6\u95F4",minWidth:"155px"},{prop:"customerName",label:"\u5BA2\u6237\u540D\u79F0",minWidth:"155px"},{prop:"department",label:"\u4E1A\u52A1\u5458\u90E8\u95E8",minWidth:"155px"},{prop:"ownerName",label:"\u4E1A\u52A1\u5458",width:"90px"},{prop:"manager",label:"\u4E1A\u52A1\u7ECF\u7406",width:"90px"},{prop:"goodName",label:"\u4EA7\u54C1\u540D\u79F0",width:"100px"},{prop:"goodNum",label:"\u4E0B\u5355\u6570\u91CF",width:"100px"},{prop:"goodPrice",label:"\u9500\u552E\u5355\u4EF7",width:"100px"},{prop:"totalPrice",label:"\u9500\u552E\u603B\u989D",width:"100px"},{prop:"apay_fee",label:"\u5DF2\u56DE\u6B3E",width:"100px"},{prop:"wpay_fee",label:"\u672A\u56DE\u6B3E",width:"100px"},{prop:"ainv_fee",label:"\u5DF2\u5F00\u7968",width:"100px"},{prop:"winv_fee",label:"\u672A\u5F00\u7968",width:"100px"},{prop:"ainv_wpay",label:"\u5F00\u7968\u8FDB\u884C\u4E2D",width:"100px"},{prop:"inv_fee",label:"\u5DF2\u5F00\u7968\u672A\u56DE\u6B3E",width:"100px"},{prop:"pay_status",label:"\u56DE\u6B3E\u72B6\u6001",width:"100px",cellRenderer({row:e}){const u=b.find(({value:t})=>String(t)===String(e.pay_status));return a(l,{type:u?u.type:"danger",size:"small"},{default:()=>u?u.label:"--"})}},{prop:"inv_status",label:"\u5F00\u7968\u72B6\u6001",width:"100px",cellRenderer({row:e}){const u=c.find(({value:t})=>String(t)===String(e.inv_status));return a(l,{type:u?u.type:"danger",size:"small"},{default:()=>u?u.label:"--"})}},{prop:"sendStatus",label:"\u53D1\u8D27\u72B6\u6001",width:"100px",cellRenderer({row:e}){const u=E.find(({value:t})=>String(t)===String(e.sendStatus));return a(l,{type:u?u.type:"danger",size:"small"},{default:()=>u?u.label:"--"})}}],D={columns:m,showTitle:!1,title:"\u4EC5\u7EDF\u8BA1toB\u8BA2\u5355",superUserNoAction:!1,responseCode:0,beforeRequestList(e){const{start:u,end:t}=e;return u&&t?p.NEXT:(n.warning("\u8BF7\u9009\u62E9\u4E0B\u5355\u6708\u4EFD"),p.EMPTY)},apis:{httpList:d.list}};export{d as a,D as c,h as s};
