shish 4 ani în urmă
părinte
comite
8cbaec0c83
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)