From b884dc68ebf27a8def32bf728ae32b205f60aed9 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 31 Aug 2022 09:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=91=E6=8D=A2=E7=A0=81?= =?UTF-8?q?=E7=BC=96=E8=BE=91title=E5=B1=95=E7=A4=BA=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=85=91=E6=8D=A2=E7=A0=81=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8F=91=E6=94=BE=E6=80=BB=E9=87=8F=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/exchangecodeAdd/utils.js | 5 +++-- src/pages/exchangecode/list/list.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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) }