ccjgmwz 3 年之前
父节点
当前提交
3d24345611
共有 1 个文件被更改,包括 15 次插入11 次删除
  1. 15 11
      pages/user/report.vue

+ 15 - 11
pages/user/report.vue

@@ -17,9 +17,15 @@
 				</view>
 			</view>
 			<view class="row3">
-				<view class="title">
+				<view v-if="typeSelect== 0" class="title">
 					总收入
 				</view>
+				<view v-if="typeSelect== 1" class="title">
+					总支出
+				</view>
+				<view v-if="typeSelect== 2" class="title">
+					总毛利润
+				</view>
 				<view class="number">
 					核算中
 				</view>
@@ -274,8 +280,8 @@
 				inventoryTC: 0,
 				contractSelect: '0',
 				url: '',
-				nowDate: '2022年全年',
-				seachMoth: '2021',
+				nowDate: '2022年1月',
+				seachMoth: '2022',
 				background: {
 					backgroundColor: '#2E303A',
 				},
@@ -326,19 +332,13 @@
 					percentage: ''
 				},
 				dateList: [
-					[{
-							value: '1',
-							label: '2021年'
-						},
+					[
 						{
 							value: '2',
 							label: '2022年'
 						}
 					],
-					[{
-							value: '0',
-							label: '全年'
-						},
+					[
 						{
 							value: '01',
 							label: '1月'
@@ -387,6 +387,10 @@
 							value: '12',
 							label: '12月'
 						},
+						{
+							value: '0',
+							label: '全年'
+						},
 					]
 				],
 				ztList: [],