|
@@ -1035,23 +1035,23 @@ export default {
|
|
|
.catch(() => {});
|
|
|
return false;
|
|
|
}
|
|
|
- if (
|
|
|
- new Date(this.dueForm.deadDate).getTime() <
|
|
|
- new Date(this.dueForm.startTime).getTime()
|
|
|
- ) {
|
|
|
- this.$confirm(
|
|
|
- "尽调财务数据截止日期不能小于期望尽调开始时间,请重新选择!",
|
|
|
- "提示",
|
|
|
- {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- }
|
|
|
- )
|
|
|
- .then(() => {})
|
|
|
- .catch(() => {});
|
|
|
- return false;
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // new Date(this.dueForm.deadDate).getTime() <
|
|
|
+ // new Date(this.dueForm.startTime).getTime()
|
|
|
+ // ) {
|
|
|
+ // this.$confirm(
|
|
|
+ // "尽调财务数据截止日期不能小于期望尽调开始时间,请重新选择!",
|
|
|
+ // "提示",
|
|
|
+ // {
|
|
|
+ // confirmButtonText: "确定",
|
|
|
+ // cancelButtonText: "取消",
|
|
|
+ // type: "warning",
|
|
|
+ // }
|
|
|
+ // )
|
|
|
+ // .then(() => {})
|
|
|
+ // .catch(() => {});
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
if (this.dueForm.id != null) {
|
|
|
updateInvestigate(this.dueForm).then((response) => {
|
|
|
this.$modal.msgSuccess("修改成功");
|