|
|
@@ -361,7 +361,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
changeBuildTime() {
|
|
|
- console.log(this.formData.planCycle, "this.formData.planCycle");
|
|
|
+ // console.log(this.formData.planCycle, "this.formData.planCycle");
|
|
|
const dateObj = new Date(); // 获取当前时间对象
|
|
|
switch (this.formData.planCycle) {
|
|
|
case "2":
|
|
|
@@ -414,10 +414,11 @@ export default {
|
|
|
},
|
|
|
//编辑内容判断
|
|
|
isChildren() {
|
|
|
- if (
|
|
|
+ // console.log(this.formData.distributePlanStatus,"distributePlanStatus")
|
|
|
+ if (this.formData.distributePlanStatus!=1&&(
|
|
|
this.formData.hasEdit != 1 ||
|
|
|
this.id == null
|
|
|
- ) {
|
|
|
+ )) {
|
|
|
return false;
|
|
|
} else return true;
|
|
|
},
|
|
|
@@ -601,7 +602,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleChange(value) {
|
|
|
- console.log(value);
|
|
|
+ // console.log(value);
|
|
|
this.count = value;
|
|
|
},
|
|
|
async refresh(id, other) {
|
|
|
@@ -611,7 +612,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onSelect(selectList) {
|
|
|
- console.log(selectList);
|
|
|
+ // console.log(selectList);
|
|
|
if (this.tableData == null) {
|
|
|
this.tableData = [];
|
|
|
}
|
|
|
@@ -650,10 +651,10 @@ export default {
|
|
|
this.tableData = null;
|
|
|
this.formData.itemList = null;
|
|
|
await this.refresh(id, other);
|
|
|
- console.log(id);
|
|
|
+ // console.log(id);
|
|
|
if (id !== undefined) {
|
|
|
await api.get(id).then((res) => {
|
|
|
- console.log(res, "res");
|
|
|
+ // console.log(res, "res");
|
|
|
this.tableData = res.data.itemList;
|
|
|
});
|
|
|
}
|
|
|
@@ -687,7 +688,7 @@ export default {
|
|
|
if (!this.tableData) {
|
|
|
return [];
|
|
|
} else {
|
|
|
- console.log();
|
|
|
+ // console.log();
|
|
|
return this.tableData.map((d) => d.id);
|
|
|
}
|
|
|
},
|