1 |
- import{_ as w,d as x,n as T,aL as U,w as j,ah as q,b3 as A,r as m,o as a,c as D,l as t,C as o,u as e,aq as I,G as l,a as s,F as z}from"./index.56c69f5a.js";import{u as L}from"./useDetail.acb31522.js";import G from"./choose-form.58e1029f.js";import{B as W}from"./basic-descriptions.5f176484.js";import H from"./index.acb65478.js";import{h as J,a as K,b as M}from"./index.7bd89ecb.js";import{D as E}from"./default.30f69f92.js";import{R as Q}from"./receipt.0d15a04f.js";import{s as X}from"./purchPayRelive.810acb0f.js";import"./porder.30193b2b.js";import"./choose-modal.3a2e9e42.js";import"./index.2e257471.js";import"./status.2df4810d.js";import"./date-range.c3f1dbd6.js";import"./tootip.fe6ea468.js";import"./orderRecord.9d7001b8.js";import"./calc.850c7422.js";import"./index.5ce46a74.js";import"./global.9ad647c8.js";import"./index.e9dde695.js";/* empty css */const Y={class:"padding__container bg-white"},Z={key:0},$=x({__name:"detail",setup(ee){const{push:k}=T(),B="sendOrderPayDetail",{hasPermissionWithCode:c}=U(B),d=j(null),{isSuperUser:n}=q(),{id:C,isDetail:f,title:h,collapses:_}=L({baseName:"\u53D1\u8D27\u8FD0\u5355\u4ED8\u6B3E",collapseLen:5}),{run:N,data:r}=A({initalData:{}}),{run:b}=A({success:()=>k("/postSupplierOrder/sendOrderPay")}),{run:F}=A({success:()=>P()});function P(){y(),d.value&&d.value.refresh()}const y=()=>N(J({DzNo:C.value})),g=p=>b(K(p));function v(p){const i={...p,dzNo:C.value};F(M(i))}return f.value&&y(),(p,i)=>{const u=m("ElCollapseItem"),S=m("ElCollapse"),R=m("ElTabPane"),O=m("ElTabs");return a(),D("div",Y,[t(O,null,{default:o(()=>[t(R,{label:e(h)},{default:o(()=>[t(S,{modelValue:e(_),"onUpdate:modelValue":i[0]||(i[0]=V=>I(_)?_.value=V:null)},{default:o(()=>[t(u,{name:"1",title:e(h)},{default:o(()=>[e(f)?(a(),l(e(W),{key:0,columns:e(X),data:e(r)},null,8,["columns","data"])):(a(),l(G,{key:1,onCreate:g}))]),_:1},8,["title"]),e(f)?(a(),D("div",Z,[t(u,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(H,{ref_key:"formRef",ref:d,request:"",readonly:"",payNo:e(r).payNo},null,8,["payNo"])]),_:1}),s(" \u5BA1\u6279\u8282\u70B9 "),e(n)?s("v-if",!0):(a(),D(z,{key:0},[String(e(r).status)==="1"&&e(c)("052")&&!e(n)?(a(),l(u,{key:0,name:"3",title:"\u4E1A\u52A1\u516C\u53F8\u4E1A\u52A1\u5BA1\u6838"},{default:o(()=>[t(e(E),{"approve-value":"2","reject-value":"6",onApproval:v})]),_:1})):s("v-if",!0),String(e(r).status)==="2"&&e(c)("053")&&!e(n)?(a(),l(u,{key:1,name:"4",title:"\u4E1A\u52A1\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:o(()=>[t(e(E),{"approve-value":"3","reject-value":"7",onApproval:v})]),_:1})):s("v-if",!0),String(e(r).status)==="3"&&e(c)("049")&&!e(n)?(a(),l(u,{key:2,name:"5",title:"\u4E0A\u4F20\u56DE\u6267"},{default:o(()=>[t(e(Q),{"approve-value":"4",onApproval:v})]),_:1})):s("v-if",!0)],64))])):s("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Ee=w($,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/postSupplierOrder/sendOrderPay/detail.vue"]]);export{Ee as default};
|