order-dialog.d9fd7180.js 1.6 KB

1
  1. import{_ as h,d as C,aP as c,bL 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.fd765376.js";import g from"./search-check.545ceb76.js";import V from"./search-batch.661d69b5.js";import"./index.d7755e1d.js";import"./use-page-search.414f397e.js";import"./inv-open.d2f403b6.js";import"./tootip.99c35844.js";import"./status.0f05917e.js";import"./columns.d2933744.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};