|  | @@ -136,9 +136,8 @@ export default {
 | 
	
		
			
				|  |  |          let res = await getTableDeatilsByIdApi(this.configUrl.details,{id})
 | 
	
		
			
				|  |  |          if(res.code == 200) {
 | 
	
		
			
				|  |  |            let obj = {
 | 
	
		
			
				|  |  | -          ...row,
 | 
	
		
			
				|  |  | -          openDate: res.data.openDate?res.data.openDate.split('~') : null
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +            ...res.data
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |            this.$set(this,'form',JSON.parse(JSON.stringify(obj)))
 | 
	
		
			
				|  |  |            this.formStatus = 1
 | 
	
		
			
				|  |  |          }else {
 | 
	
	
		
			
				|  | @@ -168,8 +167,7 @@ export default {
 | 
	
		
			
				|  |  |            if (this.model != 'ADD') {
 | 
	
		
			
				|  |  |              addTableApi(
 | 
	
		
			
				|  |  |                this.configUrl.edit,{
 | 
	
		
			
				|  |  | -                ...this.form,
 | 
	
		
			
				|  |  | -                openDate: this.form.openDate.join('~')
 | 
	
		
			
				|  |  | +                ...this.form
 | 
	
		
			
				|  |  |                }).then(response => {
 | 
	
		
			
				|  |  |                this.$modal.msgSuccess("修改成功");
 | 
	
		
			
				|  |  |                this.loading = false
 | 
	
	
		
			
				|  | @@ -181,8 +179,7 @@ export default {
 | 
	
		
			
				|  |  |              })
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  |              addTableApi(this.configUrl.edit,{
 | 
	
		
			
				|  |  | -                ...this.form,
 | 
	
		
			
				|  |  | -                openDate: this.form.openDate.join('~')
 | 
	
		
			
				|  |  | +                ...this.form
 | 
	
		
			
				|  |  |                }).then(response => {
 | 
	
		
			
				|  |  |                this.$modal.msgSuccess("新增成功");
 | 
	
		
			
				|  |  |                this.loading = false
 |