index.a779b3.js 2.5 KB

1
  1. import{af as h,ew as i,ce as f,dS as m,dT as F,cA as r,a7 as _,_ as g,d as B,k as y,r as s,o as D,A as E,y as C,h as P,i as n,cC as N}from"./index.js";import{c as b,f as v}from"./index.12c683ec.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:u})=>h(f,{size:u.size},{default:()=>{var t;return(t=i.find(a=>String(e.status)===a.value))==null?void 0:t.label}})},{label:"\u4F9B\u5E94\u5546\u7AEF",prop:"has_account",width:80,...m(F,"has_account")},{label:"\u7269\u6D41\u4F9B\u5E94\u5546",prop:"supplierName",minWidth:180,...r("supplierNo","supplierName","\u7269\u6D41\u4F9B\u5E94\u5546\u7F16\u7801:")},{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",minWidth:180,...r("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})=>_(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],A={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,superUserNoAction:!0,apis:{httpList:e=>b({...e,pay_type:"2"}),httpDelete:v,httpAdd:!0}},p={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:i},{field:"supplierNo",type:"supplier-query",placeholder:"\u7269\u6D41\u4F9B\u5E94\u5546"},{field:"returnCode",type:"input",placeholder:"\u4ED8\u6B3E\u89E3\u9664\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"}]},x="sendOrderPayRelive",l="/postSupplierOrder/sendOrderPayReliveDetail",O=B({__name:"index",setup(e){const{push:u}=y(),t={pageSearchHook:()=>N(void 0,void 0,p)},a={content:{preview:({returnCode:o})=>u(`${l}?id=${o}`),create:()=>u(l)}};return(o,k)=>{const d=s("PageContainer"),c=s("PageAuth");return D(),E(c,{pageName:x},{default:C(()=>[P(d,{hooks:t,events:a,contentConfig:n(A),"search-config":n(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var L=g(O,[["__file","D:/work/jiesuan/settle-vue3/src/views/postSupplierOrder/sendOrderPayRelive/index.vue"]]);export{L as default};