detail.def08813.js 2.0 KB

1
  1. import{_ as F,d as T,n as V,w as x,b2 as _,r as a,o as l,c as u,l as t,C as o,u as e,aq as N,a as r,G as w,F as A}from"./index.0bc83371.js";import{u as g}from"./useDetail.934e99ce.js";import{h as q,b as I}from"./index.96f753d6.js";import{B as P}from"./basic-descriptions.10a27b1b.js";import{R as U}from"./index.3b71de1a.js";import j from"./return-form.a10b31be.js";import{t as G}from"./ticketReturnRelive.175c70a0.js";import"./porder.1fe952aa.js";import"./index.a6946a3d.js";import"./tootip.d8389d77.js";import"./status.d6b2a53d.js";import"./choose-modal.a8802137.js";import"./_details.8934beca.js";import"./index.2fe221b2.js";import"./date-range.96fed5ff.js";import"./_rules.b6cc96d5.js";import"./ticketReturn.e387937e.js";const L={class:"padding__container"},z={key:0},H=T({__name:"detail",setup(J){const{push:f}=V(),C=x(null),{id:E,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(q({returnCode:E.value})),D=p=>R(I(p));return s.value&&k(),(p,c)=>{const d=a("ElCollapseItem"),y=a("ElCollapse"),b=a("ElTabPane"),B=a("ElTabs");return l(),u("div",L,[t(B,null,{default:o(()=>[t(b,{label:e(i)},{default:o(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":c[0]||(c[0]=h=>N(n)?n.value=h:null)},{default:o(()=>[t(d,{name:"1",title:e(i)},{default:o(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),w(e(P),{key:0,columns:e(G),data:e(m)},null,8,["columns","data"])):(l(),u(A,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(j,{onCreate:D})],2112))]),_:1},8,["title"]),e(s)?(l(),u("div",z,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(U),{ref_key:"formRef",ref:C,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1})])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var ue=F(H,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturnRelive/detail.vue"]]);export{ue as default};