From 021d04413361d9c1b74497eb2882becca71327ad Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 11 Sep 2024 17:36:18 +0800 Subject: [PATCH] =?UTF-8?q?HL-5886=E6=89=80=E6=9C=89=E7=AD=96=E7=95=A5?= =?UTF-8?q?=E7=9A=84=E9=BB=98=E8=AE=A4=E8=A7=84=E5=88=99=E4=B8=8D=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E5=88=A0=E9=99=A4=EF=BC=8C=E4=B8=8D=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E5=85=B3=E9=97=AD=EF=BC=88=E7=8A=B6=E6=80=81=E5=BF=85=E9=A1=BB?= =?UTF-8?q?=E6=98=AF=E5=BC=80=E5=90=AF=EF=BC=89=EF=BC=8C=E4=B8=8D=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E4=BF=AE=E6=94=B9=E4=BC=98=E5=85=88=E7=BA=A7=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=85=81=E8=AE=B8=E4=BF=AE=E6=94=B9=E8=A7=84=E5=88=99?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=EF=BC=8C=E4=BD=86=E5=85=81=E8=AE=B8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=A7=84=E5=88=99=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../strategy/arrivalInspectionStrategy/index.vue | 8 +------- .../strategySetting/strategy/batchStrategy/index.vue | 8 +------- .../strategy/downShelfStrategy/index.vue | 10 +++------- .../strategySetting/strategy/inspectStrategy/index.vue | 8 +------- .../strategy/purchaseReceiptStrategy/index.vue | 8 +------- .../strategy/storageCapacityStrategy/index.vue | 8 +------- .../strategy/supplieDeliveryStrategy/index.vue | 8 +------- .../strategy/utensilCapacityStrategy/index.vue | 8 +------- .../strategy/warehouseStorageStrategy/index.vue | 8 +------- 9 files changed, 11 insertions(+), 63 deletions(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue index 7df989b6a..d025c2b9d 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/index.vue @@ -125,13 +125,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue index bc85162de..f0bb71880 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/index.vue @@ -125,13 +125,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue index cdf7fcb76..e870c8b94 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/index.vue @@ -120,6 +120,8 @@ const HeadButttondata = [ // 头部按钮事件 const buttonBaseClick = (val, item) => { + console.log('buttonBaseClick',val) + if (val == 'add') { // 新增 openForm('create', queryParams.strategyCode) } else if (val == 'import') { // 导入 @@ -127,13 +129,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue index dd7fa9f1a..67da993da 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/index.vue @@ -123,13 +123,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue index c2c9c958c..a149f214f 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/index.vue @@ -126,13 +126,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue index fa3ad01de..97e202d71 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/index.vue @@ -125,13 +125,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue index 58a70adb5..6adfc2e5b 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/index.vue @@ -140,13 +140,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue index bcddf5f6a..5f7927239 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/index.vue @@ -125,13 +125,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue b/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue index c8d4a5005..325e1d358 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/index.vue @@ -126,13 +126,7 @@ const buttonBaseClick = (val, item) => { } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 - if (tableObject.params.filters && tableObject.params.filters.length > 0 ) { - searchFormClick({ - filters: tableObject.params.filters - }) - } else { - getList() - } + getList() } else if (val == 'filtrate') { // 筛选 } else { // 其他按钮 console.log('其他按钮', item)