shish 4 years ago
parent
commit
8cbaec0c83
1 changed files with 1 additions and 1 deletions
  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(){
 	mounted(){
 		let info = this.info
 		let info = this.info
 		this.showStock = ''
 		this.showStock = ''
-		if(Number(info.stock)>1){
+		if(Number(info.stock)>0){
 			this.showStock += Math.trunc(info.stock)+info.bigUnit
 			this.showStock += Math.trunc(info.stock)+info.bigUnit
 		}
 		}
 		let decimal = Number(info.stock) - Math.trunc(info.stock)
 		let decimal = Number(info.stock) - Math.trunc(info.stock)