content.config.92bb975f.js 2.0 KB

1
  1. import{S as t,c_ as e}from"./index.27d51457.js";import{i as p}from"./isBeyondTime.5a828832.js";import{c as i}from"./createRequset.59aac8df.js";const u=new Date,s=t(u).subtract(30,"days").format("YYYY-MM-DD"),d=t(u).format("YYYY-MM-DD"),D={formItems:[{field:"date",type:"date_picker",defaultValue:[s,d],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_date",endProp:"end_date"}},{field:"commitment_date",type:"date_picker",trigger:"change",otherOptions:{type:"daterange",startPlaceholder:"\u627F\u8BFA\u53D1\u8D27\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u627F\u8BFA\u53D1\u8D27\u7ED3\u675F\u65F6\u95F4",valueFormat:"YYYY-MM-DD",startProp:"start_arrive_date",endProp:"end_arrive_date"}},{field:"depart_id",type:"depart-query",trigger:"change"}]},n="purchease/sale/";var l={list:i(`${n}orderNoOutList`)};const m=[{prop:"apply_name",label:"\u521B\u5EFA\u4EBA",minWidth:"155px"},{prop:"depart",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:"\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:"arrive_time",label:"\u627F\u8BFA\u53D1\u8D27\u65F6\u95F4",minWidth:"155px"}],E={columns:m,showTitle:!1,responseCode:1,superUserNoAction:!1,beforeRequestList(r){const{start_date:a,end_date:o}=r;return p({name:"\u4E0B\u5355\u65F6\u95F4",len:90,start:a,end:o})?e.EMPTY:e.NEXT},apis:{httpList:l.list}};export{l as a,E as c,D as s};