瀏覽代碼

住院电子发票增加备注

lihong 5 月之前
父節點
當前提交
abf8435648
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      src/views/hospitalization/zfsf/CashierProcessInfo.vue

+ 6 - 4
src/views/hospitalization/zfsf/CashierProcessInfo.vue

@@ -994,13 +994,15 @@ const openDzfp = (row,typeFlag)=>{
 const uploadZyFp=(row,typeFlag)=>{
   row['typeFlag'] = typeFlag
   let typeFlagStr = typeFlag == 3 ? '上传' : '作废'
-  ElMessageBox.confirm("请确认是否"+typeFlagStr+"电子发票", {
+  ElMessageBox.prompt("备注", "提示", {
+    type: "warning",
+    confirmButtonText: "确定"+typeFlagStr,
     cancelButtonText: "取消",
-    confirmButtonText: "确定",
   })
-      .then(() => {
+      .then(({value}) => {
+        row['remark'] = value
         queryPrintZyFpData(row).then(res=>{
-          ElMessage.error(typeFlagStr+"电子发票成功!");
+          ElMessage.success(typeFlagStr+"电子发票成功!");
         })
       })
 }