Browse Source

WMS bug HL-6222:器具初始化记录,来源库位代码应去掉

hella_online_20241017
gaojs 2 months ago
parent
commit
4b48134de5
  1. 10
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts
  2. 19
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue

10
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/containerRecordMain.data.ts

@ -233,11 +233,11 @@ export const ContainerRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'containerNumber',
sort: 'custom'
},
// {
// label: '来源库位代码',
// field: 'fromLocationCode',
// sort: 'custom',
// },
{
label: '来源库位代码',
field: 'fromLocationCode',
sort: 'custom',
},
{
label: '目标库位代码',
field: 'toLocationCode',

19
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue

@ -136,6 +136,25 @@ else if ( routeName.value == 'ScrapContainerManageRecord') {
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) => {

Loading…
Cancel
Save