detail.2fcf78.js 2.8 KB

1
  1. import{_ as V,d as x,k as P,c9 as U,n as w,ab as j,cB as u,r as i,o as s,c as m,h as t,y as a,i as e,ak as q,a as r,A as d,ca as C,F as L}from"./index.js";import{u as W}from"./useDetail.5dd6b55b.js";import $ from"./index.7e6474.js";import z from"./return-form.b59e7f.js";import{R as G}from"./receipt.211ced80.js";import{h as H}from"./index.a0e6e193.js";import{s as J}from"./ticketReturn.fef66254.js";import{s as K}from"./ticketReturnRelive.8c4b31b6.js";import"./porder.307b9961.js";import{h as M,a as Q,b as X}from"./index.a7cc025f.js";import"./orderRecord.b3641cd9.js";import"./index.3fbf6cdf.js";import"./choose-modal.c390e0.js";import"./_details.7c6ddbaa.js";import"./_rules.1ebcf188.js";import"./global.9ad647c8.js";const Y={class:"padding__container bg-white"},Z={key:1},ee="supSendOrderInvoiceReliveDetail",te=x({__name:"detail",setup(ae){const{push:E}=P(),{hasPermissionWithCode:h}=U(ee),k=w(null),{isSuperUser:R}=j(),{id:f,isDetail:l,title:_,collapses:p}=W({baseName:"\u8FD0\u5355\u56DE\u7968\u89E3\u9664",collapseLen:5}),{run:y,data:c}=u({initalData:{},success:({orderCode:o})=>b(H({hpNo:o}))}),{run:b,data:A}=u({initalData:{}}),{run:B}=u({success:()=>v()}),{run:N}=u({success:()=>E("/supplierOrder/supplierOrderCollection?tab=supSendOrderInvoiceRelive_collection")}),F=o=>B(Q({returnCode:f.value,...o})),v=()=>y(M({returnCode:f.value})),g=o=>N(X(o));return l.value&&v(),(o,D)=>{const n=i("ElCollapseItem"),I=i("ElCollapse"),T=i("ElTabPane"),O=i("ElTabs");return s(),m("div",Y,[t(O,null,{default:a(()=>[t(T,{label:e(_)},{default:a(()=>[t(I,{modelValue:e(p),"onUpdate:modelValue":D[0]||(D[0]=S=>q(p)?p.value=S: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(z,{onCreate:g})],2112))]),_:1},8,["title"]),e(l)?(s(),d(n,{key:0,name:"4",title:"\u8FD0\u5355\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",Z,[t(n,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[r(' <ReconciliationForm ref="formRef" readonly :id="data.payNo" /> '),t($,{ref_key:"formRef",ref:k,readonly:"",request:"",payNo:e(c).payNo},null,8,["payNo"])]),_:1}),!e(R)&&String(e(c).status)==="1"&&e(h)("053")?(s(),d(n,{key:0,name:"3",title:"\u4E1A\u52A1\u516C\u53F8\u8D22\u52A1\u5BA1\u6838"},{default:a(()=>[t(e(G),{"no-time":"","has-remark":"","approve-value":"2","reject-value":"3","img-prop":"returnImg",onApproval:F})]),_:1})):r("v-if",!0)])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Ee=V(te,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supplierOrder/sendOrderInvoiceRelive/detail.vue"]]);export{Ee as default};