소스 검색

fix: 将委托企业ID默认值

liujt 6 달 전
부모
커밋
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;
           });