| 
					
					
						
							
						
					
					
				 | 
				@ -335,7 +335,10 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				    this.dictInit() | 
				 | 
				 | 
				    this.dictInit() | 
			
		
		
	
		
			
				 | 
				 | 
				  }, | 
				 | 
				 | 
				  }, | 
			
		
		
	
		
			
				 | 
				 | 
				   | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  mounted() { | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				    this.getCustomerOrgGroupAsbitems(this.customerOrgGroup.id); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				  },  | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
				  updated () { | 
				 | 
				 | 
				  updated () { | 
			
		
		
	
		
			
				 | 
				 | 
				    this.refreshTable('tableCustomerOrgGroupAsbitems') | 
				 | 
				 | 
				    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) { | 
				 | 
				 | 
				        if (res.code != -1) { | 
			
		
		
	
		
			
				 | 
				 | 
				          this.dict.medicalPackage = res.data; | 
				 | 
				 | 
				          this.dict.medicalPackage = res.data; | 
			
		
		
	
		
			
				 | 
				 | 
				        } | 
				 | 
				 | 
				        } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -926,19 +929,22 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				       | 
				 | 
				 | 
				       | 
			
		
		
	
		
			
				 | 
				 | 
				      let group = deepCopy(this.customerOrgGroup); | 
				 | 
				 | 
				      let group = deepCopy(this.customerOrgGroup); | 
			
		
		
	
		
			
				 | 
				 | 
				      postapi('/api/app/customerorggroupdetail/createcustomerorggroupdetailmany',body | 
				 | 
				 | 
				      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){ | 
				 | 
				 | 
				        if(res && res.code != -1){ | 
			
		
		
	
		
			
				 | 
				 | 
				          console.log("操作成功"); | 
				 | 
				 | 
				          console.log("操作成功"); | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				          group.price = this.groupPrice | 
			
		
		
	
		
			
				 | 
				 | 
				          group.id = this.customerOrgGroup.id | 
				 | 
				 | 
				          group.id = this.customerOrgGroup.id | 
			
		
		
	
		
			
				 | 
				 | 
				          this.refreshMoney(group) | 
				 | 
				 | 
				          this.refreshMoney(group) | 
			
		
		
	
		
			
				 | 
				 | 
				        } | 
				 | 
				 | 
				        } | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
						
							
						
					
					
				 | 
				@ -982,7 +988,7 @@ export default { | 
			
		
		
	
		
			
				 | 
				 | 
				  watch: { | 
				 | 
				 | 
				  watch: { | 
			
		
		
	
		
			
				 | 
				 | 
				    // 体检分组ID未切换换时 也可以强制刷新数据 | 
				 | 
				 | 
				    // 体检分组ID未切换换时 也可以强制刷新数据 | 
			
		
		
	
		
			
				 | 
				 | 
				    "dataTransOpts.refresh.customer_org_group_detail.M":{ | 
				 | 
				 | 
				    "dataTransOpts.refresh.customer_org_group_detail.M":{ | 
			
		
		
	
		
			
				 | 
				 | 
				      immediate:true, | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
				      // immediate:true, | 
			
		
		
	
		
			
				 | 
				 | 
				      handler(newVal, oldVal) { | 
				 | 
				 | 
				      handler(newVal, oldVal) { | 
			
		
		
	
		
			
				 | 
				 | 
				        console.log(`watch 体检分组 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.customerOrgGroup.id}`);         | 
				 | 
				 | 
				        console.log(`watch 体检分组 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.customerOrgGroup.id}`);         | 
			
		
		
	
		
			
				 | 
				 | 
				        this.getCustomerOrgGroupAsbitems(this.customerOrgGroup.id); | 
				 | 
				 | 
				        this.getCustomerOrgGroupAsbitems(this.customerOrgGroup.id); | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |