search.config.6888e430.js 2.4 KB

1
  1. import{Z as l,cm as a,S as r}from"./index.2e9457cc.js";import{c as d}from"./createRequset.3978c053.js";const n="purchease/sale/";var i={list:d(`${n}saleNoAddrList`)};const o=[{value:"0",label:"\u5F85\u53D1\u8D27"},{value:"1",label:"\u5F85\u53D1\u8D27\u5B8C\u6210"},{value:"2",label:"\u53D1\u8D27\u5DF2\u5B8C\u6210"},{value:"3",label:"\u8BA2\u5355\u5DF2\u53D6\u6D88"}],p=[{value:"1",label:"\u5E93\u5B58\u5546\u54C1"},{value:"2",label:"\u975E\u5E93\u5B58\u5546\u54C1"},{value:"3",label:"\u53CD\u9988\u5546\u54C1"},{value:"4",label:"\u62A5\u5907\u5546\u54C1"}],c=[{prop:"orderCode",label:"\u8BA2\u5355\u7F16\u53F7",minWidth:"155px"},{prop:"order_type",label:"\u5546\u54C1\u7C7B\u578B",width:"100px",cellRenderer({row:e}){return l(a,null,{default:()=>{var u;return((u=p.find(({value:t})=>t===String(e.order_type)))==null?void 0:u.label)||"--"}})}},{prop:"status",label:"\u8BA2\u5355\u72B6\u6001",width:"110px",cellRenderer({row:e}){return l(a,null,{default:()=>{var u;return((u=o.find(({value:t})=>t===String(e.status)))==null?void 0:u.label)||"--"}})}},{prop:"good_code",label:"\u5546\u54C1\u6210\u672C\u7F16\u53F7",width:"160px"},{prop:"skuCode",label:"\u4E0A\u7EBF\u5546\u54C1\u7F16\u53F7",width:"155px"},{prop:"good_name",label:"\u5546\u54C1\u540D\u79F0",minWidth:"155px"},{prop:"good_num",label:"\u8D2D\u4E70\u6570\u91CF",width:"110px"},{prop:"send_num",label:"\u5DF2\u53D1\u6570\u91CF",width:"110px"},{prop:"wsend_num",label:"\u672A\u53D1\u6570\u91CF",width:"110px"},{prop:"not_addr_address_good_num",label:"\u65E0\u5730\u5740\u6570\u91CF",width:"110px"},{prop:"nickname",label:"\u7533\u8BF7\u4EBA",width:"70px"},{prop:"depart",label:"\u6240\u5C5E\u90E8\u95E8",width:"130px"},{prop:"month",label:"\u4E0B\u5355\u6708\u4EFD",width:"90px"}],C={columns:c,showTitle:!1,responseCode:1,superUserNoAction:!1,apis:{httpList:i.list}},s=new Date;r(s).subtract(30,"days").format("YYYY-MM-DD");r(s).format("YYYY-MM-DD");const D={formItems:[{field:"date",type:"date_picker",trigger:"change",otherOptions:{type:"daterange",startPlaceholder:"\u4E0B\u5355\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u4E0B\u5355\u7ED3\u675F\u65F6\u95F4",valueFormat:"YYYY-MM-DD",startProp:"start",endProp:"end"}},{field:"order_type",type:"select",trigger:"change",placeholder:"\u5546\u54C1\u7C7B\u578B",options:p},{field:"status",type:"select",trigger:"change",placeholder:"\u8BA2\u5355\u72B6\u6001",options:o},{field:"depart_id",type:"depart-query",trigger:"change"}]};export{i as a,C as c,D as s};