shish 3 лет назад
Родитель
Сommit
256fe86e6e
1 измененных файлов с 9 добавлено и 6 удалено
  1. 9 6
      ghsApp/src/admin/stat/cgFreight.vue

+ 9 - 6
ghsApp/src/admin/stat/cgFreight.vue

@@ -11,12 +11,12 @@
 						<t-tr header><t-th>时间</t-th><t-th>打包</t-th><t-th>短途</t-th><t-th>长途</t-th><t-th>提货</t-th><t-th>本地</t-th></t-tr>
 						<view v-for="(item, index) in profile.list" :key="index">
 							<t-tr>
-								<t-td><view>{{item.entryTime.substr(5,5)}}</view></t-td>
-								<t-td><view>{{item.packingCharge?parseFloat(item.packingCharge):0}}</view></t-td>
-								<t-td><view>{{item.shortCharge?parseFloat(item.shortCharge):0}}</view></t-td>
-								<t-td><view>{{item.longCharge?parseFloat(item.longCharge):0}}</view></t-td>
-								<t-td><view>{{item.pickCharge?parseFloat(item.pickCharge):0}}</view></t-td>
-								<t-td><view>{{item.localCharge?parseFloat(item.localCharge):0}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.entryTime.substr(5,5)}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.packingCharge?parseFloat(item.packingCharge):0}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.shortCharge?parseFloat(item.shortCharge):0}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.longCharge?parseFloat(item.longCharge):0}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.pickCharge?parseFloat(item.pickCharge):0}}</view></t-td>
+								<t-td><view style="color:#333333;">{{item.localCharge?parseFloat(item.localCharge):0}}</view></t-td>
 							</t-tr>
 						</view>
 						<t-tr>
@@ -30,6 +30,9 @@
 						<t-tr>
 							<t-td><view style="color:black;font-weight:bold;">总共{{profile.total.num}}笔</view></t-td>
 						</t-tr>
+						<block v-if="Number(profile.total.num)>16">
+						<t-tr header><t-th>时间</t-th><t-th>打包</t-th><t-th>短途</t-th><t-th>长途</t-th><t-th>提货</t-th><t-th>本地</t-th></t-tr>
+						</block>
 					</t-table>
 				</block>
 			</view>