<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="https://www.thymeleaf.org ">
<head>
    <title>采美365网-中国美业全方位线上交易服务互动平台，做美业，上采美</title>
    <template th:replace="components/head-link"></template>
    <link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
    <link th:href="@{/css/supplier-center/order/logistics-detail.css(v=${version})}" rel="stylesheet" type="text/css">
</head>
<body>
<!-- 引用头部 -->
<template th:replace="components/header"></template>

<!-- 我的采美 -->
<div id="logisticsDetail">
    <div class="navLayout">
        <div class="crumbs" v-if="isPC">
            <span>我的交易</span>
            <span>&gt;</span>
            <span>我的订单</span>
            <span>&gt;</span>
            <span>查看物流</span>
        </div>
        <div v-else class="wrap_tittle mIcon" @click="opentittle">
            <i class="mIcon open"></i><span style="margin-left: 25px;">发货</span>
        </div>
        <div class="wrap clear">
            <!--左侧面包屑-->
<!--            <div v-show="open">-->
                <template th:replace="supplier-center/components/tableft"></template>
<!--            </div>-->
            <div class="right">
                <div class="userinfo">
                    <p class="info">
                        <span>买家信息</span>
                        <button type="button" class="comback" @click="history.go(-1)">返回</button>
                    </p>
                    <div class="user">
                        <p>买家名称：<span>{{userInfo.name}}</span></p>
                        <p>收货人：<span>{{userInfo.shouHuoRen}}</span></p>
                        <p>联系方式：<span>{{userInfo.mobile}}</span></p>
                    </div>
                    <p class="address">收货地址：<span>{{userInfo.address}}</span></p>
                </div>
                <div class="record-product">
                    <div class="protitle">发货记录</div>
                    <div class="product" >
                        <ul class="product-title">
                            <li>商品信息</li>
                            <li>购买数量</li>
                            <li>已发数量</li>
                            <li>未发数量</li>
                            <li>本次发货</li>
                        </ul>
                        <ul class="product-info">
                            <li v-for="order in listData.logisticsRecordList">
                                <div class="product-img">
                                    <img :src="order.image"/>
                                    <h3>{{order.productName}}</h3>
                                </div>
                                <div>{{order.buyNum}}</div>
                                <div>{{order.shipmentsNum}}</div>
                                <div>{{order.notShippedNum}}</div>
                                <div>{{order.num}}</div>
                            </li>
                            <p class="record-time">发货时间：{{listData.deliveryTime}}</p>
                            <div class="img-remark">
                                <span>图片备注：</span>
                                <ul v-if="listData.remarkImages!=null">
                                    <li v-for="cmImg in listData.remarkImages">
                                        <img :src="cmImg">
                                    </li>
                                </ul>
                                <span style="color: #22272e" v-else>暂无图片备注</span>
                            </div>
                            <p class="remark">文字备注：
                                <span v-if="listData.remark!=''&&listData.remark!=null">{{listData.remark}}</span>
                                <span v-else>暂无备注</span>
                            </p>
                        </ul>

                    </div>
                     <div class="logis">
                            <div class="delivery-logis-title">物流信息</div>
                            <div class="logistics-info" v-for="logis in listData.logisticsInformationList">
                                <div class="logistics-time">物流时间：{{logis.updateDate}}}</div>
                                <div class="logistics-company">物流公司：{{logis.logisticsCompanyName}}</div>
                                <div class="logistics-number">物流单号：{{logis.nu}}</div>
                            </div>
<!--                            <div class="logistics-record" v-if="listData.logisticsInformationList.length==0">-->
<!--                              <p>暂无物流信息</p>-->
<!--                            </div>-->
                        </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 引入底部 -->
<template th:replace="components/footer"></template>
<template th:replace="components/foot-link"></template>
<script charset="utf-8" type="text/javascript"
        th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
<script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/order/logistics-detail.js(v=${version})}"></script>
</body>
</html>
