1 |
- import{_ as V,d as P,p as U,aM as w,x as j,ai as q,bc as u,r as i,o as s,c as m,l as t,D as a,m as e,ar as G,a as r,G as d,aN as C,F as L}from"./index.js";import{u as M}from"./useDetail.d77f98f9.js";import W from"./index.a6589a.js";import $ from"./return-form.66117f.js";import{R as z}from"./receipt.2e6f7d0d.js";import{h as H}from"./index.26d6ac45.js";import{s as J}from"./ticketReturn.6df30604.js";import{s as K}from"./ticketReturnRelive.1783d6bb.js";import"./porder.9a85976d.js";import{h as Q,a as X,b as Y}from"./index.a7473690.js";import"./orderRecord.4d98a397.js";import"./index.46b8bf10.js";import"./choose-modal.d1fd62.js";import"./_details.3df1a21f.js";import"./date-range.4010f801.js";import"./_rules.aa6432b7.js";import"./index.e075def9.js";/* empty css */const Z={class:"padding__container bg-white"},ee={key:1},te=P({__name:"detail",setup(ae){const{push:E}=U(),h="sendOrderInvoiceReliveDetail",{hasPermissionWithCode:R}=w(h),k=j(null),{isSuperUser:y}=q(),{id:f,isDetail:l,title:_,collapses:p}=M({baseName:"\u8FD0\u5355\u56DE\u7968\u89E3\u9664",collapseLen:5}),{run:b,data:c}=u({initalData:{},success:({orderCode:o})=>N(H({hpNo:o}))}),{run:N,data:A}=u({initalData:{}}),{run:B}=u({success:()=>v()}),{run:F}=u({success:()=>E("/postSupplierOrder/postSupplierOrderCollection?tab=sendOrderInvoiceRelive_collection")}),g=o=>B(X({returnCode:f.value,...o})),v=()=>b(Q({returnCode:f.value})),I=o=>F(Y(o));return l.value&&v(),(o,D)=>{const n=i("ElCollapseItem"),T=i("ElCollapse"),O=i("ElTabPane"),S=i("ElTabs");return s(),m("div",Z,[t(S,null,{default:a(()=>[t(O,{label:e(_)},{default:a(()=>[t(T,{modelValue:e(p),"onUpdate:modelValue":D[0]||(D[0]=x=>G(p)?p.value=x:null)},{default:a(()=>[t(n,{name:"1",title:e(_)},{default:a(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(l)?(s(),d(e(C),{key:0,columns:e(K),data:e(c)},null,8,["columns","data"])):(s(),m(L,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t($,{onCreate:I})],2112))]),_:1},8,["title"]),e(l)?(s(),d(n,{key:0,name:"4",title:"\u91C7\u8D2D\u56DE\u7968\u8BE6\u60C5"},{default:a(()=>[t(e(C),{columns:e(J),data:e(A)},null,8,["columns","data"])]),_:1})):r("v-if",!0),e(l)?(s(),m("div",ee,[t(n,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[r(' <ReconciliationForm ref="formRef" readonly :id="data.payNo" /> '),t(W,{ref_key:"formRef",ref:k,readonly:"",request:"",payNo:e(c).payNo},null,8,["payNo"])]),_:1}),!e(y)&&String(e(c).status)==="1"&&e(R)("053")?(s(),d(n,{key:0,name:"3",title:"\u4E1A\u52A1\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:a(()=>[t(e(z),{"no-time":"","has-remark":"","approve-value":"2","reject-value":"3","img-prop":"returnImg",onApproval:g})]),_:1})):r("v-if",!0)])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Re=V(te,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/postSupplierOrder/sendOrderInvoiceRelive/detail.vue"]]);export{Re as default};
|