detail.462ce9de.js 2.8 KB

1
  1. import{_ as w,d as S,A as U,bo as L,ai as j,E as q,aZ as r,x as n,o as u,c,y as a,K as t,u as e,ao as z,a as s,N as D,L as K}from"./index.743f0c80.js";import{u as W}from"./useDetail.50c7b89c.js";import{p as Z,a as $}from"./choose-modal.5f574d93.js";import{B as C}from"./basic-descriptions.e56bd542.js";import{R as G}from"./index.eb1db4ef.js";import H from"./choose-form.a4988de4.js";import{R as J}from"./receipt.e9c98103.js";import{h as M}from"./index.17b89a60.js";import{h as O,a as Q,b as X}from"./index.b6c8da50.js";import"./_options.e47869ce.js";import"./reconciliation.d0aed753.js";import"./tootip.48acd346.js";import"./index.88e5dbb1.js";import"./status.0f757cb5.js";import"./status.868e86c0.js";import"./_details.e3264c66.js";import"./_options.d0ef3218.js";import"./index.2001cda8.js";/* empty css */const Y={class:"padding__container"},ee={key:0},ae=S({__name:"detail",setup(te){const{push:v}=U(),h="purchPayReliveDetail",{hasPermissionWithCode:B}=L(h),{isSuperUser:y}=j(),R=q(null),{id:d,isDetail:i,title:f,collapses:p}=W({baseName:"\u91C7\u8D2D\u4ED8\u6B3E\u89E3\u9664",collapseLen:5}),{run:b,data:m}=r({initalData:{},success:({orderCode:o})=>k(M({DzNo:o}))}),{run:k,data:A}=r({initalData:{}}),{run:F}=r({success:()=>v("/purchase/purchPay")}),{run:N}=r({success:()=>_()}),_=()=>b(O({returnCode:d.value})),P=o=>F(Q(o)),g=o=>N(X({returnCode:d.value,...o}));return i.value&&_(),(o,E)=>{const l=n("ElCollapseItem"),x=n("ElCollapse"),V=n("ElTabPane"),I=n("ElTabs");return u(),c("div",Y,[a(I,null,{default:t(()=>[a(V,{label:e(f)},{default:t(()=>[a(x,{modelValue:e(p),"onUpdate:modelValue":E[0]||(E[0]=T=>z(p)?p.value=T:null)},{default:t(()=>[a(l,{name:"1",title:e(f)},{default:t(()=>[s(" \u89E3\u9664\u4ED8\u6B3E\u8BE6\u60C5 "),e(i)?(u(),D(e(C),{key:0,class:"mb-2",columns:e(Z),data:e(m)},null,8,["columns","data"])):(u(),c(K,{key:1},[s(" \u521B\u5EFA\uFF1A\u9009\u62E9\u4ED8\u6B3E\u89E3\u9664 "),a(H,{onCreate:P})],2112))]),_:1},8,["title"]),a(l,{name:"4",title:"\u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5"},{default:t(()=>[s(" \u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5 "),a(e(C),{columns:e($),data:e(A)},null,8,["columns","data"])]),_:1}),e(i)?(u(),c("div",ee,[a(l,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:t(()=>[a(e(G),{ref_key:"formRef",ref:R,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1}),String(e(m).status)==="1"&&!e(y)&&e(B)("020")?(u(),D(l,{key:0,name:"3",title:"\u4E70\u65B9\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:t(()=>[a(e(J),{"no-time":"","has-remark":"","approve-value":"2","reject-value":"3","img-prop":"returnImg",onApproval:g})]),_:1})):s("v-if",!0)])):s("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var ye=w(ae,[["__file","D:/work/accout-vue3-ui/src/views/purchase/purchPayRelive/detail.vue"]]);export{ye as default};