detail.40f916d1.js 2.0 KB

1
  1. import{_ as F,d as T,A as x,E as N,aZ as _,x as a,o as l,c as u,y as t,K as o,u as e,ao as V,a as r,N as A,L as w}from"./index.743f0c80.js";import{u as g}from"./useDetail.50c7b89c.js";import{t as I}from"./_details.ea4caa1e.js";import{h as L,b as P}from"./index.f68c617d.js";import{B as q}from"./basic-descriptions.e56bd542.js";import{R as K}from"./index.eb1db4ef.js";import U from"./return-form.8189eced.js";import"./tootip.48acd346.js";import"./_opitons.a64c570c.js";import"./index.88e5dbb1.js";import"./status.0f757cb5.js";import"./status.868e86c0.js";import"./choose-modal.402a3246.js";import"./reconciliation.d0aed753.js";import"./index.cb28f7dd.js";import"./_rules.b6cc96d5.js";import"./_details.5d1563b3.js";import"./_opitons.2a65e7c0.js";const Z={class:"padding__container"},j={key:0},z=T({__name:"detail",setup(G){const{push:f}=x(),E=N(null),{id:C,isDetail:s,title:i,collapses:n}=g({baseName:"\u91C7\u8D2D\u5F00\u7968\u89E3\u9664",collapseLen:5}),{run:v,data:m}=_({initalData:{}}),{run:R}=_({success:()=>f("/supply/supplyTicketReturnRelive")}),k=()=>v(L({returnCode:C.value})),D=p=>R(P(p));return s.value&&k(),(p,c)=>{const d=a("ElCollapseItem"),y=a("ElCollapse"),B=a("ElTabPane"),b=a("ElTabs");return l(),u("div",Z,[t(b,null,{default:o(()=>[t(B,{label:e(i)},{default:o(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":c[0]||(c[0]=h=>V(n)?n.value=h:null)},{default:o(()=>[t(d,{name:"1",title:e(i)},{default:o(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),A(e(q),{key:0,columns:e(I),data:e(m)},null,8,["columns","data"])):(l(),u(w,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(U,{onCreate:D})],2112))]),_:1},8,["title"]),e(s)?(l(),u("div",j,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(K),{ref_key:"formRef",ref:E,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1})])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var re=F(z,[["__file","D:/work/accout-vue3-ui/src/views/supply/ticketReturnRelive/detail.vue"]]);export{re as default};