diff --git a/src/pages/exchangecode/exchangecodeAdd/utils.js b/src/pages/exchangecode/exchangecodeAdd/utils.js index e0653912..f8c7852f 100644 --- a/src/pages/exchangecode/exchangecodeAdd/utils.js +++ b/src/pages/exchangecode/exchangecodeAdd/utils.js @@ -1,8 +1,9 @@ //基本信息 export const codeInfo = { code_name: [{ type: "required", message: "请输入兑换码名称" }], - planId: [{ type: "required", message: "请选择营销计划" }], - keyBatchId: [{ type: "required", message: "请选择key批次" }] + planId: [{ type: "required", message: "请选择归属计划" }], + keyBatchId: [{ type: "required", message: "请选择归属Key" }], + issued: [{ type: "required", message: "请输入发放总量" }] } //基本规则 diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index 51aec778..1cc44d39 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -167,7 +167,7 @@ export default class acclist extends React.Component { /* 1:复制 2:编辑 */ if (type === 1) { activerou[0].pagetitle = "复制" - activerou[0].items[1].name = "复制:" + param.title + activerou[0].items[1].name = `复制:${param.title}` sessionStorage.setItem( "knockGold_effectDate", JSON.stringify(param.keyBatch.plan) @@ -178,7 +178,7 @@ export default class acclist extends React.Component { sessionStorage.setItem("approval_id", param.keyBatch.approval_id) } else if (type === 2) { activerou[0].pagetitle = "编辑" - activerou[0].items[1].name = param.title + "兑换码的商品范围列表" + activerou[0].items[1].name = `编辑:${param.title}兑换码的商品范围列表` sessionStorage.setItem("code_id", param.id) }