index.f0fc8da6.js 3.3 KB

1
  1. import{_ as C,d as f,F as D,y as p,o as g,O as _,L as b,z as a,u as l}from"./index.bfaa26f1.js";import{h as y}from"./index.ef67753e.js";import{r as e}from"./columnRenderHelper.c0af853b.js";import{C as v}from"./status.232bf350.js";import{b as s,c as B}from"./status.ba3625fb.js";import w from"./purchase-modal.d9ea5173.js";import{u as N}from"./use-page-search.e4daa53b.js";import"./basic-descriptions.4f7118c4.js";import"./tootip.7350812f.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"}],x=[{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(v,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...e(s,"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"}],E={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:x,companyProp:"supplierNo",apis:{httpList:y,httpAdd:!0}},r={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:"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:i},{field:"sendstatus",type:"select",placeholder:"\u53D1\u8D27\u72B6\u6001",options:n},{field:"cgdsource",type:"select",placeholder:"\u8BA2\u5355\u6765\u6E90",options:B},{field:"cgdtype",type:"select",placeholder:"\u5546\u54C1\u7C7B\u578B",options:s}]},P=f({__name:"index",setup(u){const c="supplyPorder",o=D(null),d={pageSearchHook:()=>N(void 0,void 0,r)},F={content:{preview:t=>o.value.onDisplay(t)}};return(t,A)=>{const h=p("PageContainer"),m=p("PageAuth");return g(),_(m,{pageName:c},{default:b(()=>[a(h,{hooks:d,events:F,contentConfig:l(E),"search-config":l(r)},null,8,["contentConfig","search-config"]),a(w,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});var L=C(P,[["__file","/Users/apple/Desktop/company-projects/accout-vue3-ui/src/views/supply/porder/index.vue"]]);export{L as default};