1 |
- import{_ as T,d as U,n as w,aL as j,ah as q,w as L,b3 as n,r as i,o as s,c,l as a,C as t,u as e,aq as z,a as u,G as d,F as G}from"./index.56c69f5a.js";import{u as W}from"./useDetail.acb31522.js";import{B as v}from"./basic-descriptions.5f176484.js";import{R as $}from"./index.e077b65d.js";import H from"./choose-form.5de198ce.js";import{R as J}from"./receipt.0d15a04f.js";import{h as K}from"./index.7bd89ecb.js";import{p as M}from"./purchPay.19ad0dfc.js";import{p as O}from"./purchPayRelive.810acb0f.js";import"./porder.30193b2b.js";import{h as Q,a as X,b as Y}from"./index.3dc5e478.js";import"./index.2e257471.js";import"./orderRecord.9d7001b8.js";import"./tootip.fe6ea468.js";import"./status.2df4810d.js";import"./calc.850c7422.js";import"./choose-modal.00cf7dac.js";import"./date-range.c3f1dbd6.js";import"./index.e9dde695.js";/* empty css */const Z={class:"padding__container"},ee={key:1},ae=U({__name:"detail",setup(te){const{push:C}=w(),h="supplierPayReliveDetail",{hasPermissionWithCode:B}=j(h),{isSuperUser:y}=q(),R=L(null),{id:f,isDetail:l,title:_,collapses:p}=W({baseName:"\u901A\u7528\u91C7\u8D2D\u4ED8\u6B3E\u89E3\u9664",collapseLen:5}),{run:k,data:m}=n({initalData:{},success:({orderCode:o})=>b(K({DzNo:o}))}),{run:b,data:A}=n({initalData:{}}),{run:F}=n({success:()=>C("/purchase/purchPayRelive")}),{run:N}=n({success:()=>E()}),E=()=>k(Q({returnCode:f.value})),P=o=>F(X(o)),g=o=>N(Y({returnCode:f.value,...o}));return l.value&&E(),(o,D)=>{const r=i("ElCollapseItem"),I=i("ElCollapse"),V=i("ElTabPane"),x=i("ElTabs");return s(),c("div",Z,[a(x,null,{default:t(()=>[a(V,{label:e(_)},{default:t(()=>[a(I,{modelValue:e(p),"onUpdate:modelValue":D[0]||(D[0]=S=>z(p)?p.value=S:null)},{default:t(()=>[a(r,{name:"1",title:e(_)},{default:t(()=>[u(" \u89E3\u9664\u4ED8\u6B3E\u8BE6\u60C5 "),e(l)?(s(),d(e(v),{key:0,class:"mb-2",columns:e(O),data:e(m)},null,8,["columns","data"])):(s(),c(G,{key:1},[u(" \u521B\u5EFA\uFF1A\u9009\u62E9\u4ED8\u6B3E\u89E3\u9664 "),a(H,{onCreate:P})],2112))]),_:1},8,["title"]),e(l)?(s(),d(r,{key:0,name:"4",title:"\u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5"},{default:t(()=>[u(" \u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5 "),a(e(v),{columns:e(M),data:e(A)},null,8,["columns","data"])]),_:1})):u("v-if",!0),e(l)?(s(),c("div",ee,[a(r,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:t(()=>[a(e($),{ref_key:"formRef",ref:R,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1}),String(e(m).status)==="1"&&!e(y)&&e(B)("020")?(s(),d(r,{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})):u("v-if",!0)])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Re=T(ae,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/supplierPayRelive/detail.vue"]]);export{Re as default};
|