shish 3 лет назад
Родитель
Сommit
566419160b
1 измененных файлов с 0 добавлено и 14 удалено
  1. 0 14
      ghsApp/src/components/module/app-commodity.vue

+ 0 - 14
ghsApp/src/components/module/app-commodity.vue

@@ -64,12 +64,6 @@ export default {
 	},
 	data() {
 		return {
-			isAlterMoney:false,
-			isAloneAllActive: false,
-			isAloneAllFocus: false,
-			changeAutoPrice:'',
-			showPrice:0.00,
-			oldPrice:0.00,
 			ifFocus:false,
 			bigCount:0,
 			smallCount:0,
@@ -90,17 +84,9 @@ export default {
 	computed: {
 	},
 	mounted() {
-
-		if(this.info.priceLabel == 2){
-			this.changeAutoPrice = this.info.price
-		}
-		this.showPrice = this.info.priceLabel==1?null:this.info.price
-		this.oldPrice = (Number(this.info.cost) + Number(this.info.addPrice)).toFixed(2)
-
 		this.bigCount = this.info.bigCount
 		this.smallCount = this.info.smallCount
 		this.userPrice = this.info.userPrice
-
 	},
 	methods: {
 		addItemFn () {