fix: 修复复制时间按计划来
This commit is contained in:
parent
0db88833c3
commit
ee05ff8e1f
|
@ -238,8 +238,6 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
|
|||
// 第一步:1.判断组件是否是 优惠券管理 couponType
|
||||
console.log("couponType =>", couponType);
|
||||
console.log("详情 =>", editData);
|
||||
let deDateTime = sessionStorage.getItem("datetime");
|
||||
console.log(deDateTime);
|
||||
if (couponType === 0) {
|
||||
// 1.1 获取归属计划下拉框数据
|
||||
await getPlanList().then((arr) => {
|
||||
|
@ -254,6 +252,10 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
|
|||
plan_row !== undefined &&
|
||||
plan_row !== "undefined"
|
||||
) {
|
||||
sessionStorage.setItem(
|
||||
"datetime",
|
||||
JSON.stringify(plan_row.key.dateTime)
|
||||
);
|
||||
setForm_info_data({
|
||||
plan_id: plan_row,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue