diff --git a/core/dao/src/main/resources/mapper_xml/product/ProductStockMapper.xml b/core/dao/src/main/resources/mapper_xml/product/ProductStockMapper.xml
index 7116ae40..7cfb1210 100644
--- a/core/dao/src/main/resources/mapper_xml/product/ProductStockMapper.xml
+++ b/core/dao/src/main/resources/mapper_xml/product/ProductStockMapper.xml
@@ -21,11 +21,26 @@
diff --git a/core/domain/src/main/java/com/wansenai/dto/product/QueryProductStockKeepUnitDTO.java b/core/domain/src/main/java/com/wansenai/dto/product/QueryProductStockKeepUnitDTO.java
index 38168353..dbeaf3d9 100644
--- a/core/domain/src/main/java/com/wansenai/dto/product/QueryProductStockKeepUnitDTO.java
+++ b/core/domain/src/main/java/com/wansenai/dto/product/QueryProductStockKeepUnitDTO.java
@@ -30,4 +30,6 @@ public class QueryProductStockKeepUnitDTO {
private Long page;
private Long pageSize;
+
+ private String keywords;
}
diff --git a/core/service/src/main/java/com/wansenai/service/product/impl/ProductServiceImpl.java b/core/service/src/main/java/com/wansenai/service/product/impl/ProductServiceImpl.java
index 68980643..398b068b 100644
--- a/core/service/src/main/java/com/wansenai/service/product/impl/ProductServiceImpl.java
+++ b/core/service/src/main/java/com/wansenai/service/product/impl/ProductServiceImpl.java
@@ -280,6 +280,13 @@ public Response> getProductInfo(QueryProductDTO queryProductDTO)
.like(StringUtils.hasLength(queryProductDTO.getExtendInfo()), Product::getOtherFieldOne, queryProductDTO.getExtendInfo())
.like(StringUtils.hasLength(queryProductDTO.getRemark()), Product::getRemark, queryProductDTO.getRemark())
.like(StringUtils.hasLength(queryProductDTO.getWarehouseShelves()), Product::getWarehouseShelves, queryProductDTO.getWarehouseShelves())
+ .like(StringUtils.hasLength(queryProductDTO.getKeywords()), Product::getProductName, queryProductDTO.getKeywords())
+ .or()
+ .like(StringUtils.hasLength(queryProductDTO.getKeywords()), Product::getProductStandard, queryProductDTO.getKeywords())
+ .or()
+ .like(StringUtils.hasLength(queryProductDTO.getKeywords()), Product::getProductModel, queryProductDTO.getKeywords())
+ .or()
+ .like(StringUtils.hasLength(queryProductDTO.getKeywords()), Product::getProductColor, queryProductDTO.getKeywords())
.eq(queryProductDTO.getProductCategoryId() != null, Product::getProductCategoryId, queryProductDTO.getProductCategoryId())
.eq(queryProductDTO.getStatus() != null, Product::getStatus, queryProductDTO.getStatus())
.eq(queryProductDTO.getEnableSerialNumber() != null, Product::getEnableSerialNumber, queryProductDTO.getEnableSerialNumber())
diff --git a/web/.npmrc b/web/.npmrc
index 195d12fe..642549e1 100644
--- a/web/.npmrc
+++ b/web/.npmrc
@@ -3,3 +3,5 @@ public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=lint-staged
public-hoist-pattern[]=*stylelint*
public-hoist-pattern[]=@commitlint/cli
+# Fix CI/CD Github ERR_PNPM_BAD_PM_VERSION  This project is configured to use v9.1.2 of pnpm. Your current pnpm is v9.1.3
+package-manager-strict=false
diff --git a/web/src/views/sales/order/sales.data.ts b/web/src/views/sales/order/sales.data.ts
index 6703a9ee..014d28e6 100644
--- a/web/src/views/sales/order/sales.data.ts
+++ b/web/src/views/sales/order/sales.data.ts
@@ -143,12 +143,12 @@ export const TableColumns: BasicColumn[] = [
{
title: t('sales.order.form.table.barCode'),
dataIndex: 'barCode',
- width: 100,
+ width: 150,
},
{
title: t('sales.order.form.table.name'),
dataIndex: 'productName',
- width: 120,
+ width: 150,
},
{
title: t('sales.order.form.table.standard'),
@@ -156,7 +156,7 @@ export const TableColumns: BasicColumn[] = [
width: 120,
},
{
- title: t('sales.order.form.table.standard'),
+ title: t('sales.order.form.table.model'),
dataIndex: 'productModel',
width: 120,
},