1) 修复营销计划时间不改变文件
This commit is contained in:
parent
3405ba0312
commit
1fb4c8e050
|
@ -539,7 +539,7 @@ export default class acclist extends React.Component {
|
|||
};
|
||||
|
||||
onDisabledRange = (date, type) => {
|
||||
let step1 = JSON.parse(sessionStorage.getItem("step1"));
|
||||
let step1 = JSON.parse(sessionStorage.getItem("knockGold_effectDate"));
|
||||
let isdisabled = false;
|
||||
let str = moment(date).format("YYYY-MM-DD HH:mm:ss");
|
||||
if (type == "start") {
|
||||
|
|
|
@ -7,17 +7,11 @@ import _ from "lodash";
|
|||
import {
|
||||
Button,
|
||||
Icon,
|
||||
BlockLoading,
|
||||
Notify,
|
||||
Alert,
|
||||
Switch,
|
||||
Dropdown,
|
||||
DropdownPosition,
|
||||
DropdownClickTrigger,
|
||||
Input,
|
||||
RadioGroup,
|
||||
CombinedDateRangePicker,
|
||||
Radio,
|
||||
MenuItem,
|
||||
DropdownContent,
|
||||
Menu,
|
||||
|
@ -389,10 +383,10 @@ const UseKeyList = () => {
|
|||
let grantTotal = 0;
|
||||
let surplusTotal = 0;
|
||||
let usageTotal = 0;
|
||||
let usage_total = 0;
|
||||
let silent_total = 0;
|
||||
let invalidTotal = 0;
|
||||
let outdateTotal = 0;
|
||||
// let usage_total = 0;
|
||||
// let silent_total = 0;
|
||||
data.forEach((item) => {
|
||||
grantTotal += Number(item.total);
|
||||
surplusTotal += Number(item.residue);
|
||||
|
@ -400,8 +394,8 @@ const UseKeyList = () => {
|
|||
outdateTotal += Number(item.overdue);
|
||||
invalidTotal += Number(item.invalid);
|
||||
|
||||
usage_total += Number(item.usage_total);
|
||||
silent_total += Number(item.silent_total);
|
||||
// usage_total += Number(item.usage_total);
|
||||
// silent_total += Number(item.silent_total);
|
||||
});
|
||||
setState({
|
||||
grantTotal,
|
||||
|
|
Loading…
Reference in New Issue