1 |
- import{_ as U,d as w,n as S,aL as j,w as q,ah as L,b3 as n,r as i,o as s,c,l as t,C as a,u as e,aq as G,a as u,G as d,F as W}from"./index.fd765376.js";import{u as $}from"./useDetail.1b10d230.js";import{B as D}from"./basic-descriptions.6db97105.js";import{R as z}from"./index.a88e75c0.js";import H from"./return-form.8c32f7f1.js";import{R as J}from"./receipt.a21cc643.js";import{b as K}from"./index.06a6dd44.js";import{t as M}from"./ticketReturn.7ac5aec9.js";import{t as O}from"./ticketReturnRelive.ad4e2392.js";import"./porder.24af2c44.js";import{h as Q,a as X,b as Y}from"./index.7f5265bf.js";import"./index.8444c556.js";import"./tootip.99c35844.js";import"./status.0f05917e.js";import"./choose-modal.60110f71.js";import"./_details.12185eef.js";import"./date-range.03e0d64c.js";import"./_rules.1a544eb3.js";import"./index.ff2d0936.js";/* empty css */const Z={class:"padding__container"},ee={key:1},te=w({__name:"detail",setup(ae){const{push:E}=S(),h="purchPayReliveDetail",{hasPermissionWithCode:R}=j(h),k=q(null),{isSuperUser:B}=L(),{id:f,isDetail:r,title:_,collapses:m}=$({baseName:"\u91C7\u8D2D\u56DE\u7968\u89E3\u9664",collapseLen:5}),{run:b,data:p}=n({initalData:{},success:({orderCode:o})=>y(K({hpNo:o}))}),{run:y,data:A}=n({initalData:{}}),{run:F}=n({success:()=>v()}),{run:N}=n({success:()=>E("/purchase/ticketReturnRelive")}),g=o=>F(X({returnCode:f.value,...o})),v=()=>b(Q({returnCode:f.value})),P=o=>N(Y(o));return r.value&&v(),(o,C)=>{const l=i("ElCollapseItem"),T=i("ElCollapse"),V=i("ElTabPane"),x=i("ElTabs");return s(),c("div",Z,[t(x,null,{default:a(()=>[t(V,{label:e(_)},{default:a(()=>[t(T,{modelValue:e(m),"onUpdate:modelValue":C[0]||(C[0]=I=>G(m)?m.value=I:null)},{default:a(()=>[t(l,{name:"1",title:e(_)},{default:a(()=>[u(" \u56DE\u7968\u8BE6\u60C5 "),e(r)?(s(),d(e(D),{key:0,columns:e(O),data:e(p)},null,8,["columns","data"])):(s(),c(W,{key:1},[u(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(H,{onCreate:P})],2112))]),_:1},8,["title"]),e(r)?(s(),d(l,{key:0,name:"4",title:"\u91C7\u8D2D\u56DE\u7968\u8BE6\u60C5"},{default:a(()=>[t(e(D),{columns:e(M),data:e(A)},null,8,["columns","data"])]),_:1})):u("v-if",!0),e(r)?(s(),c("div",ee,[t(l,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e(z),{ref_key:"formRef",ref:k,readonly:"",id:e(p).payNo},null,8,["id"])]),_:1}),!e(B)&&String(e(p).status)==="1"&&e(R)("020")?(s(),d(l,{key:0,name:"3",title:"\u4E70\u65B9\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:a(()=>[t(e(J),{"no-time":"","has-remark":"","approve-value":"2","reject-value":"3","img-prop":"returnImg",onApproval:g})]),_:1})):u("v-if",!0)])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Be=U(te,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/purchase/ticketReturnRelive/detail.vue"]]);export{Be as default};
|