处理bug-合同管理-当导入项目为null时页面无法正常显示施工单位等信息
This commit is contained in:
parent
f69c2031ba
commit
56e05efff1
|
@ -1192,7 +1192,9 @@ export default {
|
||||||
}
|
}
|
||||||
this.approval = res.approval;
|
this.approval = res.approval;
|
||||||
this.projectIds = res.projectId;
|
this.projectIds = res.projectId;
|
||||||
this.ids = res.projectId.split(",");
|
if(res.projectId !=null){
|
||||||
|
this.ids = res.projectId.split(",");
|
||||||
|
}
|
||||||
this.dataExcelForm.id = res.contractSsjd;
|
this.dataExcelForm.id = res.contractSsjd;
|
||||||
//直非友
|
//直非友
|
||||||
this.dicZFYList.forEach((item) => {
|
this.dicZFYList.forEach((item) => {
|
||||||
|
@ -1273,14 +1275,14 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//console.log(this.dataExcelForm.contractJxfpPhoto);
|
//console.log(this.dataExcelForm.contractJxfpPhoto);
|
||||||
if (this.dataExcelForm.contractJxfpPhoto !== null && this.dataForm.contractJxfpPhoto !== "" && this.dataForm.contractJxfpPhoto !== undefined) {
|
// if (this.dataExcelForm.contractJxfpPhoto !== null && this.dataForm.contractJxfpPhoto !== "" && this.dataForm.contractJxfpPhoto !== undefined) {
|
||||||
this.$http.request({
|
// this.$http.request({
|
||||||
url: this.$http.adornUrl('/sys/oss/list' + "?filePath=" + this.dataForm.contractJxfpPhoto),
|
// url: this.$http.adornUrl('/sys/oss/list' + "?filePath=" + this.dataForm.contractJxfpPhoto),
|
||||||
method: 'get',
|
// method: 'get',
|
||||||
}).then(({data}) => {
|
// }).then(({data}) => {
|
||||||
this.files.push(data.replace(/[\r\n]/g, ""));
|
// this.files.push(data.replace(/[\r\n]/g, ""));
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
} else{
|
} else{
|
||||||
this.dataExcelForm.id = '';
|
this.dataExcelForm.id = '';
|
||||||
this.dataExcelForm.contractId = this.dataForm.id
|
this.dataExcelForm.contractId = this.dataForm.id
|
||||||
|
|
Loading…
Reference in New Issue