零件追溯
This commit is contained in:
@@ -192,13 +192,13 @@ export default {
|
||||
type: '',
|
||||
size: 'large'
|
||||
}, {
|
||||
id: 5,
|
||||
id: 4,
|
||||
content: '工艺定额',
|
||||
timestamp: '工艺部:工艺员',
|
||||
type: '',
|
||||
size: 'large'
|
||||
}, {
|
||||
id: 7,
|
||||
id: 6,
|
||||
content: '生产加工',
|
||||
timestamp: '金工车间:操作工',
|
||||
type: '',
|
||||
@@ -343,8 +343,8 @@ export default {
|
||||
}
|
||||
})
|
||||
SelectPart(0, '', 0, '', 0, '', 1, this.searchPick, 0, '', 0, '', 0, '', '', '', '').then(response => {
|
||||
console.log(response, 8)
|
||||
for (let i = 0; i < this.activities.length; i++) {
|
||||
console.log(response.data[0].考核状态.toString(), this.activities[i].id.toString())
|
||||
if (response.data[0].考核状态.toString() === this.activities[i].id.toString()) {
|
||||
for (let j = 0; j <= i; j++) {
|
||||
this.activities[j].type = 'success'
|
||||
@@ -353,12 +353,10 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(item, 11)
|
||||
this.tableData1 = []
|
||||
gettabledata1(item.name).then(response => {
|
||||
if (response.data.length !== 0) {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
console.log(response.data[i])
|
||||
this.tableData1.push({
|
||||
工艺名称: response.data[i].工艺名称,
|
||||
工序顺序: response.data[i].工序顺序,
|
||||
|
||||
Reference in New Issue
Block a user