import{b as c,T as m,a as u}from"./index-434d719f.js";import{f as d,ai as b,a4 as _}from"./index-ba596ae9.js";import{_ as y}from"./popupForm.vue_vue_type_script_setup_true_lang-59f3d99d.js";import{h as s,y as f,B as h,p as n,l as k,k as t,M as P,a4 as g,q as o,t as q,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"},S=s({name:"supplierPayment"}),x=s({...S,setup(T){const{t:e}=d(),l=f(),p=b(["edit","delete"]),a=new c(new _("/admin/SupplierPayment/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("supplierPayment.id"),prop:"id",align:"center",width:70,operator:"RANGE",sortable:"custom"},{label:e("supplierPayment.supplier__name"),prop:"supplier.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("supplierPayment.bank_name"),prop:"bank_name",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("supplierPayment.bank_account"),prop:"bank_account",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("supplierPayment.create_time"),prop:"create_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("supplierPayment.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:p,operator:!1}],dblClickNotEditColumn:[void 0]},{defaultItems:{}});return E("baTable",a),h(()=>{var r;a.table.ref=l.value,a.mount(),(r=a.getIndex())==null||r.then(()=>{a.initSort(),a.dragSort()})}),(r,z)=>{const i=q("el-alert");return n(),k("div",w,[t(a).table.remark?(n(),P(i,{key:0,class:"ba-table-alert",title:t(a).table.remark,type:"info","show-icon":""},null,8,["title"])):g("",!0),o(m,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":t(e)("quick Search Placeholder",{fields:t(e)("supplierPayment.quick Search Fields")})},null,8,["quick-search-placeholder"]),o(u,{ref_key:"tableRef",ref:l},null,512),o(y)])}}});export{x as default};