Selaa lähdekoodia

微服务联调,修改注册登录, 机构资料修改

zhengjinyi 4 vuotta sitten
vanhempi
commit
e3f35af27e

+ 5 - 4
src/main/resources/static/js/supplier-center/setting/information.js

@@ -46,7 +46,7 @@
             productionLicence:'',//生产
             hygienicLicense:'',//卫生
             taxLicense:'',//税务
-            certificateHonor:'',//荣誉
+            honorCertification:'',//荣誉
             productCertification:'',//产品
 
         },
@@ -151,7 +151,8 @@
                     _this.params3.productionLicence = shop.productionLicence;
                     _this.params3.hygienicLicense = shop.hygienicLicense;
                     _this.params3.taxLicense = shop.taxLicense;
-                    _this.params3.certificateHonor = shop.hygienicLicense;
+                    _this.params3.honorCertification = shop.honorCertification;
+                    _this.params3.productCertification = shop.productCertification;
                     _this.HonorImagesList = shop.honorCertification;
                     _this.productImagesList = shop.productCertification;
                     if(shop.mainpro != "" && shop.mainProduct != null){
@@ -324,7 +325,7 @@
             _this.formData.append('file', file[0]);
             PublicApi.uploadimg(_this.formData,function(response){
                _this.HonorImagesList.push(response.data);
-               _this.params3.certificateHonor =_this.HonorImagesList.toString()+',';
+               _this.params3.honorCertification =_this.HonorImagesList.toString()+',';
                 event.target.value = '';
             });
         },
@@ -360,7 +361,7 @@
         removeGoodsImagesFn: function(index){//删除荣誉图片
             var _this = this;
             _this.HonorImagesList.splice(index,1);
-            _this.params3.certificateHonor =_this.HonorImagesList.toString()+',';
+            _this.params3.honorCertification =_this.HonorImagesList.toString()+',';
          },
         removeproductImagesFn: function(index){//删除产品图片
             var _this = this;