index.ad59e589.js 3.2 KB

1
  1. import{h as D}from"./index.de9f3038.js";import{r as e}from"./columnRenderHelper.46a53836.js";import{C as s}from"./status.177d57b0.js";import b from"./purchase-modal.e102cfaf.js";import{r as f,D as g,v as l,o as v,M as _,J as w,w as a,x as p}from"./index.ef4119aa.js";import{u as B}from"./use-page-search.be87822a.js";import"./basic-descriptions.286dd5c5.js";import"./status.4f7e5409.js";import"./tootip.bae8e821.js";const n=[{value:"1",label:"\u672A\u53D1\u8D27"},{value:"2",label:"\u90E8\u5206\u53D1\u8D27"},{value:"3",label:"\u5DF2\u53D1\u8D27"}],i=[{value:"0",label:"\u672A\u5BF9\u8D26"},{value:"1",label:"\u5BF9\u8D26"}],d=[{value:"1",label:"\u5E93\u5B58"},{value:"2",label:"\u975E\u5E93\u5B58"},{value:"3",label:"\u54A8\u8BE2"}],E=[{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(i,"status")},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",width:95,...e(n,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...e(s,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...e(d,"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"}],y={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:E,apis:{httpList:D,httpAdd:!0}},r={formItems:[{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"orderCode",label:"\u8BA2\u5355\u7F16\u53F7"},{value:"sequenceNo",label:"\u91C7\u8D2D\u5355\u7F16\u53F7"},{value:"supplierNo",label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7"},{value:"bkCode",label:"\u5907\u5E93\u5355\u53F7"},{value:"goodNo",label:"\u5546\u54C1\u7F16\u53F7"},{value:"goodName",label:"\u5546\u54C1\u540D\u79F0"},{value:"cgder",label:"\u91C7\u8D2D\u5458\u540D\u79F0"}]}},{field:"status",type:"select",placeholder:"\u91C7\u8D2D\u5355\u72B6\u6001",options:i},{field:"sendstatus",type:"select",placeholder:"\u53D1\u8D27\u72B6\u6001",options:n},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:s},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u6765\u6E90",options:d}]},q=f({__name:"index",setup(u){const c="porder",o=g(null),h={pageSearchHook:()=>B(void 0,void 0,r)},F={content:{preview:t=>o.value.onDisplay(t)}};return(t,N)=>{const m=l("PageContainer"),C=l("PageAuth");return v(),_(C,{pageName:c},{default:w(()=>[a(m,{hooks:h,events:F,contentConfig:p(y),"search-config":p(r)},null,8,["contentConfig","search-config"]),a(b,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});export{q as default};