import{S as t,Z as l,cp as r}from"./index.e80c366d.js";import{c as o}from"./createRequset.60472412.js";const a=new Date;t(a).subtract(30,"days").format("YYYY-MM-DD");t(a).format("YYYY-MM-DD");const c={formItems:[{field:"date",type:"date_picker",trigger:"change",otherOptions:{type:"daterange",startPlaceholder:"\u7ADE\u4EF7\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ADE\u4EF7\u7ED3\u675F\u65F6\u95F4",valueFormat:"YYYY-MM-DD",startProp:"start",endProp:"end"}},{field:"depart_id",type:"depart-query",trigger:"change"},{field:"person_id",type:"user-query",trigger:"change",placeholder:"\u4F9B\u5E94\u5546\u8D1F\u8D23\u4EBA"}]},i="purchease/sale/";var d={list:o(`${i}orderBkList`)};const n=[{value:"1",label:"ToB"},{value:"2",label:"ToC"}],s=[{value:"0",label:"\u5F85\u91C7\u8D2D\u5907\u8D27"},{value:"1",label:"\u5F85\u5E93\u7BA1\u53D1\u8D27"},{value:"2",label:"\u5DF2\u53D1\u8D27\u5F85\u6536\u8D27"},{value:"3",label:"\u5DF2\u6536\u8D27"},{value:"4",label:"\u5DF2\u5168\u90E8\u9000\u8D27"}],F=[{prop:"outCode",label:"\u53D1\u8D27\u5355\u7F16\u53F7",minWidth:"155px"},{prop:"orderCode",label:"\u8BA2\u5355\u7F16\u53F7",minWidth:"155px"},{prop:"cgdNo",label:"\u91C7\u8D2D\u5355\u7F16\u53F7",minWidth:"155px"},{prop:"send_num",label:"\u53D1\u8D27\u6570\u91CF"},{prop:"platform_type",label:"\u5E73\u53F0\u7C7B\u578B",minWidth:"70px",cellRenderer({row:e}){return l("div",null,{default:()=>{var u;return((u=n.find(({value:p})=>p===String(e.platform_type)))==null?void 0:u.label)||"--"}})}},{prop:"status",label:"\u72B6\u6001",minWidth:"90px",cellRenderer({row:e}){return l(r,null,{default:()=>{var u;return((u=s.find(({value:p})=>p===String(e.status)))==null?void 0:u.label)||"--"}})}},{prop:"order_source",label:"\u8BA2\u5355\u6765\u6E90"},{prop:"order_type",label:"\u5546\u54C1\u7C7B\u578B",width:"100px"},{prop:"supName",label:"\u4F9B\u5E94\u5546",minWidth:"190px"},{prop:"cat_name",label:"\u5546\u54C1\u5206\u7C7B",minWidth:"120px"},{prop:"good_code",label:"\u5546\u54C1\u7F16\u53F7",minWidth:"160px"},{prop:"good_name",label:"\u5546\u54C1\u540D\u79F0",minWidth:"160px"},{prop:"customer_code",label:"\u5BA2\u6237\u7F16\u7801",minWidth:"160px"},{prop:"customerName",label:"\u5BA2\u6237\u540D\u79F0",minWidth:"160px"},{prop:"supplierNo",label:"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801",minWidth:"160px"},{prop:"supplierName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",minWidth:"160px"},{prop:"contactor",label:"\u8054\u7CFB\u4EBA",minWidth:"90px"},{prop:"mobile",label:"\u8054\u7CFB\u7535\u8BDD",minWidth:"110px"},{prop:"apply_name",label:"\u7533\u8BF7\u4EBA",minWidth:"90px"},{prop:"depart",label:"\u7533\u8BF7\u4EBA\u90E8\u95E8",minWidth:"90px"},{prop:"addtime",label:"\u6DFB\u52A0\u65F6\u95F4",minWidth:"110px"},{prop:"createdTime",label:"\u4E0B\u5355\u65F6\u95F4",minWidth:"110px"},{prop:"report_sx",label:"\u65F6\u6548",minWidth:"90px"},{prop:"cgder",label:"\u4F9B\u5E94\u5546\u8D1F\u8D23\u4EBA",minWidth:"100px"}],b={columns:F,showTitle:!1,responseCode:1,superUserNoAction:!1,apis:{httpList:d.list}};export{d as a,b as c,c as s};
