|
@@ -154,7 +154,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 项目明细 -->
|
|
|
- <view class="detailedBox itemBox" v-if=" orderData.listItems.length!=0">
|
|
|
+ <view class="detailedBox itemBox" v-if=" orderData.listItems.length!=0" style="padding-bottom: 0;">
|
|
|
<view class="detailedTitle">项目</view>
|
|
|
<view class="detailedLineBox">
|
|
|
<view class="detailedLine" v-for="(item,index) in orderData.listItems">
|
|
@@ -166,16 +166,16 @@
|
|
|
{{item.AmountMoney?item.AmountMoney:0}}
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="itemWorkHoursBox">
|
|
|
+ <view class="itemWorkHoursBox" v-if="itemWorkHours&&itemWorkHours" :class="{nopb:ItemComment&&item.Comment}">
|
|
|
<view class="itemWorkHours" v-if="itemWorkHours">
|
|
|
工时:{{item.SaleQty}}
|
|
|
</view>
|
|
|
- <view class="itemPrice" v-if="itemPrice">
|
|
|
+ <view class="itemPrice" v-if="itemWorkHours">
|
|
|
单价:{{item.SalePrice}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="secondBox" v-if="ItemComment" :class="{noLine:index == orderData.listItems.length-1}">
|
|
|
- <view class="comment" >{{item.Comment}}</view>
|
|
|
+ <view class="comment" v-if="item.Comment">{{item.Comment}}</view>
|
|
|
<view class="secondRight">
|
|
|
<!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
|
|
|
|
|
@@ -204,7 +204,7 @@
|
|
|
</view>
|
|
|
<view class="qty" v-if="goodsNumber">x{{item.SaleQty}}</view>
|
|
|
</view>
|
|
|
- <view class="secondBox" :class="{noLine:index == orderData.listParts.length-1}">
|
|
|
+ <view class="secondBox" v-if="GoodsComment" :class="{noLine:index == orderData.listParts.length-1}">
|
|
|
<view class="comment" v-if="GoodsComment">{{item.Comment}}</view>
|
|
|
<view class="secondRight">
|
|
|
<!-- <view class="grayPrice">¥{{item.CheckOutTaxRate}}</view> -->
|
|
@@ -600,6 +600,8 @@
|
|
|
onPullDownRefresh() {
|
|
|
|
|
|
this.getData()
|
|
|
+ this.myPower();
|
|
|
+ this.showPower();
|
|
|
setTimeout(function() {
|
|
|
uni.stopPullDownRefresh();
|
|
|
}, 1000);
|
|
@@ -614,13 +616,17 @@
|
|
|
font-size: 24rpx;
|
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
|
+ padding-top: 20rpx;padding-bottom: 20rpx;
|
|
|
+ }
|
|
|
+ .nopb{
|
|
|
+ padding-bottom: 0px;
|
|
|
}
|
|
|
.itemWorkHours{
|
|
|
- padding-top: 15rpx;padding-bottom: 15rpx;
|
|
|
+
|
|
|
padding-right: 50rpx;
|
|
|
}
|
|
|
.itemPrice{
|
|
|
- padding-top: 15rpx;padding-bottom: 15rpx;
|
|
|
+
|
|
|
}
|
|
|
.newboxTop{
|
|
|
display: flex;
|
|
@@ -901,7 +907,7 @@
|
|
|
|
|
|
.secondBox {
|
|
|
display: flex;
|
|
|
- padding: 20rpx 0rpx;
|
|
|
+ /* padding: 20rpx 0rpx; */
|
|
|
justify-content: space-between;
|
|
|
align-items: baseline;
|
|
|
border-bottom: 1rpx solid #EEEEEE;
|
|
@@ -909,6 +915,7 @@
|
|
|
|
|
|
.noLine {
|
|
|
border-bottom: 0 solid #FFFFFF;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.comment {
|
|
@@ -917,6 +924,7 @@
|
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
|
flex-grow: 1;
|
|
|
+ padding: 20rpx 0rpx;
|
|
|
}
|
|
|
|
|
|
.secondRight {
|