import{_ as h,d as w,cc as r,dL as k,r as i,o as s,A as c,y as x,h as C,i as p}from"./index.js";import g from"./search-check.4e928a.js";import V from"./search-batch.142985.js";import"./inv-open.b2ee78c0.js";import"./columns.d95d092.js";const E=w({__name:"order-dialog",emits:["reload","save-btn-click"],setup(B,{expose:d,emit:m}){const o=r(!1),t=r(0),v=m,a=k({companyNo:"",platform_type:""});async function _(l,e){o.value=!0,a.companyNo=l,a.platform_type=e}function u(l){v("save-btn-click",l),o.value=!1}return d({show:_}),(l,e)=>{const f=i("el-switch"),y=i("el-dialog");return s(),c(y,{top:"5vh",center:"",modelValue:o.value,"onUpdate:modelValue":e[1]||(e[1]=n=>o.value=n),"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:x(()=>[C(f,{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=n=>t.value=n),"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"]),t.value===0?(s(),c(g,{key:0,payload:p(a),onConfirm:u},null,8,["payload"])):(s(),c(V,{key:1,payload:p(a),onConfirm:u},null,8,["payload"]))]),_:1},8,["modelValue"])}}});var N=h(E,[["__scopeId","data-v-4b6c0569"],["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/invoiceApply/components/form-copy/order-dialog.vue"]]);export{N as default};
