index.686fb416.js 3.0 KB

1
  1. import{_ as g,d as C,E as _,x as p,o as y,N as b,K as w,y as a,u as s}from"./index.9ab5d1f5.js";import{h as x}from"./index.389c069e.js";import{r as u}from"./columnRenderHelper.31fe56e5.js";import{m as r,n as i,h as n,j as d}from"./status.c5a3efde.js";import B from"./purchase-modal.461ec169.js";import{u as D}from"./use-page-search.6334dbe8.js";import"./basic-descriptions.69637ae7.js";import"./porder.032c0e82.js";import"./tootip.8b288b3c.js";const N=[{type:"selection",width:55,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\u53F7",prop:"sequenceNo",width:"175px"},{label:"\u72B6\u6001",prop:"status",width:95,...u(r,"status")},{label:"\u72B6\u6001",prop:"sendStatus",width:95,...u(i,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...u(n,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...u(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"}],v={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:N,companyProp:"supplierNo",listNoRelation:!0,apis:{httpList:x,httpAdd:!0}},l={formItems:[{field:"group",type_field:"group_type",type:"input_group",otherOptions:{inputGroupOptions:[{value:"sequenceNo",label:"\u91C7\u8D2D\u5355\u7F16\u53F7"},{value:"qrdCode",label:"\u786E\u8BA4\u5355\u7F16\u53F7"},{value:"goodNo",label:"\u5546\u54C1\u7F16\u53F7"},{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:r},{field:"sendstatus",type:"select",placeholder:"\u72B6\u6001",options:i},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:n},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:d}]},E=C({__name:"index",setup(e){const c="supplyPorder",o=_(null),h={pageSearchHook:()=>D(void 0,void 0,l)},m={content:{preview:t=>o.value.onDisplay(t)}};return(t,P)=>{const F=p("PageContainer"),f=p("PageAuth");return y(),b(f,{pageName:c},{default:w(()=>[a(F,{hooks:h,events:m,contentConfig:s(v),"search-config":s(l)},null,8,["contentConfig","search-config"]),a(B,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});var G=g(E,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/porder/index.vue"]]);export{G as default};