From da986ef73c16e73c896857943d7c88dadb8ab677 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Fri, 8 Nov 2024 15:57:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89order=5Ftype=5Fm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../developPurchasereceiptRecordMain/index.vue | 15 +++------------ .../toolPurchasereceiptRecordMain/index.vue | 12 ------------ 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/index.vue b/src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/index.vue index b7690876d..55ee5fb9d 100644 --- a/src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/index.vue +++ b/src/views/wms/purchasereceiptManage/developpurchasereceipt/developPurchasereceiptRecordMain/index.vue @@ -279,7 +279,6 @@ const searchList = (model) => { params.itemTypes = '' params.itemType = '' } - params.orderTypeM = '1' setSearchParams(params) } @@ -424,11 +423,7 @@ const handleExport = async () => { // 筛选提交 const searchFormClick = (searchData) => { - searchData.filters.push({ - action: '==', - column: 'order_type_m', - value: '1' - }) + tableObject.params = { isSearch: true, filters: searchData.filters @@ -458,18 +453,14 @@ const changeTabs = (data) => { /** 初始化 **/ onMounted(async () => { - tableObject.params = { - orderTypeM: '1' - } + await getSwitchByCode('EnableQms').then((res) => { EnableQms.value = res == 'TRUE' ? true : false }) getList() }) onActivated(() => { - tableObject.params = { - orderTypeM: '1' - } + getList() }) diff --git a/src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/index.vue b/src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/index.vue index 8c764f908..99996a116 100644 --- a/src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/index.vue +++ b/src/views/wms/purchasereceiptManage/toolpurchasereceipt/toolPurchasereceiptRecordMain/index.vue @@ -279,7 +279,6 @@ const searchList = (model) => { params.itemTypes = '' params.itemType = '' } - params.orderTypeM = '1' setSearchParams(params) } @@ -424,11 +423,6 @@ const handleExport = async () => { // 筛选提交 const searchFormClick = (searchData) => { - searchData.filters.push({ - action: '==', - column: 'order_type_m', - value: '1' - }) tableObject.params = { isSearch: true, filters: searchData.filters @@ -458,18 +452,12 @@ const changeTabs = (data) => { /** 初始化 **/ onMounted(async () => { - tableObject.params = { - orderTypeM: '1' - } await getSwitchByCode('EnableQms').then((res) => { EnableQms.value = res == 'TRUE' ? true : false }) getList() }) onActivated(() => { - tableObject.params = { - orderTypeM: '1' - } getList() })