1 |
- import{h as f}from"./index.7410bc41.js";import{r as e}from"./columnRenderHelper.75250d33.js";import{m as s,n,h as i,j as d}from"./status.7cff7b18.js";import F from"./purchase-modal.5c28c0a6.js";import{d as b,v as _,r as p,o as w,E as y,B,j as a,u as l}from"./index.b2b87cd1.js";import{u as D}from"./use-page-search.33590006.js";import"./basic-descriptions.028d3493.js";import"./porder.00936d92.js";import"./tootip.aa9c65df.js";const x=[{type:"selection",width:40,align:"center",hide:({checkList:u})=>!u.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:u})=>!u.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:"\u72B6\u6001",prop:"status",width:95,...e(s,"status")},{label:"\u72B6\u6001",prop:"sendStatus",width:95,...e(n,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...e(i,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...e(d,"cgdType")},{label:"\u5546\u54C1\u7F16\u7801",prop:"goodNo",width:"150px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180px"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:"150px"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",width:"120px"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",width:"150px"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",width:"175px"},{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"}],N={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:x,companyProp:"supplierNo",listNoRelation:!0,apis:{httpList:f,httpAdd:!0}},r={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:s},{field:"sendstatus",type:"select",placeholder:"\u72B6\u6001",options:n},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:i},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:d}]},M=b({__name:"index",setup(u){const c="supplyPorder",o=_(null),h={pageSearchHook:()=>D(void 0,void 0,r)},m={content:{preview:t=>o.value.onDisplay(t)}};return(t,E)=>{const C=p("PageContainer"),g=p("PageAuth");return w(),y(g,{pageName:c},{default:B(()=>[a(C,{hooks:h,events:m,contentConfig:l(N),"search-config":l(r)},null,8,["contentConfig","search-config"]),a(F,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});export{M as default};
|