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() })