import{b as i,T as u,a as c}from"./index-434d719f.js";import{f as _,ai as m,a4 as q}from"./index-ba596ae9.js";import{_ as b}from"./popupForm.vue_vue_type_script_setup_true_lang-ebe8a9a0.js";import{h as p,y as O,B as f,p as n,l as g,k as a,M as y,a4 as h,q as l,t as z,as as w}from"./vue-a39e6937.js";import"./controllerUrls-941681c3.js";import"./index-7e56a0fa.js";import"./index-f0d8af94.js";import"./validate-4ecec794.js";const E={class:"default-main ba-table-box"},k=p({name:"reqOrder"}),B=p({...k,setup(I){const{t:e}=_(),o=O(),s=m(["edit","delete"]),r=new i(new q("/admin/ReqOrder/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("reqOrder.id"),prop:"id",align:"center",width:180,operator:"RANGE",sortable:"custom"},{label:e("reqOrder.city"),prop:"city_text",align:"center",operator:!1},{label:e("reqOrder.name"),prop:"name",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("reqOrder.participant"),prop:"participant",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{"大型活动(1000以上)":e("reqOrder.participant 大型活动(1000以上)"),"中型活动(100以上)":e("reqOrder.participant 中型活动(100以上)"),"小型活动(100以下)":"participant 小型活动(100以下)","小型活动(100以上)":e("reqOrder.participant 小型活动(100以上)")}},{label:e("reqOrder.require_item"),prop:"require_item",align:"center",render:"tags",operator:"FIND_IN_SET",sortable:!1,replaceValue:{场地:e("reqOrder.require_item 场地"),用餐:e("reqOrder.require_item 用餐"),住宿:e("reqOrder.require_item 住宿")}},{label:e("reqOrder.act_time"),prop:"act_time",align:"center",operator:"=",sortable:"custom",width:160},{label:e("reqOrder.act_day_count"),prop:"act_day_count",align:"center",operator:"RANGE",sortable:!1},{label:e("reqOrder.req_endtime"),prop:"req_endtime",align:"center",operator:"=",sortable:"custom",width:160},{label:e("reqOrder.flow_stage"),prop:"flow_stage",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{磋商阶段:e("reqOrder.flow_stage 磋商阶段"),落地阶段:e("reqOrder.flow_stage 落地阶段"),确定阶段:e("reqOrder.flow_stage 确定阶段"),结算阶段:e("reqOrder.flow_stage 结算阶段"),订单已取消:e("reqOrder.flow_stage 订单已取消")}},{label:e("reqOrder.status"),prop:"status",align:"center",render:"tag",operator:"=",sortable:!1,replaceValue:{待供应商反馈评估预算函:e("reqOrder.status 待供应商反馈评估预算函"),待供应商上传活动方案:e("reqOrder.status 待供应商上传活动方案"),待供应商上传计划预算函:e("reqOrder.status 待供应商上传计划预算函"),待客户上传确认执行凭证:e("reqOrder.status 待客户上传确认执行凭证"),待平台审批执行凭证:e("reqOrder.status 待平台审批执行凭证"),待供应商确认已执行:e("reqOrder.status 待供应商确认已执行"),外加评价:e("reqOrder.status 外加评价"),平台驳回执行凭证:e("reqOrder.status 平台驳回执行凭证"),待供应商上传结算函:e("reqOrder.status 待供应商上传结算函"),待客户确认结算函:e("reqOrder.status 待客户确认结算函"),客户驳回结算函:e("reqOrder.status 客户驳回结算函"),订单执行成功:e("reqOrder.status 订单执行成功"),订单已取消:e("reqOrder.status 订单已取消")}},{label:e("reqOrder.department__pid"),prop:"department.pid",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("reqOrder.department__name"),prop:"department.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("reqOrder.req_tel"),prop:"req_tel",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("reqOrder.req_user_id"),prop:"req_user_id",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE"},{label:e("reqOrder.admin__username"),prop:"admin.username",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("reqOrder.admin__mobile"),prop:"admin.mobile",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("reqOrder.budget"),prop:"budget",align:"center",operatorPlaceholder:e("Fuzzy query"),operator:"LIKE",sortable:!1},{label:e("reqOrder.prepay_amount"),prop:"prepay_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("reqOrder.settle_amount"),prop:"settle_amount",align:"center",operator:"RANGE",sortable:!1},{label:e("reqOrder.supplier__name"),prop:"supplier.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("operate"),align:"center",width:100,render:"buttons",buttons:s,operator:!1}],dblClickNotEditColumn:["id","city_text","name","participant","require_item","act_time","act_day_count","req_endtime","flow_stage","status","department.pid","department.name","req_tel","req_user_id","admin.username","admin.mobile","budget","prepay_amount","settle_amount","supplier.name"]},{defaultItems:{name:null,participant:"小型活动(100以下)",act_time:null,act_day_count:0,req_endtime:null,flow_stage:"磋商阶段",status:"待供应商反馈评估预算函",req_tel:null,req_user_id:null,prepay_type:"未设置",prepay_amount:0,settle_amount:0}});return w("baTable",r),f(()=>{var t;r.table.ref=o.value,r.mount(),(t=r.getIndex())==null||t.then(()=>{r.initSort(),r.dragSort()})}),(t,F)=>{const d=z("el-alert");return n(),g("div",E,[a(r).table.remark?(n(),y(d,{key:0,class:"ba-table-alert",title:a(r).table.remark,type:"info","show-icon":""},null,8,["title"])):h("",!0),l(u,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":a(e)("quick Search Placeholder",{fields:a(e)("reqOrder.quick Search Fields")})},null,8,["quick-search-placeholder"]),l(c,{ref_key:"tableRef",ref:o},null,512),l(b)])}}});export{B as default};