s.orderGoods[i].id) {
										localStorage.removeItem(`cart${_this.orderGoods[i].goodid}`)
										cartDelete([_this.orderGoods[i].id], function(res) {
											if(i==_this.orderGoods.length-1){
												alert(`${msg}`);
												window.location.href = '../order/order-list.html'
											}
										})
										// 库存减少
										goodsInfo(_this.orderGoods[i].tablename,_this.orderGoods[i].goodid,function(res){
											res.data.alllimittimes = res.data.alllimittimes - _this.orderGood