瀏覽代碼

fix: 将委托企业ID默认值

liujt 7 月之前
父節點
當前提交
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;
           });