...
|
...
|
@@ -334,6 +334,21 @@ export default { |
|
|
if (this.$route.query.id !== undefined) {
|
|
|
getSelectByPrimaryKeyFortz(Number(this.$route.query.id)).then((r) => {
|
|
|
this.mouldLocalStorage = r;
|
|
|
r.modPointerChanges.forEach(function (res,index){
|
|
|
if(r.modPointerChanges[index].changeType === 10){
|
|
|
r.modPointerChanges[index].changeType = '生产'
|
|
|
}else if(r.modPointerChanges[index].changeType === 20){
|
|
|
r.modPointerChanges[index].changeType === '维修'
|
|
|
}else if(r.modPointerChanges[index].changeType === 30){
|
|
|
r.modPointerChanges[index].changeType === '报废'
|
|
|
}else if(r.modPointerChanges[index].changeType === 40){
|
|
|
r.modPointerChanges[index].changeType === '点检'
|
|
|
}else if(r.modPointerChanges[index].changeType === 50){
|
|
|
r.modPointerChanges[index].changeType === '保养'
|
|
|
}else if(r.modPointerChanges[index].changeType === 60){
|
|
|
r.modPointerChanges[index].changeType === '待用'
|
|
|
}
|
|
|
})
|
|
|
this.modeUseData = r.modPointerChanges
|
|
|
let list = r.modMoldDto;
|
|
|
let list2 = r.modProductDto;
|
...
|
...
|
|