|
|
@@ -1504,6 +1504,7 @@
|
|
|
req
|
|
|
);
|
|
|
} else {
|
|
|
+ console.log(this.taskData, 'this.taskData');
|
|
|
if (!this.taskData) {
|
|
|
return this.$message.warning('请选择一条任务单进行首件两检');
|
|
|
}
|
|
|
@@ -1545,13 +1546,15 @@
|
|
|
(item) => item.sourceTaskId === row.taskId
|
|
|
);
|
|
|
|
|
|
- const item = this.workData?.list?.[0];
|
|
|
- if (!item) return null;
|
|
|
+ // const item = this.workData?.list?.[0];
|
|
|
+
|
|
|
+ // console.log(item, 'item1111');
|
|
|
+ // if (!item) return null;
|
|
|
|
|
|
const req = {
|
|
|
taskId: this.taskObj.id,
|
|
|
workOrderId: this.workListIds[0],
|
|
|
- productCode: item.productCode
|
|
|
+ productCode: row.productCode
|
|
|
};
|
|
|
|
|
|
this.$refs.qualityInspectionRef.open(row, taskData, 1, req);
|