Browse Source

补贴与扣款页面金额显示UI调整

featrue/v4.4
DESKTOP-A1SENDA\HUzy 4 years ago
parent
commit
c964c1fad0
2 changed files with 13 additions and 14 deletions
  1. 19
      pages/agent/detail/item-money-info/money-info.wxml
  2. 8
      pages/agent/detail/pound-info/pound-info.wxml

19
pages/agent/detail/item-money-info/money-info.wxml

@ -8,7 +8,7 @@
<view class="text-df text-gray" style="solid #f3f3f3;padding-bottom:24rpx">首款信息</view> <view class="text-df text-gray" style="solid #f3f3f3;padding-bottom:24rpx">首款信息</view>
<view class="flex flex-justify text-sg"> <view class="flex flex-justify text-sg">
<text class="text-black">预计总金额</text> <text class="text-black">预计总金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.preTotalMoney)}}元</text>
<text style="">{{formate.formateAmount(item.preTotalMoney)}}元</text>
</view> </view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx"> <view class="flex flex-justify text-sm" style="margin-top:2rpx">
<text class="text-gray">结算单价 x 净重</text> <text class="text-gray">结算单价 x 净重</text>
@ -17,7 +17,7 @@
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx"> <view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">首笔应收金额</text> <text class="text-black">首笔应收金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.prepayMoney)}}元</text>
<text style="">{{formate.formateAmount(item.prepayMoney)}}元</text>
</view> </view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx"> <view class="flex flex-justify text-sm" style="margin-top:2rpx">
<text class="text-gray">预估总金额 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text> <text class="text-gray">预估总金额 x {{agent.getActivitySettleType(orderInfo.activitySettleType)}}</text>
@ -26,7 +26,7 @@
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx"> <view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text> <text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.proxyAmount) || 0}}元</text>
<text style="">{{formate.formateAmount(item.proxyAmount) || 0}}元</text>
</view> </view>
<view class="flex flex-justify text-sm" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==0}}" > <view class="flex flex-justify text-sm" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==0}}" >
<text class="text-gray">代卖费单价 x 净重</text> <text class="text-gray">代卖费单价 x 净重</text>
@ -45,7 +45,7 @@
<view class="text-df text-gray" style="solid #f3f3f3;padding-bottom:24rpx">尾款信息</view> <view class="text-df text-gray" style="solid #f3f3f3;padding-bottom:24rpx">尾款信息</view>
<view class="flex flex-justify text-sg"> <view class="flex flex-justify text-sg">
<text class="text-black">未结算金额</text> <text class="text-black">未结算金额</text>
<text style="color:#F5222D">{{formate.formateAmount(item.unSettleMoney)}}元</text>
<text style="">{{formate.formateAmount(item.unSettleMoney)}}元</text>
</view> </view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==1}}"> <view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==1}}">
<text class="text-gray">单价 x 结算重量 - 首笔应收金额</text> <text class="text-gray">单价 x 结算重量 - 首笔应收金额</text>
@ -62,10 +62,9 @@
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx" <view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx"
wx:if="{{item.adjustMoney && item.adjustMoney != 0}}"> wx:if="{{item.adjustMoney && item.adjustMoney != 0}}">
<text class="text-black">调节费</text> <text class="text-black">调节费</text>
<text style="color:#F5222D">-{{formate.formateAmount(item.adjustMoney)}}元</text>
<text style="">-{{formate.formateAmount(item.adjustMoney)}}元</text>
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx"
wx:if="{{item.adjustMoney && item.adjustMoney != 0}}">
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:24rpx">
<text class="text-black">补贴与扣款</text> <text class="text-black">补贴与扣款</text>
<text style="color:#F5222D">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</text> <text style="color:#F5222D">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</text>
</view> </view>
@ -94,7 +93,7 @@
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx"> <view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx">
<text class="text-black">代卖费</text> <text class="text-black">代卖费</text>
<text style="color:#F5222D">{{formate.formateAmount(item.surcharge) || 0}}元</text>
<text style="">{{formate.formateAmount(item.surcharge) || 0}}元</text>
</view> </view>
<view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==1}}"> <view class="flex flex-justify text-xs" style="margin-top:2rpx" wx:if="{{item.proxySellerSettleType==1}}">
<text class="text-gray">代卖费单价 x 结算重量</text> <text class="text-gray">代卖费单价 x 结算重量</text>
@ -109,12 +108,12 @@
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx" <view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx"
wx:if="{{item.adjustMoney && item.adjustMoney}}"> wx:if="{{item.adjustMoney && item.adjustMoney}}">
<text class="text-black">调节费</text> <text class="text-black">调节费</text>
<text style="color:#F5222D">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
<text style="">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx" <view class="flex flex-justify text-sg" style="margin-top:20rpx;border-top:2rpx solid #f3f3f3;padding-top:16rpx"
wx:if="{{item.adjustMoney && item.adjustMoney}}"> wx:if="{{item.adjustMoney && item.adjustMoney}}">
<text class="text-black">补贴与扣款</text> <text class="text-black">补贴与扣款</text>
<text style="color:#F5222D">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</text>
<text style="">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</text>
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:20rpx"> <view class="flex flex-justify text-sg" style="margin-top:24rpx;border-top:2rpx solid #f3f3f3;padding-top:20rpx">
<text class="text-black text-bold">总收款金额:</text> <text class="text-black text-bold">总收款金额:</text>

8
pages/agent/detail/pound-info/pound-info.wxml

@ -30,11 +30,11 @@
<wux-accordion> <wux-accordion>
<view slot="header" class="flex flex-justify" style="width: 100%"> <view slot="header" class="flex flex-justify" style="width: 100%">
<view class="flex"> <view class="flex">
<text class="text-sg text-black text-bold" style="margin-left: -32rpx">补贴与扣款</text>
<text class="text-sg text-black" style="margin-left: -32rpx">补贴与扣款</text>
</view> </view>
<view class="text-df text-gray" style="padding-right:16rpx;">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</view> <view class="text-df text-gray" style="padding-right:16rpx;">{{formate.formateAmount(item.totalOtherAmount==null?0:item.totalOtherAmount)}}元</view>
</view> </view>
<view class="flex flex-justify text-sg" wx:for="{{ item.otherAmountDtoList }}" wx:for-item="cell" wx:for-index="cellIndex" wx:key="cellIndex" style="margin-top:{{cellIndex==0?0:20}}px;font-size:30rpx">
<view class="flex flex-justify text-sg" wx:for="{{ item.otherAmountDtoList }}" wx:for-item="cell" wx:for-index="cellIndex" wx:key="cellIndex" style="margin-top:{{cellIndex==0?0:20}}px;font-size:28rpx">
<text class="text-black">{{cell.title}}</text> <text class="text-black">{{cell.title}}</text>
<text class="text-gray">{{formate.formateAmount(cell.amount==null?0:item.amount)}}元</text> <text class="text-gray">{{formate.formateAmount(cell.amount==null?0:item.amount)}}元</text>
</view> </view>
@ -50,10 +50,10 @@
</wux-accordion> </wux-accordion>
</wux-accordion-group> </wux-accordion-group>
</view> </view>
<view class="flex flex-justify text-sg" style="margin-top:20rpx">
<!-- <view class="flex flex-justify text-sg" style="margin-top:20rpx">
<text class="text-black">调节费</text> <text class="text-black">调节费</text>
<text class="text-gray">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text> <text class="text-gray">{{item.adjustMoney > 0 ? '+' : ''}}{{formate.formateAmount(item.adjustMoney)}}元</text>
</view>
</view> -->
<view class="flex flex-justify text-sg" style="margin-top:20rpx"> <view class="flex flex-justify text-sg" style="margin-top:20rpx">
<text class="text-black">磅单图片</text> <text class="text-black">磅单图片</text>
</view> </view>

Loading…
Cancel
Save