1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <view>
- <view class="cmain">
- <view class="box order_detail" style="margin-top: 0px">
- <view class="item">
- <text class="label">订单状态</text>
- <text class="desc" v-if="item.isDelivery == 1">
- <text class="icon" style="color: #13ce66"></text>
- <text>已完成</text>
- </text>
- <text class="desc" v-else>
- <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">{{ item.orderNo }}</text>
- </view>
- <view class="item">
- <text class="label">申报单号</text>
- <text class="desc">{{ item.declarationNumber }}</text>
- </view>
- <view class="item">
- <text class="label">卖家</text>
- <text class="desc">{{ item.quotationPerson }}(组长)</text>
- </view>
- <view class="item">
- <text class="label">联系号码</text>
- <text class="desc"></text>
- </view>
- <view class="item">
- <text class="label">商品名称</text>
- <text class="desc">{{ item.goodsName }}</text>
- </view>
- <view class="item">
- <text class="label">计价单位</text>
- <text class="desc">{{ item.goodsUnit }}</text>
- </view>
- <view class="item">
- <text class="label">商品量</text>
- <text class="desc">{{ item.goodsQuantity }}</text>
- </view>
- <view class="item">
- <text class="label">价格</text>
- <text class="desc">{{ item.quotation }}</text>
- </view>
- <view class="item">
- <text class="label">来源国</text>
- <text class="desc">{{ item.goodsFrom }}</text>
- </view>
- <view class="item">
- <text class="label">发布时间</text>
- <text class="desc">{{ item.goodsDemandTime }}</text>
- </view>
- <view class="item">
- <text class="label">下单时间</text>
- <text class="desc">{{ item.createTime }}</text>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- item: {}
- };
- },
- onLoad(e) {
- if (e.id) {
- this.http.request({
- url: '/level-two-server/app/TbOrders/getDetailById',
- data: { ids: e.id },
- success: res => {
- let data = res.data.data;
- this.item = data[0];
- }
- });
- }
- },
- methods: {}
- };
- </script>
- <style lang="scss">
- page {
- background-color: $pg;
- }
- </style>
|