diff --git a/src/views/order/beforehand_order/details.vue b/src/views/order/beforehand_order/details.vue index 26921b747..e2e3c0181 100644 --- a/src/views/order/beforehand_order/details.vue +++ b/src/views/order/beforehand_order/details.vue @@ -29,7 +29,20 @@ > 导出表格 - + + + +
@@ -413,7 +426,8 @@ const formData = ref({ warehouse_name: '', system_store: '', financial_pm: '', - order_sn: '' + order_sn: '', + top_cate: [] }) const generateOrderData = ref({ id: '', @@ -459,7 +473,9 @@ const appendAdd = () => { } const queryParams = reactive({ bhoid: route.query.id, - pay_type: '' + pay_type: '', + top_cate: '', + top_cate_value: '' }) const getDetail = () => { @@ -594,6 +610,19 @@ const beforehand_order_cart_info = () => { ElMessage.success('导出成功') }) } + +const topCateChange = (row: any) => { + if (row.id == 0) { + queryParams.top_cate = '' + queryParams.top_cate_value = '全部' + getLists() + } else { + queryParams.top_cate = row.id + queryParams.top_cate_value = row.name + + getLists() + } +} defineExpose({ open })