| 1 |
- /* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as I,r as p,a6 as B,s as z,ap as q,I as g,ac as x,n as P,c as u,a as s,b as a,w as i,i as R,F as S,h as D,e as l,ad as F,t,o as _,E as G,u as y,S as L,A as k,a5 as M,x as U,y as H,af as Z,Z as j,ag as J,as as K,H as O,_ as Q}from"./index-hZHbf6Qq.js";const W={class:"order-detail-container"},X={class:"page-header"},Y={class:"page-content"},$={class:"progress-section"},ss={class:"progress-steps"},es={class:"step-icon"},ts={class:"step-info"},os={class:"step-title"},as={class:"step-desc"},is={class:"step-time"},ns={class:"section"},ls={class:"product-cell"},ds={class:"product-image"},cs={class:"image-placeholder"},rs={class:"product-info"},_s={class:"product-name"},ps={class:"product-spec"},us={class:"product-summary"},vs={class:"total-price"},ms={class:"section"},fs={class:"address-card"},bs={class:"address-detail"},hs={class:"address-name"},gs={class:"address-phone"},ys={class:"section"},ks={class:"info-table"},ws={class:"info-row"},Ns={class:"info-value"},Es={class:"info-row"},Ts={class:"info-value"},Vs={class:"info-row"},As={class:"info-value"},Cs={class:"info-row"},Is={class:"info-value"},Bs={class:"section"},zs={class:"info-table"},qs={class:"info-row"},xs={class:"info-value"},Ps={class:"info-row"},Rs={class:"info-value"},Ss={class:"info-row"},Ds={class:"info-value"},Fs={class:"info-row"},Gs={class:"info-value"},Ls={class:"info-row"},Ms={class:"info-value"},Us={class:"info-row"},Hs={class:"info-value"},Zs={class:"info-row"},js={class:"info-value"},Js=I({__name:"detail",setup(Ks){const w=O(),N=P(),E=p(""),v=p(1),f=p([{title:"提交审核",icon:B,desc:"采购一部提交订单审核",time:"2025/02/10 15:51:21"},{title:"审核中",icon:z,desc:"采购一部提交订单审批",time:"2025/02/10 15:51:21"},{title:"审核完成",icon:q,desc:"交易完成",time:"2025/02/10 15:51:21"}]),b=p([{id:1,name:"清华同方超越E500台式机电脑(i3-6100/4G/1T/19.5寸)",spec1:"规格01",spec2:"规格02",price:"180.00",quantity:1,subtotal:"230.00",image:""},{id:2,name:"清华同方超越E500台式机电脑(i3-6100/4G/1T/19.5寸)",spec1:"规格01",spec2:"规格02",price:"180.00",quantity:1,subtotal:"230.00",image:""}]),n=g({freight:"23.00",totalAmount:"0.00",address:"广东省 广州市 萝岗区科学城11号",receiverName:"中国南方电网有限公司",receiverPhone:"18062697722",deliveryTime:"2025/12/12 15:23:22",purchaseReason:"111",costType:"",remark:""}),d=g({type:"",title:"",taxNo:"",registerAddress:"",registerPhone:"",bankName:"",bankAccount:""});x(()=>{E.value=N.params.orderNo||""});const T=()=>{w.push("/trade/orderManage")};return(Os,e)=>{const m=G,h=R,V=j,r=Z,A=K,C=F;return _(),u("div",W,[s("div",X,[a(h,{link:"",onClick:T},{default:i(()=>[a(m,null,{default:i(()=>[a(y(L))]),_:1}),e[0]||(e[0]=s("span",null,"返回",-1))]),_:1}),e[1]||(e[1]=s("span",{class:"page-title"},"订单详情",-1))]),s("div",Y,[s("div",$,[s("div",ss,[(_(!0),u(S,null,D(f.value,(o,c)=>(_(),u("div",{key:c,class:k(["step-item",{active:c<=v.value,current:c===v.value}])},[s("div",es,[a(m,{size:24},{default:i(()=>[(_(),U(H(o.icon)))]),_:2},1024)]),s("div",ts,[s("div",os,t(o.title),1),s("div",as,t(o.desc),1),s("div",is,t(o.time),1)]),c<f.value.length-1?(_(),u("div",{key:0,class:k(["step-line",{active:c<v.value}])},null,2)):M("",!0)],2))),128))])]),s("div",ns,[e[3]||(e[3]=s("div",{class:"section-title"},[s("i",{class:"title-bar"}),l("商品信息")],-1)),a(C,{data:b.value,border:"",style:{width:"100%"}},{default:i(()=>[a(r,{label:"商品信息","min-width":"300"},{default:i(({row:o})=>[s("div",ls,[s("div",ds,[a(V,{src:o.image,fit:"contain"},{error:i(()=>[s("div",cs,[a(m,{size:30,color:"#ccc"},{default:i(()=>[a(y(J))]),_:1})])]),_:1},8,["src"])]),s("div",rs,[s("div",_s,t(o.name),1),s("div",ps,t(o.spec1)+" "+t(o.spec2),1)])])]),_:1}),a(r,{prop:"price",label:"单价",width:"100",align:"center"},{default:i(({row:o})=>[l("¥"+t(o.price),1)]),_:1}),a(r,{label:"数量",width:"150",align:"center"},{default:i(({row:o})=>[a(A,{modelValue:o.quantity,"onUpdate:modelValue":c=>o.quantity=c,min:1,size:"small",disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),a(r,{prop:"subtotal",label:"小计",width:"100",align:"center"},{default:i(({row:o})=>[l("¥"+t(o.subtotal),1)]),_:1}),a(r,{label:"操作",width:"80",align:"center"},{default:i(()=>[a(h,{type:"danger",link:"",size:"small"},{default:i(()=>[...e[2]||(e[2]=[l("清除",-1)])]),_:1})]),_:1})]),_:1},8,["data"]),s("div",us,[l("共"+t(b.value.length)+"件商品 运费:¥"+t(n.freight)+" 共计",1),s("span",vs,"¥"+t(n.totalAmount),1)])]),s("div",ms,[e[4]||(e[4]=s("div",{class:"section-title"},[s("i",{class:"title-bar"}),l("收货地址")],-1)),s("div",fs,[s("div",bs,t(n.address),1),s("div",hs,t(n.receiverName),1),s("div",gs,t(n.receiverPhone),1)])]),s("div",ys,[e[9]||(e[9]=s("div",{class:"section-title"},[s("i",{class:"title-bar"}),l("其他信息")],-1)),s("div",ks,[s("div",ws,[e[5]||(e[5]=s("span",{class:"info-label"},"配送时间",-1)),s("span",Ns,t(n.deliveryTime),1)]),s("div",Es,[e[6]||(e[6]=s("span",{class:"info-label"},"采购事由",-1)),s("span",Ts,t(n.purchaseReason||"-"),1)]),s("div",Vs,[e[7]||(e[7]=s("span",{class:"info-label"},"费用类型",-1)),s("span",As,t(n.costType||"-"),1)]),s("div",Cs,[e[8]||(e[8]=s("span",{class:"info-label"},"订单备注",-1)),s("span",Is,t(n.remark||"-"),1)])])]),s("div",Bs,[e[17]||(e[17]=s("div",{class:"section-title"},[s("i",{class:"title-bar"}),l("发票信息")],-1)),s("div",zs,[s("div",qs,[e[10]||(e[10]=s("span",{class:"info-label"},"发票类型",-1)),s("span",xs,t(d.type||"-"),1)]),s("div",Ps,[e[11]||(e[11]=s("span",{class:"info-label"},"发票抬头",-1)),s("span",Rs,t(d.title||"-"),1)]),s("div",Ss,[e[12]||(e[12]=s("span",{class:"info-label"},"纳税人识别号",-1)),s("span",Ds,t(d.taxNo||"-"),1)]),s("div",Fs,[e[13]||(e[13]=s("span",{class:"info-label"},"注册地址",-1)),s("span",Gs,t(d.registerAddress||"-"),1)]),s("div",Ls,[e[14]||(e[14]=s("span",{class:"info-label"},"注册电话",-1)),s("span",Ms,t(d.registerPhone||"-"),1)]),s("div",Us,[e[15]||(e[15]=s("span",{class:"info-label"},"开户银行",-1)),s("span",Hs,t(d.bankName||"-"),1)]),s("div",Zs,[e[16]||(e[16]=s("span",{class:"info-label"},"银行账号",-1)),s("span",js,t(d.bankAccount||"-"),1)])])])])])}}}),ae=Q(Js,[["__scopeId","data-v-4de8a82d"]]);export{ae as default};
|