@@ -92,10 +90,10 @@ import GoodsDetail from "@/components/charge/GoodsDetail.vue";
import DiagnosisSearchInput from "@/components/outpatient/DiagnosisSearchInput.vue";
import Settlement from "@/components/charge/Settlement.vue";
-const socialCard = ref
({payInfo:{}})
+const socialCard = ref({payInfo: {}})
const formData = ref({
- patientInfo:{},
- diagnosisMedicalRecord:{},
+ patientInfo: {},
+ diagnosisMedicalRecord: {},
})
const diagnosisKeyword = ref("")
const chargeQueueRef = ref()
@@ -106,9 +104,9 @@ const delDraft = () => {
}
const settlementRef = ref()
const saveAndCharge = () => {
- post('charge/save', {data:formData.value}).then((res: any) => {
+ post('charge/save', {data: formData.value}).then((res: any) => {
formData.value.code = res
- nextTick(()=>{
+ nextTick(() => {
settlementRef.value?.init(res)
})
})
@@ -137,7 +135,7 @@ const clickItem = (item: any) => {
nextTick(() => {
let list = JSON.parse(formData.value.diagnosisMedicalRecord.diagnosisDetail)
let nList = formData.value.diagnosisMedicalRecord.diagnosisSummary.split(',')
- diagnosisSearchRef.value?.init(list,nList);
+ diagnosisSearchRef.value?.init(list, nList);
})
}
const dockerList = ref([])
@@ -147,19 +145,19 @@ const getDockerList = () => {
})
}
const orderCompleted = () => {
- nextTick(()=>{
+ nextTick(() => {
chargeQueueRef.value?.getOrderList()
})
}
const orderCanceled = () => {
- nextTick(()=>{
+ nextTick(() => {
chargeQueueRef.value?.getOrderList()
})
}
-onMounted(()=>{
+onMounted(() => {
getDockerList()
})
const getOrderTotalPrice = () => {