diff --git a/klp-ui/src/components/KLPService/ProductSelect/index.vue b/klp-ui/src/components/KLPService/ProductSelect/index.vue index 6f396765..d992b769 100644 --- a/klp-ui/src/components/KLPService/ProductSelect/index.vue +++ b/klp-ui/src/components/KLPService/ProductSelect/index.vue @@ -205,7 +205,7 @@ export default { this.recentLoading = true; // 从localstorage中获取缓存的ids const ids = localStorage.getItem('recentlySelectedProductIds') || ''; - const idsArray = ids.split(','); + const idsArray = ids.split(',').filter(id => id); if (idsArray.length === 0) return; const list = await Promise.all(idsArray.map(async id => { const response = await getProduct(id); diff --git a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue index 7b317379..6ed02a98 100644 --- a/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue +++ b/klp-ui/src/components/KLPService/RawMaterialSelect/index.vue @@ -215,7 +215,8 @@ export default { this.recentLoading = true; // 从localstorage中获取缓存的ids const ids = localStorage.getItem('recentlySelectedRawMaterialIds') || ''; - const idsArray = ids.split(','); + const idsArray = ids.split(',').filter(id => id); + console.log('idsArray', idsArray, idsArray.length === 0); if (idsArray.length === 0) return; const list = await Promise.all(idsArray.map(async id => { const response = await getRawMaterial(id); diff --git a/klp-ui/src/views/wms/coil/do/correct.vue b/klp-ui/src/views/wms/coil/do/correct.vue new file mode 100644 index 00000000..56428531 --- /dev/null +++ b/klp-ui/src/views/wms/coil/do/correct.vue @@ -0,0 +1,1124 @@ + + + + + \ No newline at end of file