This commit is contained in:
zlwu committed 2026-05-23 14:49:50 +08:00
1 parent fb85230d25
commit 05684ba2a4
56 files changed
+26110 -13601

No files matched your search

@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_types_import_components_d_ts", "label": "components.d.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/types/import/components.d.ts", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_consumable_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/consumable/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_api_production_ts", "label": "production.ts", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L1"}, {"id": "api_production_fetchconsumablelist", "label": "fetchConsumableList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L7"}, {"id": "api_production_fetchallconsumables", "label": "fetchAllConsumables()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L17"}, {"id": "api_production_fetchcreateconsumable", "label": "fetchCreateConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L21"}, {"id": "api_production_fetchupdateconsumable", "label": "fetchUpdateConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L25"}, {"id": "api_production_fetchdeleteconsumable", "label": "fetchDeleteConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L29"}, {"id": "api_production_fetchreagentlist", "label": "fetchReagentList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L37"}, {"id": "api_production_fetchallreagents", "label": "fetchAllReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L47"}, {"id": "api_production_fetchcreatereagent", "label": "fetchCreateReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L51"}, {"id": "api_production_fetchupdatereagent", "label": "fetchUpdateReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L55"}, {"id": "api_production_fetchdeletereagent", "label": "fetchDeleteReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L59"}, {"id": "api_production_fetchsoplist", "label": "fetchSopList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L67"}, {"id": "api_production_fetchallsopdocuments", "label": "fetchAllSopDocuments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L77"}, {"id": "api_production_fetchcreatesop", "label": "fetchCreateSop()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L81"}, {"id": "api_production_fetchupdatesop", "label": "fetchUpdateSop()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L85"}, {"id": "api_production_fetchdeletesop", "label": "fetchDeleteSop()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L89"}, {"id": "api_production_fetchprocesscategorylist", "label": "fetchProcessCategoryList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L97"}, {"id": "api_production_fetchallprocesscategories", "label": "fetchAllProcessCategories()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L111"}, {"id": "api_production_fetchcreateprocesscategory", "label": "fetchCreateProcessCategory()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L115"}, {"id": "api_production_fetchupdateprocesscategory", "label": "fetchUpdateProcessCategory()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L119"}, {"id": "api_production_fetchdeleteprocesscategory", "label": "fetchDeleteProcessCategory()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L123"}, {"id": "api_production_fetchoutputtypelist", "label": "fetchOutputTypeList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L131"}, {"id": "api_production_fetchalloutputtypes", "label": "fetchAllOutputTypes()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L141"}, {"id": "api_production_fetchcreateoutputtype", "label": "fetchCreateOutputType()", "file_type": "code", "source_file"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_reagent_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/reagent/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
@@ -145,7 +145,7 @@
<el-form-item label="变动类型">
<el-select v-model="logSearchForm.changeType" placeholder="全部" clearable>
<el-option label="入库" value="in" />
<el-option label="出库" value="use" />
<el-option label="出库" value="out" />
</el-select>
</el-form-item>
<el-form-item label="时间范围">
@@ -212,6 +212,12 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="工单号" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.taskNo || '-' }}</template>
</el-table-column>
<el-table-column label="步骤名称" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.stepName || '-' }}</template>
</el-table-column>
<el-table-column label="领用人" min-width="100" align="center" header-align="center">
<template #default="{ row }">{{ row.receiver || '-' }}</template>
</el-table-column>
@@ -785,6 +791,12 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="工单号" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.taskNo || '-' }}</template>
</el-table-column>
<el-table-column label="步骤名称" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.stepName || '-' }}</template>
</el-table-column>
<el-table-column label="领用人" min-width="100" align="center" header-align="center">
<template #default="{ row }">{{ row.receiver || '-' }}</template>
</el-table-column>
@@ -1020,7 +1032,7 @@
function getSourceLabel(sourceType: string) {
if (sourceType === 'manual_in') return '手动入库'
if (sourceType === 'manual_out') return '手动出库'
if (sourceType === 'step_save') return '步骤扣减'
if (sourceType === 'step_save') return '生产扣减'
return sourceType || '-'
}
@@ -219,8 +219,8 @@
</el-form-item>
<el-form-item label="变动类型">
<el-select v-model="allLogFilter.changeType" placeholder="全部" clearable>
<el-option label="入库" value="in" />
<el-option label="出库" value="use" />
<el-option label="入库" value="in" />
<el-option label="出库" value="out" />
</el-select>
</el-form-item>
<el-form-item label="时间范围">
@@ -319,6 +319,12 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="工单号" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.taskNo || '-' }}</template>
</el-table-column>
<el-table-column label="步骤名称" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.stepName || '-' }}</template>
</el-table-column>
<el-table-column
prop="receiver"
label="领用人"
@@ -928,7 +934,7 @@
<el-form-item label="变动类型">
<el-select v-model="stockLogFilter.changeType" placeholder="全部" clearable @change="loadStockLogs">
<el-option label="入库" value="in" />
<el-option label="出库" value="use" />
<el-option label="出库" value="out" />
</el-select>
</el-form-item>
</el-form>
@@ -985,6 +991,12 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="工单号" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.taskNo || '-' }}</template>
</el-table-column>
<el-table-column label="步骤名称" min-width="140" align="center" header-align="center">
<template #default="{ row }">{{ row.stepName || '-' }}</template>
</el-table-column>
<el-table-column
prop="receiver"
label="领用人"
@@ -1099,7 +1111,7 @@
const map: Record<string, string> = {
manual_in: '手动入库',
manual_out: '手动出库',
step_save: '步骤扣减'
step_save: '生产扣减'
}
return map[sourceType] || sourceType || '-'
}