diff --git a/src/gl/finalTreatment/reckoning/list/reconciReportModal/index.js b/src/gl/finalTreatment/reckoning/list/reconciReportModal/index.js
new file mode 100644
index 0000000..8a43100
--- /dev/null
+++ b/src/gl/finalTreatment/reckoning/list/reconciReportModal/index.js
@@ -0,0 +1,245 @@
+/*qZ5a1x5ign4IdlZuRO5Ax6TjC2a3u5fVc0DIn53oa4I=*/
+import React, {Component} from 'react';
+import {high, base, ajax, getMultiLang} from 'nc-lightapp-front';
+
+const {
+ NCFormControl: FormControl,
+ NCDatePicker: DatePicker,
+ NCButton: Button,
+ NCRadio: Radio,
+ NCBreadcrumb: Breadcrumb,
+ NCRow: Row,
+ NCCol: Col,
+ NCTree: Tree,
+ NCMessage: Message,
+ NCIcon: Icon,
+ NCLoading: Loading,
+ NCTable: Table,
+ NCSelect: Select,
+ NCCheckbox: Checkbox,
+ NCNumber,
+ AutoComplete,
+ NCDropdown: Dropdown,
+ NCPanel: Panel,
+ NCModal: Modal,
+ NCForm,
+ NCButtonGroup: ButtonGroup,
+ NCDiv
+} = base;
+const {NCFormItem: FormItem} = NCForm;
+import '../index.less';
+
+export default class ReportModal extends Component {
+ constructor(props) {
+ super(props)
+ this.columns_report = [
+ {
+ title: (
5235235
),
+ dataIndex: "strRowOne",
+ key: "strRowOne",
+ width: 300,
+ render: (text, record, index) => {
+ let {reportTableData} = this.state;
+ let redFlag = false;
+ for (let k in reportTableData.reportDetailFont) {
+ if (k == text) {
+ redFlag = true;
+ }
+ }
+ if (redFlag) {
+ return (
+ //
+
+ )
+ } else {
+ return (
+ //
+
+ )
+ }
+
+ }
+ },
+ {
+ title: "",
+ dataIndex: "strRowTwo",
+ key: "strRowTwo",
+ width: 350,
+ render: (text, record, index) => {
+ let {reportTableData} = this.state;
+ let redFlag = false;
+ for (let k in reportTableData.reportDetailFont) {
+ if (k == text) {
+ redFlag = true;
+ }
+ }
+ if (redFlag) {
+ return (
+
+ )
+ } else {
+ return (
+
+ )
+ }
+
+ }
+ }
+ ]
+ this.state = {
+ json: {},
+ reportTableData: this.props.reportDetail || [],
+ reportTableDataSum: this.props.reportSum || [],
+ reportTableTitle: '',
+ fontStr: {},
+ columns_report: this.columns_report,
+ columns_reportSum: [],
+ sumOrDetail: 'sum'//默认像是汇总table数据
+ }
+ }
+
+ componentWillMount() {
+ let callback = (json) => {
+ // console.log(json)
+ this.columns_reportSum = [
+ {
+ title: ({json['20020RECON-000034']}
),/* 国际化处理: 总账余额表*/
+ dataIndex: "field1",
+ key: "field1",
+ width: 300,
+ render: (text, record, index) => {
+ return (
+
+ {/*会计科目*/}
+
{record.paccname}
+ {/*期末余额*/}
+
{record.pendlocamount}
+
+ )
+ }
+ },
+ {
+ title: ({json['20020RECON-000035']}
),/* 国际化处理: 总账辅助余额表*/
+ dataIndex: "field2",
+ key: "field2",
+ width: 500,
+ render: (text, record, index) => {
+ return (
+
+ {/*会计科目*/}
+
{record.accname}
+ {/*辅助核算*/}
+
{record.assname}
+ {/*期末余额*/}
+
{record.endlocamount}
+
+ )
+
+ }
+ },
+ /*{
+ title: ({json['20020RECON-000036']}
),/!* 国际化处理: 总账辅助明细账*!/
+ dataIndex: "field3",
+ key: "field3",
+ width: 680,
+ render: (text, record, index) => {
+ return (
+
+
{record.field6}
{/!*会计科目*!/}
+
{record.field7}
{/!*辅助核算*!/}
+
{record.field8}
{/!*凭证号*!/}
+
{record.field9}
{/!*余额*!/}
+
+ )
+
+ }
+ },*/
+ {
+ title: ({json['20020RECON-000037']}
),/* 国际化处理: 差异*/
+ dataIndex: "field4",
+ key: "field4",
+ width: 300,
+ render: (text, record, index) => {
+ return (
+
+ {/*会计科目*/}
+
{record.paccname}
+ {/*金额*/}
+
{record.difference}
+
+ )
+
+ }
+ },
+ ]
+ this.setState({
+ columns_reportSum: this.columns_reportSum,
+ json: json,
+ }, () => {
+ })
+ }
+ getMultiLang({moduleId: '20020RECON', domainName: 'gl', currentLocale: 'simpchn', callback});
+ }
+
+ componentWillReceiveProps(nextProp) {
+ console.log(this.state)
+ let {reportTableDataSum, reportTableData, reportTableTitle} = this.state;
+ let {reportSum, reportDetail, showOrHide} = nextProp;
+ reportTableDataSum = reportSum;
+ reportTableData = reportDetail;
+ this.setState({
+ reportTableDataSum, reportTableData
+ })
+ }
+
+ componentDidMount() {
+
+ }
+
+ render() {
+ let {columns_reportSum} = this.state;
+ let {reportDetail} = this.props;
+ let reportTableData = reportDetail;
+ return (
+
+
+
+ {/*
账账相对
*/}
+ {
+ 8 ? (100 + (columns_reportSum.length - 8) * 15) + "%" : '100%',
+ y: 320
+ }}
+ />
+ }
+ {/*{(sumOrDetail == 'detail') ?
+
+ 8 ? (100 + (columns_report.length - 8) * 15) + "%" : '100%',
+ y: 320
+ }}
+ />
+ : null}*/}
+
+
+ )
+ }
+}
+
+/*qZ5a1x5ign4IdlZuRO5Ax6TjC2a3u5fVc0DIn53oa4I=*/