|
|
@@ -498,13 +498,13 @@
|
|
|
},
|
|
|
|
|
|
async openEdit(type, row) {
|
|
|
- // if (type == 'edit') {
|
|
|
- // const code = await verificationQualityInspector(row.id);
|
|
|
- // if (code == '-1') {
|
|
|
- // console.log('不是报工人');
|
|
|
- // return;
|
|
|
- // }
|
|
|
- // }
|
|
|
+ if (type == 'edit') {
|
|
|
+ const code = await verificationQualityInspector(row.id);
|
|
|
+ if (code == '-1') {
|
|
|
+ console.log('不是报工人');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
const req = {
|
|
|
workOrderId: row.id,
|