detail.e8b30c60.js 1.8 KB

1
  1. import{_ as N,d as R,A as x,E as A,aZ as _,x as o,o as l,c as n,y as a,K as t,u as e,ao as P,a as r,N as V,L as T}from"./index.743f0c80.js";import{u as w}from"./useDetail.50c7b89c.js";import{p as g}from"./_details.8c6ddd79.js";import{h as I,a as L}from"./index.17b89a60.js";import{B as q}from"./basic-descriptions.e56bd542.js";import{R as z}from"./index.eb1db4ef.js";import K from"./choose-form.cef68984.js";import"./_options.0a7f2a8c.js";import"./tootip.48acd346.js";import"./index.88e5dbb1.js";import"./status.0f757cb5.js";import"./status.868e86c0.js";import"./choose-modal.590ccc96.js";import"./reconciliation.d0aed753.js";const U={class:"padding__container"},Z={key:0},j=R({__name:"detail",setup(G){const{push:f}=x(),E=A(null),{id:C,isDetail:s,title:i,collapses:u}=w({baseName:"\u91C7\u8D2D\u56DE\u6B3E",collapseLen:5}),{run:y,data:p}=_({initalData:{}}),{run:D}=_({success:()=>f("/supply/supplyPurchPay")}),B=()=>y(I({DzNo:C.value})),h=m=>D(L(m));return s.value&&B(),(m,c)=>{const d=o("ElCollapseItem"),v=o("ElCollapse"),k=o("ElTabPane"),F=o("ElTabs");return l(),n("div",U,[a(F,null,{default:t(()=>[a(k,{label:e(i)},{default:t(()=>[a(v,{modelValue:e(u),"onUpdate:modelValue":c[0]||(c[0]=b=>P(u)?u.value=b:null)},{default:t(()=>[a(d,{name:"1",title:e(i)},{default:t(()=>[r(" \u4ED8\u6B3E\u8BE6\u60C5 "),e(s)?(l(),V(e(q),{key:0,columns:e(g),data:e(p)},null,8,["columns","data"])):(l(),n(T,{key:1},[r(" \u521B\u5EFA\uFF1A\u9009\u62E9\u5BF9\u8D26\u5355 "),a(K,{onCreate:h})],2112))]),_:1},8,["title"]),e(s)?(l(),n("div",Z,[a(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:t(()=>[a(e(z),{ref_key:"formRef",ref:E,readonly:"",id:e(p).payNo},null,8,["id"])]),_:1})])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var le=N(j,[["__file","D:/work/accout-vue3-ui/src/views/supply/purchPay/detail.vue"]]);export{le as default};