diff --git a/src/views/order/medince-list/index.vue b/src/views/order/medince-list/index.vue
index e22240e..83d4b62 100644
--- a/src/views/order/medince-list/index.vue
+++ b/src/views/order/medince-list/index.vue
@@ -195,6 +195,24 @@
退款信息
@@ -878,6 +932,7 @@ import {
inquiryCase,
exportProduct
} from '@/api/order/list';
+import { getPharmacyList } from '@/api/basic/pharmacy';
import { parseTime } from '@/utils/parseTime';
import {
formatDoctorTitle,
@@ -888,6 +943,7 @@ import {
} from '@/utils/format';
const IMG_URL = import.meta.env.VITE_IMG_URL;
import { downloadFile } from '@/utils/downloadFile';
+const pharmacyList = ref([]);
// Akiraka 20230210 删除数据
const deleteData = ref([]);
// Akiraka 20230210 删除对话框
@@ -1044,6 +1100,7 @@ const columns = [
{ title: '药品名称', dataIndex: 'product_name', width: 150 },
{ title: '药品备注', dataIndex: 'remarks', width: 130 },
{ title: '就诊人联系电话', dataIndex: 'patient_mobile', width: 130 },
+ { title: '发货药房', dataIndex: 'pharmacy_name', slotName: 'pharmacy_name', width: 160, ellipsis: true },
{ title: '订单金额', dataIndex: 'amount_total', slotName: 'amount_total' },
{
title: '实付金额',
@@ -1245,8 +1302,8 @@ const closeChangeOk = (data) => {
// 重置搜索
const handleResetQuery = () => {
proxy.$refs.queryFormRef.resetFields();
+ queryForm.pharmacy_id = undefined;
currentPage.value=1;
- //getProductInfo(queryForm);
handleQuery();
};
const openDcotor = () => {
@@ -1298,11 +1355,24 @@ const handlExport=async(type)=>{
}
proxy.$loading.hide();
}
+
+// 获取药房下拉数据
+const fetchPharmacyList = async () => {
+ try {
+ const res = await getPharmacyList();
+ if (res.code === 200) {
+ pharmacyList.value = res.data || [];
+ }
+ } catch (e) {
+ console.error('获取药房列表异常:', e);
+ }
+};
+
onMounted(() => {
let userInfo=localStorage.getItem('manage-userInfo')?JSON.parse(localStorage.getItem('manage-userInfo')):{};
showTransferDoctor.value=userInfo.role_name!='处方流转平台';
getProductInfo(pager);
-
+ fetchPharmacyList();
});
diff --git a/src/views/prescription/prescription-list/index.vue b/src/views/prescription/prescription-list/index.vue
index aa2602b..693430d 100644
--- a/src/views/prescription/prescription-list/index.vue
+++ b/src/views/prescription/prescription-list/index.vue
@@ -44,6 +44,24 @@
审核驳回
+
+
+
+ {{ item.pharmacy_name }}
+
+
+
{deleteData = selection;console.log(selection)}"
@@ -113,6 +131,10 @@
record.patient_sex == 1 ? '男,' : '女,'
}}{{ record.patient_age }}岁)
@@ -146,9 +168,12 @@
diff --git a/src/views/prescription/transferPrescription-list/index.vue b/src/views/prescription/transferPrescription-list/index.vue
index a6570d9..7a03dd3 100644
--- a/src/views/prescription/transferPrescription-list/index.vue
+++ b/src/views/prescription/transferPrescription-list/index.vue
@@ -44,6 +44,24 @@