|
|
@ -106,7 +106,7 @@ export default defineComponent({ |
|
|
|
|
|
|
|
if (!wsCache.get('ShowPackingNumber')) { |
|
|
|
if (columns) { |
|
|
|
columns = columns.filter(item => item.field != 'packingNumber') |
|
|
|
columns = columns.filter(item => item.field != 'packingNumber' && item.field != 'fromPackingNumber'&& item.field != 'toPackingNumber') |
|
|
|
} |
|
|
|
} |
|
|
|
for (const v of columnsChildren || columns) { |
|
|
@ -347,7 +347,7 @@ export default defineComponent({ |
|
|
|
} = unref(getProps) |
|
|
|
if (!wsCache.get('ShowPackingNumber')) { |
|
|
|
if (columns) { |
|
|
|
columns = columns.filter(item => item.field != 'packingNumber') |
|
|
|
columns = columns.filter(item => item.field != 'packingNumber' && item.field != 'fromPackingNumber'&& item.field != 'toPackingNumber') |
|
|
|
} |
|
|
|
} |
|
|
|
//默认排序 |
|
|
|