Просмотр исходного кода

fix: 将委托企业ID默认值

liujt 6 месяцев назад
Родитель
Сommit
428465e347
1 измененных файлов с 1 добавлено и 1 удалено
  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;
           });