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; } } };