@@ -338,13 +338,11 @@ const list = () => {
}
const getStatus = (status: any) => {
statusDisabled.value = status
- formData.value = {
- patientInfo: {},
- diagnosisMedicalRecord: {},
- goodsDetail: [],
- itemDetail: [],
- patientRegistration: {}
- }
+ initFormData()
+ nextTick(() => {
+ patientCardRef.value?.clear()
+ recordsConsumptionRef.value?.clearList();
+ })
}
//退费
const refund = async () => {
diff --git a/src/views/inventory/apply.vue b/src/views/inventory/apply.vue
index 43770ca..018ba6e 100644
--- a/src/views/inventory/apply.vue
+++ b/src/views/inventory/apply.vue
@@ -21,7 +21,7 @@
重置
-