床垫
This commit is contained in:
		
							parent
							
								
									e582aed977
								
							
						
					
					
						commit
						6413a2050f
					
				|  | @ -20,7 +20,7 @@ const install = (Vue, vm) => { | |||
| 	// 	},
 | ||||
| 	// }); 
 | ||||
| 	Vue.prototype.$u.http.setConfig({ | ||||
| 			baseUrl: 'http://192.168.2.157:3302', | ||||
| 			baseUrl: 'http://192.168.2.223:3302', | ||||
| 			// baseUrl: 'https://kang.chuangtewl.com/prod-api',
 | ||||
| 			loadingText: '努力加载中~', | ||||
| 			loadingTime: 800, | ||||
|  |  | |||
|  | @ -121,9 +121,11 @@ | |||
| 				userflag:false, | ||||
| 				maskflag:false, | ||||
| 				inptext:'', | ||||
| 				userid:'' | ||||
| 			} | ||||
| 		}, | ||||
| 		onLoad(option) { | ||||
| 			this.userid = uni.getStorageSync('userType').userId | ||||
|             this.billId = option.billId | ||||
| 			this.getxq() | ||||
| 		}, | ||||
|  | @ -148,7 +150,7 @@ | |||
| 				this.$u.get(`/app/bill/arrival/${this.billId}`).then(res => { | ||||
| 					if(res.code == 200){ | ||||
| 						this.obj = res.data | ||||
| 						if(res.data.status == 2){ | ||||
| 						if(this.userid == res.data.agentId && res.data.status == 2){ | ||||
| 							this.userflag = true | ||||
| 						}else{ | ||||
| 							this.userflag = false | ||||
|  |  | |||
|  | @ -297,7 +297,7 @@ | |||
| 						storeId: this.storeId, | ||||
| 						userId: this.userId | ||||
| 					} | ||||
| 					this.$u.put(`/app/shareCode/use`, data).then((res) => { | ||||
| 					this.$u.put(`/app/shareCode/use`, data).then((res) => {  | ||||
| 						if (res.code == 200) { | ||||
| 							uni.showToast({ | ||||
| 								title: res.msg, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user