shish 2 tahun lalu
induk
melakukan
ae4829806c
1 mengubah file dengan 5 tambahan dan 6 penghapusan
  1. 5 6
      ghsApp/src/admin/item/components/item.vue

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

@@ -29,11 +29,10 @@
 				<template>
 					<view class="open-bx">
 						还剩 <text style="font-size:23upx;margin-left:8upx;">{{ info.stock?parseFloat(info.stock):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 style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">成本 {{ info.cost ? parseInt(info.cost) : 0 }}</text>
+						<text style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">销量 {{ info.actualSold ? parseInt(info.actualSold) : 0 }}</text>
+						<text style="margin-left:16upx;font-size:23upx;display:inline-block;color:#999;font-weight:normal;">
+							{{info.ratioType == 0 ? info.ratio :'若干'}}支
 						</text>
 					</view>
 				</template>
@@ -189,7 +188,7 @@ export default {
 			}
 			& .open-bx {
 				color:#333333;
-				width:auto;
+				width:360upx;
 				overflow:hidden;
 				white-space:nowrap;
 				text{