收费工作站-门诊挂号:点击【确认】退号无响应

This commit is contained in:
wangjian963
2026-01-30 12:02:37 +08:00
parent 29ecfd90f2
commit 28160e082c

View File

@@ -113,6 +113,9 @@
<script setup> <script setup>
import {cancelRegister, preCancelReg} from './outpatientregistration'; import {cancelRegister, preCancelReg} from './outpatientregistration';
import {computed, getCurrentInstance, reactive, ref, watch} from 'vue'; import {computed, getCurrentInstance, reactive, ref, watch} from 'vue';
import useUserStore from '@/store/modules/user.js'
//获取当前登陆用户的信息
const userStore = useUserStore();
// 获取费用性质文本 // 获取费用性质文本
const getFeeTypeText = computed(() => { const getFeeTypeText = computed(() => {
@@ -241,10 +244,10 @@ function submit() {
ybFlag: '1', ybFlag: '1',
eleFlag: '0', eleFlag: '0',
// 退号操作记录信息 // 退号操作记录信息
returnDate: returnDate, // 退号操作日期 returnDate: new Date().toISOString(), // 退号操作日期
operatorId: operatorId, // 退号操作工号用户ID operatorId: userStore.id, // 退号操作工号用户ID
operatorName: operatorName, // 退号操作人姓名 operatorName: userStore.name, // 退号操作人姓名
refundAmount: refundAmount, // 退款金额 refundAmount: calculatedTotalAmount.value, // 退款金额
// 原挂号信息 // 原挂号信息
registerTime: props.registerInfo?.registerTime || '', // 原挂号时间 registerTime: props.registerInfo?.registerTime || '', // 原挂号时间
registerAmount: props.registerInfo?.totalPrice || props.totalAmount, // 原挂号金额 registerAmount: props.registerInfo?.totalPrice || props.totalAmount, // 原挂号金额