| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -72,10 +72,10 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-table-column label="价格" prop="price"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <template slot-scope="scope"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <input | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              <el-input | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                type="text" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                v-model="scope.row.price" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                @blur="inputchang(scope.row)" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                @change="inputchang(scope.row, $event.target.value)" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              /> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </template> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          </el-table-column> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -174,9 +174,11 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.getportfolioitems(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  methods: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    inputchang(v) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.price = v.price; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(this.price); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    inputchang(row, newVal) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(row); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      console.log(newVal); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // this.price = v.price; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // console.log(this.price); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //保存按钮 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    Onsubmit() { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -218,20 +220,22 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          let count = this.rightselctedata.length - 1; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          for (var i = count; i >= 0; i--) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // this.personnelUnit.nogroupselected.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if ( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // !this.rightselctedata.includes(this.rightselctedata[i].displayName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              [...new Set(this.rightselctedata)] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.tabledata.push(this.rightselctedata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.personnelUnit.nogroupselected.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // !this.rightselctedata.includes(this.rightselctedata[i].displayName) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            [...new Set(this.rightselctedata)]; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.tabledata.push(this.rightselctedata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.personnelUnit.nogroupselected.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // this.tabledata.push(this.rightselctedata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // this. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.rightselctedata.forEach((item) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            console.log(this.personnelUnit.customerOrgGroupId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.addrulst.push({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              asbitemId: item.id, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              price: item.price, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // price: this.price, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              customerOrgGroupId: this.personnelUnit.customerOrgGroupId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -254,21 +258,21 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.saveornot = false; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          let count = this.unselecteddata.length - 1; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          let uniqueSet = [...new Set(this.unselecteddata, ...this.tabledata)]; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          const filteredArray = []; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          for (var i = count; i >= 0; i--) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // this.tabledata.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.unselecteddata.push(this.unselecteddata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.tabledata.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            // this.personnelUnit.nogroupselected.push(this.unselecteddata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if ([...new Set(this.unselecteddata)]) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.tabledata.splice(i, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              this.personnelUnit.nogroupselected.push(this.unselecteddata[i]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          console.log(this.price); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          console.log(this.personnelUnit.customerOrgGroupId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.unselecteddata.forEach((item) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					           this.price=item.price | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.price = item.price; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.addrulst.push({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              asbitemId: item.id, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              price: item.price, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // price: this.price, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              // price: this.psrice, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					              customerOrgGroupId: this.personnelUnit.customerOrgGroupId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          }); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -348,7 +352,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      getapi( | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        `/api/app/customer-org-group-detail/customer-org-group-detail-in-asbitem?CustomerOrgGroupId=${this.personnelUnit.form.id}` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      ).then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(res); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(res, "res"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.personnelUnit.nogroupselected = res.data; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |