zhengjinyi 4 anni fa
parent
commit
aa8decd297

+ 7 - 2
pages/user/order/create-order.vue

@@ -141,8 +141,13 @@
 		},	
 		methods: {
 			getInitCrearOrder(option){//获取订单商品信息
-				let params ={userId:this.userID,count:this.productCount,productIds:this.productIds,unionId:uni.getStorageSync('unionId')}
-				this.OrderService.CreateOrderInfo(params).then(response =>{
+				this.OrderService.CreateOrderInfo({
+					userId:this.userID,
+					count:this.productCount,
+					productIds:this.productIds,
+					unionId:uni.getStorageSync('unionId')
+				})
+				.then(response =>{
 					let resData = response.data
 					this.isRequest = true
 					this.goodsData = resData.list

+ 0 - 1
seller/pages/login/apply.vue

@@ -121,7 +121,6 @@
 							placeholder-class="placeholder"
 							maxlength="25"
 							@input="onTextareaInput"
-							@focus="textareaFocus"
 							@blur="hideTextareaFocus"
 							:class="isShowInput ? '':''"
 				/>

+ 5 - 1
seller/pages/login/information.vue

@@ -339,7 +339,11 @@
 					this.clubFax = organizationClub.fax ? organizationClub.fax : ''
 					this.companyPprofile = organizationClub.profile ? organizationClub.profile : ''
 					this.contractEmail = organizationClub.contractEmail	
-					this.clubName = organizationClub.name
+					if(this.contractEmail){
+						this.clubName = this.$reg.checkData(organizationClub.name)
+					}else{
+						this.clubName = ''
+					}
 					this.shortName = organizationClub.shortName
 					if( organizationClub.provinceId == null ){
 						this.addressData.provinceId = ''

+ 7 - 8
seller/pages/login/register.vue

@@ -88,7 +88,6 @@
 							placeholder-class="placeholder"
 							maxlength="35"
 							@input="onTextareaInput"
-							@focus="textareaFocus"
 							@blur="hideTextareaFocus"
 							:class="isShowInput ? '':''"
 				/>
@@ -271,7 +270,7 @@
 				isUpgrade:false,
 				isDownUpgrade:true,
 				isCheck:false,			//是否勾选协议
-				businessLicense:'https://static.caimei365.com/app/img/icon/icon-seller@3x.png',	//营业执照图片
+				businessLicense:'',	//营业执照图片
 				shopPhoto:'',  	//门头照图片
 				medicalPracticeLicense:'', 	//资质照图片
 				department:'',			//科室
@@ -375,7 +374,7 @@
 						return
 					}
 					params ={
-						email:this.registerEmail,
+						contractEmail:this.registerEmail,
 						name:this.clubName,
 						linkMan:this.clubContact,
 						bindMobile:this.bindMobile,
@@ -387,11 +386,11 @@
 						socialCreditCode:this.socialCreditCode,
 						businessLicense:this.businessLicense,
 						shopPhoto:this.shopPhoto,
-						firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
-						secondClubType:this.secondClubType,	//机构类型二级分类 诊所:1,门诊:2,医院:3
-						department:this.department,			//科室
+						firstClubType:Number(this.isOrganizationType), //机构类型分类 医美:0和生美:1
+						secondClubType:Number(this.secondClubType),	   //机构类型二级分类 诊所:1,门诊:2,医院:3
+						department:this.department,	//科室
 						medicalPracticeLicense:this.medicalPracticeLicense,//资质图片
-						isAgreed:this.isAgreed,				//是否勾选协议	
+						isAgreed:this.isAgreed,//是否勾选协议	
 						mainProduct:this.mainProduct,
 						userId:this.userId
 					}
@@ -533,7 +532,7 @@
 			},
 			radioChange(e) {
 				this.secondClubType = e.target.value;
-				if( this.secondClubType == '2' || this.secondClubType == '3'){
+				if( this.secondClubType == 2 || this.secondClubType == 3){
 					this.isDepartment = true
 				}else{
 					this.isDepartment = false

+ 1 - 1
services/user.service.js

@@ -128,7 +128,7 @@ export default class UserService {
 		return this.AjaxService.get({ 
 			url:'/user/register/guide', 
 			data, 
-			isLoading: true ,
+			isLoading: false ,
 			isHost:true
 		})
 	}