Merge branch 'couponV1.5' of https://codeup.aliyun.com/5f9118049cffa29cfdd3be1c/marketing/frontend into couponV1.5
This commit is contained in:
commit
76d5fbd79f
|
@ -57,7 +57,7 @@ export default class exchangeAdd extends React.Component {
|
||||||
|
|
||||||
/* 编辑和复制时才调用 */
|
/* 编辑和复制时才调用 */
|
||||||
if (isState) {
|
if (isState) {
|
||||||
this.getDetailFunction()
|
this.getDetailFunction(isState)
|
||||||
} else {
|
} else {
|
||||||
sessionStorage.setItem("productData", [])
|
sessionStorage.setItem("productData", [])
|
||||||
sessionStorage.setItem("knockGoldData", [])
|
sessionStorage.setItem("knockGoldData", [])
|
||||||
|
@ -120,11 +120,11 @@ export default class exchangeAdd extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 编辑处理数据 */
|
/* 编辑处理数据 */
|
||||||
getDetailFunction() {
|
getDetailFunction(isState) {
|
||||||
let approval_id = sessionStorage.getItem("approval_id")
|
let approval_id = sessionStorage.getItem("approval_id")
|
||||||
let approval_status = sessionStorage.getItem("approval_status")
|
let approval_status = sessionStorage.getItem("approval_status")
|
||||||
/* 判断是否是在审批中、状态是否时编辑 */
|
/* 判断是否是在审批中、状态是否时编辑 */
|
||||||
if (Number(approval_id) > 0 && this.state.isState === 2) {
|
if (Number(approval_id) > 0 && isState === 2) {
|
||||||
//此处为审核中
|
//此处为审核中
|
||||||
getApprovalsInfo(approval_id)
|
getApprovalsInfo(approval_id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
|
@ -178,7 +178,7 @@ export default class acclist extends React.Component {
|
||||||
} else if (type === 2) {
|
} else if (type === 2) {
|
||||||
activerou[0].pagetitle = "编辑"
|
activerou[0].pagetitle = "编辑"
|
||||||
activerou[0].items[1].name = `编辑:${param.title}兑换码的商品范围列表`
|
activerou[0].items[1].name = `编辑:${param.title}兑换码的商品范围列表`
|
||||||
sessionStorage.setItem("approval_id", param.keyBatch.approval_id)
|
sessionStorage.setItem("approval_id", param.approval_id)
|
||||||
sessionStorage.setItem("approval_status", param.status)
|
sessionStorage.setItem("approval_status", param.status)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue