modelBom.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <view>
  3. <view class="title_box rx-bc">
  4. <view class="name">模具信息</view>
  5. </view>
  6. <view class="material ">
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. props: {
  13. workOrderId: {
  14. type: String,
  15. default: ''
  16. },
  17. list: {
  18. type: Array,
  19. default: () => []
  20. },
  21. },
  22. data() {
  23. return {
  24. }
  25. },
  26. methods: {
  27. tableH(type) {
  28. return tableHeader(type)
  29. },
  30. handleScan(id) {
  31. this.$emit('scanIt', id)
  32. },
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .title_box {
  38. margin-top: 20rpx;
  39. .name {
  40. font-size: 28rpx;
  41. font-style: normal;
  42. font-weight: 400;
  43. color: $theme-color;
  44. padding-left: 20rpx;
  45. position: relative;
  46. &:before {
  47. position: absolute;
  48. content: '';
  49. left: 0rpx;
  50. top: 0rpx;
  51. bottom: 0rpx;
  52. width: 4rpx;
  53. height: 28rpx;
  54. background: $theme-color;
  55. margin: auto;
  56. }
  57. }
  58. .btn_box {
  59. padding: 0 18rpx;
  60. height: 60rpx;
  61. background: $theme-color;
  62. font-size: 26rpx;
  63. font-style: normal;
  64. font-weight: 400;
  65. font-size: 24rpx;
  66. color: #fff;
  67. border-radius: 4rpx;
  68. .scan {
  69. width: 34rpx;
  70. height: 34rpx;
  71. margin-right: 12rpx;
  72. }
  73. }
  74. }
  75. .material {
  76. margin-top: 10rpx;
  77. .content_table {
  78. width: 100%;
  79. border: 2rpx solid $border-color;
  80. .item {
  81. display: flex;
  82. border-bottom: 1rpx dotted $border-color;
  83. .lable {
  84. width: 132rpx;
  85. text-align: center;
  86. background-color: #F7F9FA;
  87. font-size: 26rpx;
  88. border-right: 2rpx solid $border-color;
  89. flex-shrink: 0;
  90. }
  91. .lable150 {
  92. width: 156rpx !important;
  93. font-size: 24rpx;
  94. }
  95. .lable300 {
  96. width: 300rpx !important;
  97. padding-left: 14rpx;
  98. font-size: 24rpx;
  99. }
  100. .ww80 {
  101. width: 80rpx;
  102. }
  103. .content {
  104. width: 518rpx;
  105. min-height: 64rpx;
  106. font-size: 28rpx;
  107. line-height: 28rpx;
  108. font-style: normal;
  109. font-weight: 400;
  110. padding: 18rpx 8rpx;
  111. box-sizing: border-box;
  112. word-wrap: break-word;
  113. flex-grow: 1 !important;
  114. .unit {
  115. padding: 0 4rpx;
  116. font-size: 24rpx;
  117. color: #404446;
  118. }
  119. }
  120. .content_num {
  121. display: flex;
  122. align-items: center;
  123. padding: 0 4rpx;
  124. /deep/ .uni-input-input {
  125. border: 2rpx solid #F0F8F2;
  126. background: #F0F8F2;
  127. color: $theme-color;
  128. }
  129. }
  130. .pd4 {
  131. padding: 4rpx 8rpx;
  132. }
  133. &:last-child {
  134. border-bottom: none;
  135. }
  136. }
  137. .bot_border {
  138. border-bottom: 2rpx solid $theme-color;
  139. }
  140. .ww55 {
  141. width: 55%;
  142. }
  143. .ww45 {
  144. width: 45%;
  145. }
  146. }
  147. }
  148. </style>