CANCERYS\kw093 7 часов назад
Родитель
Сommit
9c9888a44f
4 измененных файлов: 537 добавлений и 619 удалений
  1. +7
    -6
      src/app/api/stockTake/actions.ts
  2. +516
    -610
      src/components/StockTakeManagement/ApproverStockTakeAll.tsx
  3. +4
    -0
      src/i18n/zh/common.json
  4. +10
    -3
      src/i18n/zh/inventory.json

+ 7
- 6
src/app/api/stockTake/actions.ts Просмотреть файл

@@ -137,10 +137,11 @@ export interface AllPickedStockTakeListReponse {

/** 與 Picker 列表一致:區域描述、盤點區域、貨品編號/名稱(逗號多關鍵字由後端解析) */
export type ApproverInventoryLotDetailsQuery = {
itemCode?: string | null;
itemName?: string | null;
itemKeyword?: string | null;
//itemKeyword?: string | null;
sectionDescription?: string | null;
stockTakeSections?: string | null;
warehouseKeyword?: string | null;
};

function appendApproverInventoryLotQueryParams(
@@ -148,11 +149,11 @@ function appendApproverInventoryLotQueryParams(
query?: ApproverInventoryLotDetailsQuery | null
) {
if (!query) return;
if (query.itemCode != null && query.itemCode.trim() !== "") {
params.append("itemCode", query.itemCode.trim());
if (query.itemKeyword != null && query.itemKeyword.trim() !== "") {
params.append("itemKeyword", query.itemKeyword.trim());
}
if (query.itemName != null && query.itemName.trim() !== "") {
params.append("itemName", query.itemName.trim());
if (query.warehouseKeyword != null && query.warehouseKeyword.trim() !== "") {
params.append("warehouseKeyword", query.warehouseKeyword.trim());
}
if (
query.sectionDescription != null &&


+ 516
- 610
src/components/StockTakeManagement/ApproverStockTakeAll.tsx
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 4
- 0
src/i18n/zh/common.json Просмотреть файл

@@ -407,6 +407,7 @@
"Lines with insufficient stock: ": "未能提料項目數量: ",
"Total lines: ": "總數量:",
"Balance": "可用數量",
"Selected Qty": "選擇數量",
"Submitting...": "提交中...",
"Batch Count": "批數",
"Shop": "店鋪",
@@ -429,6 +430,9 @@
"District Reference": "區域參考",
"Store ID": "樓層",
"Remark": "備註",
"Not Match": "數值不符",
"Pass": "通過",
"pass": "通過",
"Actions": "操作",
"View Detail": "查看詳情",
"Back": "返回",


+ 10
- 3
src/i18n/zh/inventory.json Просмотреть файл

@@ -49,13 +49,20 @@
"Batch Submit All": "批量提交所有",
"Batch Save All": "批量保存所有",
"not match": "數值不符",
"Stock Take Qty(include Bad Qty)= Available Qty": "盤點數(含壞品)= 可用數",
"Not Match": "數值不符",
"Pass": "通過",
"Selected Qty": "選擇數量",
"Show Search Filters": "顯示搜索器",
"Hide Search Filters": "隱藏搜索器",
"Stock Take Qty(include Bad Qty)= Available Qty": "盤點數(含壞品)= 可用數",
"View ReStockTake": "查看重新盤點",
"Stock Take Qty": "盤點數",
"variance Percentage": "差異百分比",
"-{{Variance}}≤Variance Percentage ≤{{Variance}} will be filtered out": "-{{Variance}}%≤差異百分比≤{{Variance}}%將被過濾掉",
"Stock Take Qty": "盤點數",
"Total": "總數",
"Shown": "顯示",
"Filtered out": "過濾掉",
"ReStockTake": "重新盤點",
"Stock Taker": "盤點員",
"Total Item Number": "貨品數量",


Загрузка…
Отмена
Сохранить