|
|
@ -384,7 +384,7 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 20px;"> |
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: 20px;"> |
|
|
<el-form-item prop="cQualityEngineer4Name" :rules="rules.cQualityEngineer4Name"> |
|
|
|
|
|
|
|
|
<el-form-item prop="cQualityEngineer4Name" :rules="rules.cQualityEngineer4Name"> |
|
|
<span slot="label" style="" class="big-label"> |
|
|
<span slot="label" style="" class="big-label"> |
|
|
<a herf="#" @click="getBaseList(2006)">SQE</a> |
|
|
<a herf="#" @click="getBaseList(2006)">SQE</a> |
|
|
</span> |
|
|
</span> |
|
|
@ -394,6 +394,12 @@ |
|
|
<span slot="label" style="" @click="docEngineerFlag = true" class="big-label"><a herf="#">文档工程师</a></span> |
|
|
<span slot="label" style="" @click="docEngineerFlag = true" class="big-label"><a herf="#">文档工程师</a></span> |
|
|
<el-input v-model="modalData.docEngineerName" disabled style="width: 151px"></el-input> |
|
|
<el-input v-model="modalData.docEngineerName" disabled style="width: 151px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item prop="ipqcHardTagName" style="margin-left: 15px"> |
|
|
|
|
|
<span slot="label" style="" class="big-label"> |
|
|
|
|
|
<a herf="#" @click="getBaseList(2010)">IPQC-Hardtag</a> |
|
|
|
|
|
</span> |
|
|
|
|
|
<el-input v-model="modalData.ipqcHardTagName" disabled style="width: 191px"></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> |
|
|
@ -1063,6 +1069,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
docEngineerName:'', |
|
|
docEngineerName:'', |
|
|
engineer:'', |
|
|
engineer:'', |
|
|
engineerName:'', |
|
|
engineerName:'', |
|
|
|
|
|
ipqcHardTag:'', |
|
|
|
|
|
ipqcHardTagName:'', |
|
|
//projectCreationDate为当前服务器的时间 |
|
|
//projectCreationDate为当前服务器的时间 |
|
|
projectCreationDate: new Date(), |
|
|
projectCreationDate: new Date(), |
|
|
finalPartNo:'', |
|
|
finalPartNo:'', |
|
|
@ -1508,6 +1516,24 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120, |
|
|
columnWidth: 120, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 401003, |
|
|
|
|
|
serialNumber: '401003Table1IpqcHardTag', |
|
|
|
|
|
tableId: "401003Table1", |
|
|
|
|
|
tableName: "项目信息表", |
|
|
|
|
|
columnProp: 'ipqcHardTagName', |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: 'IPQC-Hardtag', |
|
|
|
|
|
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, |
|
|
@ -1961,6 +1987,24 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 120, |
|
|
columnWidth: 120, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 401003, |
|
|
|
|
|
serialNumber: '401003Table2IpqcHardTagName', |
|
|
|
|
|
tableId: "401003Table2", |
|
|
|
|
|
tableName: "项目信息物料表", |
|
|
|
|
|
columnProp: 'ipqcHardTagName', |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: 'IPQC-Hardtag', |
|
|
|
|
|
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, |
|
|
@ -2525,15 +2569,15 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (val === 509 ) { |
|
|
if (val === 509 ) { |
|
|
strVal = this.modalData.customerNo ? this.modalData.customerNo : '' |
|
|
strVal = this.modalData.customerNo ? this.modalData.customerNo : '' |
|
|
} |
|
|
} |
|
|
if (val === 2006 ) { |
|
|
|
|
|
conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
} |
|
|
|
|
|
if (val === 2007 ) { |
|
|
|
|
|
conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
} |
|
|
|
|
|
if (val === 2008 ) { |
|
|
|
|
|
conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// if (val === 2006 ) { |
|
|
|
|
|
// conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
// } |
|
|
|
|
|
// if (val === 2007 ) { |
|
|
|
|
|
// conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
// } |
|
|
|
|
|
// if (val === 2008 ) { |
|
|
|
|
|
// conSql = " and b.site = '" + this.$store.state.user.site + "'" |
|
|
|
|
|
// } |
|
|
this.$refs.baseList.init(val, strVal,conSql) |
|
|
this.$refs.baseList.init(val, strVal,conSql) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
@ -2571,6 +2615,15 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
if (this.tagNo === 2010) { |
|
|
|
|
|
this.modalData.ipqcHardTag = val.username + '-' + val.user_display |
|
|
|
|
|
this.modalData.ipqcHardTagName = this.modalData.ipqcHardTag.split('-')[1] |
|
|
|
|
|
searchBusinessInfo7(this.searchBusinessData7).then(({data}) => { |
|
|
|
|
|
if (data && data.code === 0){ |
|
|
|
|
|
this.businessDataList7 = data.rows; |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
newCustomer () { |
|
|
newCustomer () { |
|
|
@ -2729,6 +2782,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.cQualityEngineer6 !== null && item.cQualityEngineer6 !== '') { |
|
|
if (item.cQualityEngineer6 !== null && item.cQualityEngineer6 !== '') { |
|
|
item.cQualityEngineer6Name = item.cQualityEngineer6.split('-')[1]; |
|
|
item.cQualityEngineer6Name = item.cQualityEngineer6.split('-')[1]; |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.ipqcHardTag !== null && item.ipqcHardTag !== '') { |
|
|
|
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1]; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
for (let i = 0; i < this.exportList.length; i++) { |
|
|
for (let i = 0; i < this.exportList.length; i++) { |
|
|
@ -2762,6 +2818,10 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (this.exportList[i].cQualityEngineer6 !== null && this.exportList[i].cQualityEngineer6 !== '') { |
|
|
if (this.exportList[i].cQualityEngineer6 !== null && this.exportList[i].cQualityEngineer6 !== '') { |
|
|
this.exportList[i].projectLeader = this.exportList[i].cQualityEngineer6.split("-")[1]; |
|
|
this.exportList[i].projectLeader = this.exportList[i].cQualityEngineer6.split("-")[1]; |
|
|
} |
|
|
} |
|
|
|
|
|
} else if (this.exportList[i].responsibleDepartment === 'R015') { |
|
|
|
|
|
if (this.exportList[i].ipqcHardTag !== null && this.exportList[i].ipqcHardTag !== '') { |
|
|
|
|
|
this.exportList[i].projectLeader = this.exportList[i].ipqcHardTag.split("-")[1]; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
@ -2825,6 +2885,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
|
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 获取全部人员信息用于下拉框 |
|
|
// 获取全部人员信息用于下拉框 |
|
|
@ -2894,6 +2957,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
|
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// 获取全部人员信息用于下拉框 |
|
|
// 获取全部人员信息用于下拉框 |
|
|
@ -3041,6 +3107,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineerName: '', |
|
|
cManufactureEngineerName: '', |
|
|
docEngineer: '', |
|
|
docEngineer: '', |
|
|
docEngineerName: '', |
|
|
docEngineerName: '', |
|
|
|
|
|
ipqcHardTag: '', |
|
|
|
|
|
ipqcHardTagName: '', |
|
|
projectCreationDate:new Date(), |
|
|
projectCreationDate:new Date(), |
|
|
createDate: '', |
|
|
createDate: '', |
|
|
// active: 'Y', |
|
|
// active: 'Y', |
|
|
@ -3086,6 +3154,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
|
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
status: row.status, |
|
|
status: row.status, |
|
|
// active: row.active, |
|
|
// active: row.active, |
|
|
@ -3104,6 +3173,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
|
|
|
this.modalData.ipqcHardTagName= row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = false |
|
|
this.modalPartDisableFlag = false |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
@ -3259,6 +3331,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
|
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3331,6 +3404,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
|
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3407,6 +3481,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cQualityEngineer6: this.modalData.cQualityEngineer6, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
cManufactureEngineer: this.modalData.cManufactureEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
docEngineer: this.modalData.docEngineer, |
|
|
|
|
|
ipqcHardTag: this.modalData.ipqcHardTag, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
projectCreationDate: this.modalData.projectCreationDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createDate: this.modalData.createDate, |
|
|
createBy: this.modalData.createBy, |
|
|
createBy: this.modalData.createBy, |
|
|
@ -3768,6 +3843,8 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
this.modalData.cManufactureEngineerName = '' |
|
|
this.modalData.cManufactureEngineerName = '' |
|
|
this.modalData.docEngineer = '' |
|
|
this.modalData.docEngineer = '' |
|
|
this.modalData.docEngineerName = '' |
|
|
this.modalData.docEngineerName = '' |
|
|
|
|
|
this.modalData.ipqcHardTag = '' |
|
|
|
|
|
this.modalData.ipqcHardTagName = '' |
|
|
this.modalData.projectCreationDate = new Date() |
|
|
this.modalData.projectCreationDate = new Date() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
@ -3805,6 +3882,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
if (item.docEngineer != null && item.docEngineer !== ''){ |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
item.docEngineerName = item.docEngineer.split('-')[1] |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.ipqcHardTag != null && item.ipqcHardTag !== ''){ |
|
|
|
|
|
item.ipqcHardTagName = item.ipqcHardTag.split('-')[1] |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
@ -3845,6 +3925,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
|
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
projectCreationDate: row.projectCreationDate, |
|
|
status: '草稿', |
|
|
status: '草稿', |
|
|
partType: 'Active', |
|
|
partType: 'Active', |
|
|
@ -3872,6 +3953,11 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
} else { |
|
|
} else { |
|
|
this.modalData.docEngineer = '' |
|
|
this.modalData.docEngineer = '' |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
|
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
} else { |
|
|
|
|
|
this.modalData.ipqcHardTag = '' |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
@ -3912,6 +3998,7 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineer: row.cManufactureEngineer, |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
cManufactureEngineerName: row.cManufactureEngineer.split('-')[1], // 截取用户名 |
|
|
docEngineer: row.docEngineer, |
|
|
docEngineer: row.docEngineer, |
|
|
|
|
|
ipqcHardTag: row.ipqcHardTag, |
|
|
projectCreationDate: row.buildDate, |
|
|
projectCreationDate: row.buildDate, |
|
|
status: row.status, |
|
|
status: row.status, |
|
|
partType: row.partType, |
|
|
partType: row.partType, |
|
|
@ -3931,6 +4018,9 @@ import {updateColumnSize} from "../../../api/table"; |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
if (row.docEngineer != null && row.docEngineer !== ''){ |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
this.modalData.docEngineerName= row.docEngineer.split('-')[1] // 截取用户名 |
|
|
} |
|
|
} |
|
|
|
|
|
if (row.ipqcHardTag != null && row.ipqcHardTag !== ''){ |
|
|
|
|
|
this.modalData.ipqcHardTagName = row.ipqcHardTag.split('-')[1] // 截取用户名 |
|
|
|
|
|
} |
|
|
this.modalDisableFlag = true |
|
|
this.modalDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalPartDisableFlag = true |
|
|
this.modalFlag = true |
|
|
this.modalFlag = true |
|
|
|