浏览代码

11月8日,打印单

yq1 2 周前
父节点
当前提交
c41c650c50
共有 1 个文件被更改,包括 9 次插入6 次删除
  1. 9 6
      src/pages/main/template/DialysisPrintOrdereightyone.vue

+ 9 - 6
src/pages/main/template/DialysisPrintOrdereightyone.vue 查看文件

@@ -1124,7 +1124,7 @@ import { getDataConfig } from '@/utils/data'
1124 1124
 import { EasyScroller } from 'easyscroller'
1125 1125
 import { jsGetAge, uParseTime, uParseTimeOne } from '@/utils/tools'
1126 1126
 import LabelBox from '../printItem/LabelBox'
1127
-import {Toast} from 'vant'
1127
+import {Toast,Dialog} from 'vant'
1128 1128
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
1129 1129
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
1130 1130
 import print from 'print-js'
@@ -2088,12 +2088,15 @@ export default {
2088 2088
     getcheckData(val){
2089 2089
       if(val.length >0){
2090 2090
         let message = `记录单未填数据:\n${val.join("\n")}`;
2091
-        Toast({
2092
-          duration:0,
2091
+        Dialog.confirm({
2092
+          allowHtml:true,
2093 2093
           message:message,
2094
-          closeOnClick:true,
2095
-          closeOnClickOverlay:true,
2096
-        })
2094
+        }).then(() => {
2095
+
2096
+          })
2097
+          .catch(() => {
2098
+
2099
+          });
2097 2100
        
2098 2101
         return message
2099 2102
       }else{