Administrator il y a 4 ans
Parent
commit
925562098a
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 2 2
      services/ajax.env.js
  2. 3 3
      supplier/pages/user/information.vue

+ 2 - 2
services/ajax.env.js

@@ -4,8 +4,8 @@ if(process.env.NODE_ENV === 'development'){
 	// URL_CONFIG = 'http://192.168.2.68:8008'	 //涛涛联调地址
 	// URL_CONFIG = 'http://192.168.2.67:8008'	 //裴裴联调地址
 	// URL_CONFIG = 'http://192.168.2.75:8008'	 //超超联调地址
-    URL_CONFIG = 'https://spi-b.caimei365.com'	 //采美测试地址
-	// URL_CONFIG = 'https://spi.caimei365.com'
+    // URL_CONFIG = 'https://spi-b.caimei365.com'	 //采美测试地址
+	URL_CONFIG = 'https://spi.caimei365.com'
 }else{
     // 生产环境
 	URL_CONFIG = 'https://spi-b.caimei365.com'

+ 3 - 3
supplier/pages/user/information.vue

@@ -403,8 +403,8 @@
 						this.params.registeredCapital = shop.registeredCapital;
 						this.params.nature = shop.nature;
 						this.params.turnover = shop.turnover;
-						this.params.firstShopType = shop.firstShopType;
-						this.params.secondShopType = shop.secondShopType;
+						this.params.firstShopType = shop.firstShopType ? shop.firstShopType:'';
+						this.params.secondShopType = shop.secondShopType ? shop.secondShopType : '';
 						this.params.medicalPracticeLicenseImg1 = shop.medicalPracticeLicenseImg1;
 						this.params.info = shop.info;
 						this.params.productDesc = shop.productDesc;
@@ -509,7 +509,7 @@
 				}else{
 					this.UserService.SupplierModifiedData(this.params).then(res=>{
 						if(res.code === 0){
-							  this.$util.msg('修改成功',2000,true,'success')
+							  this.$util.msg('保存成功',2000,true,'success')
 							  setTimeout(()=>{
 								uni.navigateBack();
 							  },2000)