修复 【兑换码管理】编辑立减金商品页面,加款成功后,点击页面的取消按钮,充值批次金额也应该被保存
This commit is contained in:
parent
4891721bc2
commit
7663f0d21b
|
@ -241,6 +241,12 @@ export default class exchangedit extends React.Component {
|
||||||
})
|
})
|
||||||
.catch((err) => {})
|
.catch((err) => {})
|
||||||
} else {
|
} else {
|
||||||
|
this.getTableList()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
getTableList() {
|
||||||
|
let code_batch_id = sessionStorage.getItem('code_id')
|
||||||
getCodesDetail(code_batch_id)
|
getCodesDetail(code_batch_id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
handelResponse(
|
handelResponse(
|
||||||
|
@ -309,7 +315,6 @@ export default class exchangedit extends React.Component {
|
||||||
})
|
})
|
||||||
.catch((err) => {})
|
.catch((err) => {})
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* 转换数据 */
|
/* 转换数据 */
|
||||||
transFormData(reqCopy) {
|
transFormData(reqCopy) {
|
||||||
|
@ -1360,6 +1365,7 @@ export default class exchangedit extends React.Component {
|
||||||
<Button
|
<Button
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
this.setState({ drawerVisible2: false })
|
this.setState({ drawerVisible2: false })
|
||||||
|
this.getTableList()
|
||||||
}}>
|
}}>
|
||||||
取消
|
取消
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Reference in New Issue