版本更新
This commit is contained in:
@@ -298,7 +298,6 @@ async function printReceipt(param) {
|
||||
const printerList = hiprintTemplate.getPrinterList();
|
||||
console.log(hiprintTemplate, '打印机列表');
|
||||
hiprintTemplate.print2(result.data[0], {
|
||||
printer: 'xp',
|
||||
title: '门诊收费结算单',
|
||||
});
|
||||
// // 将对象转换为 JSON 字符串
|
||||
@@ -361,22 +360,14 @@ async function submit() {
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
printReceipt(res.data);
|
||||
(formData.selfPay = [{ payEnum: 220100, amount: 0.0, payLevelEnum: 2 }]),
|
||||
emit('close', 'success', res.msg);
|
||||
emit('refresh'); // 发送刷新事件给父组件
|
||||
// 长春大学自动发耗材
|
||||
if (userStore.fixmedinsCode == 'H22010200672' && props.consumablesIdList.length > 0) {
|
||||
dispenseMedicalConsumables(props.consumablesIdList);
|
||||
}
|
||||
// // 添加确认窗口
|
||||
// proxy.$modal
|
||||
// .confirm('是否打印收费结算单?')
|
||||
// .then(() => {
|
||||
// printReceipt(res.data);
|
||||
// })
|
||||
// .catch(() => {
|
||||
// // 用户取消打印
|
||||
// console.log('用户取消打印');
|
||||
// });
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
|
||||
Reference in New Issue
Block a user