Compare commits

..

No commits in common. "be67abacb2690915b8738f5e755126334094008b" and "1c9f7e1610d0b5737fe4d7f7edbc5f337145570b" have entirely different histories.

1 changed files with 13 additions and 21 deletions

View File

@ -638,26 +638,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;
} }
let temp="";
if (pk_accountingbook.value == "" || pk_accountingbook.value == undefined) { if (pk_accountingbook.value == "" || pk_accountingbook.value == undefined) {
temp="" toast({content: self.state.json['20020RECON-000038'], color: 'warning'});/* 国际化处理: 请先选择会计科目*/
}else{ return false;
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": [temp], "pk_accasoa": [pk_accountingbook.value],
// "pk_accountingbook":["1001A110000000001PFH"], // "pk_accountingbook":["1001A110000000001PFH"],
// "pk_accasoa": ["1001A1100000000017L8"], // "pk_accasoa": ["1001A1100000000017L8"],
// "startyear": "2024",
// "endyear": "2024",
// "startperiod": "01",
// "endperiod":"10",
// "startdate": "2024-01-01",
// "enddate":"2024-10-31"
"startyear": periodData.presentYear, "startyear": periodData.presentYear,
"endyear": periodData.presentYear, "endyear": periodData.presentYear,
"startperiod": periodData.presentMonth, "startperiod": periodData.presentMonth,
@ -673,16 +665,16 @@ class Reckon extends Component {
//渲染已有账表数据遮罩 //渲染已有账表数据遮罩
if (success) { if (success) {
if (response.data) { if (response.data) {
// data.forEach((item, i) => { data.forEach((item, i) => {
// if (i != 0) { if (i != 0) {
// if (data[i - 1].pacccode == item.pacccode) { if (data[i - 1].pacccode == item.pacccode) {
// item.paccname = '' item.paccname = ''
// } }
// if (data[i - 1].acccode == item.acccode) { if (data[i - 1].acccode == item.acccode) {
// item.accname = '' item.accname = ''
// } }
// } }
// }) })
reportData = data reportData = data
reportData.unshift({ reportData.unshift({
pacccode: "会计科目编码", //总账余额表-会计科目编码 pacccode: "会计科目编码", //总账余额表-会计科目编码