| 
														
															@@ -210,10 +210,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       selectProductPics:{ 
														 | 
														
														 | 
														
															       selectProductPics:{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         get:function () { 
														 | 
														
														 | 
														
															         get:function () { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           let pics=[]; 
														 | 
														
														 | 
														
															           let pics=[]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          if(this.value.pic===undefined||this.value.pic==null||this.value.pic===''){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            return pics; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          pics.push(this.value.pic); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // if(this.value.pic===undefined||this.value.pic==null||this.value.pic===''){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   return pics; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // pics.push(this.value.pic); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           if(this.value.albumPics===undefined||this.value.albumPics==null||this.value.albumPics===''){ 
														 | 
														
														 | 
														
															           if(this.value.albumPics===undefined||this.value.albumPics==null||this.value.albumPics===''){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return pics; 
														 | 
														
														 | 
														
															             return pics; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -221,6 +221,12 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           for(let i=0;i<albumPics.length;i++){ 
														 | 
														
														 | 
														
															           for(let i=0;i<albumPics.length;i++){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             pics.push(albumPics[i]); 
														 | 
														
														 | 
														
															             pics.push(albumPics[i]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // if(pics.length==2&&pics[0]==pics[1]){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   // console.log('111',document.querySelector('.el-upload-list li')) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   // let pic = pics[0]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   // pics=[]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          //   // pics.push(pic); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           return pics; 
														 | 
														
														 | 
														
															           return pics; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }, 
														 | 
														
														 | 
														
															         }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         set:function (newValue) { 
														 | 
														
														 | 
														
															         set:function (newValue) { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -229,15 +235,21 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.value.albumPics = null; 
														 | 
														
														 | 
														
															             this.value.albumPics = null; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } else { 
														 | 
														
														 | 
														
															           } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             this.value.pic = newValue[0]; 
														 | 
														
														 | 
														
															             this.value.pic = newValue[0]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            this.value.albumPics = ''; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (newValue.length > 1) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-              for (let i = 1; i < newValue.length; i++) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.value.albumPics = '';     
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (newValue.length >= 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              for (let i = 0; i < newValue.length; i++) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 this.value.albumPics += newValue[i]; 
														 | 
														
														 | 
														
															                 this.value.albumPics += newValue[i]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 if (i !== newValue.length - 1) { 
														 | 
														
														 | 
														
															                 if (i !== newValue.length - 1) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                   this.value.albumPics += ','; 
														 | 
														
														 | 
														
															                   this.value.albumPics += ','; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 } 
														 | 
														
														 | 
														
															                 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                // console.log('this.value.albumPics', this.value.albumPics); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															               } 
														 | 
														
														 | 
														
															               } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // else if(newValue.length==1){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //   // this.value.pic=newValue[0]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //   this.value.albumPics=newValue[0]; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            //   this.selectProductPics.pop(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            // } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -422,7 +434,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.value.placeOfProduction = placeOfProduction; 
														 | 
														
														 | 
														
															         this.value.placeOfProduction = placeOfProduction; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       handleFinishCommit(){ 
														 | 
														
														 | 
														
															       handleFinishCommit(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        console.log('1111'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // console.log('this.selectProductPics',this.selectProductPics); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // console.log('this.value.albumPics111',this.value.albumPics); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // console.log('this.value.pic',this.value.pic); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(!this.selectProductPics || (this.selectProductPics || []).length==0){ 
														 | 
														
														 | 
														
															         if(!this.selectProductPics || (this.selectProductPics || []).length==0){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.$message({ 
														 | 
														
														 | 
														
															           this.$message({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             message: '请上传商品相册', 
														 | 
														
														 | 
														
															             message: '请上传商品相册', 
														 |