提交 f333d3b9 authored 作者: tb53863844's avatar tb53863844

修改bug

上级 93a0e870
......@@ -39,7 +39,9 @@ export default class isNewTable extends Component {
concealModel,
taskAssignee,
currentFormTitle,
getCellValue
getCellValue,
hfInstance,
getCurrentFormTitle
} = this.props;
if (!isEdit) {
// 展示栏 暂不做处理
......@@ -91,6 +93,7 @@ export default class isNewTable extends Component {
i={i}
j={j}
index={index}
getCurrentFormTitle
fatherCode={fatherCode}
datas={datas}
isEdit={isEdit}
......@@ -98,6 +101,8 @@ export default class isNewTable extends Component {
formKey={currentFormKey}
currentFormTitle
getCellValue
hfInstance
initExcel={this.props.initExcel}
init={init}
get={get}
key={j}
......@@ -168,9 +173,12 @@ export default class isNewTable extends Component {
fatherCode={fatherCode}
datas={datas}
isEdit={isEdit}
getCurrentFormTitle
importExcel={this.props.importExcel}
fatherObj={this.props.fatherObj}
formKey={currentFormKey}
currentFormTitle
hfInstance
getCellValue
init={init}
get={get}
......@@ -214,9 +222,12 @@ export default class isNewTable extends Component {
datas={datas}
modalInit={modalInit}
isEdit={isEdit}
getCurrentFormTitle
fatherObj={this.props.fatherObj}
formKey={currentFormKey}
importExcel={this.props.importExcel}
currentFormTitle
hfInstance
getCellValue
init={init}
get={get}
......
......@@ -1144,6 +1144,7 @@ export default class tableCom extends Component {
moment: moment,
sql: this.sqlUtil.bind(this, base52, json, callback),
message: message,
importExcel:this.props.importExcel,
router: router,
uuid: UUID,
setValues: this.setValues.bind(this, base52, json),
......@@ -1483,12 +1484,16 @@ export default class tableCom extends Component {
if (formKey == fk) {
return <>片段表单key不能和自身相同</>;
}
return (
<>
{this.props.form.getFieldDecorator(this.props.uuid, {
initialValue: fk,
})(<Input type="hidden" />)}{' '}
<ZdyTable
hfInstance={this.props.hfInstance}
currentFormTitle={this.props.getCurrentFormTitle(fk)}
getCellValue={getCellValue}
taskAssignee={taskAssignee}
isWebPrint={this.props.isWebPrint || false}
userId={userId}
......@@ -2571,7 +2576,6 @@ export default class tableCom extends Component {
break;
case 'Select':
console.log();
cm = getFieldDecorator(dataColumn.base52, {
initialValue: initValue,
rules:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论