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