import{_ as h,d as C,aP as c,bD as k,r as p,o as r,G as u,C as w,l as x,u as a,aq as d}from"./index.1d1a5ecb.js";import g from"./search-check.622d3af2.js";import V from"./search-batch.ffa61c43.js";import"./index.5fa131c7.js";import"./use-page-search.f4c305e2.js";import"./inv-open.21fa1eb1.js";import"./tootip.76f6bcc3.js";import"./status.d6b2a53d.js";import"./columns.05c114a8.js";const E=C({__name:"order-dialog",emits:["reload","save-btn-click"],setup(B,{expose:m,emit:v}){const o=c(!1),l=c(0),t=k({companyNo:"",platform_type:""});async function _(n,e){o.value=!0,t.companyNo=n,t.platform_type=e}function i(n){v("save-btn-click",n),o.value=!1}return m({show:_}),(n,e)=>{const f=p("el-switch"),y=p("el-dialog");return r(),u(y,{top:"5vh",center:"",modelValue:a(o),"onUpdate:modelValue":e[1]||(e[1]=s=>d(o)?o.value=s:null),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":"","destroy-on-close":"",title:"\u6DFB\u52A0\u9500\u552E\u8BA2\u5355",width:"1040px"},{default:w(()=>[x(f,{modelValue:a(l),"onUpdate:modelValue":e[0]||(e[0]=s=>d(l)?l.value=s:null),"active-text":"\u6279\u91CF\u67E5\u627E","inactive-text":"\u52FE\u9009\u67E5\u627E","active-value":1,"inactive-value":0},null,8,["modelValue","active-value","inactive-value"]),a(l)===0?(r(),u(g,{key:0,payload:a(t),onConfirm:i},null,8,["payload"])):(r(),u(V,{key:1,payload:a(t),onConfirm:i},null,8,["payload"]))]),_:1},8,["modelValue"])}}});var M=h(E,[["__scopeId","data-v-f1a07e28"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/invoiceApply/components/add-edit-form/order-dialog.vue"]]);export{M as default};
