| | |
| | | <el-button @click="submitForm" type="primary" :disabled="formLoading">领用完成</el-button> |
| | | <el-checkbox style="margin-left:10px" label="自动 " v-model="autoPrint" /> |
| | | <el-button @click="printBill(formData.patId!, formData.checkType!)">打印小票</el-button> |
| | | <el-button @click="printBill(formData.patId!, formData.checkType!, 8)">打印小票2</el-button> |
| | | <el-button @click="cancelReady" :disabled="formLoading">放弃领用</el-button> |
| | | <el-button @click="resetForm()">重 置</el-button> |
| | | <el-button v-if="formData.checkType && checkTypeStore.getExpenseRecognition(formData.checkType)" @click="feeConfirm" :disabled="formLoading">确费</el-button> |
| | |
| | | |
| | | await DevRentApi.devReady(data) |
| | | |
| | | if (autoPrint.value && data.patId && data.checkType) |
| | | printBill( data.patId, data.checkType) |
| | | if (autoPrint.value && data.patId && data.checkType) { |
| | | printBill(data.patId, data.checkType) |
| | | } |
| | | |
| | | // 自动确费 |
| | | feeConfirm() |
| | | |
| | | dialogVisible.value = false |
| | | // 发送操作成功的事件 |
| | |
| | | panel.addPrintText({ options: { width: 140, height: 22, top: 86, left: 20, title: curAppointment.episodeId, textType: 'barcode' } }); |
| | | |
| | | //打印 |
| | | if (undefined === printMode) |
| | | hiprintTemplate.print2([{},{},{}]); // 可以传 [定位参数] http://https://ccsimple.github.io/sv-print-docs/config/template.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AE%BE%E8%AE%A1%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B |
| | | if (printMode == null) |
| | | hiprintTemplate.print2([{},{},{}]); // 预览方式 可以传 [定位参数] http://https://ccsimple.github.io/sv-print-docs/config/template.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E8%AE%BE%E8%AE%A1%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B |
| | | else |
| | | hiprintTemplate.print([{},{},{}]); |
| | | } |