Browse Source

1、订单列表优化

2、车辆列表优化
master
chenxuhui 7 years ago
parent
commit
178e532702
6 changed files with 70 additions and 26 deletions
  1. +3
    -0
      pages/myCars/myCars.wxml
  2. +11
    -2
      pages/myCars/myCars.wxss
  3. +18
    -3
      pages/orderList/orderDetail/orderDetail.wxml
  4. +9
    -4
      pages/orderList/orderDetail/orderDetail.wxss
  5. +17
    -14
      pages/orderList/orderList.wxml
  6. +12
    -3
      pages/orderList/orderList.wxss

+ 3
- 0
pages/myCars/myCars.wxml View File

@ -7,6 +7,7 @@
<template name="outStoreOrderTemplate">
<view class='listContainer'>
<view class='listItem' catchtap='transToCarsDetail' data-detailitemid='{{item.orderID}}' data-detailitemstate='{{item.orderState}}'>
<view class='topView'>
<view class='goodsNum'>
@ -25,4 +26,6 @@
</view>
</view>
</view>
<view class='horizontallineView'></view>
</view>
</template>

+ 11
- 2
pages/myCars/myCars.wxss View File

@ -12,13 +12,22 @@ page {
flex-direction: column;
}
.listContainer{
background-color: #fff;
}
.horizontallineView {
height: 1rpx;
background-color: #dbdbdb;
margin-left: 20rpx;
margin-right: 0rpx;
}
.listItem{
/* height: 100rpx; */
display: flex;
flex-direction: column;
background-color: #fff;
padding: 20rpx 20rpx;
border-bottom: 1rpx solid #ddd;
background: white;
}


+ 18
- 3
pages/orderList/orderDetail/orderDetail.wxml View File

@ -121,20 +121,35 @@
</swiper>
<template name="detailInfoTemplate">
<view class='listNumberView'>
<text class='lightGray'>存货明细:</text>{{idx}}</view>
<view class='listItem'>
<text class='lightGray'>存货名称:</text>{{item.Goods_Name}}单据明细</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>报价数量:</text>{{item.Number}}</view>
<text class='lightGray'>报价数量:</text>{{item.Number}}
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>辅数量:</text>{{item.SecondNumber}}</view>
<text class='lightGray'>辅数量:</text>{{item.SecondNumber}}
</view>
<view class='horizontallineView'></view>
<view class='listItem'>
<text class='lightGray'>政策单价:</text>{{item.ProduceDate}}</view>
<text class='lightGray'>政策单价:</text>{{item.ProduceDate}}
</view>
<view class='horizontallineView'></view>
<view class='groupTwo'>
<view class='listItem'>
<text class='lightGray'>单价:</text>{{item.DeliveryDate}}</view>
<view class='listItem'>
<text class='lightGray'>金额:</text>{{item.ProduceRequest}}</view>
</view>
<view class='horizontallineView'></view>
</template>

+ 9
- 4
pages/orderList/orderDetail/orderDetail.wxss View File

@ -113,8 +113,8 @@ page {
}
.verticallineView{
margin-top: 10rpx;
height: 80rpx;
margin-top: 20rpx;
height: 60rpx;
width: 2rpx;
background-color: #dbdbdb;
}
@ -134,18 +134,23 @@ page {
}
.listNumberView {
height: 60rpx;
background-color:#EAF1F8;
padding: 10rpx 10rpx;
line-height: 60rpx;
padding: 20rpx 20rpx;
font-size: 16px;
color: #666;
}
.listItem {
height: 60rpx;
line-height: 60rpx;
padding: 20rpx 20rpx;
border-bottom: 0.1px solid #dbdbdb;
/* border-bottom: 0.1px solid #dbdbdb; */
justify-content: space-between;
font-size: 16px;
color: black;
/* text-align: right; */
}
.groupTwo{
display: flex;


+ 17
- 14
pages/orderList/orderList.wxml View File

@ -26,22 +26,25 @@
</swiper>
<template name="outStoreOrderTemplate">
<view class='listItem' catchtap='transToOrderDetail' data-detailitemid='{{item.orderID}}' data-detailitemstate='{{item.orderState}}'>
<view class='topView'>
<view class='goodsNum'>
<text class='goodsIDText'>{{item.orderID}}仙坛食品有限公司</text>
<view class='listContainer'>
<view class='listItem' catchtap='transToOrderDetail' data-detailitemid='{{item.orderID}}' data-detailitemstate='{{item.orderState}}'>
<view class='topView'>
<view class='goodsNum'>
<text class='goodsIDText'>{{item.orderID}}仙坛食品有限公司</text>
</view>
<view class='goodsMoney'>
<text class='goodsIDText'>业务员:梁方刚{{item.workFlowState}}</text>
</view>
</view>
<view class='goodsMoney'>
<text class='goodsIDText'>业务员:梁方刚{{item.workFlowState}}</text>
</view>
</view>
<view class='bottomView'>
<view class='goodsNum'>
<text class='goodsNumText'>数量:1000{{item.Customer_Name}}</text>
</view>
<view class='goodsMoney'>
<text class='goodsMoneyText'>日期:2018.2.9{{item.time}}</text>
<view class='bottomView'>
<view class='goodsNum'>
<text class='goodsNumText'>数量:1000{{item.Customer_Name}}</text>
</view>
<view class='goodsMoney'>
<text class='goodsMoneyText'>日期:2018.2.9{{item.time}}</text>
</view>
</view>
</view>
<view class='horizontallineView'></view>
</view>
</template>

+ 12
- 3
pages/orderList/orderList.wxss View File

@ -52,17 +52,26 @@ page {
flex-direction: column;
}
.listItem{
.listContainer{
background-color: #fff;
}
.listItem{
display: flex;
flex-direction: column;
background-color: #fff;
padding: 20rpx 20rpx;
border-bottom: 1rpx solid #ddd;
/* border-bottom: 1rpx solid #ddd; */
background: white;
}
.horizontallineView {
height: 1rpx;
background-color: #dbdbdb;
margin-left: 20rpx;
margin-right: 0rpx;
}
.topView{
height: 50%;
width: 100%;


Loading…
Cancel
Save