detail.2fc9fbfb.js 2.0 KB

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