From 8603e1700467eae33d8f7aa315e9d6de800755a4 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 23 Sep 2024 10:17:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E7=A6=BB=E6=95=A3=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 1 + .../purchaseDiscreteOrderMain/index.vue | 8 +++++++- .../purchaseDiscreteOrderMain.data.ts | 5 ++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index dde325e83..cfb938dbc 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -359,6 +359,7 @@ export enum DICT_TYPE { INTERFACE_STATUS = 'interfaceStatus', // 接口调用信息 接口状态 SYSTEM_DAY = 'system_day', // 系统天数 PURCHASE_INVOICE_ORDER_TYPE = 'purchase_invoice_order_type', // 发票采购订单类型 + DISCRETE_SUPPLIERINVOICE_READ = 'discrete_supplierinvoice_read', // 采购离散订单查看 // ========== eam - 业务 - ========== DEVICE_TYPE = 'device_type', // 设备分类 diff --git a/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue b/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue index 5a796bbe0..e91902d60 100644 --- a/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue +++ b/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue @@ -192,6 +192,7 @@ const { tableObject, tableMethods } = useTable({ getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPage // 分页接口 }) + tableObject.params.isLS = 1 // 获得表格的各种操作 const { getList, setSearchParams } = tableMethods @@ -225,6 +226,7 @@ filters: tableObject.params.filters }) } else { + tableObject.params.isLS = 1 getList() } } else if (val == 'filtrate') { // 筛选 @@ -431,7 +433,11 @@ const searchFormClick = (searchData) => { tableObject.params = { isSearch: true, - filters: searchData.filters + filters: [...searchData.filters,{ + action : "==", + column: "isLS", + value: 1, + }] } getList() // 刷新当前列表 } diff --git a/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts b/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts index 8f183fe28..47515e88f 100644 --- a/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts +++ b/src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/purchaseDiscreteOrderMain.data.ts @@ -103,8 +103,8 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ }, { label: '已读状态', - field: 'status', - dictType: DICT_TYPE.SUPPLIERINVOICE_REQUEST_STATUS, + field: 'isRead', + dictType: DICT_TYPE.DISCRETE_SUPPLIERINVOICE_READ, dictClass: 'string', isTable: true, sortTableDefault:7, @@ -115,7 +115,6 @@ export const SupplierinvoiceRecordMain = useCrudSchemas(reactive([ }, search: { componentProps: { - multiple: true, collapseTags: true, collapseTagsTooltip: true, }