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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
| <script lang="ts" setup>
| import { reactive } from 'vue'
| import { ref } from 'vue'
| const value = ref('')
| const defaultTime = ref<[Date, Date]>([
| new Date(2000, 1, 1, 0, 0, 0),
| new Date(2000, 2, 1, 23, 59, 59),
| ])
|
| // do not use same name with ref
| const form = reactive({
| name: '',
| region: '',
| date1: '',
| date2: '',
| delivery: false,
| type: [],
| resource: '',
| desc: '',
| })
| const tableData = [
| {
| reportingWorkNo: 'BG2312070001',
| reportingWorkTime: '2023-12-01 08:01:22',
| processCard: 'NG231207A01',
| entryName: '信合春天里',
| customerName: 'XXXX',
| thisProcess: '中空',
| teamName:"中空一班",
| finishedNumber: '11',
| wornNumber: '1',
| responsibilityProcess: '钢化',
| previousProcess:'钢化',
| nextProcess:'包装',
| qualityInspector: 'XXX',
| qualityState: '1',
| notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
| },
| {
| reportingWorkNo: 'BG2312070002',
| reportingWorkTime: '2023-12-01 08:01:22',
| processCard: 'NG231207A01',
| entryName: '信合春天里',
| customerName: 'XXXX',
| thisProcess: '中空',
| teamName:"中空一班",
| finishedNumber: '11',
| wornNumber: '1',
| responsibilityProcess: '钢化',
| previousProcess:'钢化',
| nextProcess:'包装',
| qualityInspector: 'XXX',
| qualityState: '1',
| notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
| },
| {
| reportingWorkNo: 'BG2312070003',
| reportingWorkTime: '2023-12-01 08:01:22',
| processCard: 'NG231207A01',
| entryName: '信合春天里',
| customerName: 'XXXX',
| thisProcess: '中空',
| teamName:"中空一班",
| finishedNumber: '11',
| wornNumber: '1',
| responsibilityProcess: '钢化',
| previousProcess:'钢化',
| nextProcess:'包装',
| qualityInspector: 'XXX',
| qualityState: '1',
| notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
| },
| {
| reportingWorkNo: 'BG2312070004',
| reportingWorkTime: '2023-12-01 08:01:22',
| processCard: 'NG231207A01',
| entryName: '信合春天里',
| customerName: 'XXXX',
| thisProcess: '中空',
| teamName:"中空一班",
| finishedNumber: '11',
| wornNumber: '1',
| responsibilityProcess: '钢化',
| previousProcess:'钢化',
| nextProcess:'包装',
| qualityInspector: 'XXX',
| qualityState: '1',
| notes: '1)按企标2)每片玻璃标签贴室外面。内片玻璃打“3C商标”,统一打在玻璃“宽度”方向右下角4)按批次单独落架。',
| },
|
| ]
| </script>
|
| <template>
| <div>
| <div style="width: 600px">
| <el-row :gutter="0">
| <!-- <el-input placeholder="流程卡号" v-model="form.name" style="width: 200px"/>-->
| <!-- -->
| <select class="processesSt">
| <option value="未审核">未审核</option>
| <option value="已审核">已审核</option>
| </select>
|
| <el-date-picker
| v-model="value"
| type="daterange"
| start-placeholder="开始时间"
| end-placeholder="结束时间"
| :default-time="defaultTime"
|
| />
|
| <el-button type="primary">查询</el-button>
| </el-row>
| </div>
| <div>
| <el-table :data="tableData" border style="width: 100%" height="100%">
| <el-table-column fixed label="操作" width="60" >
| <el-button link type="primary" size="small">通过</el-button>
| </el-table-column>
| <el-table-column sortable prop="reportingWorkNo" label="报工编号" width="120" >
| <template v-slot="scope">
| <router-link :to="{path:'QualityInReviewDetail'}" >{{scope.row.reportingWorkNo}}</router-link>
| </template>
| </el-table-column>
| <el-table-column prop="reportingWorkTime" label="报工时间" width="155" />
| <el-table-column prop="processCard" label="流程卡号" width="125" />
| <el-table-column prop="entryName" label="项目名称" :show-overflow-tooltip='true' width="155" />
| <el-table-column prop="customerName" label="客户名称" :show-overflow-tooltip='true' width="155" />
| <el-table-column prop="thisProcess" label="本工序" width="70" />
| <el-table-column prop="teamName" label="报工班组" width="95" />
| <el-table-column prop="finishedNumber" label="完工数量" width="85" />
| <el-table-column prop="wornNumber" label="次破数量" width="85" />
| <el-table-column prop="responsibilityProcess" label="责任工序" width="85" />
| <el-table-column prop="previousProcess" label="上工序" width="70" />
| <el-table-column prop="nextProcess" label="下工序" width="70" />
| <el-table-column prop="qualityInspector" label="质检员" width="80" />
| <el-table-column prop="qualityState" label="质检状态" width="90" />
| <el-table-column prop="notes" label="备注" :show-overflow-tooltip='true' width="350" />
| </el-table><!-- <h1>{{msg}}</h1> -->
| </div>
|
| </div>
| </template>
|
| <style scoped>
| .processesSt{
| height: 33px;
| width: 80px;
| background-color: #409eff;
| color: white;
| border: none;
| border-radius: 5px;
| }
|
| </style>
|
|