import{b as m,T as c,a as u}from"./index-434d719f.js";import{f as d,ai as _,a4 as f}from"./index-ba596ae9.js";import{_ as b}from"./popupForm.vue_vue_type_script_setup_true_lang-030a8e6e.js";import{h as n,y as S,B as h,p as s,l as g,k as a,M as y,a4 as v,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 q={class:"default-main ba-table-box"},N=n({name:"platformSettle"}),M=n({...N,setup(R){const{t:e}=d(),r=S(),i=_(["edit","delete"]),t=new m(new f("/admin/PlatformSettle/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("platformSettle.id"),prop:"id",align:"center",width:70,operator:"RANGE",sortable:"custom"},{label:e("platformSettle.settle_sn"),prop:"settle_sn",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("platformSettle.xuqiu_order__需求订单编号"),prop:"xuqiuOrder.需求订单编号",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("platformSettle.supplier__name"),prop:"supplier.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("platformSettle.total_amount"),prop:"total_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("platformSettle.settle_status"),prop:"settle_status",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{未回款:e("platformSettle.settle_status 未回款"),部分回款:e("platformSettle.settle_status 部分回款"),已回款:e("platformSettle.settle_status 已回款")}},{label:e("platformSettle.settled_amount"),prop:"settled_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("platformSettle.invoice_status"),prop:"invoice_status",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{未开票:e("platformSettle.invoice_status 未开票"),部分开票:e("platformSettle.invoice_status 部分开票"),已开票:e("platformSettle.invoice_status 已开票")}},{label:e("platformSettle.invoiced_amount"),prop:"invoiced_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("platformSettle.doing_invoice_amount"),prop:"doing_invoice_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("platformSettle.create_time"),prop:"create_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("platformSettle.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:i,operator:!1}],dblClickNotEditColumn:[void 0]},{defaultItems:{total_amount:0,settle_status:"未回款",settled_amount:0,invoice_status:"未开票",invoiced_amount:0,doing_invoice_amount:0}});return E("baTable",t),h(()=>{var l;t.table.ref=r.value,t.mount(),(l=t.getIndex())==null||l.then(()=>{t.initSort(),t.dragSort()})}),(l,A)=>{const p=k("el-alert");return s(),g("div",q,[a(t).table.remark?(s(),y(p,{key:0,class:"ba-table-alert",title:a(t).table.remark,type:"info","show-icon":""},null,8,["title"])):v("",!0),o(c,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":a(e)("quick Search Placeholder",{fields:a(e)("platformSettle.quick Search Fields")})},null,8,["quick-search-placeholder"]),o(u,{ref_key:"tableRef",ref:r},null,512),o(b)])}}});export{M as default};
