huminmin
23 小时以前 afbda46853803b5fdf5e41abb71858dbfed30b52
打印销售出库返回uid
已修改2个文件
8 ■■■■■ 文件已修改
src/main/java/com/ruoyi/sales/service/impl/SalesLedgerServiceImpl.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/static/sale-outbound.docx 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/ruoyi/sales/service/impl/SalesLedgerServiceImpl.java
@@ -203,6 +203,13 @@
            if (shippingInfo != null) {
                product.setShippingStatus(shippingInfo.getStatus());
            }
            // 查询关联产品的UID
            if (product.getProductModelId() != null) {
                ProductModel productModel = productModelMapper.selectById(product.getProductModelId());
                if (productModel != null) {
                    product.setUidNo(productModel.getUidNo());
                }
            }
        }
        // 3.查询上传文件
@@ -911,6 +918,7 @@
            map.put("taxInclusiveUnitPrice", product.getTaxInclusiveUnitPrice().setScale(2, RoundingMode.HALF_UP).toString());
            map.put("taxInclusiveTotalPrice", product.getTaxInclusiveTotalPrice().setScale(2, RoundingMode.HALF_UP).toString());
            map.put("batchNo", product.getBatchNo());
            map.put("uidNo", product.getUidNo());
            // 查询凭证
            ProductModel productModel = productModelMapper.selectById(product.getProductModelId());
            if (productModel != null) {
src/main/resources/static/sale-outbound.docx
Binary files differ