From 86646c63e7dfd0c45e58f657b1a43331f3c0e61d Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 6 Jun 2022 11:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=AB=8B=E5=87=8F?= =?UTF-8?q?=E9=87=91=E7=BC=96=E8=BE=91=E5=9B=9E=E6=98=BE=E6=97=B6=20?= =?UTF-8?q?=E4=B8=AA=E5=88=AB=E5=AD=97=E6=AE=B5=E5=9B=A0=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8D=E7=BB=9F=E4=B8=80=20=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E4=B8=8D=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E8=BF=9B=E8=A1=8C=E7=BB=9F=E4=B8=80=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/plan/knockGold/index.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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