PageSourceSearch

https://acrobiosystems.cn/_nuxt/BgIjcc4m.js

js acrobiosystems.cn collected 2026-10-02 02:20:48 UTC 9,913 bytes, 1 lines download raw bytes

1import{a as nt,b as lt,u as rt,c as dt,e as L,f as _t,g as ct,E as it,n as ut,I as pt,C as vt,z as yt,i as ft,af as U,O as gt,m as mt,V as ht,W as kt,o as bt,G as Ct,F as xt,U as Lt,v as wt}from"./owny01bg.js";import{_ as Bt}from"./mJChO9Z6.js";/* empty css        *//* empty css        *//* empty css        */import{_ as Et}from"./Ds6obRDY.js";import{_ as Tt}from"./C2GHWGDu.js";import{k as Vt,r as Zt,b as S,a7 as Pt,L as n,M as d,N as e,a4 as _,_ as i,u as l,B as T,V as f,S as h,af as k,a2 as u,Z as D,a3 as c,a6 as w}from"./CMrM--wl.js";const $t={class:"container"},Nt={class:"wrap"},St={class:"breadcrumb"},Dt={class:"main"},Ot={class:"my_left"},zt={class:"my_right"},Ht={class:"tab"},It={class:"list"},At={class:"select-box"},Rt={class:"filter-box"},Ut={class:"order-tab"},Ft={class:"order_list"},Kt={key:0},Mt={class:"order-top"},jt={class:"No"},Gt={key:0},qt={class:"del"},Wt=["onClick"],Jt={class:"box"},Qt={class:"order-left"},Xt={class:"specifications flex align-center"},Yt={class:"text_01"},te={key:0,class:"expressBox"},ee=["onClick"],se={class:"num"},oe={key:0,class:"logistics"},ae=["onClick"],ne={class:"order-right"},le={class:"contact"},re={class:"text_02"},de={class:"price"},_e={class:"text_01"},ce={class:"text_02"},ie={class:"detail"},ue=["onClick"],pe=["onClick"],ve={class:"btn-box"},ye=["onClick"],fe=["onClick"],ge=["onClick"],me={key:1},he={class:"status_01"},ke={class:"order-top"},be={class:"No"},Ce={key:0},xe={class:"box"},Le={class:"order-left"},we={class:"specifications flex align-center"},Be={class:"text_01"},Ee={class:"num"},Te={key:3,class:"page"},Ve={class:"total"},Ze=Vt({__name:"order",setup(Pe){const B=nt();lt();const{$http:O}=rt();dt();const F=L("lang").value||1,o=Zt({orderList:[],more:!0,page:1,pagesize:10,total:0,isHaveData:"",order_status:0,po:"",pay_code:"",order_sn:"",time_type:1}),K=[{id:1,label:"三个月"},{id:2,label:"六个月"},{id:3,label:"九个月"}],M=["Paypal","Cybersource","Stripe","Po"];S(null),S(null);const b=a=>{o.page=1,o.isHaveData="",o.time_type=1,o.order_sn="",o.pay_code="",o.po="",o.orderList=[],o.order_status=a,g()},j=()=>{o.page=1,o.isHaveData="",o.time_type=1,o.order_sn=o.po,o.pay_code="",g()},G=()=>{o.page=1,g()},q=()=>{o.page=1,g()},v=S([]),g=()=>{O.post("/order/orderList",{page:o.page,pagesize:o.pagesize,time_type:o.time_type,order_sn:o.order_sn,pay_code:o.pay_code,order_status:o.order_status}).then(a=>{if(a&&a.code==0){var s=a.data.data;o.total=a.data.total,o.orderList=s,console.log(a.data.sapBindList),o.order_status==0&&a.data.sapBindList&&a.data.sapBindList.length>0?(v.value=a.data.sapBindList,console.log(v.value)):v.value=[],o.orderList.length>0||v.value.length>0?o.isHaveData=!0:o.isHaveData=!1}})};g();const W=a=>{o.page=a,g()},z=(a,s)=>{let p=[],m=0;a.orderProductInfo.filter(y=>{p.push({product_id:y.product_id,num:y.product_num}),m=m+y.product_num}),O.post("/cart/addCart",{product:p}).then(y=>{y&&y.code==0&&(L("cartTotal")?L("cartTotal").value=L("cartTotal").value+m:L("cartTotal").value=m,B.push({path:"/shopping-cart"}))})},J=a=>{B.push("/my-account/invice?order_sn="+a.order_sn)},Q=a=>{gt({url:"/payment/payOrder",method:"POST",data:{orderSn:a.order_sn}}).then(s=>{a.pay_code=="Po"?B.push("/processing-order/success?order_sn="+a.order_sn):a.pay_code=="Stripe"&&s&&s.data&&s.data.pay&&s.data.pay.pay_url&&window.open(s.data.pay.pay_url,"_blank")}).catch(s=>{if(console.log(a),a.pay_code=="Paypal"||a.pay_code=="Cybersource"){var p=null;setTimeout(function(){document.getElementsByTagName("divform").length>0?p=document.getElementsByTagName("divform")[0]:p=document.createElement("divform"),p.innerHTML=s,document.body.appendChild(p),console.log(document.forms),document.forms[document.forms.length-1].acceptCharset="utf8",document.forms[document.forms.length-1].setAttribute("target","_blank"),document.forms[document.forms.length-1].submit()})}})},X=a=>{B.push({path:"/my-account/order-detail",query:{order_sn:a}})},{orderList:Y,more:$e,page:E,total:V,isHaveData:Z,order_status:C,pay_code:P,order_sn:Ne,time_type:$,po:N}=Pt(o);return _t({titleTemplate:()=>ct("我的订单",F),viewport:"width=device-width, initial-scale=1, maximum-scale=1",charset
1:"utf-8",meta:[{name:"keywords",content:"我的订单"},{name:"description",content:"我的订单"}]}),(a,s)=>{const p=mt,m=it,y=Bt,tt=ut,et=pt,H=ht,I=kt,st=vt,A=bt,x=Ct,R=xt,ot=Lt,at=yt;return n(),d("div",$t,[e("div",Nt,[e("div",St,[_(m,{"separator-icon":l(ft)},{default:i(()=>[_(p,{to:{path:"/"}},{default:i(()=>s[9]||(s[9]=[w("首页")])),_:1}),_(p,{to:{path:"/my-account"}},{default:i(()=>s[10]||(s[10]=[w("我的")])),_:1}),_(p,null,{default:i(()=>s[11]||(s[11]=[w("订单中心")])),_:1})]),_:1},8,["separator-icon"])]),e("div",Dt,[e("div",Ot,[_(y)]),e("div",zt,[e("div",Ht,[e("div",It,[_(tt,{rel:"nofollow",to:"",class:"active"},{default:i(()=>s[12]||(s[12]=[w("我的订单")])),_:1})]),e("div",At,[_(et,{modelValue:l(N),"onUpdate:modelValue":s[0]||(s[0]=t=>T(N)?N.value=t:null),placeholder:"请输入订单号/PO号",style:{width:"180px"}},null,8,["modelValue"]),e("div",{class:"confirm-btn",onClick:j},"搜索")])]),e("div",Rt,[e("div",Ut,[e("span",{class:f({active:l(C)==0}),onClick:s[1]||(s[1]=t=>b(0))},"全部订单",2),e("span",{class:f({active:l(C)==1}),onClick:s[2]||(s[2]=t=>b(1))},"待付款",2),e("span",{class:f({active:l(C)==2}),onClick:s[3]||(s[3]=t=>b(2))},"未发货",2),e("span",{class:f({active:l(C)==3}),onClick:s[4]||(s[4]=t=>b(3))},"已发货",2),e("span",{class:f({active:l(C)==4}),onClick:s[5]||(s[5]=t=>b(4))},"已取消",2)]),e("div",null,[_(st,null,{default:i(()=>[_(I,{modelValue:l($),"onUpdate:modelValue":s[6]||(s[6]=t=>T($)?$.value=t:null),placeholder:"近三个月",class:"select-type",onChange:G},{default:i(()=>[(n(),d(h,null,k(K,t=>_(H,{key:t.id,label:t.label,value:t.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"]),_(I,{modelValue:l(P),"onUpdate:modelValue":s[7]||(s[7]=t=>T(P)?P.value=t:null),placeholder:"支付方式",class:"select-type",onChange:q},{default:i(()=>[(n(),d(h,null,k(M,t=>_(H,{key:t,label:t,value:t},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})])]),e("div",Ft,[l(Z)===!0?(n(),d("ul",Kt,[(n(!0),d(h,null,k(l(Y),t=>(n(),d("li",{class:f(t.cancel_state==1||t.pay_state==3||t.pay_state==4?"":t.pay_state==0?"status_02":t.orderAddressList.length==0?"status_03":"status_01")},[e("div",Mt,[e("div",jt,[e("b",null,"订单号:"+c(t.order_sn),1),t.po_sn?(n(),d("b",Gt,"PO号:"+c(t.po_sn),1)):u("",!0),e("span",null,c(t.update_time),1)]),e("div",qt,[e("div",{class:f(t.cancel_state==1||t.pay_state==3||t.pay_state==4?"":"status")},c(t.cancel_state==1?"已取消":t.pay_state==0?"待付款":t.pay_state==3?"退款中":t.pay_state==4?"退款完成":t.order_status==0?"待发货":t.order_status==1?"已发货":t.order_status==2?"已收货":t.order_status==3?"部分发货":""),3),t.pay_state==0||t.cancel_state==1||t.pay_state==2||t.pay_state==4?(n(),d("img",{key:0,onClick:r=>a.del(t.order_sn),src:Et},null,8,Wt)):u("",!0)])]),e("div",Jt,[e("div",Qt,[(n(!0),d(h,null,k(t.orderProductInfo,r=>(n(),D(R,{class:"row",justify:"center"},{default:i(()=>[_(x,{span:10},{default:i(()=>[e("div",Xt,[s[13]||(s[13]=e("b",null,"货号-规格:",-1)),_(A,{placement:"top-start",title:"",width:200,trigger:"hover",content:r.product_name},{reference:i(()=>[e("div",Yt,c(r.product_number)+" - "+c(r.product_spec),1)]),_:2},1032,["content"])])]),_:2},1024),_(x,{span:11},{default:i(()=>[r.express_number?(n(),d("div",te,[e("div",null,"物流单号:"+c(r.express_number),1),e("div",{class:"copy",onClick:Se=>l(U)(r.express_number)},"复制",8,ee)])):u("",!0)]),_:2},1024),_(x,{span:3},{default:i(()=>[e("div",se,"数量:"+c(r.product_num),1)]),_:2},1024)]),_:2},1024))),256)),t.order_status>1?(n(),d("div",oe,[s[14]||(s[14]=w(" 物流单号: ")),e("div",{class:"copy",onClick:r=>l(U)(t)},"复制",8,ae)])):u("",!0)]),e("div",ne,[e("div",le,[s[15]||(s[15]=e("img",{src:Tt},null,-1)),s[16]||(s[16]=e("div",{class:"text_01"},"收货人",-1)),e("div",re,c(t.orderAddressList.length>0?t.orderAddressList[0].username:""),1)]),e("div",de,[e("div",_e,c(t.currency)+" "+c(t.order_amount),1),e("div",ce,c(t.pay_code),1)]),e("div",ie,[e("div",{class:"text_01",onClick:r=>X(t.order_sn)},"订单详情",8,ue),t.cancel_state!=1&&t.pay_state!=0?(n(),d("div",{key:0,class:"text_02",onClick:r=>J(t)},"发票下载",8,pe)):u("",!0)]),e("div",ve,[t.cancel_state==1?(n(),d("div",{key:0,onClick:r=>z(t)},"下单购买",8,ye)):u("",!0),t.pay_state==0&&t.cancel_state==0?(n(),d("div",{key:1,onClick:r=>Q(t)},"立即支付",8,fe)):u("",!0),t.order_status>0||t.pay_state==2||t.pay_state==1?(n(),d("div",{key:2,onClick:r=>z(t)},"再次购买",8,ge)):u("",!0)])])])],2))),256))])):u("",!0),l(v).length>0?(n(),d("ul",me,[(n(!0),d(h,null,k(l(v),t=>(n(),d("li",he,[e("div",ke,[e("div",be,[e("b",null,"订单号:"+c(t.BSTKD_E),1),t.BSTNK?(n(),d("b",Ce,"PO号:"+c(t.BSTNK),1
1)):u("",!0),e("span",null,c(t.update_time),1)])]),e("div",xe,[e("div",Le,[(n(!0),d(h,null,k(t.detail,r=>(n(),D(R,{class:"row",justify:"center"},{default:i(()=>[_(x,{span:21},{default:i(()=>[e("div",we,[s[17]||(s[17]=e("b",null,"货号-规格:",-1)),_(A,{placement:"top-start",title:"",width:200,trigger:"hover",content:r.ZZ003},{reference:i(()=>[e("div",Be,c(r.ZZ003&&r.ZZ007?r.ZZ003+"-"+r.ZZ007:r.ZZ003?r.ZZ003:""),1)]),_:2},1032,["content"])])]),_:2},1024),_(x,{span:3},{default:i(()=>[e("div",Ee,"数量:"+c(r.LFIMG),1)]),_:2},1024)]),_:2},1024))),256))])])]))),256))])):u("",!0),l(Z)===!1?(n(),D(ot,{key:2})):u("",!0),l(Z)===!0?(n(),d("div",Te,[e("div",Ve,"共 "+c(l(E)==1&&l(v).length>0?l(v).length+l(V):l(V))+" 项数据",1),_(at,{layout:"prev, pager, next","current-page":l(E),"onUpdate:currentPage":s[8]||(s[8]=t=>T(E)?E.value=t:null),"page-size":a.pagesize,total:l(V),onCurrentChange:W},null,8,["current-page","page-size","total"])])):u("",!0)])])])])])}}}),Fe=wt(Ze,[["__scopeId","data-v-4dcfa95d"]]);export{Fe as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.