Blame view

pages/elecRecord/elecRecord.vue 2.45 KB
28010de0   chenbiao   add 发票申领 发票填充
1
2
3
  <template>
  	<view>
  		<view class="elec-content">
81028275   刘淇   发票
4
  			<view class="elec-card bg-white" v-for="(i, index) in custInvoiceHisDetailDTOList">
28010de0   chenbiao   add 发票申领 发票填充
5
  				<view class="elec-card-left float-left">
81028275   刘淇   发票
6
7
8
9
  					<view class="elec-card-msg">{{i.plName}}</view>
  					<view class="elec-card-msg">{{i.carNumber}}</view>
  					<view class="elec-card-msg">{{$common.formatDate(i.orderDate)}}</view>
  					<!--<view class="elec-card-msg">应收¥{{(i.orderTotalFee/100).toFixed(2)}}</view>-->
28010de0   chenbiao   add 发票申领 发票填充
10
11
12
  				</view>
  				<view class="elec-card-right float-right">
  					<view class="elec-card-text">
81028275   刘淇   发票
13
  						实收    ¥{{(i.orderActFee/100).toFixed(2)}}元
28010de0   chenbiao   add 发票申领 发票填充
14
15
16
  					</view>
  				</view>
  			</view>
81028275   刘淇   发票
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
  			<!--<view class="elec-card bg-white">-->
  			<!--<view class="elec-card-left float-left">-->
  			<!--<view class="elec-card-msg">黄石肯特科技发展有限公司</view>-->
  			<!--<view class="elec-card-msg">折扣券</view>-->
  			<!--<view class="elec-card-msg">万达车场8折折扣券</view>-->
  			<!--<view class="elec-card-msg">¥5元/张 X 15张</view>-->
  			<!--</view>-->
  			<!--<view class="elec-card-right float-right">-->
  			<!--<view class="elec-card-text">-->
  			<!--75.00元-->
  			<!--</view>-->
  			<!--</view>-->
  			<!--</view>-->
  
  			<!--<view  class="novipcard_Mid">-->
  			<!--<image class="novipcard" src="../../static/vipcard/novipcard.png" mode="aspectFit"></image>-->
  			<!--<view class="novipcard_txt">-->
  			<!--暂无记录-->
  			<!--</view>-->
  
  			<!--</view>-->
  
28010de0   chenbiao   add 发票申领 发票填充
39
40
41
42
43
  		</view>
  	</view>
  </template>
  
  <script>
81028275   刘淇   发票
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  export default {
    data() {
      return {
        custInvoiceHisDetailDTOList:'',
        index:0,
      }
    },
    onLoad(params) {
      var pages = getCurrentPages();//当前页
      var beforePage = pages[pages.length - 3];//上二个页面
      console.log(beforePage.$vm.list)
      console.log(params)
      this.index = params.index
      this.custInvoiceHisDetailDTOList = beforePage.$vm.list[this.index].custInvoiceHisDetailDTOList
      console.log(this.custInvoiceHisDetailDTOList)
    },
    methods: {}
  }
28010de0   chenbiao   add 发票申领 发票填充
62
63
64
65
66
67
68
69
70
71
  </script>
  
  <style lang="scss">
  	.elec-content {
  		width: 100%;
  		height: 100vh;
  	}
  
  	.elec-card {
  		width: 100%;
81028275   刘淇   发票
72
  		/*height: 200upx;*/
28010de0   chenbiao   add 发票申领 发票填充
73
74
75
  		padding: 22upx 30upx;
  		line-height: 32upx;
  		border-bottom: 1px solid #e5e5e5;
81028275   刘淇   发票
76
  		overflow: hidden;
28010de0   chenbiao   add 发票申领 发票填充
77
78
79
80
  	}
  
  	.elec-card-left {
  		width: 70%;
81028275   刘淇   发票
81
  		/*height: 200upx;*/
28010de0   chenbiao   add 发票申领 发票填充
82
83
84
85
86
  
  	}
  
  	.elec-card-right {
  		width: 30%;
81028275   刘淇   发票
87
88
  		/*height: 200upx;*/
  		/*line-height: 200upx;*/
28010de0   chenbiao   add 发票申领 发票填充
89
90
91
92
93
94
95
96
97
98
99
100
101
  	}
  
  	.elec-card-msg {
  		line-height: 50upx;
  		color: rgba(0, 0, 0, .7);
  
  	}
  
  	.elec-card-text {
  		font-size: 32upx;
  		font-weight: bold;
  	}
  </style>