shish 4 лет назад
Родитель
Сommit
8cbaec0c83
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ghsApp/src/admin/changePrice/components/Item.vue

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

@@ -66,7 +66,7 @@ export default {
 	mounted(){
 		let info = this.info
 		this.showStock = ''
-		if(Number(info.stock)>1){
+		if(Number(info.stock)>0){
 			this.showStock += Math.trunc(info.stock)+info.bigUnit
 		}
 		let decimal = Number(info.stock) - Math.trunc(info.stock)