|
|
@ -400,6 +400,14 @@ |
|
|
</span> |
|
|
</span> |
|
|
<el-input v-model="modalData.ipqcHardTagName" disabled style="width: 191px"></el-input> |
|
|
<el-input v-model="modalData.ipqcHardTagName" disabled style="width: 191px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item prop="cQualityEngineer7Name" style="margin-left: 15px"> |
|
|
|
|
|
<template> |
|
|
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
|
|
<a herf="#" @click="getBaseList(2012)">前道工程师</a> |
|
|
|
|
|
</span> |
|
|
|
|
|
</template> |
|
|
|
|
|
<el-input v-model="modalData.cQualityEngineer7Name" disabled style="width: 151px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
<el-button type="primary" @click="saveData()">保存</el-button> |
|
|
<el-button type="primary" @click="saveData()">保存</el-button> |
|
|
@ -1071,6 +1079,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
engineerName:'', |
|
|
engineerName:'', |
|
|
ipqcHardTag:'', |
|
|
ipqcHardTag:'', |
|
|
ipqcHardTagName:'', |
|
|
ipqcHardTagName:'', |
|
|
|
|
|
cQualityEngineer7:'', |
|
|
|
|
|
cQualityEngineer7Name:'', |
|
|
//projectCreationDate为当前服务器的时间 |
|
|
//projectCreationDate为当前服务器的时间 |
|
|
projectCreationDate: new Date(), |
|
|
projectCreationDate: new Date(), |
|
|
finalPartNo:'', |
|
|
finalPartNo:'', |
|
|
@ -1534,6 +1544,24 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120, |
|
|
columnWidth: 120, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 401003, |
|
|
|
|
|
serialNumber: '401003Table1CQualityEngineer7Name', |
|
|
|
|
|
tableId: "401003Table1", |
|
|
|
|
|
tableName: "项目信息表", |
|
|
|
|
|
columnProp: 'cQualityEngineer7Name', |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: '前道工程师', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 401003, |
|
|
functionId: 401003, |
|
|
@ -2005,6 +2033,24 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120, |
|
|
columnWidth: 120, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 401003, |
|
|
|
|
|
serialNumber: '401003Table2CQualityEngineer7Name', |
|
|
|
|
|
tableId: "401003Table2", |
|
|
|
|
|
tableName: "项目信息物料表", |
|
|
|
|
|
columnProp: 'cQualityEngineer7Name', |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: '前道工程师', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 120, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 401003, |
|
|
functionId: 401003, |
|
|
@ -2624,6 +2670,15 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
if (this.tagNo === 2012) { |
|
|
|
|
|
this.modalData.cQualityEngineer7 = val.username + '-' + val.user_display |
|
|
|
|
|
this.modalData.cQualityEngineer7Name = this.modalData.cQualityEngineer7.split('-')[1] |
|
|
|
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
|
|
|
if (data && data.code === 0){ |
|
|
|
|
|
this.businessDataList7 = data.rows; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
newCustomer () { |
|
|
newCustomer () { |
|
|
@ -2785,6 +2840,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.ipqcHardTag !== null && item.ipqcHardTag !== '') { |
|
|
if (item.ipqcHardTag !== null && item.ipqcHardTag !== '') { |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1]; |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1]; |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.cQualityEngineer7 !== null && item.cQualityEngineer7 !== '') { |
|
|
|
|
|
item.cQualityEngineer7Name = item.cQualityEngineer7.split('-')[1]; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
for (let i = 0; i < this.exportList.length; i++) { |
|
|
for (let i = 0; i < this.exportList.length; i++) { |
|
|
@ -2822,6 +2880,10 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (this.exportList[i].ipqcHardTag !== null && this.exportList[i].ipqcHardTag !== '') { |
|
|
if (this.exportList[i].ipqcHardTag !== null && this.exportList[i].ipqcHardTag !== '') { |
|
|
this.exportList[i].projectLeader = this.exportList[i].ipqcHardTag.split("-")[1]; |
|
|
this.exportList[i].projectLeader = this.exportList[i].ipqcHardTag.split("-")[1]; |
|
|
} |
|
|
} |
|
|
|
|
|
} else if (this.exportList[i].responsibleDepartment === 'R016') { |
|
|
|
|
|
if (this.exportList[i].cQualityEngineer7 !== null && this.exportList[i].cQualityEngineer7 !== '') { |
|
|
|
|
|
this.exportList[i].projectLeader = this.exportList[i].cQualityEngineer7.split("-")[1]; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
@ -2888,6 +2950,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.cQualityEngineer7 != null && item.cQualityEngineer7 !== ''){ |
|
|
|
|
|
item.cQualityEngineer7Name = item.cQualityEngineer7.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 获取全部人员信息用于下拉框 |
|
|
// 获取全部人员信息用于下拉框 |
|
|
@ -2960,6 +3025,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.cQualityEngineer7 != null && item.cQualityEngineer7 !== ''){ |
|
|
|
|
|
item.cQualityEngineer7Name = item.cQualityEngineer7.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 获取全部人员信息用于下拉框 |
|
|
// 获取全部人员信息用于下拉框 |
|
|
@ -3109,6 +3177,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
docEngineerName: '', |
|
|
docEngineerName: '', |
|
|
ipqcHardTag: '', |
|
|
ipqcHardTag: '', |
|
|
ipqcHardTagName: '', |
|
|
ipqcHardTagName: '', |
|
|
|
|
|
cQualityEngineer7: '', |
|
|
|
|
|
cQualityEngineer7Name: '', |
|
|
projectCreationDate:new Date(), |
|
|
projectCreationDate:new Date(), |
|
|
createDate: '', |
|
|
createDate: '', |
|
|
// active: 'Y', |
|
|
// active: 'Y', |
|
|
@ -3155,6 +3225,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: row.cQualityEngineer7, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
status: row.status, |
|
|
status: row.status, |
|
|
// active: row.active, |
|
|
// active: row.active, |
|
|
@ -3176,6 +3247,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
this.modalData.ipqcHardTagName= row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
this.modalData.ipqcHardTagName= row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
|
|
|
this.modalData.cQualityEngineer7Name= row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = false |
|
|
this.modalPartDisableFlag = false |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
@ -3332,6 +3406,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: this.modalData.cQualityEngineer7, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3405,6 +3480,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: this.modalData.cQualityEngineer7, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3482,6 +3558,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: this.modalData.cQualityEngineer7, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3845,6 +3922,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
this.modalData.docEngineerName = '' |
|
|
this.modalData.docEngineerName = '' |
|
|
this.modalData.ipqcHardTag = '' |
|
|
this.modalData.ipqcHardTag = '' |
|
|
this.modalData.ipqcHardTagName = '' |
|
|
this.modalData.ipqcHardTagName = '' |
|
|
|
|
|
this.modalData.cQualityEngineer7 = '' |
|
|
|
|
|
this.modalData.cQualityEngineer7Name = '' |
|
|
this.modalData.projectCreationDate = new Date() |
|
|
this.modalData.projectCreationDate = new Date() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -3885,6 +3964,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.cQualityEngineer7 != null && item.cQualityEngineer7 !== ''){ |
|
|
|
|
|
item.cQualityEngineer7Name = item.cQualityEngineer7.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
@ -3926,6 +4008,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: row.cQualityEngineer7, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
status: '草稿', |
|
|
status: '草稿', |
|
|
partType: 'Active', |
|
|
partType: 'Active', |
|
|
@ -3958,6 +4041,11 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.ipqcHardTag = '' |
|
|
this.modalData.ipqcHardTag = '' |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
|
|
|
this.modalData.cQualityEngineer7Name = row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
} else { |
|
|
|
|
|
this.modalData.cQualityEngineer7 = '' |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
@ -3999,6 +4087,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
|
|
|
cQualityEngineer7: row.cQualityEngineer7, |
|
|
projectCreationDate: row.buildDate, |
|
|
projectCreationDate: row.buildDate, |
|
|
status: row.status, |
|
|
status: row.status, |
|
|
partType: row.partType, |
|
|
partType: row.partType, |
|
|
@ -4021,6 +4110,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.cQualityEngineer7 != null && row.cQualityEngineer7 !== ''){ |
|
|
|
|
|
this.modalData.cQualityEngineer7Name = row.cQualityEngineer7.split('-')[1] // 截取用户名 |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
|