diff --git a/src/pages/plan/knockGold/index.jsx b/src/pages/plan/knockGold/index.jsx index 851ed4b4..da3b070a 100644 --- a/src/pages/plan/knockGold/index.jsx +++ b/src/pages/plan/knockGold/index.jsx @@ -35,8 +35,8 @@ const getTimeList = [ { key: '2', text: '自定义时间' } ] const cardTypeList = [ - { key: 1, text: '借记卡' }, - { key: 2, text: '信用卡' } + { key: '1', text: '借记卡' }, + { key: '2', text: '信用卡' } ] const receiveTypeList = [ @@ -134,7 +134,10 @@ export default class addKnockGold extends Component { model[key] = this.props.data[key] } model.early_per = this.props.data.early_per.map((item) => String(item)) - model.receive_type = this.props.data.receive_conf.type + model.channel = String(this.props.data.channel) + model.natural_limit = String(this.props.data.natural_limit) + model.brush_limit = String(this.props.data.brush_limit) + model.card_type = this.props.data.card_type.map((item) => String(item)) model.receive_number = this.props.data.receive_conf.num model.timer[0] = this.props.data.time_limit.receive_time.start_time model.timer[1] = this.props.data.time_limit.receive_time.end_time