...
|
...
|
@@ -5,7 +5,7 @@ |
|
|
<p slot="title" style="height: 35px">
|
|
|
当前订单状态:{{ orderStatus[orderInfo.orderStatus] }}
|
|
|
<template v-if="orderInfo.orderStatus >= 100 && orderInfo.orderStatus < 600">
|
|
|
<i-button size="large" type="success" style="margin-left: 50px;" @click="deliver(123)">发货</i-button>
|
|
|
<i-button size="large" type="success" style="margin-left: 50px;" @click="deliver(orderCode)">发货</i-button>
|
|
|
</template>
|
|
|
</p>
|
|
|
</div>
|
...
|
...
|
@@ -36,61 +36,33 @@ |
|
|
</Row>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="ivu-card">
|
|
|
<div class="ivu-card-head">
|
|
|
<p slot="title">物流信息</p>
|
|
|
</div>
|
|
|
<div class="ivu-card-body">
|
|
|
<Row>
|
|
|
<i-col span="4">收货人:{{ orderInfo.consigneeName }}</i-col>
|
|
|
<i-col span="4">手机号:{{ orderInfo.mobile }} </i-col>
|
|
|
</Row>
|
|
|
<Row>
|
|
|
<i-col span="24">
|
|
|
送货地址:{{ orderInfo.province }} {{ orderInfo.city }} {{ orderInfo.district }}
|
|
|
{{ orderInfo.street }}
|
|
|
</i-col>
|
|
|
</Row>
|
|
|
<Row>
|
|
|
<i-col span="24">详细地址:{{ orderInfo.address }}</i-col>
|
|
|
</Row>
|
|
|
<Row>
|
|
|
<i-col span="24">邮政编码:{{ orderInfo.zipCode }}</i-col>
|
|
|
</Row>
|
|
|
<Row>
|
|
|
<i-col span="24">物流公司:{{ orderInfo.expressName }} </i-col>
|
|
|
</Row>
|
|
|
<Row>
|
|
|
<i-col span="24">运单号:{{ orderInfo.expressNumber }} </i-col>
|
|
|
</Row>
|
|
|
</div>
|
|
|
</div>
|
|
|
<order-user-info :order-info="orderInfo"></order-user-info>
|
|
|
<div class="ivu-card">
|
|
|
<div class="ivu-card-head">
|
|
|
<p slot="title">商品信息</p>
|
|
|
</div>
|
|
|
<div class="ivu-card-body">
|
|
|
<goods-info
|
|
|
<order-goods-info
|
|
|
:table-data="tableData"
|
|
|
:coupons-data="couponsData"
|
|
|
:goods-promos="goodsPromos"
|
|
|
:order-info="orderInfo"
|
|
|
:order-promos="orderPromos"
|
|
|
>
|
|
|
</goods-info>
|
|
|
</order-goods-info>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { GoodsInfo } from './components';
|
|
|
import { orderGoodsInfo, orderUserInfo } from '../components';
|
|
|
import { OrderConfig } from '../configs';
|
|
|
import OrderService from 'services/order/order-service';
|
|
|
import _ from 'lodash';
|
|
|
|
|
|
export default {
|
|
|
components: { GoodsInfo },
|
|
|
components: { orderGoodsInfo, orderUserInfo },
|
|
|
data() {
|
|
|
return {
|
|
|
orderCode: this.$route.query.orderCode,
|
...
|
...
|
|