shish 3 yıl önce
ebeveyn
işleme
4cd868c808

+ 1 - 1
ghsApp/src/admin/changePrice/components/Item.vue

@@ -35,7 +35,7 @@
 
 
 	<view class="level-price">
 	<view class="level-price">
 		<text>剩余 {{info.stock?parseFloat(info.stock):0}}</text>
 		<text>剩余 {{info.stock?parseFloat(info.stock):0}}</text>
-		<text style="color:#333333;position:absolute;left:35upx;color:#71541e;">毛利 ¥{{ info.ml ? parseFloat(info.ml) : 0 }}</text>
+		<text style="color:#333333;position:absolute;left:35upx;color:#71541e;">毛利 ¥{{ info.ml ? parseFloat(info.ml) : 0 }}</text>
 		<text style="color:#333333;position:absolute;right:50upx;color:green;">成本 ¥{{ parseFloat(info.cost) }}</text>
 		<text style="color:#333333;position:absolute;right:50upx;color:green;">成本 ¥{{ parseFloat(info.cost) }}</text>
 	</view>
 	</view>
 
 

+ 5 - 5
ghsApp/src/admin/stat/productSale.vue

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