detail.8aff59f2.js 1.8 KB

1
  1. import{_ as N,d as P,A as R,E as x,b8 as _,x as o,o as s,c as n,y as a,K as t,u as e,ao as A,a as r,N as V,L as T}from"./index.1417328f.js";import{u as g}from"./useDetail.1c3d5449.js";import{p as w}from"./_details.6aeb3f85.js";import{h as I,a as L}from"./index.514aa846.js";import{B as U}from"./basic-descriptions.cadaf928.js";import{R as j}from"./index.38882c18.js";import q from"./choose-form.5a254bf7.js";import"./_options.0a7f2a8c.js";import"./tootip.8c37fa8a.js";import"./index.08fe6875.js";import"./status.0f757cb5.js";import"./status.727086c1.js";import"./choose-modal.4250606e.js";import"./reconciliation.53461462.js";const z={class:"padding__container"},K={key:0},G=P({__name:"detail",setup(H){const{push:f}=R(),E=x(null),{id:C,isDetail:l,title:i,collapses:u}=g({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 l.value&&B(),(m,c)=>{const d=o("ElCollapseItem"),v=o("ElCollapse"),b=o("ElTabPane"),k=o("ElTabs");return s(),n("div",z,[a(k,null,{default:t(()=>[a(b,{label:e(i)},{default:t(()=>[a(v,{modelValue:e(u),"onUpdate:modelValue":c[0]||(c[0]=F=>A(u)?u.value=F:null)},{default:t(()=>[a(d,{name:"1",title:e(i)},{default:t(()=>[r(" \u4ED8\u6B3E\u8BE6\u60C5 "),e(l)?(s(),V(e(U),{key:0,columns:e(w),data:e(p)},null,8,["columns","data"])):(s(),n(T,{key:1},[r(" \u521B\u5EFA\uFF1A\u9009\u62E9\u5BF9\u8D26\u5355 "),a(q,{onCreate:h})],2112))]),_:1},8,["title"]),e(l)?(s(),n("div",K,[a(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:t(()=>[a(e(j),{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 se=N(G,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/purchPay/detail.vue"]]);export{se as default};