From 1614358bbe0615b6bcd972369e9faf81f29b3c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Wed, 28 Jan 2026 15:16:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=92=A2=E5=8D=B7=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=99=A8):=20=E5=A2=9E=E5=8A=A0=E6=8C=89=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E5=BA=93=E5=8C=BA=E7=AD=9B=E9=80=89=E9=92=A2=E5=8D=B7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在钢卷选择器中添加实际库区筛选功能,并调整对话框宽度以适应新增控件。修改了detailTable.vue中的调用参数以启用该功能。 --- klp-ui/src/components/CoilSelector/index.vue | 15 +++++++++++++-- .../views/wms/delivery/components/detailTable.vue | 4 +++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/klp-ui/src/components/CoilSelector/index.vue b/klp-ui/src/components/CoilSelector/index.vue index 5acd7105..34fb5399 100644 --- a/klp-ui/src/components/CoilSelector/index.vue +++ b/klp-ui/src/components/CoilSelector/index.vue @@ -39,6 +39,9 @@ + + + 搜索 @@ -86,12 +89,14 @@ import { listMaterialCoil } from '@/api/wms/coil'; import MemoInput from '@/components/MemoInput/index.vue'; import MutiSelect from '@/components/MutiSelect/index.vue'; import { defaultColumns } from './data'; +import ActualWarehouseSelect from '@/components/KLPService/ActualWarehouseSelect/index.vue'; export default { name: 'CoilSelector', components: { MemoInput, - MutiSelect + MutiSelect, + ActualWarehouseSelect }, dicts: ['coil_itemname', 'coil_material', 'coil_manufacturer'], props: { @@ -102,7 +107,7 @@ export default { }, dialogWidth: { type: String, - default: '900px' + default: '1000px' }, // 过滤条件(可以预设一些查询条件) filters: { @@ -146,6 +151,11 @@ export default { type: Boolean, default: false }, + // 是否根据实际库区查询钢卷 + orderBy: { + type: Boolean, + default: false + }, }, data() { return { @@ -161,6 +171,7 @@ export default { pageSize: 10, currentCoilNo: null, grade: null, + actualWarehouseId: null, selectType: 'product', status: 0, // 不包含已发货的钢卷 dataType: 1 // 只查询当前数据,不查询历史数据 diff --git a/klp-ui/src/views/wms/delivery/components/detailTable.vue b/klp-ui/src/views/wms/delivery/components/detailTable.vue index ae0bd304..14ba0d00 100644 --- a/klp-ui/src/views/wms/delivery/components/detailTable.vue +++ b/klp-ui/src/views/wms/delivery/components/detailTable.vue @@ -48,7 +48,9 @@
- +