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 @@ + + + + + + + + 查找钢卷并修正 + 刷新 + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + 暂无待领物料 + + + + + + {{ item.currentCoilNo }} + + + + + {{ item.itemType === 'raw_material' ? (item.rawMaterial && item.rawMaterial.rawMaterialName || + '—') : (item.product && item.product.productName || '—') }} + + + + + 编号: + {{ item.rawMaterial.rawMaterialCode }} + + + 规格: + {{ item.rawMaterial.specification }} + + + 材质: + {{ item.rawMaterial.material }} + + + + 表面处理: + {{ item.rawMaterial.surfaceTreatment }} + + + 锌层: + {{ item.rawMaterial.zincLayer }} + + + 厂家: + {{ item.rawMaterial.manufacturer }} + + + + + 编号: + {{ item.product.productCode }} + + + 规格: + {{ item.product.specification }} + + + 材质: + {{ item.product.material }} + + + + 表面处理: + {{ item.product.surfaceTreatment }} + + + 锌层: + {{ item.product.zincLayer }} + + + 厂家: + {{ item.product.manufacturer }} + + + + + + 毛重: + {{ item.grossWeight }}t + + + 净重: + {{ item.netWeight }}t + + + 班组: + {{ item.team }} + + + 更新时间: + {{ parseTime(item.updateTime, '{y}-{m}-{d} {h}:{i}') }} + + + 更新人: + {{ item.updateBy }} + + + 备注: + {{ item.remark }} + + + + + + + + + + + + + + + 入场: + {{ item.enterCoilNo || '—' }} + + + 厂家: + {{ item.supplierCoilNo || '—' }} + + + 库位: + {{ item.warehouseName || '—' }} + + + 库区: + {{ item.actualWarehouseName || '—' + }} + + + 重量: + {{ item.netWeight || '—' }}t + + + + + + + + + + + + + + + + + + + {{ + dict.label }} + + + + + + + + {{ + dict.label }} + + + + + {{ + dict.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 请先选择材料类型 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file
暂无待领物料