处方编号未更新
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user