项目清单确认流程修改(+)

This commit is contained in:
yanyizhou
2021-08-31 16:01:07 +08:00
parent b6812e7843
commit 510811ede8
@@ -499,34 +499,34 @@ export default {
this.qdform.prcNum = this.prcNum;
this.qdform.prcName = this.prcName;
this.qdform["id"] = item.id;
this.projectId = item.projectId;
// this.projectId = item.projectId;
this.detailedId = item.detailedListId;
this.getStandData();
// this.getStandData();
this.getStand();
});
},
//查询清单下的标准
getStandData() {
this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, {
_this: this
}, res => {
this.dataList = res.data.records;
this.dataList.forEach(item => {
// 责任部门转换
if (item.zrbm !== null || item.zrbm !== "") {
let k = (item.zrbm || "").split(",");
for (let i in this.zrbmOptions) {
for (let m = 0; m < k.length; m++) {
if (this.zrbmOptions[i].value === k[m]) {
k[m] = this.zrbmOptions[i].label;
}
item.zrbm = k.join(",");
}
}
}
});
});
},
// getStandData() {
// this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, {
// _this: this
// }, res => {
// this.dataList = res.data.records;
// this.dataList.forEach(item => {
// // 责任部门转换
// if (item.zrbm !== null || item.zrbm !== "") {
// let k = (item.zrbm || "").split(",");
// for (let i in this.zrbmOptions) {
// for (let m = 0; m < k.length; m++) {
// if (this.zrbmOptions[i].value === k[m]) {
// k[m] = this.zrbmOptions[i].label;
// }
// item.zrbm = k.join(",");
// }
// }
// }
// });
// });
// },
//提交事件
handleSubmit() {
this.isSubmit = true;