orderOpen.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <template>
  2. <div class="bg">
  3. <el-dialog width="1000" height="500" :modal-append-to-body='false' title="订单开立流程" :visible.sync="scanVisible" >
  4. <!-- 表单是否显示 -->
  5. <div style="width: 100%;height: 100%;">
  6. <div ref="qrcode" id="box">
  7. <vue-easy-print tableShow ref="easyPrint" :onePageRow="onePageRow">
  8. <div class="tagBox">
  9. <!-- <p class="title"> -->
  10. <img src="../../../../assets/images/login/orderOpen.png" class="logoImg" />
  11. <!-- </p> -->
  12. </div>
  13. </vue-easy-print>
  14. </div>
  15. </div>
  16. </el-dialog>
  17. </div>
  18. </template>
  19. <script>
  20. import VueBarcode from 'vue-barcode';
  21. import vueEasyPrint from "vue-easy-print";
  22. import repostCurd from '@/business/platform/form/utils/custom/joinCURD.js';
  23. export default {
  24. components: {
  25. VueBarcode,
  26. vueEasyPrint,
  27. },
  28. props: {
  29. obj: {
  30. default: [],
  31. type: Array
  32. },
  33. onePageRow: {
  34. type: Number,
  35. default: 3
  36. },
  37. blankLines: {
  38. type: Boolean,
  39. default: true
  40. },
  41. scanVisible: {
  42. type: Boolean,
  43. default: false
  44. }
  45. },
  46. data() {
  47. return {
  48. visible: true
  49. }
  50. },
  51. // watch: {
  52. // obj() {
  53. // this.getInit()
  54. // }
  55. // },
  56. created() {
  57. this.getInit()
  58. },
  59. methods: {
  60. }
  61. }
  62. </script>
  63. <style lang="less" scoped>
  64. .bg {
  65. // height: auto;
  66. }
  67. // .title {
  68. // font-size: 16px;
  69. // color: #01a39e;
  70. // margin: 0;
  71. // margin-bottom: 10px;
  72. // }
  73. /deep/ .logoImg {
  74. width: 100%;
  75. height: 100%;
  76. position: relative;
  77. // top: 6px;
  78. border: 1px solid #000000;
  79. border-radius: 5px;
  80. }
  81. .tagBox {
  82. width: 90%; // 300 240
  83. height:90%; // 180 150
  84. position: relative;
  85. // border: 1px solid #000000;
  86. padding: 2px;
  87. display: inline-block;
  88. margin: 0px 37px 30px 37px;
  89. border-radius: 4px;
  90. background-color: #fff;
  91. }
  92. .ewm {
  93. display: flex;
  94. justify-content: center;
  95. }
  96. .la {
  97. display: flex;
  98. align-items: center;
  99. }
  100. .lh {
  101. font-size: 4px; //16
  102. display: flex;
  103. align-items: center;
  104. }
  105. /deep/ .tagBox {
  106. width: 90%; // 300 240
  107. height:90%; // 180 150
  108. padding: 0px 10px 1px 10px;
  109. }
  110. /deep/ .el-dialog__header {
  111. padding: 20px 20px 10px !important;
  112. }
  113. </style>