diff --git a/src/pages/plan/knockGold/index.jsx b/src/pages/plan/knockGold/index.jsx index 61638750..17b055a7 100644 --- a/src/pages/plan/knockGold/index.jsx +++ b/src/pages/plan/knockGold/index.jsx @@ -285,12 +285,14 @@ export default class addKnockGold extends Component { if (this.limitFunction() === false) { return false } + /* 兼容老数据 */ if (this.props.data?.goods_id) { temp[index] = Object.assign({ ...this.state.model.origin, ...this.transformDataCode() }) } else { + /* 新增编辑 */ temp[index] = this.transformDataCode() }