处方编号未更新

This commit is contained in:
zoujiandong
2023-09-15 10:16:30 +08:00
parent 86d6fe299c
commit a7381e2363
2 changed files with 9 additions and 4 deletions
+4 -3
View File
@@ -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;
}
}
};