yusheng il y a 1 semaine
Parent
commit
04b5357dd5

+ 0 - 1
src/components/orderListDialog/orderListDialog.vue

@@ -220,7 +220,6 @@
           size: limit,
           ...where,
           orderStatus: 2,
-          isOutsourcing: 1,
           partbId: this.partbId,
           ...this.searchParams
         });

+ 12 - 2
src/views/recordComponents/workOrderReport.vue

@@ -688,13 +688,23 @@
         this.addForm.contactId = data.id;
         this.addForm.supplierName = data.name;
         this.addForm.supplierId = data.id;
-        if (this.pageName == 'QualityInspection') {
+        if (
+          ['QualityInspection', 'HaulSlag', 'TransportAsh'].includes(
+            this.pageName
+          )
+        ) {
+          let data = {
+            pageNum: 1,
+            size: 999,
+            orderStatus: 2,
+            partbId: data.id
+          };
+
           //来煤获取采购订单
           getTableList({
             pageNum: 1,
             size: 999,
             orderStatus: 2,
-            isOutsourcing: 1,
             partbId: data.id
           }).then((res) => {
             if (res.list?.length == 1) {