-
¥{{ prop.money }}
+
¥{{ retailOrder.totalPrice }}
@@ -50,12 +50,6 @@ import PersonalPayment from "@/components/charge/PersonalPayment.vue";
import {ElMessage} from "element-plus";
const wsStore = useWsStore();
const socialCard =defineModel
();
-const prop=defineProps({
- money: {
- type: String,
- default: ''
- }
-})
const show = ref(false)
const printReceipt = ref(false);
diff --git a/src/components/outpatient/MedicalHistory.vue b/src/components/outpatient/MedicalHistory.vue
index ebf85ac..1e617a7 100644
--- a/src/components/outpatient/MedicalHistory.vue
+++ b/src/components/outpatient/MedicalHistory.vue
@@ -29,13 +29,12 @@ const list = ref([])
const init = (patientId: any) => {
post("medical/record/listByPatient",{patientId:patientId}).then((res: any) => {
list.value = res
- emit('initMedicalRecord', res[0].diagnosisMedicalRecord.allergyHistory,res[0].diagnosisMedicalRecord.beforeMedicalHistory)
})
}
const clearList = () => {
list.value = []
}
-const emit = defineEmits(['copy','copyItem','copyGoods',"initMedicalRecord"])
+const emit = defineEmits(['copy','copyItem','copyGoods'])
const copy = (item: any) => {
emit('copy', item)
}
diff --git a/src/components/retail/OrderDetail.vue b/src/components/retail/OrderDetail.vue
index e8bbbfe..b73c5c9 100644
--- a/src/components/retail/OrderDetail.vue
+++ b/src/components/retail/OrderDetail.vue
@@ -155,9 +155,12 @@ import {medTypeJson} from "@/assets/config/constants.ts";
const show = ref(false);
const orderInfo = ref({});
-const init = (order: any) => {
- orderInfo.value = order;
+const init = (code: any) => {
show.value = true;
+ post("charge/getByCode", {code: code}).then((res: any)=>{
+ orderInfo.value = res;
+ })
+
}
//修改时间格式化
const formatDate = (isoStr: any) => {
diff --git a/src/views/charge/index.vue b/src/views/charge/index.vue
index 8a32853..c4ff125 100644
--- a/src/views/charge/index.vue
+++ b/src/views/charge/index.vue
@@ -58,7 +58,6 @@