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