shish 3 лет назад
Родитель
Сommit
21ca780a06

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

@@ -17,7 +17,8 @@
 			<view class="num-open_bx">
 				<view>
 					<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>

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

@@ -17,7 +17,8 @@
 			<view class="num-open_bx">
 				<view>
 					<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>