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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
  | <template> 
 |      <HxlhTable 
 |        style="width: 100%" 
 |        :columns="columns" 
 |        :data="gasPlanList" 
 |        :loading="loading" 
 |        :height="height" 
 |      > 
 |      </HxlhTable> 
 |  </template> 
 |  <script setup> 
 |  const height = ref(document.documentElement.clientHeight - 270 + "px;"); 
 |  const loading = ref(true); 
 |  const gasPlanList = ref([]); 
 |  // 表格配置 
 |  const columns = ref([ 
 |    { 
 |      title: "主件料号", 
 |      field: "mainPartNumber", 
 |      width: 150, 
 |    }, 
 |    { 
 |      title: "业务类型", 
 |      field: "businessType", 
 |    }, 
 |    { 
 |      title: "单据号", 
 |      field: "documentNumber", 
 |      width: 100, 
 |    }, 
 |    { 
 |      title: "当前工序号", 
 |      field: "currentProcessNumberTxt", 
 |      width: 100, 
 |    }, 
 |    { 
 |      title: "需求分类", 
 |      field: "requirementType", 
 |      width: 80, 
 |    }, 
 |    { 
 |      title: "单据状态", 
 |      field: "documentStatus", 
 |      width: 80, 
 |    }, 
 |    { 
 |      title: "当前工序", 
 |      field: "workCenter", 
 |      width: 80, 
 |    }, 
 |    { 
 |      title: "计划开工日", 
 |      field: "processPlanStartDaytxt", 
 |      width: 140, 
 |      type: "html", 
 |    }, 
 |    { 
 |      title: "料号", 
 |      field: "itemNumber", 
 |      width: 140, 
 |      type: "html", 
 |    }, 
 |    { 
 |      title: "图号", 
 |      field: "drawingNo", 
 |      width: 120, 
 |      // format: 'YYYY-MM-DD' 
 |    }, 
 |    { 
 |      title: "版本号", 
 |      field: "versionNumber", 
 |      width: 140, 
 |      type: "html", 
 |    }, 
 |    { 
 |      title: "生产数量", 
 |      field: "productionQuantity", 
 |      width: 140, 
 |      type: "html", 
 |    }, 
 |    { 
 |      title: "计划完工日", 
 |      field: "planEndDay", 
 |      width: 140, 
 |      format: "YYYY-MM-DD hh:mm:ss", 
 |    }, 
 |  ]); 
 |    
 |  </script> 
 |  
  |