index.efd84864.js 2.7 KB

1
  1. import{al as h,aS as f,ae as F,_,d as g,n as y,r,o as B,G as C,C as E,l as D,u as s}from"./index.56c69f5a.js";import{c as P,d as N}from"./index.3dc5e478.js";import{v as l,h as b}from"./status.2df4810d.js";import{a as v,r as p}from"./columnRenderHelper.6c05b86e.js";import{u as A}from"./use-page-search.27df6d7f.js";const w=[{label:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u7801",prop:"returnCode",width:150,align:"left"},{label:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801",prop:"orderCode",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150,align:"left"},{label:"\u72B6\u6001",prop:"status",width:140,cellRenderer:({row:e,props:a})=>h(f,{size:a.size},{default:()=>{var u;return(u=l.find(t=>String(e.status)===t.value))==null?void 0:u.label}})},{label:"\u4F9B\u5E94\u5546\u7AEF",prop:"has_account",width:80,...v(b,"has_account")},{label:"\u7269\u6D41\u4F9B\u5E94\u5546",prop:"supplierName",minWidth:180,...p("supplierNo","supplierName","\u7269\u6D41\u4F9B\u5E94\u5546\u7F16\u7801:")},{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",minWidth:180,...p("companyNo","companyName","\u4E1A\u52A1\u516C\u53F8\u7F16\u7801:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:80,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"}],x={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,superUserNoAction:!0,companyProp:"supplierNo",apis:{httpList:e=>P({...e,pay_type:"2"}),httpDelete:N,httpAdd:!0}},n={formItems:[{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},{field:"companyNo",type:"business-query",placeholder:"\u4E1A\u52A1\u516C\u53F8"},{field:"returnCode",type:"input",placeholder:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"}]},O=g({__name:"index",setup(e){const a="supSendOrderPayRelive",u="/supplierOrder/supSendOrderPayReliveDetail",{push:t}=y(),i={pageSearchHook:()=>A(void 0,void 0,n)},d={content:{preview:({returnCode:o})=>t(`${u}?id=${o}`),create:()=>t(u)}};return(o,S)=>{const c=r("PageContainer"),m=r("PageAuth");return B(),C(m,{pageName:a},{default:E(()=>[D(c,{hooks:i,events:d,contentConfig:s(x),"search-config":s(n)},null,8,["contentConfig","search-config"])]),_:1})}}});var H=_(O,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supplierOrder/sendOrderPayRelive/index.vue"]]);export{H as default};