1 |
- import{_ as T,d as U,p as j,aM as w,ai as q,x as z,bc as n,r as i,o,c,l as a,D as t,m as e,ar as G,a as u,G as d,aN as v,F as L}from"./index.js";import{u as M}from"./useDetail.d77f98f9.js";import{R as O}from"./index.8ad79f80.js";import W from"./choose-form.d75029.js";import{R as H}from"./receipt.2e6f7d0d.js";import{h as J}from"./index.5f728d54.js";import{p as K}from"./purchPay.db2f1e31.js";import{p as Q}from"./purchPayRelive.e0536c50.js";import"./porder.9a85976d.js";import{h as X,a as Y,b as Z}from"./index.32083902.js";import"./orderRecord.4d98a397.js";import"./choose-modal.6a231a.js";import"./date-range.4010f801.js";import"./index.e075def9.js";/* empty css */const $={class:"padding__container"},ee={key:1},ae=U({__name:"detail",setup(te){const{push:C}=j(),h="supplierPayReliveDetail",{hasPermissionWithCode:B}=w(h),{isSuperUser:y}=q(),R=z(null),{id:f,isDetail:l,title:_,collapses:p}=M({baseName:"\u901A\u7528\u91C7\u8D2D\u4ED8\u6B3E\u89E3\u9664",collapseLen:5}),{run:k,data:m}=n({initalData:{},success:({orderCode:s})=>b(J({DzNo:s}))}),{run:b,data:A}=n({initalData:{}}),{run:F}=n({success:()=>C("/InvoiceSales/supplierPayRelive")}),{run:N}=n({success:()=>E()}),E=()=>k(X({returnCode:f.value})),P=s=>F(Y(s)),g=s=>N(Z({returnCode:f.value,...s}));return l.value&&E(),(s,D)=>{const r=i("ElCollapseItem"),I=i("ElCollapse"),x=i("ElTabPane"),S=i("ElTabs");return o(),c("div",$,[a(S,null,{default:t(()=>[a(x,{label:e(_)},{default:t(()=>[a(I,{modelValue:e(p),"onUpdate:modelValue":D[0]||(D[0]=V=>G(p)?p.value=V:null)},{default:t(()=>[a(r,{name:"1",title:e(_)},{default:t(()=>[u(" \u89E3\u9664\u4ED8\u6B3E\u8BE6\u60C5 "),e(l)?(o(),d(e(v),{key:0,class:"mb-2",columns:e(Q),data:e(m)},null,8,["columns","data"])):(o(),c(L,{key:1},[u(" \u521B\u5EFA\uFF1A\u9009\u62E9\u4ED8\u6B3E\u89E3\u9664 "),a(W,{onCreate:P})],2112))]),_:1},8,["title"]),e(l)?(o(),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(K),data:e(A)},null,8,["columns","data"])]),_:1})):u("v-if",!0),e(l)?(o(),c("div",ee,[a(r,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:t(()=>[a(e(O),{ref_key:"formRef",ref:R,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1}),String(e(m).status)==="1"&&!e(y)&&e(B)("020")?(o(),d(r,{key:0,name:"3",title:"\u4E70\u65B9\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:t(()=>[a(e(H),{"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 ve=T(ae,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/supplierPayRelive/detail.vue"]]);export{ve as default};
|