detail.7f917689.js 2.0 KB

1
  1. import{_ as F,d as T,A as x,E as N,b8 as _,x as a,o as l,c as u,y as t,K as o,u as e,ao as V,a as r,N as A,L as g}from"./index.3c0ae7fd.js";import{u as w}from"./useDetail.2ecb12ef.js";import{t as I}from"./_details.5e6187df.js";import{h as L,b as P}from"./index.bd25e334.js";import{B as U}from"./basic-descriptions.bc9120ba.js";import{R as j}from"./index.ea68f750.js";import q from"./return-form.4b1d38b3.js";import"./tootip.8856b402.js";import"./_opitons.a64c570c.js";import"./index.85a57a44.js";import"./status.0f757cb5.js";import"./status.727086c1.js";import"./choose-modal.438e9c3b.js";import"./reconciliation.afe74a18.js";import"./index.8f948a51.js";import"./_rules.b6cc96d5.js";import"./_details.3801dabf.js";import"./_opitons.2a65e7c0.js";const K={class:"padding__container"},z={key:0},G=T({__name:"detail",setup(H){const{push:f}=x(),E=N(null),{id:C,isDetail:s,title:i,collapses:n}=w({baseName:"\u91C7\u8D2D\u5F00\u7968\u89E3\u9664",collapseLen:5}),{run:v,data:p}=_({initalData:{}}),{run:R}=_({success:()=>f("/supply/supplyTicketReturnRelive")}),k=()=>v(L({returnCode:C.value})),y=m=>R(P(m));return s.value&&k(),(m,c)=>{const d=a("ElCollapseItem"),D=a("ElCollapse"),b=a("ElTabPane"),B=a("ElTabs");return l(),u("div",K,[t(B,null,{default:o(()=>[t(b,{label:e(i)},{default:o(()=>[t(D,{modelValue:e(n),"onUpdate:modelValue":c[0]||(c[0]=h=>V(n)?n.value=h:null)},{default:o(()=>[t(d,{name:"1",title:e(i)},{default:o(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),A(e(U),{key:0,columns:e(I),data:e(p)},null,8,["columns","data"])):(l(),u(g,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(q,{onCreate:y})],2112))]),_:1},8,["title"]),e(s)?(l(),u("div",z,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(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 re=F(G,[["__file","/Users/apple/Desktop/company-projects/accout-vue3-ui/src/views/supply/ticketReturnRelive/detail.vue"]]);export{re as default};