			created() {
					var tablename = getParam('tablename')
					var xuanzuo = getParam('xuanzuo')
					var type = getParam('type')
					// 积分兑换
					if(type==2){
						this.type = 2;
					}
					this.tablename = tablename?tablename:""
					this.xuanzuo = xuanzuo?xuanzuo:0
					var _this = this;
					var orderGoods = JSON.parse(localStorage.getItem('orderGoods'));
					this.orderGoods = orderGoods;
					var totalPrice = 0;
					for (var i = 0; i < orderGoods.length; i++) {
						totalPrice += parseFlo