lilei 2 سال پیش
والد
کامیت
e37a61a540
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      src/views/salesManagement/salesCollection/voucherModal.vue

+ 6 - 4
src/views/salesManagement/salesCollection/voucherModal.vue

@@ -82,7 +82,9 @@
       </div>
     </a-spin>
     <!-- 收款打印 -->
-    <printModel ref="printModel" @cancel="canselPrintView"></printModel>
+    <commonModal modalTit="收款打印预览" width="700pt" :showFooter="false" :openModal="showTipModal" @cancel="canselPrintView">
+      <printModel ref="printModel" @cancel="canselPrintView" @ok="canselPrintView"></printModel>
+    </commonModal>
     <!-- 查看财务收款详情 -->
     <commonModal
       modalTit="财务收款详情"
@@ -196,7 +198,7 @@ export default {
       }
       return auditStr
     },
-    // 批量打印
+    // 收款打印
     async handlePlPrint () {
       this.spinning = true
       let rows = []
@@ -233,7 +235,7 @@ export default {
       this.handlePrint(retArr, rows)
     },
     // 收款打印
-    async handlePrint (row, list) {
+    handlePrint (row, list) {
       this.spinning = true
       this.showTipModal = true
       this.$nextTick(() => {
@@ -242,8 +244,8 @@ export default {
       })
     },
     canselPrintView () {
-      this.showTipModal = false
       this.spinning = false
+      this.showTipModal = false
       this.$refs.printModel.clearData()
     },
     // 取消