import{b as p,T as u,a as d}from"./index-434d719f.js";import{f as b,ai as f,a4 as m}from"./index-ba596ae9.js";import{_}from"./popupForm.vue_vue_type_script_setup_true_lang-197734db.js";import{h as i,y as h,B as y,p as n,l as I,k as o,M as k,a4 as v,q as r,t as g,as as q}from"./vue-a39e6937.js";import"./controllerUrls-941681c3.js";import"./index-7e56a0fa.js";import"./index-f0d8af94.js";const z={class:"default-main ba-table-box"},E=i({name:"invoiceInfo"}),x=i({...E,setup(F){const{t:e}=b(),l=h(),c=f(["edit","delete"]),a=new p(new m("/admin/InvoiceInfo/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("invoiceInfo.id"),prop:"id",align:"center",width:70,operator:"RANGE",sortable:"custom"},{label:e("invoiceInfo.type"),prop:"type",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{客户抬头:e("invoiceInfo.type 客户抬头"),供应商抬头:e("invoiceInfo.type 供应商抬头")}},{label:e("invoiceInfo.title"),prop:"title",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("invoiceInfo.reg_num"),prop:"reg_num",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("invoiceInfo.bank_name"),prop:"bank_name",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("invoiceInfo.bank_account"),prop:"bank_account",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("invoiceInfo.address"),prop:"address",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("invoiceInfo.tel"),prop:"tel",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("operate"),align:"center",width:100,render:"buttons",buttons:c,operator:!1}],dblClickNotEditColumn:[void 0]},{defaultItems:{type:"客户抬头"}});return q("baTable",a),y(()=>{var t;a.table.ref=l.value,a.mount(),(t=a.getIndex())==null||t.then(()=>{a.initSort(),a.dragSort()})}),(t,P)=>{const s=g("el-alert");return n(),I("div",z,[o(a).table.remark?(n(),k(s,{key:0,class:"ba-table-alert",title:o(a).table.remark,type:"info","show-icon":""},null,8,["title"])):v("",!0),r(u,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":o(e)("quick Search Placeholder",{fields:o(e)("invoiceInfo.quick Search Fields")})},null,8,["quick-search-placeholder"]),r(d,{ref_key:"tableRef",ref:l},null,512),r(_)])}}});export{x as default};