index.2c834f.js 2.5 KB

1
  1. import{am as f,d4 as n,aR as F,cs as B,bb as p,cr as i,_,d as D,p as g,r,o as C,G as y,D as b,l as E,m as s,bd as N}from"./index.js";import{e as P,i as w}from"./index.5f728d54.js";const A=[{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801",prop:"dzNo",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u72B6\u6001",prop:"dstatus",width:140,cellRenderer:({row:u,props:a})=>f(F,{size:a.size},{default:()=>{var e;return(e=n.find(t=>String(u.dstatus)===t.value))==null?void 0:e.label}})},{label:"\u4E1A\u52A1\u7C7B\u578B",width:95,...B(i,"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,...p("supplierNo","supplierName","\u5356\u51FA\u65B9\u516C\u53F8\u7F16\u7801:")},{label:"\u4E70\u5165\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,...p("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"}],v={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:A,deleteProp:"dzNo",superUserNoAction:!0,showDelete:({dstatus:u})=>Number(u)===1,apis:{httpList:P,httpDelete:w,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:n},{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:i}]},x=D({__name:"index",setup(u){const a="purchPay",e="/purchase/purchPayDetail",{push:t}=g(),c={pageSearchHook:()=>N(void 0,void 0,l)},d={content:{preview:({dzNo:o})=>t(`${e}?id=${o}`),create:()=>t(e)}};return(o,k)=>{const h=r("PageContainer"),m=r("PageAuth");return C(),y(m,{pageName:a},{default:b(()=>[E(h,{hooks:c,events:d,contentConfig:s(v),"search-config":s(l)},null,8,["contentConfig","search-config"])]),_:1})}}});var T=_(x,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/purchase/purchPay/index.vue"]]);export{T as default};