研发图纸文件管理系统-前端项目
he wei
2024-07-31 7076632b633cda8cd08848f063cd57a4480f1127
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<template>
  <div class="">
    <table class="table">
      <tbody>
        <tr>
          <th class="col-1">物料名称</th>
          <td colspan="3">{{ info.productName }}</td>
        </tr>
        <tr>
          <th class="col-1">型号</th>
          <td colspan="3">{{ info.type }}</td>
        </tr>
        <tr>
          <th class="col-1">厂商名称</th>
          <td colspan="3">{{ info.provideName }}</td>
        </tr>
        <tr>
          <th class="col-1">入料时间</th>
          <td>{{ info.startTimeEx }}</td>
          <th class="col-3">创建人</th>
          <td>{{ info.recorder }}</td>
        </tr>
        <tr>
          <th class="col-1">总数量</th>
          <td>{{ info.sumProduct }}</td>
          <th class="col-3">不良数</th>
          <td>{{ info.badProduct }}</td>
        </tr>
        <tr>
          <th class="col-1">不良描述</th>
          <td colspan="3">{{ info.content }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</template>
 
<script>
export default {
  name: "",
  props: {
    info: {
      type: Object,
      default() {
        return {};
      },
    },
  },
  data() {
    return {};
  },
  components: {},
  methods: {},
 
  mounted() {    
  },
};
</script>
 
<style lang="less" scoped>
.table {
  width: 100%;
  // table-layout: fixed;
  border-collapse: collapse;
  th,
  td {
    border: 1px #fff solid;
    padding: 4px;
  }
  td {
    color: #13c2c2;
    word-break: break-all;
  }
}
</style>