退料编辑优化
This commit is contained in:
parent
2275cce061
commit
ed15eeb45a
|
|
@ -638,11 +638,12 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.GetUnitData()
|
this.GetUnitData()
|
||||||
this.GetProData()
|
|
||||||
if (this.backId) {
|
if (this.backId) {
|
||||||
//编辑
|
//编辑
|
||||||
this.rowId = this.backId
|
this.rowId = this.backId
|
||||||
this.GetViewByApply()
|
this.GetViewByApply()
|
||||||
|
} else {
|
||||||
|
this.GetProData()
|
||||||
}
|
}
|
||||||
// getInfo().then((res) => {
|
// getInfo().then((res) => {
|
||||||
// this.companyId = res.user.companyId
|
// this.companyId = res.user.companyId
|
||||||
|
|
@ -816,7 +817,7 @@ export default {
|
||||||
message: '当前工器具仍有班组在用,请核实退料单位',
|
message: '当前工器具仍有班组在用,请核实退料单位',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
// 将新项添加到数组开头,实现倒序
|
// 将新项添加到数组开头,实现倒序
|
||||||
this.equipmentList.unshift({
|
this.equipmentList.unshift({
|
||||||
|
|
@ -1218,7 +1219,7 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
this.maCodeList = selection
|
this.maCodeList = selection
|
||||||
// console.log(selection)
|
// console.log(selection)
|
||||||
// this.queryParams.equipmentList = selection
|
// this.queryParams.equipmentList = selection
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue