修复 立减金回显预警值不显示问题
This commit is contained in:
parent
c6540c2655
commit
7b4daedba2
|
@ -46,7 +46,7 @@ const receiveTypeList = [
|
|||
{ key: 'dey', text: '每天' }
|
||||
]
|
||||
//预警百分比
|
||||
const earlyPerList = [70, 50, 30, 20]
|
||||
const earlyPerList = ['70', '50', '30', '20']
|
||||
const initArray = (targetNum) => {
|
||||
return Array.from({ length: targetNum }, (_, index) => index)
|
||||
}
|
||||
|
@ -133,6 +133,7 @@ export default class addKnockGold extends Component {
|
|||
for (let key in this.props.data) {
|
||||
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.receive_number = this.props.data.receive_conf.num
|
||||
model.timer[0] = this.props.data.time_limit.receive_time.start_time
|
||||
|
|
Loading…
Reference in New Issue