order-dialog.084a43.js 1.4 KB

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