index.9ee076e9.js 3.4 KB

1
  1. import{_ as C,d as f,E as b,x as p,o as g,N as _,K as D,y as l,u as a}from"./index.1417328f.js";import{h as y}from"./index.31e03583.js";import{r as e}from"./columnRenderHelper.dfb155e8.js";import{C as w}from"./status.0f757cb5.js";import{b as s,c as B}from"./status.727086c1.js";import x from"./purchase-modal.4ade5824.js";import{u as E}from"./use-page-search.7e7b4728.js";import"./basic-descriptions.cadaf928.js";import"./tootip.8c37fa8a.js";const i=[{value:"1",label:"\u672A\u5165\u5E93"},{value:"2",label:"\u90E8\u5206\u5165\u5E93"},{value:"3",label:"\u5DF2\u5165\u5E93"}],n=[{value:"0",label:"\u672A\u5BF9\u8D26"},{value:"1",label:"\u5BF9\u8D26"}],v=[{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:"150px"},{label:"\u91C7\u8D2D\u4E3B\u5355\u7F16\u53F7",prop:"cxCode",width:"150px"},{label:"\u786E\u8BA4\u5355\u7F16\u53F7",prop:"qrdCode",width:"150px"},{label:"\u72B6\u6001",prop:"status",width:95,...e(n,"status")},{label:"\u72B6\u6001",prop:"sendStatus",width:95,...e(i,"sendStatus")},{label:"\u8BA2\u5355\u6765\u6E90",prop:"cgdSource",width:95,...e(w,"cgdSource")},{label:"\u5546\u54C1\u6765\u6E90",prop:"cgdType",width:95,...e(s,"cgdType")},{label:"\u5546\u54C1\u7F16\u53F7",prop:"goodNo",width:"150px"},{label:"\u5546\u54C1\u540D\u79F0",prop:"goodName",width:"180px"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",width:"150px"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",width:"120px"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",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:130},{label:"\u64CD\u4F5C",fixed:"right",width:55,slot:"operation"}],N={title:"\u91C7\u8D2D\u5355\u7BA1\u7406",columns:v,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:"cxCode",label:"\u91C7\u8D2D\u4E3B\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"}]}},{type:"business-query",field:"companyNo"},{field:"status",type:"select",placeholder:"\u662F\u5426\u5BF9\u8D26",options:n},{field:"sendstatus",type:"select",placeholder:"\u72B6\u6001",options:i},{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 d="supplyPorder",o=b(null),c={pageSearchHook:()=>E(void 0,void 0,r)},h={content:{preview:t=>o.value.onDisplay(t)}};return(t,A)=>{const F=p("PageContainer"),m=p("PageAuth");return g(),_(m,{pageName:d},{default:D(()=>[l(F,{hooks:c,events:h,contentConfig:a(N),"search-config":a(r)},null,8,["contentConfig","search-config"]),l(x,{ref_key:"purchaseModalRef",ref:o},null,512)]),_:1})}}});var U=C(P,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/porder/index.vue"]]);export{U as default};