index.66fb7b65.js 2.5 KB

1
  1. import{aj as h,aF as m,ah as F,_ as f,d as g,A as B,x as r,o as C,N as _,K as D,y,u as p}from"./index.1417328f.js";import{c as E,d as P}from"./index.eca696a2.js";import{s as l}from"./_options.e47869ce.js";import{u as b}from"./use-page-search.7e7b4728.js";const N=[{label:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u53F7",prop:"returnCode",width:160,align:"left"},{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u53F7",prop:"orderCode",width:160,align:"left"},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:160,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:"\u72B6\u6001",prop:"status",minWidth:130,cellRenderer:({row:e,props:a})=>h(m,{size:a.size},{default:()=>{var u;return(u=l.find(t=>String(e.status)===t.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,superUserNoAction:!0,apis:{httpList:E,httpDelete:P,httpAdd:!0}},s={formItems:[{field:"returnCode",type:"input",placeholder:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u53F7"},{field:"supplierNo",type:"supplier-query"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"start",endProp:"end",startPlaceholder:"\u7533\u8BF7\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u7533\u8BF7\u7ED3\u675F\u65F6\u95F4"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:l}]},w=g({__name:"index",setup(e){const a="purchPayRelive",u="/purchase/purchPayReliveDetail",{push:t}=B(),n={pageSearchHook:()=>b(void 0,void 0,s)},i={content:{preview:({returnCode:o})=>t(`${u}?id=${o}`),create:()=>t(u)}};return(o,x)=>{const c=r("PageContainer"),d=r("PageAuth");return C(),_(d,{pageName:a},{default:D(()=>[y(c,{hooks:n,events:i,contentConfig:p(v),"search-config":p(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=f(w,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/purchase/purchPayRelive/index.vue"]]);export{Y as default};