/* */ template("myOrder/detail",function(a,e){var i=this,s=a.showNavBar,d=i.$escape,l=a.orderID,t=a.order,r=i.$each,c=(a.product,a.i),n=(a.appendProduct,a.appendOrder,a.time),v="";return s&&(v+='

\u8ba2\u5355\u8be6\u60c5

'),v+='
  • \u8ba2\u5355\u72b6\u6001
    ',v+=d(t.status_str),v+='
    \u8ba2\u5355\u7f16\u53f7
    ',v+=d(t.order_num),v+='
    \u670d\u52a1\u5730\u70b9
    ',v+=d(t.address.city),v+=d(t.address.area),v+=d(t.address.poi.name),v+=d(t.address.detail),v+='
    \u8054\u7cfb\u7535\u8bdd
    \u9884\u7ea6\u65f6\u95f4
    ',v+=d(t.booking_time_str),v+='
    \u4e0b\u5355\u65f6\u95f4
    ',v+=d(t.order_time_str),v+="
    ",t.cancel_time&&(v+='
    \u53d6\u6d88\u65f6\u95f4
    ',v+=d(t.cancel_time_str),v+="
    "),v+=" ",t.finish_time&&(v+='
    \u5b8c\u6210\u65f6\u95f4
    ',v+=d(t.finish_time_str),v+="
    "),v+='
  • ',4==t.status&&t.technician_name&&(v+='
  • ',v+=d(t.technician_name),v+='\u5df2\u51fa\u53d1\uff0c\u7535\u8bdd\uff1a',v+=d(t.tech_info.mobile),v+='
  • '),v+='
  • \u8ba2\u5355\u660e\u7ec6
  • ',r(t.products,function(a,e){v+='
  • ',v+=d(a.name),a.count>1&&(v+='x',v+=d(a.count),v+=""),v+='
    ',v+=d(a.price),v+="\u5143
  • "}),v+=" ",r(t.append_orders,function(a,e){v+='
  • ',v+=d(a.products_str),v+='
    ',v+=d(a.price),v+="\u5143
  • "}),v+='
  • \u603b\u4ef7
    ',v+=d(t.sum_price),v+='\u5143
  • \u8ba2\u5355\u72b6\u6001
    ',v+=d(t.status_str),v+="
  • ",""!==t.pay_channel&&(v+='
  • \u652f\u4ed8\u65b9\u5f0f
    ',v+="alipay"==t.pay_channel?"\u652f\u4ed8\u5b9d":"\u5fae\u4fe1",r(t.append_orders,function(a,e){v+="+",v+="alipay"==a.pay_channel?"\u652f\u4ed8\u5b9d":"\u5fae\u4fe1"}),v+="
  • "),v+='
  • \u8ba2\u5355\u5907\u6ce8 ',""!==t.memo&&(v+="\uff08",v+=d(t.memo),v+="\uff09"),v+='
',0==t.status&&(v+=' '),v+=" ",t.status>=1&&t.status<=5&&(v+='
',t.booking_time>n&&1==t.status&&(v+=' \u7533\u8bf7\u9000\u6b3e '),v+=" ","7"!==t.products[0].type&&"6"!==t.products[0].type&&(v+=' \u8ffd\u52a0\u670d\u52a1 '),v+=" ",n>t.booking_time&&(v+=' \u786e\u8ba4\u5b8c\u6210 '),v+="
"),v+=" ",6!=t.status||t.have_comment||(v+=' '),v+="
",new String(v)});