detail.faa91cb7.js 2.9 KB

1
  1. import{_ as S,d as T,n as U,aL as q,ah as L,w as j,b3 as n,r as i,o as u,c,l as a,C as t,u as e,aq as z,a as s,G as d,F as G}from"./index.88f7d256.js";import{u as W}from"./useDetail.60c209b5.js";import{B as D}from"./basic-descriptions.5c20357d.js";import{R as $}from"./index.9fa951c4.js";import H from"./choose-form.a143c49b.js";import{R as J}from"./receipt.7a915582.js";import{h as K}from"./index.aa2570c0.js";import{p as M}from"./purchPay.16ad270f.js";import{p as O}from"./purchPayRelive.83a26b5f.js";import"./porder.b626a198.js";import{h as Q,a as X,b as Y}from"./index.05c93462.js";import"./index.69815c3e.js";import"./orderRecord.c9c18fd5.js";import"./tootip.514b092e.js";import"./status.2df4810d.js";import"./calc.850c7422.js";import"./choose-modal.260c5978.js";import"./date-range.b361462b.js";import"./index.cab0a6ad.js";/* empty css */const Z={class:"padding__container"},ee={key:1},ae=T({__name:"detail",setup(te){const{push:C}=U(),h="supplierPayReliveDetail",{hasPermissionWithCode:B}=q(h),{isSuperUser:y}=L(),R=j(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,v)=>{const r=i("ElCollapseItem"),I=i("ElCollapse"),V=i("ElTabPane"),w=i("ElTabs");return u(),c("div",Z,[a(w,null,{default:t(()=>[a(V,{label:e(_)},{default:t(()=>[a(I,{modelValue:e(p),"onUpdate:modelValue":v[0]||(v[0]=x=>z(p)?p.value=x:null)},{default:t(()=>[a(r,{name:"1",title:e(_)},{default:t(()=>[s(" \u89E3\u9664\u4ED8\u6B3E\u8BE6\u60C5 "),e(l)?(u(),d(e(D),{key:0,class:"mb-2",columns:e(O),data:e(m)},null,8,["columns","data"])):(u(),c(G,{key:1},[s(" \u521B\u5EFA\uFF1A\u9009\u62E9\u4ED8\u6B3E\u89E3\u9664 "),a(H,{onCreate:P})],2112))]),_:1},8,["title"]),e(l)?(u(),d(r,{key:0,name:"4",title:"\u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5"},{default:t(()=>[s(" \u91C7\u8D2D\u4ED8\u6B3E\u8BE6\u60C5 "),a(e(D),{columns:e(M),data:e(A)},null,8,["columns","data"])]),_:1})):s("v-if",!0),e(l)?(u(),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")?(u(),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})):s("v-if",!0)])):s("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Re=S(ae,[["__file","D:/work/accout-vue3-ui2/settle-vue3/src/views/InvoiceSales/supplierPayRelive/detail.vue"]]);export{Re as default};