fix: 修复计划编辑的时候,包码切换报错问题
This commit is contained in:
parent
242c743d62
commit
53f47e1ca3
|
@ -234,14 +234,20 @@ export default class add extends React.Component {
|
|||
setTlementType = (type) => {
|
||||
this.setState({ isSettlement: type })
|
||||
this.setState({ keys: ["step2-0"] })
|
||||
|
||||
if (this.refs["step2-0"]) {
|
||||
this.refs["step2-0"].clearTableData()
|
||||
}
|
||||
}
|
||||
|
||||
// 设置 包码数据
|
||||
setTlementData = (data) => {
|
||||
this.setState({ settlementData: data })
|
||||
this.setState({ keys: ["step2-0"] })
|
||||
if (this.refs["step2-0"]) {
|
||||
this.refs["step2-0"].clearTableData()
|
||||
}
|
||||
}
|
||||
|
||||
async onNextStep() {
|
||||
if (this.state.curstep >= 1) {
|
||||
|
|
Loading…
Reference in New Issue