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