eight
2025-04-11 e89834c34e8f987cd59a167aa8c8369a731ef44c
src/views/ecg/doctor/components/DevReadyPanel.vue
@@ -55,7 +55,6 @@
    <el-button @click="submitForm" type="primary" :disabled="formLoading">领用完成</el-button>
    <el-checkbox style="margin-left:10px" label="自动&nbsp;" 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>
@@ -243,8 +242,12 @@
    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
    // 发送操作成功的事件
@@ -387,8 +390,8 @@
  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([{},{},{}]);
}