diff --git a/src/views/erp/stock/warehouse/index.vue b/src/views/erp/stock/warehouse/index.vue
index 4cc48caa..8057676f 100644
--- a/src/views/erp/stock/warehouse/index.vue
+++ b/src/views/erp/stock/warehouse/index.vue
@@ -119,16 +119,6 @@
-
-
-
-
-
-
-
-
-
- {{ getAreaName(scope.row.areaId) }}
-
-
-
-
-
-
-
-
- {{ scope.row.positionX }}, {{ scope.row.positionY }}, {{ scope.row.positionZ }}
-
-
-
-
-
- {{ scope.row.allowProductMix ? t('common.yes') : t('common.no') }}
-
-
-
-
-
-
- {{ scope.row.allowBatchMix ? t('common.yes') : t('common.no') }}
-
-
-
-
-
-
-
-
-
-
-
@@ -344,23 +296,6 @@ const handleDelete = async (id: number) => {
} catch {}
}
-/** 修改默认状态 */
-const handleDefaultStatusChange = async (row: WarehouseVO) => {
- try {
- // 修改状态的二次确认
- const actionText = row.defaultStatus ? t('ErpStock.Warehouse.set') : t('ErpStock.Warehouse.cancel')
- const text = t('ErpStock.Warehouse.confirmDefaultStatus', { action: actionText, name: row.name })
- await message.confirm(text)
- // 发起修改状态
- await WarehouseApi.updateWarehouseDefaultStatus(row.id, row.defaultStatus)
- // 刷新列表
- await getList()
- } catch (e) {
- // 取消后,进行恢复按钮
- row.defaultStatus = !row.defaultStatus
- }
-}
-
/** 导出按钮操作 */
const handleExport = async () => {
try {
@@ -391,12 +326,6 @@ const openDetail = async (id: number) => {
}
}
-/** 根据库区ID获取库区名称 */
-const getAreaName = (areaId: number) => {
- if (!detailData.value?.areaList) return '-'
- return detailData.value.areaList.find((area) => area.id === areaId)?.areaName || '-'
-}
-
/** 选中操作 */
const selectionList = ref([])
const handleSelectionChange = (rows: WarehouseVO[]) => {