import{_ as g,d as w,W as x,aP as _,cl as F,r as s,o as p,G as d,D as u,l as c,m as e,ar as f,M as v,a as y}from"./index.js";import N from"./search-batch.610119.js";import R from"./search-batch-main.5b8e8c.js";import"./columns.88d7302.js";import"./content.config.13c08e3b.js";import"./index.5a7a3827.js";const b=w({__name:"order-dialog",emits:["reload","save-btn-click"],setup(D,{expose:C,emit:E}){const{currentCompany:h}=x(),o=_(!1),a=_(3),t=F({companyNo:"",platform_type:""});async function V(n,l){o.value=!0,t.companyNo=h.value.companyNo,t.platform_type=""}function m(n){E("save-btn-click",n),o.value=!1}return C({show:V}),(n,l)=>{const i=s("ElRadio"),k=s("ElRadioGroup"),B=s("el-dialog");return p(),d(B,{top:"5vh",center:"",modelValue:e(o),"onUpdate:modelValue":l[1]||(l[1]=r=>f(o)?o.value=r:null),"close-on-click-modal":!1,"close-on-press-escape":!1,"append-to-body":"","destroy-on-close":"",title:"\u6279\u91CF\u67E5\u627E\u8BA2\u5355",width:"1040px"},{default:u(()=>[c(k,{modelValue:e(a),"onUpdate:modelValue":l[0]||(l[0]=r=>f(a)?a.value=r:null)},{default:u(()=>[c(i,{label:3},{default:u(()=>[v("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u53F7)")]),_:1}),c(i,{label:2},{default:u(()=>[v("\u6279\u91CF\u67E5\u627E(\u9500\u552E\u8BA2\u5355\u7F16\u53F7)")]),_:1})]),_:1},8,["modelValue"]),e(a)===2?(p(),d(N,{key:0,payload:e(t),onConfirm:m},null,8,["payload"])):y("v-if",!0),e(a)===3?(p(),d(R,{key:1,payload:e(t),onConfirm:m},null,8,["payload"])):y("v-if",!0)]),_:1},8,["modelValue"])}}});var O=g(b,[["__scopeId","data-v-8466467c"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/sheetOrderPool/components/order-dialog.vue"]]);export{O as default};
