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

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.prcNum = this.prcNum;
this.qdform.prcName = this.prcName; this.qdform.prcName = this.prcName;
this.qdform["id"] = item.id; this.qdform["id"] = item.id;
this.projectId = item.projectId; // this.projectId = item.projectId;
this.detailedId = item.detailedListId; this.detailedId = item.detailedListId;
this.getStandData(); // this.getStandData();
this.getStand(); this.getStand();
}); });
}, },
//查询清单下的标准 //查询清单下的标准
getStandData() { // getStandData() {
this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, { // this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId, cars: '1', }, {
_this: this // _this: this
}, res => { // }, res => {
this.dataList = res.data.records; // this.dataList = res.data.records;
this.dataList.forEach(item => { // this.dataList.forEach(item => {
// 责任部门转换 // // 责任部门转换
if (item.zrbm !== null || item.zrbm !== "") { // if (item.zrbm !== null || item.zrbm !== "") {
let k = (item.zrbm || "").split(","); // let k = (item.zrbm || "").split(",");
for (let i in this.zrbmOptions) { // for (let i in this.zrbmOptions) {
for (let m = 0; m < k.length; m++) { // for (let m = 0; m < k.length; m++) {
if (this.zrbmOptions[i].value === k[m]) { // if (this.zrbmOptions[i].value === k[m]) {
k[m] = this.zrbmOptions[i].label; // k[m] = this.zrbmOptions[i].label;
} // }
item.zrbm = k.join(","); // item.zrbm = k.join(",");
} // }
} // }
} // }
}); // });
}); // });
}, // },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
this.isSubmit = true; this.isSubmit = true;