From a7381e2363be008bbca35228e81e877aa83ed7fb Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 15 Sep 2023 10:16:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E6=96=B9=E7=BC=96=E5=8F=B7=E6=9C=AA?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tableUnit.vue | 6 +++++- src/views/order/medince-list/index.vue | 7 ++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/tableUnit.vue b/src/components/tableUnit.vue index 7f3e043..0a2f90a 100644 --- a/src/components/tableUnit.vue +++ b/src/components/tableUnit.vue @@ -7,7 +7,7 @@ \ No newline at end of file diff --git a/src/views/order/medince-list/index.vue b/src/views/order/medince-list/index.vue index 161d3ad..3de3aab 100644 --- a/src/views/order/medince-list/index.vue +++ b/src/views/order/medince-list/index.vue @@ -671,6 +671,7 @@ const patientVisible = ref(false); const patientData = reactive({}); const lookAllAddress=ref(false); const AddressData=reactive({}); +let chufang_data = ref([]); const chufang_columns = reactive([ { title: '处方编号', @@ -698,7 +699,7 @@ const chufang_columns = reactive([ slotName: 'url', }, ]); -let chufang_data = reactive([]); + watch( () => deleteVisible.value, (value) => { @@ -871,6 +872,7 @@ const handleQuery = async () => { getProductInfo(params); }; const getDetail = async (order_product_id) => { + chufang_data.vlaue=[]; const { code, data, message } = await getProductDetail(order_product_id); if (code == 200) { Object.assign(modalForm, data); @@ -904,8 +906,7 @@ const getDetail = async (order_product_id) => { data_arr[0][item.dataIndex] = result[item.dataIndex]; } }); - - chufang_data = data_arr; + chufang_data.value= data_arr; } } };