|
|
|
@ -2537,6 +2537,7 @@ export default { |
|
|
|
*/ |
|
|
|
addModal() { |
|
|
|
this.searchDelegateAccessByUser(); |
|
|
|
this.modalData.createBy = this.$store.state.user.name |
|
|
|
this.modalDisableFlag = false |
|
|
|
this.modalFlag = true |
|
|
|
}, |
|
|
|
@ -2599,6 +2600,7 @@ export default { |
|
|
|
this.modalDisableFlag = true |
|
|
|
this.modalFlag = true |
|
|
|
}, |
|
|
|
|
|
|
|
async getDetailData(row) { |
|
|
|
this.detailVisible = true |
|
|
|
await this.getNodeAuthority(row) |
|
|
|
@ -2659,13 +2661,12 @@ export default { |
|
|
|
* 获取项目物料列表 |
|
|
|
*/ |
|
|
|
openModalDialog() { |
|
|
|
this.modalData.createBy = this.$store.state.user.name |
|
|
|
if (this.modalData.proofingNo) { |
|
|
|
this.searchDelegateAccess(); |
|
|
|
} |
|
|
|
if (this.modalData.flag !== '1'){ |
|
|
|
this.projectPartData.testPartNo = this.modalData.testPartNo; |
|
|
|
}else { |
|
|
|
} else { |
|
|
|
this.projectPartData.testPartNo = ''; |
|
|
|
} |
|
|
|
this.getProjectPartList(); |
|
|
|
@ -2725,7 +2726,7 @@ export default { |
|
|
|
* 客户信息新增/编辑 |
|
|
|
*/ |
|
|
|
saveData() { |
|
|
|
|
|
|
|
console.log(this.modalData) |
|
|
|
this.$refs.modalForm.validate((valid, obj) => { |
|
|
|
if (!valid) { |
|
|
|
let i = 1; |
|
|
|
|