shish 3 سال پیش
والد
کامیت
21ca780a06
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 1
      ghsApp/src/admin/changePrice/components/outItem.vue
  2. 2 1
      ghsApp/src/admin/changePrice/components/removeItem.vue

+ 2 - 1
ghsApp/src/admin/changePrice/components/outItem.vue

@@ -17,7 +17,8 @@
 			<view class="num-open_bx">
 			<view class="num-open_bx">
 				<view>
 				<view>
 					<view class="open-bx" >
 					<view class="open-bx" >
-						<text style="color:#333333;">¥{{ parseFloat(info.skPrice) }}</text>
+						<text style="color:#333333;" v-if="info.ratioType == 0">{{info.ratio}}{{info.smallUnit}}/{{info.bigUnit}}</text>
+						<text style="color:#333333;" v-else>若干{{info.smallUnit}}/{{info.bigUnit}}</text>
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>

+ 2 - 1
ghsApp/src/admin/changePrice/components/removeItem.vue

@@ -17,7 +17,8 @@
 			<view class="num-open_bx">
 			<view class="num-open_bx">
 				<view>
 				<view>
 					<view class="open-bx" >
 					<view class="open-bx" >
-						<text style="color:#333333;">¥{{ parseFloat(info.skPrice) }}</text>
+						<text style="color:#333333;" v-if="info.ratioType == 0">{{info.ratio}}{{info.smallUnit}}/{{info.bigUnit}}</text>
+						<text style="color:#333333;" v-else>若干{{info.smallUnit}}/{{info.bigUnit}}</text>
 					</view>
 					</view>
 				</view>
 				</view>
 			</view>
 			</view>