1 |
- import{aW as _,_ as g,z as y,w as k,x as b,C as u,D as e}from"./index.228f4553.js";import{u as x,P as A}from"./use-page-search.cb4ec618.js";import{u as D,P}from"./use-page-modal.c5ec52fd.js";import{P as v}from"./page-content.2ff769ff.js";import{h as E}from"./index.871367b0.js";import"./hooks.cbe88ee0.js";import"./index.2d3ff703.js";import"./responseHandle.4e3db878.js";import"./use-response-handle.49bd2e23.js";const w={formItems:[{field:"company",type:"input",placeholder:"\u5BA2\u6237\u540D\u79F0"},{field:"dd_range",type:"range",placeholder:"\u8BA2\u5355\u8303\u56F4",otherOptions:{startPlaceholder:"\u8BA2\u5355\u5F00\u59CB\u8303\u56F4",endPlaceholder:"\u8BA2\u5355\u7ED3\u675F\u8303\u56F4"}},{field:"whx_range",type:"range",placeholder:"\u672A\u6838\u9500\u8303\u56F4",otherOptions:{startPlaceholder:"\u672A\u6838\u9500\u5F00\u59CB\u8303\u56F4",endPlaceholder:"\u672A\u6838\u9500\u7ED3\u675F\u8303\u56F4"}},{field:"contactor",type:"input",placeholder:"\u53D1\u7968\u72B6\u6001"},{field:"contactor",type:"input",placeholder:"\u5173\u8054\u8D44\u91D1\u72B6\u6001"}]},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})=>_(t).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],S={title:"\u786E\u8BA4\u5355\u516C\u6D77\u6C60",powers:["001","002","003","004","005","006","007","008"],notReuqiredInit:!0,columns:R,apis:{httpList:E}},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 M={class:"main role"},W={name:"invoiceheader"},N=y({...W,setup(t){function l({whx_range:a,dd_range:n}){const[h,C]=a,[B,F]=n;return{result:{start:h,end:C,dstart:B,dend:F},deleteProps:["whx_range","dd_range"]}}const{pageContentRef:o,handleResetClick:r,handleSearchClick:i}=x(l),{pageModalRef:c,handleUpdateData:p,handleCreateData:d,handlePreviewData:s,handleConfrim:f,defaultInfo:m}=D({pageContentRef:o});return(a,n)=>(k(),b("div",M,[u(e(A),{"form-config":e(w),onSearchBtnClick:e(i),onResetBtnClick:e(r)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),u(e(v),{ref_key:"pageContentRef",ref:o,"content-config":e(S),onCreateBtnClick:e(d),onUpdateBtnClick:e(p),onPreviewBtnClick:e(s)},null,8,["content-config","onCreateBtnClick","onUpdateBtnClick","onPreviewBtnClick"]),u(e(P),{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 G=g(N,[["__scopeId","data-v-103b9414"],["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/sheetOrderPool/index.vue"]]);export{G as default};
|