index.c0bcfff1.js 3.3 KB

1
  1. import{h}from"./index.8505a13e.js";import{r as e}from"./columnRenderHelper.b3df3606.js";import{C as b}from"./status.177d57b0.js";import{c as g,b as C}from"./status.25ea5e43.js";import f from"./purchase-modal.b5655df5.js";import{d as D,F as _,y as l,o as B,O as y,L as v,z as a,u as p}from"./index.a584ddad.js";import{u as E}from"./use-page-search.5ed9bf1b.js";import"./basic-descriptions.fc8fb3d8.js";import"./tootip.0daf9131.js";const r=[{value:"1",label:"\u672A\u53D1\u8D27"},{value:"2",label:"\u90E8\u5206\u53D1\u8D27"},{value:"3",label:"\u5DF2\u53D1\u8D27"}],n=[{value:"0",label:"\u672A\u5BF9\u8D26"},{value:"1",label:"\u5BF9\u8D26"}],w=[{value:"1",label:"\u5E93\u5B58"},{value:"2",label:"\u975E\u5E93\u5B58"},{value:"3",label:"\u54A8\u8BE2"}],N=[{type:"selection",width:55,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\u53F7",prop:"sequenceNo",width:"175px"},{label:"\u72B6\u6001",prop:"status",width:95,...e(n,"status")},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",width:95,...e(r,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...e(b,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...e(w,"cgdType")},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"175px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180px"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",width:"175px"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",width:"120px"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",width:"175px"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",width:"175px"},{label:"\u5907\u5E93\u5355",prop:"bkCode",width:"175px"},{label:"\u91C7\u8D2D\u5458",prop:"ownerName",width:75},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",width:155},{label:"\u64CD\u4F5C",fixed:"right",width:55,slot:"operation"}],x={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:N,companyProp:"supplierNo",apis:{httpList:h,httpAdd:!0}},s={formItems:[{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"qrdCode",label:"\u8BA2\u5355\u7F16\u53F7"},{value:"sequenceNo",label:"\u9500\u552E\u8BA2\u5355\u7F16\u53F7"},{value:"companyNo",label:"\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u53F7"},{value:"companyName",label:"\u4E70\u5165\u65B9\u516C\u53F8\u540D\u79F0"},{value:"goodNo",label:"\u5546\u54C1\u7F16\u53F7"},{value:"goodName",label:"\u5546\u54C1\u540D\u79F0"},{value:"cgder",label:"\u4E70\u5165\u65B9\u91C7\u8D2D\u5458"}]}},{field:"status",type:"select",placeholder:"\u662F\u5426\u5BF9\u8D26",options:n},{field:"sendstatus",type:"select",placeholder:"\u53D1\u8D27\u72B6\u6001",options:r},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:g},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:C}]},L=D({__name:"index",setup(u){const i="supplyPorder",o=_(null),c={pageSearchHook:()=>E(void 0,void 0,s)},d={content:{preview:t=>o.value.onDisplay(t)}};return(t,A)=>{const F=l("PageContainer"),m=l("PageAuth");return B(),y(m,{pageName:i},{default:v(()=>[a(F,{hooks:c,events:d,contentConfig:p(x),"search-config":p(s)},null,8,["contentConfig","search-config"]),a(f,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});export{L as default};