shish 5 месяцев назад
Родитель
Сommit
4d46de6439
1 измененных файлов с 7 добавлено и 9 удалено
  1. 7 9
      ghsApp/src/admin/stat/productSale.vue

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

@@ -1,14 +1,9 @@
 <template>
 <view class="app-content">
-	<view class="ex-page">
-    <view class="input-wrap_box">
-      <view>
-        <AppSearchModule placeholder="输入拼音首字母搜索" @input="searchFn"/>
-      </view>
-    </view>
+<view class="ex-page">
 	<view class="top-bar">
 		<DateSelect class="bar" top="0" @selectDateFn="selectDateFn" />
-		<button class="admin-button-com middle blue" style="margin-left:30upx;position: absolute;top:-25upx;right:130upx;" @click="changeStaff()">
+		<button class="admin-button-com middle blue" style="margin-left:30upx;position: absolute;top:0;right:130upx;" @click="changeStaff()">
 			{{selectStaff.id == 0 ?'选采购人':selectStaff.name}}
 		</button>
 	</view>
@@ -23,7 +18,11 @@
 						<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>
-						<t-tr><t-td><view style="color:black;font-weight:bold;font-size:28upx;">{{profile.totalNum||0}}扎 ¥{{profile.totalAmount||0}} 总毛利 ¥{{profile.totalMl?parseFloat(profile.totalMl):0}}</view></t-td></t-tr>
+						<t-tr>
+							<t-td>
+								<view style="color:black;font-weight:bold;font-size:28upx;">{{profile.totalNum||0}}扎 ¥{{profile.totalAmount||0}} 总毛利 ¥{{profile.totalMl?parseFloat(profile.totalMl):0}}</view>
+							</t-td>
+						</t-tr>
 						<block v-if="profile.list && !$util.isEmpty(profile.list)">
 							<view v-for="(item, index) in profile.list" :key="index">
 								<t-tr>
@@ -159,7 +158,6 @@ export default {
 		left: 0;
 		display: flex;
 		width: 100%;
-		top:130upx;
 		z-index: 20;
 		.bar{
 			width: 50%;