|
@ -136,6 +136,25 @@ else if ( routeName.value == 'ScrapContainerManageRecord') { |
|
|
importFileName.value = '器具管理记录' |
|
|
importFileName.value = '器具管理记录' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ( routeName.value == 'InitialContainerManageRecord') { |
|
|
|
|
|
console.log('dodododo1') |
|
|
|
|
|
console.log('dodododo1',tableColumns.value) |
|
|
|
|
|
tableColumns.value = tableColumns.value.filter(item=>item.field != "fromLocationCode") |
|
|
|
|
|
console.log('dodododo1',tableColumns.value) |
|
|
|
|
|
// ContainerRecordDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
|
|
// if(item.field == 'fromLocationCode'){ |
|
|
|
|
|
// console.log('dodododo2') |
|
|
|
|
|
// item.hidden = true |
|
|
|
|
|
// } |
|
|
|
|
|
// }) |
|
|
|
|
|
}else{ |
|
|
|
|
|
ContainerRecordDetail.allSchemas.formSchema.forEach((item) => { |
|
|
|
|
|
if(item.field == 'fromLocationCode'){ |
|
|
|
|
|
item.hidden = false |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 字段设置 更新主列表字段 |
|
|
// 字段设置 更新主列表字段 |
|
|
const updataTableColumns = (val) => { |
|
|
const updataTableColumns = (val) => { |
|
|