From 490353b811737b45132be895d3ea61d67288d44b Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 22 Jun 2026 14:10:53 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=87=BA=E5=BA=93=E5=8D=95?= =?UTF-8?q?=E6=8D=AE-=E6=B7=BB=E5=8A=A0=E5=87=BA=E5=BA=93=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en.ts | 3 + src/locales/zh-CN.ts | 3 + .../stock/out/components/StockOutItemForm.vue | 384 +++++++++++++++++- 3 files changed, 381 insertions(+), 9 deletions(-) diff --git a/src/locales/en.ts b/src/locales/en.ts index c1f74466..7ae4f7d4 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -552,6 +552,9 @@ warehouse: 'Warehouse Name', area: 'Area', product: 'Product Name', + productLabel: 'Product', + materialLabel: 'Material', + sparePartLabel: 'Spare Part', stock: 'Stock', barcode: 'Barcode', unit: 'Unit', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index bed5862d..6af33d83 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -552,6 +552,9 @@ warehouse: '仓库名称', area: '库区', product: '名称', + productLabel: '产品', + materialLabel: '物料', + sparePartLabel: '备件', stock: '库存', barcode: '编码', unit: '单位', diff --git a/src/views/erp/stock/out/components/StockOutItemForm.vue b/src/views/erp/stock/out/components/StockOutItemForm.vue index 7aa7e97a..0a283009 100644 --- a/src/views/erp/stock/out/components/StockOutItemForm.vue +++ b/src/views/erp/stock/out/components/StockOutItemForm.vue @@ -24,7 +24,7 @@ v-model="row.warehouseId" clearable filterable filterable :placeholder="t('ErpStock.Item.placeholderArea')" :disabled="!row.warehouseId" - @change="setStockCount(row)" + @change="handleAreaChange(row)" > +