index.81e365b1.js 2.7 KB

1
  1. import{af as h,aC as m,a8 as f,_ as F,d as y,n as g,r as p,o as B,G as D,C as _,l as C,u as l}from"./index.7322f334.js";import{c as E,d as P}from"./index.dbd791c2.js";import{p as i}from"./status.73dc9f3e.js";import{u as b}from"./use-page-search.e7039790.js";const N=[{type:"selection",width:40,align:"center",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\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:130,cellRenderer:({row:e,props:a})=>h(m,{size:a.size},{default:()=>{var u;return(u=i.find(t=>String(e.dstatus)===t.value))==null?void 0:u.label}})},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",width:110,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",width:110},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",width:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>f(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],w={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:N,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,listNoRelation:!0,apis:{httpList:E,httpDelete:P,httpAdd:!0}},s={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:"companyNo",type:"business-query"},{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"}]},v=y({__name:"index",setup(e){const a="supplyPurchPay",u="/supply/supplyPurchPayDetail",{push:t}=g(),n={pageSearchHook:()=>b(void 0,void 0,s)},r={content:{preview:({dzNo:o})=>t(`${u}?id=${o}`),create:()=>t(u)}};return(o,x)=>{const d=p("PageContainer"),c=p("PageAuth");return B(),D(c,{pageName:a},{default:_(()=>[C(d,{hooks:n,events:r,contentConfig:l(w),"search-config":l(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=F(v,[["__file","/Users/apple/Desktop/CompanyProjects/accout-vue3-ui/src/views/supply/purchPay/index.vue"]]);export{Y as default};