shish 2 years ago
parent
commit
03fc02aaf7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ghs/src/views/custom/yj.vue

+ 4 - 1
ghs/src/views/custom/yj.vue

@@ -15,7 +15,8 @@
 			</template>
 
             <template #slot-total-amount>
-				<span style="font-size:15px;font-weight:bold;">订单金额:{{ totalOrderPrice }}</span>
+				<span style="font-size:15px;font-weight:bold;">订单数:{{ totalNum }}</span>
+				<span style="font-size:15px;font-weight:bold;margin-left:15px;">订单金额:{{ totalOrderPrice }}</span>
 				<span style="font-size:15px;font-weight:bold;margin-left:15px;">退款金额:{{ totalTkPrice }}</span>
 				<span style="font-size:15px;font-weight:bold;margin-left:15px;">实际金额:{{ totalActPrice }}</span>
 				<span style="font-size:15px;font-weight:bold;margin-left:15px;">含(纸箱:{{ totalCarton }}</span>
@@ -73,6 +74,7 @@ export default {
 			totalPack:0,
 			totalFreight:0,
 			totalTkPrice:0,
+			totalNum:0,
             debt:'-1'
 		};
 	},
@@ -98,6 +100,7 @@ export default {
 							this.totalPack = res.totalPack ? res.totalPack : 0
 							this.totalFreight = res.totalFreight ? res.totalFreight : 0
 							this.totalTkPrice = res.totalTkPrice ? res.totalTkPrice : 0
+							this.totalNum = res.totalNum?res.totalNum:0
                             return {
                                 list: res.list
                             };