|
@@ -1,64 +1,57 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
<view class="cmain">
|
|
|
- <view class="box order_detail" style="margin-top: 0px">
|
|
|
- <view class="item">
|
|
|
- <text class="label">订单状态</text>
|
|
|
- <text class="desc">
|
|
|
- <text class="icon"></text>
|
|
|
- <text>待确认</text>
|
|
|
- </text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="box order_detail">
|
|
|
- <u-divider text="订单信息"></u-divider>
|
|
|
- <view class="item" style="padding-top: 0px">
|
|
|
- <text class="label">订单编号</text>
|
|
|
- <text class="desc">13454334567</text>
|
|
|
- </view>
|
|
|
<view class="item">
|
|
|
- <text class="label">申报单号</text>
|
|
|
- <text class="desc">13454334567</text>
|
|
|
+ <text class="label">订单编号</text>
|
|
|
+ <text class="desc">{{ item.orderNo }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">收购商</text>
|
|
|
- <text class="desc">貔貅</text>
|
|
|
+ <text class="desc">{{ item.acquirerName }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">联系号码</text>
|
|
|
- <text class="desc">13097850971</text>
|
|
|
+ <text class="desc">{{ item.consigneePhone }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">商品名称</text>
|
|
|
- <text class="desc">胡椒粉</text>
|
|
|
+ <text class="desc omit">{{ item.goodsName }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">计价单位</text>
|
|
|
- <text class="desc">元/kg</text>
|
|
|
+ <text class="desc omit">{{ item.goodsUnit }}</text>
|
|
|
</view>
|
|
|
- <view class="item">
|
|
|
- <text class="label">净重</text>
|
|
|
- <text class="desc">34吨</text>
|
|
|
+ <view class="item" v-if="item.quotation">
|
|
|
+ <text class="label">价格</text>
|
|
|
+ <text class="desc" style="color: #f44336; font-weight: bold">¥ {{ item.quotation }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <text class="label">毛重</text>
|
|
|
- <text class="desc">34吨</text>
|
|
|
+ <text class="label">来源国</text>
|
|
|
+ <text class="desc">{{ item.goodsFrom }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <text class="label">价格</text>
|
|
|
- <text class="desc">400000元</text>
|
|
|
+ <text class="label">状态</text>
|
|
|
+ <text class="desc" v-if="item.orderFinish == 0">已确认</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" v-if="item.createTime">
|
|
|
+ <text class="label">接单时间</text>
|
|
|
+ <text class="desc">{{ item.createTime }}</text>
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+ <u-divider text="收货地址"></u-divider>
|
|
|
+ <view class="box order_detail">
|
|
|
<view class="item">
|
|
|
- <text class="label">来源国</text>
|
|
|
- <text class="desc">越南</text>
|
|
|
+ <text class="label">收件人</text>
|
|
|
+ <text class="desc omit">{{ item.consigneeName }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <text class="label">发布时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="label">联系电话</text>
|
|
|
+ <text class="desc">{{ item.consigneePhone }}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <text class="label">下单时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="label">收件地址</text>
|
|
|
+ <text class="desc">{{ item.unloadingAddress }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -74,15 +67,16 @@ export default {
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
if (e.id) {
|
|
|
- /* this.http.request({
|
|
|
- url: '/level-one-server/app/TbPortNews/getPortNewsDetails?id=' + e.id,
|
|
|
+ this.http.request({
|
|
|
+ url: '/level-two-server/app/TbOrders/getDetailById?id=' + e.id,
|
|
|
success: res => {
|
|
|
this.item = res.data.data;
|
|
|
}
|
|
|
- }); */
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
- methods: {}
|
|
|
+ methods: {
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|