| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -335,6 +335,9 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.dictInit() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  mounted() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.getCustomerOrgGroupAsbitems(this.customerOrgGroup.id); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  },  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  updated () { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.refreshTable('tableCustomerOrgGroupAsbitems') | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -372,7 +375,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //套餐 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      postapi("/api/app/medicalpackage/GetBasicList",{}).then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      postapi("/api/app/asbitem/getasbitemlist",{}).then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (res.code != -1) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.dict.medicalPackage = res.data; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -926,19 +929,22 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					       | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      let group = deepCopy(this.customerOrgGroup); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      postapi('/api/app/customerorggroupdetail/createcustomerorggroupdetailmany',body | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					       ).then(res => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(res.code != -1){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          delete group.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          delete group.customerOrgId; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          delete group.isComplete;  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          group.price = this.groupPrice | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // console.log('this.customerOrgGroup',this.customerOrgGroup) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          // console.log('group',group) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          return putapi(`/api/app/customer-org-group/${this.customerOrgGroup.id}`, group) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).then(res =>{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					       ) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //  .then(res => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   if(res.code != -1){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     delete group.id; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     delete group.customerOrgId; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     delete group.isComplete;  | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     group.price = this.groupPrice | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     // console.log('this.customerOrgGroup',this.customerOrgGroup) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     // console.log('group',group) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //     return putapi(`/api/app/customer-org-group/${this.customerOrgGroup.id}`, group) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      //   } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // })   后台合并事务 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      .then(res =>{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(res && res.code != -1){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          console.log("操作成功"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          group.price = this.groupPrice | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          group.id = this.customerOrgGroup.id | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.refreshMoney(group) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -982,7 +988,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  watch: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    // 体检分组ID未切换换时 也可以强制刷新数据 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    "dataTransOpts.refresh.customer_org_group_detail.M":{ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      immediate:true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // immediate:true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      handler(newVal, oldVal) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(`watch 体检分组 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.customerOrgGroup.id}`);         | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.getCustomerOrgGroupAsbitems(this.customerOrgGroup.id); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |