index.ff488b34.js 2.6 KB

1
  1. import{aj as m,aF as h,ah as f,_ as F,d as y,A as g,x as i,o as _,N as B,K as C,y as D,u as s}from"./index.1417328f.js";import{c as P,d as b}from"./index.514aa846.js";import{s as o}from"./_options.0a7f2a8c.js";import{u as E}from"./use-page-search.7e7b4728.js";const N=[{type:"selection",minWidth:55,align:"left",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",minWidth:180,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",minWidth:180},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",minWidth:110,align:"left"},{label:"\u72B6\u6001",prop:"dstatus",minWidth:120,transform:e=>{var t;return(t=o.find(u=>String(e)===u.value))==null?void 0:t.label},cellRenderer:({row:e,props:t})=>m(h,{size:t.size},{default:()=>{var u;return(u=o.find(a=>String(e.dstatus)===a.value))==null?void 0:u.label}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"addtime",formatter:({addtime:e})=>f(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],v={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:N,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,apis:{httpList:P,httpDelete:b,httpAdd:!0}},l={formItems:[{field:"companyNo",type:"business-query",placeholder:"\u4E70\u5165\u65B9\u516C\u53F8"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{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:o}]},W=y({__name:"index",setup(e){const t="supplyPurchPay",u="/supply/supplyPurchPayDetail",{push:a}=g(),p={pageSearchHook:()=>E(void 0,void 0,l)},r={content:{preview:({dzNo:n})=>a(`${u}?id=${n}`)}};return(n,x)=>{const c=i("PageContainer"),d=i("PageAuth");return _(),B(d,{pageName:t},{default:C(()=>[D(c,{hooks:p,events:r,contentConfig:s(v),"search-config":s(l)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=F(W,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/purchPay/index.vue"]]);export{Y as default};