提交 10932d59 authored 作者: tb53863844's avatar tb53863844

修改bug

上级 a0a5a5fd
...@@ -85,6 +85,7 @@ export default class isNewTable extends Component { ...@@ -85,6 +85,7 @@ export default class isNewTable extends Component {
> >
<TableCom <TableCom
taskAssignee={taskAssignee} // 提交人 taskAssignee={taskAssignee} // 提交人
userId={userId} userId={userId}
modalInit={modalInit} modalInit={modalInit}
formCode={formCode} formCode={formCode}
...@@ -93,15 +94,15 @@ export default class isNewTable extends Component { ...@@ -93,15 +94,15 @@ export default class isNewTable extends Component {
i={i} i={i}
j={j} j={j}
index={index} index={index}
getCurrentFormTitle getCurrentFormTitle={ getCurrentFormTitle}
fatherCode={fatherCode} fatherCode={fatherCode}
datas={datas} datas={datas}
isEdit={isEdit} isEdit={isEdit}
fatherObj={this.props.fatherObj} fatherObj={this.props.fatherObj}
formKey={currentFormKey} formKey={currentFormKey}
currentFormTitle currentFormTitle={currentFormTitle}
getCellValue hfInstance={hfInstance}
hfInstance getCellValue={getCellValue}
initExcel={this.props.initExcel} initExcel={this.props.initExcel}
init={init} init={init}
get={get} get={get}
...@@ -173,13 +174,13 @@ export default class isNewTable extends Component { ...@@ -173,13 +174,13 @@ export default class isNewTable extends Component {
fatherCode={fatherCode} fatherCode={fatherCode}
datas={datas} datas={datas}
isEdit={isEdit} isEdit={isEdit}
getCurrentFormTitle getCurrentFormTitle={getCurrentFormTitle}
importExcel={this.props.importExcel} importExcel={this.props.importExcel}
fatherObj={this.props.fatherObj} fatherObj={this.props.fatherObj}
formKey={currentFormKey} formKey={currentFormKey}
currentFormTitle currentFormTitle={currentFormTitle}
hfInstance hfInstance={hfInstance}
getCellValue getCellValue={getCellValue}
init={init} init={init}
get={get} get={get}
key={j} key={j}
...@@ -222,13 +223,13 @@ export default class isNewTable extends Component { ...@@ -222,13 +223,13 @@ export default class isNewTable extends Component {
datas={datas} datas={datas}
modalInit={modalInit} modalInit={modalInit}
isEdit={isEdit} isEdit={isEdit}
getCurrentFormTitle getCurrentFormTitle={getCurrentFormTitle}
fatherObj={this.props.fatherObj} fatherObj={this.props.fatherObj}
formKey={currentFormKey} formKey={currentFormKey}
importExcel={this.props.importExcel} importExcel={this.props.importExcel}
currentFormTitle currentFormTitle={currentFormTitle}
hfInstance hfInstance={hfInstance}
getCellValue getCellValue={getCellValue}
init={init} init={init}
get={get} get={get}
key={j} key={j}
......
...@@ -116,6 +116,9 @@ export default class ChildForm extends React.Component { ...@@ -116,6 +116,9 @@ export default class ChildForm extends React.Component {
json, json,
modalInit, modalInit,
isPreview, isPreview,
hfInstance,
getCurrentFormTitle,
getCellValue
} = this.props; } = this.props;
const span = json.span || 24; const span = json.span || 24;
...@@ -146,6 +149,11 @@ export default class ChildForm extends React.Component { ...@@ -146,6 +149,11 @@ export default class ChildForm extends React.Component {
<ZdyTable <ZdyTable
key={r} key={r}
modalInit={modalInit} modalInit={modalInit}
hfInstance={hfInstance}
currentFormTitle={getCurrentFormTitle?getCurrentFormTitle(json.childFormKey):null}
getCellValue={getCellValue}
hfInstance={hfInstance}
getCellValue={getCellValue}
formCode={this.props.formCode} formCode={this.props.formCode}
formId={this.props.formId} formId={this.props.formId}
isPreview={isPreview} isPreview={isPreview}
...@@ -216,6 +224,9 @@ export default class ChildForm extends React.Component { ...@@ -216,6 +224,9 @@ export default class ChildForm extends React.Component {
<Col span={span}> <Col span={span}>
<ZdyTable <ZdyTable
modalInit={modalInit} modalInit={modalInit}
hfInstance={hfInstance}
currentFormTitle={getCurrentFormTitle?getCurrentFormTitle(json.childFormKey):null}
getCellValue={getCellValue}
formConfig={datas} formConfig={datas}
key={r} key={r}
fatherCode={base52} fatherCode={base52}
......
...@@ -1485,7 +1485,7 @@ export default class tableCom extends Component { ...@@ -1485,7 +1485,7 @@ export default class tableCom extends Component {
if (formKey == fk) { if (formKey == fk) {
return <>片段表单key不能和自身相同</>; return <>片段表单key不能和自身相同</>;
} }
return ( return (
<> <>
{this.props.form.getFieldDecorator(this.props.uuid, { {this.props.form.getFieldDecorator(this.props.uuid, {
...@@ -1493,7 +1493,7 @@ export default class tableCom extends Component { ...@@ -1493,7 +1493,7 @@ export default class tableCom extends Component {
})(<Input type="hidden" />)}{' '} })(<Input type="hidden" />)}{' '}
<ZdyTable <ZdyTable
hfInstance={this.props.hfInstance} hfInstance={this.props.hfInstance}
currentFormTitle={this.props.getCurrentFormTitle(fk)} currentFormTitle={this.props.getCurrentFormTitle?this.props.getCurrentFormTitle(fk):null}
getCellValue={getCellValue} getCellValue={getCellValue}
taskAssignee={taskAssignee} taskAssignee={taskAssignee}
isWebPrint={this.props.isWebPrint || false} isWebPrint={this.props.isWebPrint || false}
...@@ -2202,6 +2202,10 @@ export default class tableCom extends Component { ...@@ -2202,6 +2202,10 @@ export default class tableCom extends Component {
<ChildForm <ChildForm
modalInit={modalInit} modalInit={modalInit}
isPreview={isPreview} isPreview={isPreview}
hfInstance={this.props.hfInstance}
getCurrentFormTitle={this.props.getCurrentFormTitle}
getCellValue={getCellValue}
fatherObj={obj} fatherObj={obj}
json={json} json={json}
rights={json.rights || ['add', 'delete']} rights={json.rights || ['add', 'delete']}
...@@ -2934,6 +2938,9 @@ export default class tableCom extends Component { ...@@ -2934,6 +2938,9 @@ export default class tableCom extends Component {
})( })(
<ChildForm <ChildForm
rights={json.rights || []} rights={json.rights || []}
hfInstance={this.props.hfInstance}
getCurrentFormTitle={this.props.getCurrentFormTitle}
getCellValue={getCellValue}
isMobile={get === 'mobile'} isMobile={get === 'mobile'}
fatherObj={obj} fatherObj={obj}
isPreview={isPreview} isPreview={isPreview}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论