|
@@ -5,71 +5,71 @@
|
|
|
<u-divider text="订单信息"></u-divider>
|
|
|
<view class="item" style="padding-top: 0px">
|
|
|
<text class="label">订单编号</text>
|
|
|
- <text class="desc">13454334567</text>
|
|
|
+ <text class="desc">{{param.orderId}}</text>
|
|
|
</view>
|
|
|
- <view class="item">
|
|
|
+ <!-- <view class="item">
|
|
|
<text class="label">申报单号</text>
|
|
|
<text class="desc">13454334567</text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="item">
|
|
|
<text class="label">商家名称</text>
|
|
|
- <text class="desc">胡椒粉</text>
|
|
|
+ <text class="desc">{{item.enterpriseName}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">联系号码</text>
|
|
|
- <text class="desc">元/kg</text>
|
|
|
+ <text class="desc">{{item.concat}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">商品名称</text>
|
|
|
- <text class="desc">元/kg</text>
|
|
|
+ <text class="desc">{{item.goodsTransitName}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">计价单位</text>
|
|
|
- <text class="desc">元/kg</text>
|
|
|
+ <text class="desc">{{item.goodsUnit}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">净重</text>
|
|
|
- <text class="desc">34吨</text>
|
|
|
+ <text class="desc">{{item.netWeight}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">毛重</text>
|
|
|
- <text class="desc">35吨</text>
|
|
|
+ <text class="desc">{{item.grossWeight}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">价格</text>
|
|
|
- <text class="desc">400000元</text>
|
|
|
+ <text class="desc">{{item.totalPrice}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">边民</text>
|
|
|
- <text class="desc" @click="members()">查看</text>
|
|
|
+ <text class="desc" style="color: blue;" @click="members()">查看</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">发布时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.goodsTransitCreateTime}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">下单时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.orderCreateTime}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">购买边民组</text>
|
|
|
- <text class="desc">貔貅互助组</text>
|
|
|
+ <text class="desc">{{item.groupName}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">确认时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.enterpriseConfirmTime}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">进境时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.entrantTime}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">进口时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.importTime}}</text>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
<text class="label">出互市区时间</text>
|
|
|
- <text class="desc">2023-07-20 11:38</text>
|
|
|
+ <text class="desc">{{item.outFrontierTradeTime}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -80,21 +80,34 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
- item: {}
|
|
|
+ item: {},
|
|
|
+ param: {},
|
|
|
};
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
if (e.id) {
|
|
|
+ this.param.orderId = e.id
|
|
|
this.http.request({
|
|
|
url: '/level-one-server/app/TbOrder/getById?id=' + e.id,
|
|
|
success: res => {
|
|
|
- this.item = res.data.data;
|
|
|
+ // this.item = res.data.data;
|
|
|
console.log('asd:' + JSON.stringify(res));
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+ this.orderDetail()
|
|
|
},
|
|
|
methods: {
|
|
|
+ orderDetail() {
|
|
|
+ this.http.request({
|
|
|
+ url: '/level-one-server/app/TbOrder/orderDetail',
|
|
|
+ data: this.param,
|
|
|
+ success: res => {
|
|
|
+ this.item = res.data.data;
|
|
|
+ // console.log('asd:' + JSON.stringify(res));
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//查看边民
|
|
|
members() {
|
|
|
uni.navigateTo({
|