695593266@qq.com 2 luni în urmă
părinte
comite
16a94c5b88

+ 1 - 0
src/views/checklistManagement/components/checkDetails.vue

@@ -8,6 +8,7 @@
     resizable
     maxable
     width="80%"
+    append-to-body
   >
     <div
       v-if="(type == 'detail' || type == 'edit') && form.processInstanceId"

+ 1 - 0
src/views/produce/components/picking/newWokePopup.vue

@@ -178,6 +178,7 @@
       },
 
       openTwo(req) {
+        console.log(req, 'req');
         this.rightMode = 'list';
         this.currentRow = null;
         this.itemData = req;

+ 6 - 3
src/views/produce/index.vue

@@ -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);

+ 5 - 1
src/views/taskList/index.vue

@@ -860,7 +860,11 @@
           (item) => item.sourceTaskId === row.taskId
         );
 
-        this.$refs.qualityInspectionRefs.open(row, taskData, 1);
+        const req = {
+          productCode: row.categoryCode
+        };
+
+        this.$refs.qualityInspectionRefs.open(row, taskData, 1, req);
       },
 
       reportClick(row, type) {