index.cf7ce9ea.js 2.5 KB

1
  1. import{ao as h,aL as m,_ as F,d as f,A as B,x as p,o as _,N as D,K as g,y,u as r}from"./index.1bd4a40a.js";import{c as C,d as E}from"./index.8b69d571.js";import{p as n,k as P}from"./status.c5a3efde.js";import{r as b}from"./columnRenderHelper.e9a6783a.js";import{u as N}from"./use-page-search.a438c70f.js";const w=[{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7",prop:"dzNo",width:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:160},{label:"\u4F9B\u5E94\u5546\u7AEF",prop:"has_account",width:80,...b(P,"has_account")},{label:"\u72B6\u6001",prop:"dstatus",minWidth:140,cellRenderer:({row:u,props:o})=>h(m,{size:o.size},{default:()=>{var e;return(e=n.find(t=>String(u.dstatus)===t.value))==null?void 0:e.label}})},{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\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",width:160,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",width:160},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:160,prop:"addtime"},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],v={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",superUserNoAction:!0,showDelete:({dstatus:u})=>Number(u)===1,apis:{httpList:C,httpDelete:E,httpAdd:!0}},s={formItems:[{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"supplierNo",type:"supplier-query"},{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:n}]},x=f({__name:"index",setup(u){const o="purchPay",e="/purchase/purchPayDetail",{push:t}=B(),l={pageSearchHook:()=>N(void 0,void 0,s)},i={content:{preview:({dzNo:a})=>t(`${e}?id=${a}`),create:()=>t(e)}};return(a,A)=>{const c=p("PageContainer"),d=p("PageAuth");return _(),D(d,{pageName:o},{default:g(()=>[y(c,{hooks:l,events:i,contentConfig:r(v),"search-config":r(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var T=F(x,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/purchase/purchPay/index.vue"]]);export{T as default};