Przeglądaj źródła

fix: 将委托企业ID默认值

liujt 6 miesięcy temu
rodzic
commit
428465e347
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/BIZComponents/inventoryTable.vue

+ 1 - 1
src/BIZComponents/inventoryTable.vue

@@ -1971,7 +1971,7 @@
             // if (supplierObj[item.productId]?.length === 1) {
             //   item.entrustedEnterpriseId = supplierObj[item.productId][0].id;
             // }
-            item.entrustedEnterpriseId = item.entrustedEnterpriseId || '';
+            item.entrustedEnterpriseId = item.entrustedEnterpriseId || undefined;
             item['customerMark'] = item.customerMark || this.customerMark;
             item['arrivalWay'] = item.arrivalWay || 1;
           });