import{b as c,T as d,a as m}from"./index-434d719f.js";import{f as y,ai as u,a4 as b}from"./index-ba596ae9.js";import{_}from"./popupForm.vue_vue_type_script_setup_true_lang-63860a20.js";import{h as s,y as f,B as h,p,l as g,k as r,M as A,a4 as q,q as o,t as k,as as E}from"./vue-a39e6937.js";import"./controllerUrls-941681c3.js";import"./index-7e56a0fa.js";import"./index-f0d8af94.js";import"./validate-4ecec794.js";const w={class:"default-main ba-table-box"},N=s({name:"payApply"}),P=s({...N,setup(T){const{t:e}=y(),l=f(),n=u(["edit","delete"]),a=new c(new b("/admin/PayApply/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("payApply.id"),prop:"id",align:"center",width:180,operator:"RANGE",sortable:"custom"},{label:e("payApply.req_order__sn"),prop:"reqOrder.sn",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("payApply.req_order__name"),prop:"reqOrder.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("payApply.req_order__req_corp"),prop:"reqOrder.req_corp",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("payApply.status"),prop:"status",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{待审核:e("payApply.status 待审核"),已通过:e("payApply.status 已通过"),已驳回:e("payApply.status 已驳回")}},{label:e("payApply.pay_amount"),prop:"pay_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("payApply.images"),prop:"images",align:"center",render:"images",operator:!1},{label:e("payApply.create_time"),prop:"create_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("payApply.update_time"),prop:"update_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("operate"),align:"center",width:100,render:"buttons",buttons:n,operator:!1}],dblClickNotEditColumn:[void 0]},{defaultItems:{status:"待审核",pay_amount:0}});return E("baTable",a),h(()=>{var t;a.table.ref=l.value,a.mount(),(t=a.getIndex())==null||t.then(()=>{a.initSort(),a.dragSort()})}),(t,z)=>{const i=k("el-alert");return p(),g("div",w,[r(a).table.remark?(p(),A(i,{key:0,class:"ba-table-alert",title:r(a).table.remark,type:"info","show-icon":""},null,8,["title"])):q("",!0),o(d,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":r(e)("quick Search Placeholder",{fields:r(e)("payApply.quick Search Fields")})},null,8,["quick-search-placeholder"]),o(m,{ref_key:"tableRef",ref:l},null,512),o(_)])}}});export{P as default};
