Browse Source

no message

feature/v2.1
xpz2018 4 years ago
parent
commit
1f1c65c506
4 changed files with 30 additions and 9 deletions
  1. BIN
      assets/image/icon-logoc.png
  2. 2
      pages/process/order-list/index.wxml
  3. 1
      pages/storage/order-list/index.json
  4. 36
      pages/storage/order-list/index.wxml

BIN
assets/image/icon-logoc.png

Before After
Width: 56  |  Height: 56  |  Size: 5.1 KiB Width: 500  |  Height: 500  |  Size: 15 KiB

2
pages/process/order-list/index.wxml

@ -24,7 +24,7 @@
<view class="item-content" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
<view class="flex flex-justify" style="border-bottom: 1rpx solid #f3f3f3;padding-bottom:16rpx">
<view class="flex flex-center">
<van-icon name="/assets/image/ygImg.png" size="56rpx"/>
<van-icon name="/assets/image/icon-logoc.png" size="56rpx"/>
<view class="flex flex-center text-sg text-black van-ellipsis text-bold" style="justify-content: flex-start;max-width: 500rpx;">
<text style="margin-left:24rpx">{{item.factoryCustomerName}}</text>
<text wx:if="{{item.status != 1 && item.factoryCustomerMobile}}">-{{item.factoryCustomerMobile}}</text>

1
pages/storage/order-list/index.json

@ -2,6 +2,7 @@
"usingComponents": {
"refresh-view": "/components/refresh-view/index",
"van-button": "/components/button/index",
"van-icon": "/components/icon/index",
"van-tabs": "/components/tabs/index",
"van-tab": "/components/tab/index",
"van-cell": "/components/cell/index",

36
pages/storage/order-list/index.wxml

@ -21,21 +21,41 @@
<text class="text-sg" style="line-height:64rpx;padding-left:32rpx">{{item.tipsTime}}</text>
</view>
<view style="background-color:#f3f3f3;height:16rpx" wx:else></view>
<view class="bg-white" style="border-bottom:1rpx solid #f3f3f3" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
<view class="flex flex-justify" style="padding:24rpx 32rpx 0rpx 32rpx;">
<view class="flex">
<text class="text-black text-sg text-bold">{{item.consigneeName}} — {{item.plateNumber}}</text>
<view class="bg-white item-content" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
<view class="flex flex-justify" style="border-bottom: 1rpx solid #f3f3f3;padding-bottom:16rpx">
<view class="flex flex-center">
<van-icon name="/assets/image/icon-logoc.png" size="56rpx"/>
<view class="flex flex-center text-sg text-black van-ellipsis text-bold" style="justify-content: flex-start;max-width: 500rpx;">
<text style="margin-left:24rpx">{{item.consigneeName}} — {{item.plateNumber}}</text>
</view>
</view>
<view class="text-df" style="color:#FA541C" wx:if="{{item.status == 0}}">待审核</view>
<view class="text-df" style="color:#FBBD08" wx:elif="{{item.status == 1}}">待收款</view>
<view class="text-df" style="color:#028A00" wx:elif="{{item.status == 2}}">已完成</view>
<view class="text-df" style="color:#CCCCCC" wx:elif="{{item.status == 3}}">已关闭</view>
</view>
<view class="flex flex-justify text-gray" style="padding:0rpx 32rpx;margin-top:16rpx">
<text>品类:{{item.productName}}</text>
<text>净重(公斤):{{item.netWeight || ''}}</text>
<view class="flex flex-justify" style="margin-top:12rpx">
<view class="text-sm text-black" style="margin-left:80rpx">订单编号:</view>
<view class="text-sm text-black">{{item.id}}</view>
</view>
<view class="flex flex-justify" style="margin-top:12rpx">
<view class="text-sm text-black" style="margin-left:80rpx">品类:</view>
<view class="text-sm text-black">{{item.productName}}</view>
</view>
<view class="flex flex-justify" style="margin-top:12rpx">
<view class="text-sm text-black" style="margin-left:80rpx">净重(公斤):</view>
<view class="text-sm text-black">{{item.netWeight || '- -'}}</view>
</view>
<view class="flex flex-justify" style="margin-top:12rpx">
<view class="text-sm text-black" style="margin-left:80rpx">出货人:</view>
<view class="text-sm text-black">{{item.operaterName || '- -'}}</view>
</view>
<view class="flex" style="justify-content: flex-end;margin-top:16rpx">
<van-button round type="info" custom-style="margin-left:24rpx;height:64rpx;width:160rpx" data-page="{{pageIndex}}" data-index="{{index}}"
bind:click="lookItem" wx:if="{{item.status == 0}}">去审核</van-button>
<van-button round type="info" custom-style="margin-left:24rpx;height:64rpx;width:160rpx" data-page="{{pageIndex}}" data-index="{{index}}"
bind:click="lookItem" wx:if="{{item.status == 0}}">去收款</van-button>
</view>
<view class="text-gray" style="padding:0rpx 32rpx 24rpx 32rpx;margin-top:16rpx">出货人:{{item.operaterName || ''}}</view>
</view>
</view>
</view>

Loading…
Cancel
Save