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)" > +