content.config.9fe60274.js 2.0 KB

1
  1. import{S as u,d2 as e}from"./index.56449854.js";import{i as s}from"./isBeyondTime.ddc44ee0.js";import{c as t}from"./createRequset.56e9fc42.js";const r=new Date,i=u(r).subtract(30,"days").format("YYYY-MM-DD"),l=u(r).format("YYYY-MM-DD"),F={formItems:[{field:"date",type:"date_picker",defaultValue:[i,l],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:"depart_id",type:"depart-query",trigger:"change"},{field:"plat_type",type:"select",trigger:"change",defaultValue:"1",options:[{value:"1",label:"toB"},{value:"2",label:"toC"}],otherOptions:{clearable:!1}}]},n="purchease/sale/";var d={list:t(`${n}orderList`),businessList:t("/purchease/sale/orderListExport")};const m=[{prop:"apply_name",label:"\u521B\u5EFA\u4EBA",minWidth:"155px"},{prop:"creater_company",label:"\u521B\u5EFA\u4EBA\u90E8\u95E8",minWidth:"155px"},{prop:"addtime",label:"\u4E0B\u5355\u65F6\u95F4",minWidth:"155px"},{prop:"orderCode",label:"\u8BA2\u5355\u53F7",minWidth:"155px"},{prop:"first_customer_org",label:"\u4E00\u7EA7\u4F01\u4E1A",minWidth:"155px"},{prop:"second_customer_org",label:"\u4E8C\u7EA7\u4F01\u4E1A",minWidth:"155px"},{prop:"customerName",label:"\u5BA2\u6237\u540D\u79F0",minWidth:"155px"},{prop:"good_name",label:"\u4EA7\u54C1\u540D\u79F0",minWidth:"155px"},{prop:"good_num",label:"\u4EA7\u54C1\u6570\u91CF",minWidth:"155px"},{prop:"unit",label:"\u5355\u4F4D",minWidth:"155px"},{prop:"sale_price",label:"\u5355\u4EF7",minWidth:"155px"},{prop:"total_price",label:"\u91D1\u989D",minWidth:"155px"},{prop:"is_stock",label:"\u662F\u5426\u5E93\u5B58",minWidth:"155px"},{prop:"order_type",label:"\u8BA2\u5355\u6765\u6E90",minWidth:"155px"}],f={columns:m,showTitle:!1,responseCode:1,superUserNoAction:!1,beforeRequestList(o){const{start:a,end:p}=o;return s({name:"\u4E0B\u5355\u65F6\u95F4",len:90,start:a,end:p})?e.EMPTY:e.NEXT},apis:{httpList:d.list}};export{d as a,f as c,F as s};