12345 |
- import{c as we,o as Le,d as Ee,p as ze,l as Ue,e as je,f as Xe,a as $e}from"./index.783cf3d7.js";import{c as Ge,o as Ye,p as He,d as Me,e as qe,a as Ze}from"./index.a9fe0e57.js";import{c as Je,o as We,d as Ke,p as Qe,e as es,f as ss,a as ts}from"./index.71220073.js";import{d as os,a6 as ls,r as x,p as ne,c as P,e as f,k as ie,i as y,g as e,m as b,t as l,f as m,A as C,h as a,j as te,F as oe,q as us,E as u,R as ns,S as is,_ as rs}from"./index.76214426.js";import as from"./edit_address.0bb04c17.js";import ds from"./clothes_info.f0f6f074.js";import cs from"./clothes_image.30616241.js";import Fe from"./set_print.1096415b.js";import{g as re,l as _s}from"./lodopFuncs.2ba3e9ce.js";const r=z=>(ns("data-v-42d1d6dc"),z=z(),is(),z),ps={style:{"background-color":"#f4f4f4","border-radius":"8px",padding:"8px"}},vs={class:"betailsBody"},fs={class:"left",ref:"leftContainer"},hs={class:"left-top"},gs={class:"betails-info"},ys={class:"betails-info-top"},ms=r(()=>e("div",null,"\u6D41\u6C34\u53F7",-1)),Es={class:"betails-info"},Fs={class:"betails-info-top"},xs=r(()=>e("div",null,"\u8BA2\u5355\u72B6\u6001",-1)),Ds={key:0,class:"betails-info",style:{color:"#3dcc00"}},As={class:"betails-info-top"},Ts=r(()=>e("div",null,"\u5DF2\u4ED8\u6B3E",-1)),Cs={key:1,class:"betails-info",style:{color:"#ff0004"}},bs={class:"betails-info-top"},Bs=r(()=>e("div",null,"\u672A\u4ED8\u6B3E",-1)),Ss={class:"left-bottom"},Is={class:"left-bottom-top"},Ps={class:"left-bottom-center"},ks={style:{display:"flex"}},Ns={class:"clothes-info"},Rs=r(()=>e("div",null,"\u603B\u4EF6\u6570\uFF1A",-1)),Os={class:"clothes-info-num"},Vs=r(()=>e("div",null,"\u4EF6",-1)),ws={class:"clothes-info"},Ls=r(()=>e("div",null,"\u5DF2\u53D6\u4EF6\u6570\uFF1A",-1)),zs={class:"clothes-info-num"},Us=r(()=>e("div",null,"\u4EF6",-1)),js={class:"clothes-info"},Xs=r(()=>e("div",null,"\u672A\u53D6\u4EF6\u6570\uFF1A",-1)),$s={class:"clothes-info-num"},Gs=r(()=>e("div",null,"\u4EF6",-1)),Ys={class:"clothes-list-info"},Hs={class:"clothes-list-info-top"},Ms={style:{"margin-right":"8px"}},qs={class:"big-info"},Zs={class:"text-ellipsis-1",style:{"font-size":"20px",display:"flex","justify-content":"center","align-items":"flex-end"}},Js=["onClick"],Ws=r(()=>e("div",{style:{"font-size":"13px"}}," \u6761\u7801 ",-1)),Ks={style:{"white-space":"nowrap",display:"flex"}},Qs={key:0,style:{margin:"0 10px","text-align":"center"}},et={style:{"font-size":"23px",color:"#000"}},st={class:"title"},tt={class:"info1"},ot={class:"title",style:{"text-decoration":"line-through"}},lt=["onClick"],ut=["onClick"],nt={class:"clothes-info-bottom"},it={class:"clothes-status"},rt={style:{flex:"1","text-align":"center"}},at={key:0,style:{display:"flex","justify-content":"center","align-items":"center","text-align":"center"}},dt=r(()=>e("div",null,[e("div",null,[e("img",{src:"https://qny.wdsp666.com/\u798F\u888B\u80CC\u666F\u56FE/agent/20c11314d8c0dbd8e933d8d71acb77e.png",alt:""})]),e("div",null,"\u6CA1\u6709\u66F4\u591A\u6570\u636E\u5185\u5BB9...")],-1)),ct=[dt],_t={class:"price"},pt={class:"price-info"},vt=r(()=>e("div",{class:"price-name"},"\u8863\u7269\u539F\u4EF7",-1)),ft={class:"price-num",style:{"text-decoration":"line-through"}},ht=r(()=>e("div",{style:{flex:"1"}},null,-1)),gt={class:"price-info"},yt=r(()=>e("div",{class:"price-name"},"\u6298\u540E\u603B\u4EF7",-1)),mt={class:"price-num",style:{color:"#ff0000"}},Et=r(()=>e("div",{style:{flex:"1"}},null,-1)),Ft={class:"price-info"},xt=r(()=>e("div",{class:"price-name"},"\u8BA2\u5355\u603B\u989D",-1)),Dt={class:"price-num",style:{color:"#ff0000"}},At=r(()=>e("div",{style:{flex:"1"}},null,-1)),Tt={class:"price-info"},Ct={class:"price-name"},bt={class:"price-num"},Bt={style:{flex:"1","text-align":"right","font-size":"13px"}},St={class:"remarhs"},It=r(()=>e("div",{class:"remarhs-left"},"\u53D6\u4EF6\u5730\u5740",-1)),Pt={class:"remarhs-right"},kt={class:"text-ellipsis-1"},Nt={class:"remarhs"},Rt=r(()=>e("div",{class:"remarhs-left"},"\u9001\u4EF6\u5730\u5740",-1)),Ot={class:"remarhs-right"},Vt={class:"text-ellipsis-1"},wt={class:"remarhs"},Lt=r(()=>e("div",{class:"remarhs-left"},"\u5907\u6CE8",-1)),zt={class:"remarhs-right"},Ut={class:"remarhs"},jt=r(()=>e("div",{class:"remarhs-left"},"\u662F\u5426\u8054\u7CFB\u987E\u5BA2",-1)),Xt={class:"remarhs-right"},$t=b("\u4E0D\u8054\u7CFB"),Gt=b("\u6D17\u524D"),Yt=b("\u6D17\u540E"),Ht=b("\u524D\u540E\u5747\u8054\u7CFB"),Mt={style:{display:"flex","justify-content":"space-between","align-items":"center",width:"100%",color:"#409EFF"}},qt={key:0,style:{"font-size":"16px"}},Zt={key:1},Jt={key:2,style:{"font-size":"16px"}},Wt={key:3},Kt={key:0,style:{color:"#808080","margin-top":"10px"}},Qt={key:1},eo={key:2,style:{color:"#808080","margin-top":"10px"}},so={class:"price"},to={style:{display:"flex","justify-content":"space-between","align-items":"center"}},oo=r(()=>e("div",{style:{flex:"1"}},"\u4E0B\u5355\u7535\u8BDD",-1)),lo={style:{flex:"2"}},uo={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"20px"}},no=r(()=>e("div",{style:{flex:"1"}},"\u5FEB\u9012\u5355\u53F7",-1)),io={style:{flex:"2"}},ro={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"20px"}},ao=r(()=>e("div",{style:{flex:"1"}},"\u8BA2\u5355\u6765\u6E90",-1)),co={style:{flex:"2"}},_o={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"20px"}},po=r(()=>e("div",{style:{flex:"1"}},"\u6240\u5C5E\u95E8\u5E97",-1)),vo={style:{flex:"2"}},fo={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"20px"}},ho=r(()=>e("div",{style:{flex:"1"}},"\u4E0B\u5355\u65F6\u95F4",-1)),go={style:{flex:"2"}},yo={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-top":"20px"}},mo=r(()=>e("div",{style:{flex:"1"}},"\u9884\u7EA6\u65F6\u95F4",-1)),Eo={style:{flex:"2"}},Fo={class:"footer"},xo={style:{"margin-left":"20px"}},Do=b("\u5B8C\u6210\u5206\u62E3"),Ao=b("\u4E00\u952E\u4E0A\u67B6"),To=b("\u6253\u5370\u5C0F\u7968"),Co=b("\u6253\u5370\u4E0D\u5E72\u80F6"),bo=b("\u6253\u5370\u6761\u7801"),Bo=b("\u6253\u5370\u9762\u5355"),So=b("\u4FDD\u5B58\u4FE1\u606F"),Io=os({props:{order_id:Number,openDetails:Boolean,data:String,source:String},emits:["coloseSelectDetails"],setup(z,{emit:N}){const v=z,{OpPlatform:D}=ls(),t=x({sorting_records:[],steps:[],is_contact:0,note:"",send_user_type:"",send_user_waybillno:""}),ae=s=>{D.value=="shangpu"?Xe({order_id:s}).then(o=>{t.value=o,t.value&&t.value.sorting_records&&t.value.sorting_records.forEach(c=>{c.selections=!1})}):D.value=="agent"?qe({order_id:s}).then(o=>{t.value=o,t.value&&t.value.sorting_records&&t.value.sorting_records.forEach(c=>{c.selections=!1})}):ss({order_id:s}).then(o=>{t.value=o,t.value&&t.value.sorting_records&&t.value.sorting_records.forEach(c=>{c.selections=!1})}),console.log("order_info.value")},U=x({delivery_status:[]}),xe=()=>{D.value=="shangpu"?$e({order_id:v.order_id}).then(s=>{U.value=s}):D.value=="agent"?Ze({order_id:v.order_id}).then(s=>{U.value=s}):ts({order_id:v.order_id}).then(s=>{U.value=s})},E=x([]),j=x([]),X=x(!1),De=()=>{X.value&&t.value&&t.value.sorting_records&&t.value.sorting_records.forEach(s=>{s.selected=X.value})},Ae=()=>{t.value&&t.value.sorting_records&&t.value.sorting_records.forEach(s=>{s.selected=X.value,E.value.push(s.id),j.value.push(s.code)})},Te=(s,o)=>{if(s.selected=o,o)E.value.includes(s.id)||(E.value.push(s.id),j.value.push(s.code));else{const n=E.value.indexOf(s.id);n!==-1&&(E.value.splice(n,1),j.value.splice(n,1))}let c=!0;if(t.value&&t.value.sorting_records){for(const n of t.value.sorting_records)if(!n.selected){c=!1;break}}X.value=c,console.log(E.value),console.log(j.value)},$=x(!1),de=x(null),ce=x(null),_e=x(null),pe=(s,o,c)=>{$.value=!0,de.value=s,ce.value=o,_e.value=c},Ce=()=>{$.value=!1},J=x(!1),W=x(null),be=s=>{J.value=!0,W.value=s},Be=()=>{J.value=!1},K=x(!1),Se=s=>{K.value=!0,W.value=s},Ie=()=>{console.log("closeImage"),K.value=!1},Pe=s=>{const o=U.value.delivery_status.findIndex(n=>n.value===s),c=100/(U.value.delivery_status.length-1);return o!==-1?o*c:0},ke=()=>{D.value=="shangpu"?we({order_id:v.order_id,remark:t.value.note,is_contact:t.value.is_contact}).then(s=>{u({message:"\u4FDD\u5B58\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):D.value=="agent"?Ge({order_id:v.order_id,remark:t.value.note}).then(s=>{u({message:"\u4FDD\u5B58\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):Je({order_id:v.order_id,remark:t.value.note}).then(s=>{u({message:"\u4FDD\u5B58\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)})};ne(()=>v.openDetails,s=>{s&&(ae(v.order_id),xe())}),ne(()=>$.value,s=>{s||ae(v.order_id)}),ne(()=>t.value,s=>{s&&(E.value=[],De())});const Ne=()=>{if(E.value<=0){u.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u67B6\u7684\u8863\u7269");return}D.value=="shangpu"?Le({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u4E0A\u67B6\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):D.value=="agent"?Ye({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u4E0A\u67B6\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):We({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u4E0A\u67B6\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)})},Re=()=>{if(E.value<=0){u.error("\u8BF7\u9009\u62E9\u8981\u5B8C\u6210\u5206\u62E3\u7684\u8863\u7269");return}D.value=="shangpu"?Ee({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u5206\u62E3\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):D.value=="agent"?Ee({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u5206\u62E3\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)}):Ke({order_id:v.order_id,ids:E.value}).then(s=>{u({message:"\u5206\u62E3\u6210\u529F",type:"success"}),N("coloseSelectDetails")}).catch(s=>{u.error(s)})},Oe=s=>{D.value=="shangpu"?ze({order_id:v.order_id,print_type:s}).then(o=>{u({message:"\u6253\u5370\u6210\u529F",type:"success"})}).catch(o=>{u.error(o)}):D.value=="agent"?He({order_id:v.order_id,print_type:s}).then(o=>{u({message:"\u6253\u5370\u6210\u529F",type:"success"})}).catch(o=>{u.error(o)}):Qe({order_id:v.order_id,print_type:s}).then(o=>{u({message:"\u6253\u5370\u6210\u529F",type:"success"})}).catch(o=>{u.error(o)})},ve=s=>{navigator.clipboard.writeText(s).then(()=>{u({message:"\u590D\u5236\u6210\u529F",type:"success"})}).catch(o=>{u.error("\u590D\u5236\u5931\u8D25")})},G=x(!1),Y=x({printList:[],type:""}),fe=s=>{const o=t.value.mobile,c=t.value.addtime_cn,n=String(c).substring(5,10),w=t.value.sorting_records,A=[];E.value.forEach(F=>{w.forEach(B=>{F==B.id&&A.push(B)})});const O=A.length;if(O<=0){u.error("\u8BF7\u9009\u62E9\u8981\u6253\u5370\u7684\u8BB0\u5F55");return}E.value.forEach(F=>{console.log(F)});const i=re();if(console.log("LODOP",i),i){for(let F=0;F<O;F++){const B=F+1;let T="",S="";const ue=A[F].code,d=A[F].price,_=A[F].wash_name,Z=A[F].data,p=A[F].print_num||1;Z.forEach(g=>{if(g.title=="\u8863\u7269")T+=g.value+" \uFFE5"+d+" "+_+`\r
- \u7535\u8BDD\uFF1A`+o+" \u65E5\u671F\uFF1A"+n+" \u4EF6\uFF1A"+O+"-"+B+`\r
- `;else if(g.title=="\u989C\u8272"){const k=T.indexOf("\uFFE5"),I="\uFF08"+g.value+"\uFF09",R=T.substring(0,k),q=T.substring(k),se=R+I+q;T="",T+=se,console.log(T)}else if(g.title!="\u62CD\u7167"&&(g.title=="\u7455\u75B5"||g.title=="\u6D17\u540E\u6548\u679C"||g.title=="\u670D\u52A1"||g.title=="\u914D\u9970")){let k=g.title+"\uFF1A"+g.value;const I=new RegExp(".{1,27}","g"),R=k.match(I).map(q=>q+`\r
- `);S+=R.join("")}}),S.split(`\r
- `).filter(g=>g&&g.trim()!=="");const H=40;let ee=60;i.PRINT_INIT("\u6253\u5370\u6807\u7B7E"),i.SET_PRINT_PAGESIZE(3,1100,H,""),i.ADD_PRINT_BARCODE(5,10,100,ee,"128Auto",ue),i.SET_PRINT_STYLEA(0,"FontSize",8),i.ADD_PRINT_TEXT(5,110,300,16,T),i.SET_PRINT_STYLEA(0,"LineSpacing",-2),i.SET_PRINT_STYLEA(0,"FontSize",8),i.ADD_PRINT_TEXT(26,110,300,H,S),i.SET_PRINT_STYLEA(0,"LineSpacing",-2),i.SET_PRINT_STYLEA(0,"FontSize",8),p>1&&i.SET_PRINT_COPIES(p);const M=localStorage.getItem("labelPrint");if(console.log(M),M)i.SET_PRINTER_INDEXA(M),i.PRINT();else{const g=i.GET_PRINTER_COUNT(),k=[];for(let I=0;I<g;I++){const R=i.GET_PRINTER_NAME(I);console.log(R,I),k.push(R)}Y.value.printList=k,Y.value.type="\u6C34\u6D17\u551B",G.value=!0,u.info("\u8BF7\u6307\u5B9A\u9ED8\u8BA4\u6253\u5370\u673A")}}s&&(G.value=!1)}else u.error("\u6CA1\u5B89\u88C5\u6216\u8005\u6CA1\u542F\u52A8Lodop")},Q=x(!1),he=s=>{t.value.steps;const o=t.value.send_user_waybillno,c=t.value.send_user_type;if(console.log("send_user_waybillno",o),!o){u.error("\u6682\u65E0\u5FEB\u9012\u4FE1\u606F,\u65E0\u6CD5\u6253\u5370\u9762\u5355");return}Ue({order_id:v.order_id,waybillno:o,express_type:c}).then(n=>{let w="",A="";console.log("res",n),c=="JD"?w=n.data.url:c=="SF"&&(w=n.url,A=n.token);const O=localStorage.getItem("expressPrint");if(O){const i=re();i?(i.PRINT_INIT("\u6253\u5370\u5FEB\u9012\u9762\u5355"),i.SET_PRINTER_INDEXA(O),i.ADD_PRINT_PDF(0,0,"100%","100%",_s(w,A)),i.PRINT(),u({message:"\u6B63\u5728\u6253\u5370\u4E2D...",type:"success"})):u.error("\u6CA1\u5B89\u88C5\u6216\u8005\u6CA1\u542F\u52A8Lodop"),s&&(Q.value=!1)}else{const i=LODOP.GET_PRINTER_COUNT(),F=[];for(let B=0;B<i;B++){const T=LODOP.GET_PRINTER_NAME(B);console.log(T,B),F.push(T)}Y.value.printList=F,Y.value.type="\u5FEB\u9012\u9762\u5355",Q.value=!0,u.info("\u8BF7\u6307\u5B9A\u9ED8\u8BA4\u6253\u5370\u673A")}}).catch(n=>{u.error(n.message)})},Ve=()=>{if(j.value==[]){u.error(\u8BF7\u9009\u62E9\u9700\u8981\u6253\u5370\u7684\u5206\u62E3\u8BB0\u5F55);return}console.log("order_info",t.value),D.value=="shangpu"?je({id:t.value.id}).then(s=>{console.log("res",s),le(s)}):D.value=="agent"?Me({id:t.value.id}).then(s=>{console.log("res",s),le(s)}):es({id:t.value.id}).then(s=>{console.log("res",s),le(s)})},le=s=>{const o=re();o.PRINT_INIT("\u95E8\u5E97\u6253\u5370\u5355\u636E"),o.SET_PRINT_PAGESIZE(1,600,400,"\u81EA\u5B9A\u4E49\u7EB8\u5F20");for(let c=0;c<s.length;c++){const n=s[c];j.value.includes(n.code)&&(o.ADD_PRINT_BARCODE(10,10,100,138,"128Auto",n.code),o.SET_PRINT_STYLEA(0,"Angle",90),o.ADD_PRINT_TEXT(20,130,100,20,n.code+"\u5171"+n.number+"\u4EF6"),o.ADD_PRINT_TEXT(40,130,100,20,n.clothes),o.ADD_PRINT_TEXT(60,130,100,20,n.color),o.ADD_PRINT_TEXT(90,130,100,20,n.mobile),o.ADD_PRINT_TEXT(110,130,100,20,n.mobile),o.ADD_PRINT_TEXT(130,130,100,20,n.store_title)),o.NewPage()}o.PREVIEW()};return(s,o)=>{const c=P("el-checkbox"),n=P("el-scrollbar"),w=P("el-progress"),A=P("el-divider"),O=P("el-input"),i=P("el-radio"),F=P("el-radio-group"),B=P("el-timeline-item"),T=P("el-timeline"),S=P("el-button"),ue=P("el-dialog");return f(),ie(ue,{modelValue:z.openDetails,"onUpdate:modelValue":o[15]||(o[15]=d=>us(openDetails)?openDetails.value=d:null),title:"\u8BA2\u5355\u8BE6\u60C5",style:{width:"80%"}},{default:y(()=>[e("div",ps,[e("div",vs,[e("div",fs,[e("div",hs,[e("div",gs,[e("div",ys,[b(l(t.value.ordersn),1),e("text",{class:"tn-icon-copy",onClick:o[0]||(o[0]=d=>ve(t.value.ordersn)),style:{cursor:"pointer"}})]),ms]),e("div",Es,[e("div",Fs,l(t.value.delivery_status_cn?t.value.delivery_status_cn:t.value.status_cn)+"("+l(t.value.express_cn)+") ",1),xs]),t.value.is_pay?(f(),m("div",Ds,[e("div",As,"\uFFE5"+l(t.value.total_fee),1),Ts])):C("",!0),t.value.is_pay?C("",!0):(f(),m("div",Cs,[e("div",bs,"\uFFE5"+l(t.value.total_fee),1),Bs]))]),e("div",Ss,[e("div",Is,[e("div",null,l(v.data),1)]),e("div",Ps,[e("div",ks,[e("div",Ns,[Rs,e("div",Os,l(t.value.count),1),Vs]),e("div",ws,[Ls,e("div",zs,l(t.value.pickup),1),Us]),e("div",js,[Xs,e("div",$s,l(t.value.nopickup),1),Gs])]),a(n,{class:"clothes-list"},{default:y(()=>{var d;return[(f(!0),m(oe,null,te((d=t.value)==null?void 0:d.sorting_records,(_,Z)=>(f(),m("div",Ys,[e("div",Hs,[e("div",Ms,[a(c,{modelValue:_.selected,"onUpdate:modelValue":p=>_.selected=p,onChange:p=>Te(_,p),size:"large"},null,8,["modelValue","onUpdate:modelValue","onChange"])]),e("div",qs,[e("div",Zs,[e("div",null,l(_.code),1),e("div",{class:"tn-icon-copy",onClick:p=>ve(_.code),style:{"margin-left":"3px","font-size":"13px",cursor:"pointer"}},null,8,Js)]),Ws]),a(n,{style:{width:"500px"}},{default:y(()=>[e("div",Ks,[(f(!0),m(oe,null,te(_==null?void 0:_.data,(p,H)=>(f(),m("div",null,[p.is_show?(f(),m("div",Qs,[e("div",et,l(p==null?void 0:p.value),1),e("div",st,l(p==null?void 0:p.title),1)])):C("",!0)]))),256))])]),_:2},1024),e("div",tt,[e("div",null,"\uFFE5"+l(_==null?void 0:_.discount_price),1),e("div",ot," \uFFE5"+l(_==null?void 0:_.price),1)]),e("div",{style:{"font-size":"13px",color:"#409EFF","margin-left":"10px",cursor:"pointer"},onClick:p=>Se(_.id)}," \u56FE\u7247",8,lt),e("div",{style:{"font-size":"13px",color:"#409EFF","margin-left":"10px",cursor:"pointer"},onClick:p=>be(_.id)}," \u8BE6\u60C5",8,ut)]),e("div",nt,[a(w,{percentage:Pe(_.status),color:"#25ab1b","show-text":!1},null,8,["percentage"]),e("div",it,[(f(!0),m(oe,null,te(U.value.delivery_status,p=>(f(),m("div",rt,l(p.title),1))),256))])])]))),256)),t.value.sorting_records.length<=0?(f(),m("div",at,ct)):C("",!0)]}),_:1})])])],512),a(n,{class:"right"},{default:y(()=>{var d,_,Z,p,H,ee,M,g,k,I,R,q,se,ge,ye,me;return[e("div",_t,[e("div",pt,[vt,e("div",ft," \uFFE5"+l(t.value.caigou_price),1),ht]),e("div",gt,[yt,e("div",mt,"\xA5"+l(t.value.discount_fee),1),Et]),e("div",Ft,[xt,e("div",Dt,"\xA5"+l(t.value.total_fee),1),At]),e("div",Tt,[e("div",Ct,l(t.value.pay_type_cn),1),e("div",bt,"\xA5"+l(t.value.final_fee),1),e("div",Bt,[e("div",null,l((d=t.value.addtime_cn)==null?void 0:d.split(" ")[0]),1),e("div",null,l((_=t.value.addtime_cn)==null?void 0:_.split(" ")[1]),1)])])]),a(A,{"border-style":"dashed"}),e("div",St,[It,e("div",Pt,[e("div",null,[e("div",null,l((p=(Z=t.value)==null?void 0:Z.accept_express)==null?void 0:p.send_name)+" "+l((ee=(H=t.value)==null?void 0:H.accept_express)==null?void 0:ee.send_phone),1),e("div",kt,l((g=(M=t.value)==null?void 0:M.accept_express)==null?void 0:g.send_address),1)]),e("div",{class:"tn-icon-edit-write",onClick:o[1]||(o[1]=V=>{var h,L;return pe(t.value.id,(L=(h=t.value)==null?void 0:h.accept_express)==null?void 0:L.id,1)}),style:{"font-size":"23px",color:"#409EFF","margin-left":"10px",cursor:"pointer"}})])]),e("div",Nt,[Rt,e("div",Ot,[e("div",null,[e("div",null,l((I=(k=t.value)==null?void 0:k.send_express)==null?void 0:I.accept_name)+" "+l((q=(R=t.value)==null?void 0:R.send_express)==null?void 0:q.accept_phone),1),e("div",Vt,l((ge=(se=t.value)==null?void 0:se.send_express)==null?void 0:ge.accept_address),1)]),e("div",{class:"tn-icon-edit-write",onClick:o[2]||(o[2]=V=>{var h,L;return pe(t.value.id,(L=(h=t.value)==null?void 0:h.send_express)==null?void 0:L.id,2)}),style:{"font-size":"23px",color:"#409EFF","margin-left":"10px",cursor:"pointer"}})])]),e("div",wt,[Lt,e("div",zt,[a(O,{modelValue:t.value.note,"onUpdate:modelValue":o[3]||(o[3]=V=>t.value.note=V),style:{"background-color":"#f7f8fa"},placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8"},null,8,["modelValue"])])]),e("div",Ut,[jt,e("div",Xt,[a(F,{modelValue:t.value.is_contact,"onUpdate:modelValue":o[4]||(o[4]=V=>t.value.is_contact=V)},{default:y(()=>[a(i,{value:0,label:0,border:""},{default:y(()=>[$t]),_:1}),a(i,{value:1,label:1,border:""},{default:y(()=>[Gt]),_:1}),a(i,{value:2,label:2,border:""},{default:y(()=>[Yt]),_:1}),a(i,{value:3,label:3,border:""},{default:y(()=>[Ht]),_:1})]),_:1},8,["modelValue"])])]),t.value.steps.length>0?(f(),ie(A,{key:0,"border-style":"dashed"})):C("",!0),a(T,{style:{"margin-left":"10px"}},{default:y(()=>{var V;return[(f(!0),m(oe,null,te((V=t.value)==null?void 0:V.steps,(h,L)=>(f(),ie(B,{key:L,"hide-timestamp":!0,color:"#409EFF"},{default:y(()=>[e("div",Mt,[h.operatorName?(f(),m("div",qt,l(h.operatorName),1)):C("",!0),h.operationTime?(f(),m("div",Zt,l(h.operationTime),1)):C("",!0),h.firstStatusName?(f(),m("div",Jt,l(h.firstStatusName),1)):C("",!0),h.acceptTime?(f(),m("div",Wt,l(h.acceptTime),1)):C("",!0)]),h.operationRemark?(f(),m("div",Kt,l(h.operationRemark),1)):C("",!0),h.acceptAddress?(f(),m("div",Qt,l(h.acceptAddress),1)):C("",!0),h.remark?(f(),m("div",eo,l(h.remark),1)):C("",!0)]),_:2},1024))),128))]}),_:1}),a(A,{"border-style":"dashed"}),e("div",so,[e("div",to,[oo,e("div",lo,l(t.value.mobile),1)]),e("div",uo,[no,e("div",io,l((me=(ye=t.value)==null?void 0:ye.steps[0])==null?void 0:me.waybillCode),1)]),e("div",ro,[ao,e("div",co,l(v.source),1)]),e("div",_o,[po,e("div",vo,l(t.value.store_title),1)]),e("div",fo,[ho,e("div",go,l(t.value.addtime_cn),1)]),e("div",yo,[mo,e("div",Eo,l(t.value.deliverytime_cn),1)])])]}),_:1})]),e("div",Fo,[e("div",xo,[a(c,{modelValue:X.value,"onUpdate:modelValue":o[5]||(o[5]=d=>X.value=d),onChange:Ae},null,8,["modelValue"])]),e("div",null,[a(S,{size:"large",type:"primary",onClick:Re},{default:y(()=>[Do]),_:1}),a(S,{size:"large",type:"primary",onClick:Ne},{default:y(()=>[Ao]),_:1}),a(S,{size:"large",type:"primary",onClick:o[6]||(o[6]=d=>Oe(3))},{default:y(()=>[To]),_:1}),a(S,{size:"large",type:"primary",onClick:o[7]||(o[7]=d=>Ve())},{default:y(()=>[Co]),_:1}),a(S,{size:"large",type:"primary",onClick:o[8]||(o[8]=d=>fe())},{default:y(()=>[bo]),_:1}),a(S,{size:"large",type:"primary",onClick:o[9]||(o[9]=d=>he())},{default:y(()=>[Bo]),_:1}),a(S,{size:"large",type:"primary",plain:"",onClick:ke},{default:y(()=>[So]),_:1})])])]),a(as,{modelValue:$.value,"onUpdate:modelValue":o[10]||(o[10]=d=>$.value=d),editAddressOpen:$.value,type:_e.value,currentOrderId:de.value,currentAddressId:ce.value,onHandleCancel:Ce},null,8,["modelValue","editAddressOpen","type","currentOrderId","currentAddressId"]),a(ds,{modelValue:J.value,"onUpdate:modelValue":o[11]||(o[11]=d=>J.value=d),record_id:W.value,onCloseClothes:Be},null,8,["modelValue","record_id"]),a(cs,{modelValue:K.value,"onUpdate:modelValue":o[12]||(o[12]=d=>K.value=d),record_id:W.value,onCloseImage:Ie},null,8,["modelValue","record_id"]),a(Fe,{modelValue:G.value,"onUpdate:modelValue":o[13]||(o[13]=d=>G.value=d),selectPrintInfo:Y.value,setPrintOpen:G.value,onSubmitPrint:fe},null,8,["modelValue","selectPrintInfo","setPrintOpen"]),a(Fe,{modelValue:Q.value,"onUpdate:modelValue":o[14]||(o[14]=d=>Q.value=d),selectPrintInfo:Y.value,setPrintOpen:G.value,onSubmitPrint:he},null,8,["modelValue","selectPrintInfo","setPrintOpen"])]),_:1},8,["modelValue"])}}});const Uo=rs(Io,[["__scopeId","data-v-42d1d6dc"]]);export{Uo as default};
|