shish 2 years ago
parent
commit
9ea60b784e

+ 6 - 2
ghsApp/src/admin/item/components/item.vue

@@ -29,8 +29,12 @@
 				<template>
 					<view class="open-bx">
 						还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):0 }}</text>
-						<text style="margin-left:28upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
-						<text style="margin-left:28upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
+						<text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
+						<text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
+						<text style="margin-left:18upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
+							<text v-if="info.ratioType == 0">{{info.ratio}}支</text>
+							<text>若干支</text>
+						</text>
 					</view>
 				</template>
 			</view>

+ 2 - 2
ghsApp/src/pagesPurchase/components/CommodityPurchase.vue

@@ -14,8 +14,8 @@
           <view class="price" style="position:absolute;top:105upx;">¥{{ parseFloat(info.price) }}</view>
           <view style="position: relative;top:-14upx;">
             <view class="kc">
-            <block v-if="info.ratioType == 0">{{info.ratio}}{{ info.smallUnit }}/{{info.bigUnit}}</block>
-            <block v-else>若干{{ info.smallUnit }}/{{info.bigUnit}}</block>
+            <block v-if="info.ratioType == 0">{{info.ratio}}{{ info.smallUnit }}</block>
+            <block v-else>若干{{ info.smallUnit }}</block>
             </view>
           </view>
           <view>