1 |
- import{u as B,_ as g}from"./use-page-search.54e3d04d.js";import{u as y,_ as D}from"./use-page-modal.4c22d2a1.js";import{P as k}from"./page-content.0dcd5132.js";import{h as b}from"./index.b3b443f9.js";import{aM as E,_ as x,q as v,o as P,n as w,t as u,v as e}from"./index.97d5ac7d.js";import"./hooks.e9d4a8f7.js";import"./index.2c8b0b98.js";import"./responseHandle.57a67510.js";import"./use-response-handle.0cc5e786.js";const A={formItems:[{field:"company",type:"select",placeholder:"\u8BF7\u9009\u62E9\u8D44\u91D1\u72B6\u6001"},{field:"dd_range",type:"input",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u5361\u53F7"},{field:"dd_range",type:"input",placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0"},{field:"je_range",type:"range",otherOptions:{startPlaceholder:"\u91D1\u989D\u5F00\u59CB\u8303\u56F4",endPlaceholder:"\u91D1\u989D\u7ED3\u675F\u8303\u56F4"}},{field:"contactor",type:"select",placeholder:"\u8BF7\u9009\u62E9\u53D1\u7968\u5173\u8054\u72B6\u6001"},{field:"contactor",type:"select",placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u786E\u8BA4\u5355\u72B6\u6001"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7ED3\u675F\u65F6\u95F4"}}]},R=[{type:"selection",width:55,hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{label:"\u5BA2\u6237\u7F16\u53F7",prop:"companyNo"},{label:"\u5BA2\u6237\u540D\u79F0",prop:"companyName"},{label:"\u5F52\u5C5E\u96C6\u56E2",prop:"parent"},{label:"\u8054\u7CFB\u4EBA",prop:"contactor"},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"createTime",formatter:({createTime:t})=>E(t).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],M={title:"\u8D44\u91D1\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],notReuqiredInit:!0,columns:R,apis:{httpList:b}},I={title:"\u5BA2\u6237",itemStyle:{},formItems:[{field:"companyNo",type:"input",label:"\u5BA2\u6237\u7F16\u53F7",labelWidth:"120px"},{field:"companyName",type:"input",labelWidth:"120px",label:"\u5BA2\u6237\u540D\u79F0"},{field:"parent",type:"input",labelWidth:"120px",label:"\u5F52\u5C5E\u96C6\u56E2"},{field:"contactor",type:"input",labelWidth:"120px",label:"\u8054\u7CFB\u4EBA"},{field:"createTime",type:"input",labelWidth:"120px",label:"\u521B\u5EFA\u65F6\u95F4"}]};const N={class:"main role"},S={name:"invoiceheader"},W=v({...S,setup(t){function l({whx_range:n,dd_range:o}){const[F,_]=n,[C,h]=o;return{result:{start:F,end:_,dstart:C,dend:h},deleteProps:["whx_range","dd_range"]}}const{pageContentRef:a,handleResetClick:i,handleSearchClick:r}=B(l),{pageModalRef:c,handleUpdateData:d,handleCreateData:p,handlePreviewData:s,handleConfrim:f,defaultInfo:m}=y({pageContentRef:a});return(n,o)=>(P(),w("div",N,[u(e(g),{"form-config":e(A),onSearchBtnClick:e(r),onResetBtnClick:e(i)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),u(e(k),{ref_key:"pageContentRef",ref:a,"content-config":e(M),onCreateBtnClick:e(p),onUpdateBtnClick:e(d),onPreviewBtnClick:e(s)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),u(e(D),{ref_key:"pageModalRef",ref:c,"prview-description":"","modal-config":e(I),"default-info":e(m),onConfirmBtnClick:e(f)},null,8,["modal-config","default-info","onConfirmBtnClick"])]))}});var z=x(W,[["__scopeId","data-v-ee0709da"]]);export{z as default};
|