账账相对优化
This commit is contained in:
		
							parent
							
								
									be67abacb2
								
							
						
					
					
						commit
						0bbcf74bb6
					
				|  | @ -717,16 +717,18 @@ class Reckon extends Component { | ||||||
| 			toast({content: self.state.json['20020RECON-000010'], color: 'warning'});/* 国际化处理: 请先选择核算账簿*/ | 			toast({content: self.state.json['20020RECON-000010'], color: 'warning'});/* 国际化处理: 请先选择核算账簿*/ | ||||||
| 			return false; | 			return false; | ||||||
| 		} | 		} | ||||||
| 		if (pk_accountingbook.value == "" || pk_accountingbook.value == undefined) { | 		let temp=""; | ||||||
| 			toast({content: self.state.json['20020RECON-000038'], color: 'warning'});/* 国际化处理: 请先选择会计科目*/ | 		if (pk_accountingbook == undefined || pk_accountingbook.value == "" || pk_accountingbook.value == undefined) { | ||||||
| 			return false; | 			temp="" | ||||||
|  | 		}else{ | ||||||
|  | 			temp=pk_accountingbook.value; | ||||||
| 		} | 		} | ||||||
| 		let url = '/nccloud/gl/accountrep/accountbalancetotal.do'; | 		let url = '/nccloud/gl/accountrep/accountbalancetotal.do'; | ||||||
| 		// let pk_accpont = {"pk_accountingbook":accountingbook.value};
 | 		// let pk_accpont = {"pk_accountingbook":accountingbook.value};
 | ||||||
| 		let enddate = this.getMonthDays(periodData.presentYear, periodData.presentMonth) | 		let enddate = this.getMonthDays(periodData.presentYear, periodData.presentMonth) | ||||||
| 		let pk_accpont = { | 		let pk_accpont = { | ||||||
| 			"pk_accountingbook": [accountingbook.value], | 			"pk_accountingbook": [accountingbook.value], | ||||||
| 			"pk_accasoa": [pk_accountingbook.value], | 			"pk_accasoa": [temp], | ||||||
| 			// "pk_accountingbook":["1001A110000000001PFH"],
 | 			// "pk_accountingbook":["1001A110000000001PFH"],
 | ||||||
| 			// "pk_accasoa": ["1001A1100000000017L8"],
 | 			// "pk_accasoa": ["1001A1100000000017L8"],
 | ||||||
| 			"startyear": periodData.presentYear, | 			"startyear": periodData.presentYear, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue