import{_ as f,d as g,w as _,r as a,o as b,G as w,C as y,l,u as r}from"./index.3f1ca816.js";import{h as B}from"./index.3e23d14a.js";import{a as u,r as s}from"./columnRenderHelper.c7097252.js";import{s as D,k as o,h as i,j as d,n as x}from"./status.d6b2a53d.js";import E from"./purchase-modal.997d09a0.js";import{u as N}from"./use-page-search.fa6a742a.js";import"./basic-descriptions.78acbb1a.js";import"./porder.d16f24ea.js";import"./tootip.1805b3e1.js";const v=[{type:"selection",width:40,align:"center",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u91C7\u8D2D\u5355\u7F16\u7801",prop:"sequenceNo",width:"150px"},{label:"\u91C7\u8D2D\u4E3B\u5355\u7F16\u7801",prop:"cxCode",width:"150px"},{label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801",prop:"qrdCode",width:"150px"},{label:"\u9500\u552E\u5355\u53D1\u8D27\u72B6\u6001",prop:"qrdSend",width:105,...u(D,"qrdSend")},{label:"\u5165\u5E93\u72B6\u6001",prop:"sendStatus",width:95,...u(o,"sendStatus")},{label:"\u72B6\u6001",prop:"sendStatus",width:95,...u(o,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...u(i,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...u(d,"cgdType")},{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type",width:95},{label:"\u5546\u54C1\u7F16\u7801",prop:"goodNo",width:"150px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180px"},{label:"\u5546\u54C1\u6570\u91CF",prop:"goodNum",width:"80px"},{label:"\u5546\u54C1\u603B\u4EF7",prop:"totalPrice",width:"80px"},{label:"\u4E70\u5165\u65B9\u516C\u53F8",prop:"companyName",width:"150px",...s("companyNo","companyName","\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"supplierNo",width:"150px",...s("supplierNo","supplierName","\u4E70\u53A8\u623F\u516C\u53F8\u7F16\u7801:")},{label:"\u5907\u5E93\u5355",prop:"bkCode",width:"150px"},{label:"\u91C7\u8D2D\u5458",prop:"ownerName",width:75},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",width:140},{label:"\u64CD\u4F5C",fixed:"right",width:55,slot:"operation"}],S={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:v,companyProp:"supplierNo",listNoRelation:!0,apis:{httpList:B,httpAdd:!0}},n={formItems:[{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"sequenceNo",label:"\u91C7\u8D2D\u5355\u7F16\u7801"},{value:"cxCode",label:"\u91C7\u8D2D\u4E3B\u5355\u7F16\u7801"},{value:"qrdCode",label:"\u9500\u552E\u8BA2\u5355\u7F16\u7801"},{value:"goodNo",label:"\u5546\u54C1\u7F16\u7801"},{value:"goodName",label:"\u5546\u54C1\u540D\u79F0"},{value:"cgder",label:"\u4E70\u5165\u65B9\u91C7\u8D2D\u5458"}]}},{field:"companyNo",type:"business-query"},{field:"status",type:"select",placeholder:"\u662F\u5426\u5BF9\u8D26",options:x},{field:"sendstatus",type:"select",placeholder:"\u72B6\u6001",options:o},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:i},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:d}]},A=g({__name:"index",setup(e){const c="supplyPorder",t=_(null),h={pageSearchHook:()=>N(void 0,void 0,n)},m={content:{preview:p=>t.value.onDisplay(p)}};return(p,P)=>{const C=a("PageContainer"),F=a("PageAuth");return b(),w(F,{pageName:c},{default:y(()=>[l(C,{hooks:h,events:m,contentConfig:r(S),"search-config":r(n)},null,8,["contentConfig","search-config"]),l(E,{ref_key:"purchaseModalRef",ref:t},null,512)]),_:1})}}});var T=f(A,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/porder/index.vue"]]);export{T as default};