shish 3 лет назад
Родитель
Сommit
0247df6708

+ 4 - 4
ghsApp/src/admin/stat/kdIncome.vue

@@ -11,9 +11,9 @@
 						<t-tr header><t-th><view style="width:260upx;">渠道</view></t-th><t-th>笔数</t-th><t-th>金额</t-th><t-th>操作</t-th></t-tr>
 						<view v-for="(item, index) in profile" :key="index">
 							<t-tr>
-								<t-td><view style="width:260upx;">{{item.name}}</view></t-td>
-								<t-td><view>{{item.num}}</view></t-td>
-								<t-td><view>{{item.amount?parseFloat(item.amount):0}}</view></t-td>
+								<t-td><view style="width:260upx;color:black;font-size:30upx;">{{item.name}}</view></t-td>
+								<t-td><view style="color:black;font-size:30upx;">{{item.num}}</view></t-td>
+								<t-td><view style="color:black;font-size:30upx;">{{item.amount?parseFloat(item.amount):0}}</view></t-td>
 								<t-td>
 									<view>
 										<button class="admin-button-com middel blue" @click="getDetail(item)">明细</button>
@@ -181,7 +181,7 @@ export default {
 	.top-bar {
 		position: absolute;
 		left: 0;
-		top:10upx;
+		top:18upx;
 		display: flex;
 		width: 100%;
 		z-index: 20;

+ 7 - 6
ghsApp/src/admin/stat/productSale.vue

@@ -8,17 +8,18 @@
     </view>
 	<view class="top-bar">
 		<DateSelect class="bar" top="0" @selectDateFn="selectDateFn" />
-		<view style="font-size:28upx;color:#666666;">
-			<view style="width:116upx;text-align:center;display:inline-block;" @click="rankByFn('amount')">按金额</view>
-			<view style="width:116upx;text-align:center;display:inline-block;" @click="rankByFn('gross')">按毛利</view>
-			<view style="width:122upx;text-align:center;display:inline-block;" @click="rankByFn('mll')">按毛利率</view>
-		</view>
 	</view>
 		<scroll-view scroll-y scroll-with-animation class="main-view">
 			<view class="space-view ex-table">
 				<block v-if="!$util.isEmpty(profile)">
 					<t-table :headerBackgroundColor="'#F0F2F6'">
-						<t-tr header><t-th>花材</t-th><t-th>总数量</t-th><t-th>总金额</t-th><t-th>毛利</t-th><t-th>毛利率</t-th></t-tr>
+						<t-tr header>
+						<t-th>花材</t-th>
+						<t-th><view @click="rankByFn('num')">总数量<i class="iconfont iconsanjiao_xia"></i></view></t-th>
+						<t-th><view @click="rankByFn('amount')">总金额<i class="iconfont iconsanjiao_xia"></i></view></t-th>
+						<t-th><view @click="rankByFn('gross')">毛利<i class="iconfont iconsanjiao_xia"></i></view></t-th>
+						<t-th><view @click="rankByFn('mll')">毛利率<i class="iconfont iconsanjiao_xia"></i></view></t-th>
+						</t-tr>
 						<view v-for="(item, index) in profile" :key="index">
 							<t-tr>
 								<t-td><view style="color:black;font-size:26upx;">{{item.name}}</view></t-td>

+ 1 - 1
ghsApp/src/admin/stat/profit.vue

@@ -130,7 +130,7 @@ export default {
 	.top-bar {
 		position: absolute;
 		left: 0;
-		top:10upx;
+		top:18upx;
 		display: flex;
 		width: 100%;
 		z-index: 20;

+ 1 - 1
ghsApp/src/admin/stat/waste.vue

@@ -22,7 +22,7 @@
 					</t-table>
 				</block>
 			</view>
-			<view style="margin-top:30upx;margin-bottom:30upx;font-size:32upx;font-weight:bold;text-align:center;">
+			<view style="margin-top:30upx;margin-bottom:30upx;font-size:30upx;font-weight:bold;text-align:center;">
 				<text>总计&nbsp;{{totalNum}}扎</text>
 				<text style="margin-left:22upx;">成本 ¥{{totalCost}}</text>
 				<text style="margin-left:22upx;">售价 ¥{{totalPrice}}</text>