02-12
This commit is contained in:
@@ -456,12 +456,16 @@ export default {
|
||||
for (let i = 0; i < this.零件图号.length; i++) {
|
||||
getTable2(this.checkbox_project, this.project, this.checkbox_Machine, this.Machine, this.checkbox_Group, this.Group, this.零件图号[i], 1).then(response => {
|
||||
this.liushuihao = response.data[0].工艺计划流水号
|
||||
console.log(response.data)
|
||||
for (let k = 0; k < response.data.length; k++) {
|
||||
if (response.data[k].工艺计划流水号 === this.liushuihao) {
|
||||
this.process[i][k] = response.data[k].工艺名称简称
|
||||
this.planDate[i][k] = response.data[k].计划日期_短
|
||||
this.worker[i][k] = response.data[k].员工姓名
|
||||
this.realDate[i][k] = response.data[k].完成日期_短
|
||||
if (response.data[k].员工姓名 === '超级管理员') {
|
||||
response.data[k].员工姓名 = '请选择'
|
||||
}
|
||||
this.worker[i][k] = response.data[k].员工姓名
|
||||
if (response.data[k].工序状态 === 5) { // 灰色是已经完成 未入库
|
||||
this.colorCode[i][k] = 'grey'
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user