1 |
- import{_ as U,d as S,A as j,aZ as w,E as L,ai as q,b8 as n,x as i,o as s,c,y as t,K as a,u as e,ao as K,a as u,N as d,L as W}from"./index.1417328f.js";import{u as Z}from"./useDetail.1c3d5449.js";import{B as C}from"./basic-descriptions.cadaf928.js";import{R as $}from"./index.38882c18.js";import z from"./return-form.10cebdea.js";import{R as G}from"./receipt.5753ba6f.js";import{b as H}from"./index.28d5e629.js";import{t as J,a as M}from"./_details.aa9645f3.js";import{h as O,a as Q,b as X}from"./index.22bc54be.js";import"./index.08fe6875.js";import"./tootip.8c37fa8a.js";import"./status.0f757cb5.js";import"./status.727086c1.js";import"./choose-modal.e8c6dfd3.js";import"./reconciliation.53461462.js";import"./_rules.1a544eb3.js";import"./_details.019d6a4a.js";import"./_opitons.689eae18.js";import"./index.8de1d191.js";/* empty css */import"./_opitons.90d80463.js";const Y={class:"padding__container"},ee={key:1},te=S({__name:"detail",setup(ae){const{push:E}=j(),R="purchPayReliveDetail",{hasPermissionWithCode:h}=w(R),k=L(null),{isSuperUser:y}=q(),{id:f,isDetail:l,title:_,collapses:p}=Z({baseName:"\u91C7\u8D2D\u56DE\u7968\u89E3\u9664",collapseLen:5}),{run:B,data:m}=n({initalData:{},success:({orderCode:o})=>b(H({hpNo:o}))}),{run:b,data:A}=n({initalData:{}}),{run:N}=n({success:()=>v()}),{run:g}=n({success:()=>E("/supply/supplyTicketReturnRelive")}),F=o=>N(Q({returnCode:f.value,...o})),v=()=>B(O({returnCode:f.value})),P=o=>g(X(o));return l.value&&v(),(o,D)=>{const r=i("ElCollapseItem"),T=i("ElCollapse"),x=i("ElTabPane"),V=i("ElTabs");return s(),c("div",Y,[t(V,null,{default:a(()=>[t(x,{label:e(_)},{default:a(()=>[t(T,{modelValue:e(p),"onUpdate:modelValue":D[0]||(D[0]=I=>K(p)?p.value=I:null)},{default:a(()=>[t(r,{name:"1",title:e(_)},{default:a(()=>[u(" \u56DE\u7968\u8BE6\u60C5 "),e(l)?(s(),d(e(C),{key:0,columns:e(J),data:e(m)},null,8,["columns","data"])):(s(),c(W,{key:1},[u(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(z,{onCreate:P})],2112))]),_:1},8,["title"]),e(l)?(s(),d(r,{key:0,name:"4",title:"\u91C7\u8D2D\u56DE\u7968\u8BE6\u60C5"},{default:a(()=>[t(e(C),{columns:e(M),data:e(A)},null,8,["columns","data"])]),_:1})):u("v-if",!0),e(l)?(s(),c("div",ee,[t(r,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e($),{ref_key:"formRef",ref:k,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1}),!e(y)&&String(e(m).status)==="1"&&e(h)("020")?(s(),d(r,{key:0,name:"3",title:"\u4E70\u65B9\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:a(()=>[t(e(G),{"no-time":"","has-remark":"","approve-value":"2","reject-value":"3","img-prop":"returnImg",onApproval:F})]),_:1})):u("v-if",!0)])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Be=U(te,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/purchase/ticketReturnRelive/detail.vue"]]);export{Be as default};
|