index.8f7fa46b.js 2.8 KB

1
  1. import{al as F,aS as B,_,d as C,n as D,r as p,o as g,G as y,C as E,l as b,u as r}from"./index.56c69f5a.js";import{c as N,d as P}from"./index.7bd89ecb.js";import{p as i,h as w,o as c}from"./status.2df4810d.js";import{a as s,r as n}from"./columnRenderHelper.6c05b86e.js";import{u as A}from"./use-page-search.27df6d7f.js";const v=[{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801",prop:"dzNo",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u4F9B\u5E94\u5546\u7AEF",prop:"has_account",width:80,...s(w,"has_account")},{label:"\u72B6\u6001",prop:"dstatus",width:140,cellRenderer:({row:u,props:o})=>F(B,{size:o.size},{default:()=>{var e;return(e=i.find(t=>String(u.dstatus)===t.value))==null?void 0:e.label}})},{label:"\u4E1A\u52A1\u7C7B\u578B",width:95,...s(c,"is_comon")},{label:"\u5BF9\u8D26\u603B\u91D1\u989D",prop:"total_fee",width:110},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",width:110,align:"left"},{label:"\u5356\u51FA\u65B9\u516C\u53F8",prop:"supplierName",minWidth:180,...n("supplierNo","supplierName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E70\u5165\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,...n("companyNo","companyName","\u4E70\u5165\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:90,align:"left"},{label:"\u56DE\u6267\u65F6\u95F4",width:140,prop:"return_time"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime"},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],x={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:v,deleteProp:"dzNo",superUserNoAction:!0,showDelete:({dstatus:u})=>Number(u)===1,apis:{httpList:N,httpDelete:P,httpAdd:!0}},l={formItems:[{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:i},{field:"supplierNo",type:"supplier-query"},{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"},{field:"is_comon",type:"select",placeholder:"\u4E1A\u52A1\u7C7B\u578B",span:4,options:c}]},k=C({__name:"index",setup(u){const o="purchPay",e="/purchase/purchPayDetail",{push:t}=D(),d={pageSearchHook:()=>A(void 0,void 0,l)},h={content:{preview:({dzNo:a})=>t(`${e}?id=${a}`),create:()=>t(e)}};return(a,z)=>{const m=p("PageContainer"),f=p("PageAuth");return g(),y(f,{pageName:o},{default:E(()=>[b(m,{hooks:d,events:h,contentConfig:r(x),"search-config":r(l)},null,8,["contentConfig","search-config"])]),_:1})}}});var I=_(k,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/purchase/purchPay/index.vue"]]);export{I as default};