|
@@ -1218,14 +1218,14 @@ class ChangeApply extends Component {
|
|
}).done(
|
|
}).done(
|
|
function (data) {
|
|
function (data) {
|
|
this.setState({
|
|
this.setState({
|
|
- loading: false
|
|
|
|
|
|
+ loading: false,
|
|
});
|
|
});
|
|
if (!data.error.length) {
|
|
if (!data.error.length) {
|
|
message.success("保存成功!");
|
|
message.success("保存成功!");
|
|
this.setState({
|
|
this.setState({
|
|
cuiFlag: false,
|
|
cuiFlag: false,
|
|
boFlag: false,
|
|
boFlag: false,
|
|
- addFlag: false
|
|
|
|
|
|
+ addFlag: false,
|
|
});
|
|
});
|
|
this.cuiList();
|
|
this.cuiList();
|
|
} else {
|
|
} else {
|
|
@@ -1246,10 +1246,11 @@ class ChangeApply extends Component {
|
|
waitDay: record.waitDay,
|
|
waitDay: record.waitDay,
|
|
effectiveCount: record.effectiveCount,
|
|
effectiveCount: record.effectiveCount,
|
|
cid: this.state.data.id, //变更ID
|
|
cid: this.state.data.id, //变更ID
|
|
- ustomizeTimes:
|
|
|
|
- record.dunType == 0 ? record.customizeTimes : undefined,
|
|
|
|
- customizeName: record.dunType == 0 ? record.customizeName : undefined,
|
|
|
|
- },
|
|
|
|
|
|
+ customizeTimes:
|
|
|
|
+ record.dunType == 0 ? record.customizeTimes : undefined,
|
|
|
|
+ customizeName:
|
|
|
|
+ record.dunType == 0 ? record.customizeName : undefined,
|
|
|
|
+ }
|
|
}).done(
|
|
}).done(
|
|
function (data) {
|
|
function (data) {
|
|
this.setState({
|
|
this.setState({
|