提交
This commit is contained in:
1 parent
2de86b0500
commit
7f4c9720e9
37 files changed
+33121
-28528
No files matched your search
@@ -303,6 +303,36 @@ export function fetchDeleteOutputType(id: string) {
|
||||
return request.del({ url: `/web/admin/output-types/${id}` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 生产产品类型(生产专用)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchProductionProductTypeList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: any[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
totalPages: number
|
||||
}>({ url: '/web/admin/production-product-types', params })
|
||||
}
|
||||
|
||||
export function fetchCreateProductionProductType(data: Record<string, any>) {
|
||||
return request.post({ url: '/web/admin/production-product-types', params: data })
|
||||
}
|
||||
|
||||
export function fetchUpdateProductionProductType(id: string, data: Record<string, any>) {
|
||||
return request.put({ url: `/web/admin/production-product-types/${id}`, params: data })
|
||||
}
|
||||
|
||||
export function fetchDeleteProductionProductType(id: string) {
|
||||
return request.del({ url: `/web/admin/production-product-types/${id}` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 耗材包管理
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
+1
@@ -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": "L21"}, {"id": "api_production_fetchcreateconsumable", "label": "fetchCreateConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L25"}, {"id": "api_production_fetchupdateconsumable", "label": "fetchUpdateConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L29"}, {"id": "api_production_fetchdeleteconsumable", "label": "fetchDeleteConsumable()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L33"}, {"id": "api_production_fetchreagentlist", "label": "fetchReagentList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L41"}, {"id": "api_production_fetchallreagents", "label": "fetchAllReagents()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L51"}, {"id": "api_production_fetchcreatereagent", "label": "fetchCreateReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L55"}, {"id": "api_production_fetchupdatereagent", "label": "fetchUpdateReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L59"}, {"id": "api_production_fetchdeletereagent", "label": "fetchDeleteReagent()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L63"}, {"id": "api_production_fetchequipmentlist", "label": "fetchEquipmentList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L71"}, {"id": "api_production_fetchallequipments", "label": "fetchAllEquipments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L86"}, {"id": "api_production_fetchcreateequipment", "label": "fetchCreateEquipment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L90"}, {"id": "api_production_fetchupdateequipment", "label": "fetchUpdateEquipment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L94"}, {"id": "api_production_fetchdeleteequipment", "label": "fetchDeleteEquipment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L102"}, {"id": "api_production_fetchcleanroomgarmentlist", "label": "fetchCleanroomGarmentList()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L110"}, {"id": "api_production_fetchcleanroomgarmentdetail", "label": "fetchCleanroomGarmentDetail()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L126"}, {"id": "api_production_fetchcreatecleanroomgarment", "label": "fetchCreateCleanroomGarment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L130"}, {"id": "api_production_fetchupdatecleanroomgarment", "label": "fetchUpdateCleanroomGarment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L134"}, {"id": "api_production_fetchdeletecleanroomgarment", "label": "fetchDeleteCleanroomGarment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L138"}, {"id": "api_production_fetchbatchdeletecleanroomgarments", "label": "fetchBatchDeleteCleanroomGarments()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L142"}, {"id": "api_production_fetchdiscardcleanroomgarment", "label": "fetchDiscardCleanroomGarment()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/api/production.ts", "source_location": "L146"}, {"id": "api_pLine truncated
|
||||
+1
@@ -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": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "label": "ProcessRouteTab.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1"}, {"id": "process_processroutetab_if", "label": "if()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1496"}, {"id": "process_processroutetab_get", "label": "get()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1704"}, {"id": "process_processroutetab_set", "label": "set()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1714"}, {"id": "process_processroutetab_for", "label": "for()", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1756"}], "edges": [{"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1496", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_if", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1616", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1704", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1714", "weight": 1.0}, {"source": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_process_processroutetab_vue", "target": "process_processroutetab_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1756", "weight": 1.0}], "raw_calls": [{"caller_nid": "process_processroutetab_if", "callee": "mapReagentOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1498"}, {"caller_nid": "process_processroutetab_if", "callee": "mapConsumableOptionLabel", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1618"}, {"caller_nid": "process_processroutetab_get", "callee": "isArray", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1708"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1708"}, {"caller_nid": "process_processroutetab_get", "callee": "filter", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1709"}, {"caller_nid": "process_processroutetab_get", "callee": "map", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1709"}, {"caller_nid": "process_processroutetab_get", "callee": "split", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1709"}, {"caller_nid": "process_processroutetab_get", "callee": "String", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1709"}, {"caller_nid": "process_processroutetab_set", "callee": "join", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_location": "L1716"}, {"caller_nid": "process_processroutetab_for", "callee": "push", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/process/ProcessRouteTab.vue", "source_locaLine truncated
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_production_work_order_taskoutputproductdialog_vue", "label": "TaskOutputProductDialog.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/production-work-order/TaskOutputProductDialog.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
+1
@@ -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": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_wuzilong_work_00code_zkxw_web_admin_src_views_production_cell_product_index_vue", "label": "index.vue", "file_type": "code", "source_file": "/Users/wuzilong/work/00code/zkxw/web-admin/src/views/production/cell-product/index.vue", "source_location": "L1"}], "edges": [], "raw_calls": []}
|
||||
@@ -776,9 +776,9 @@
|
||||
fetchCheckCellProductCode
|
||||
} from '@/api/cell-product'
|
||||
import {
|
||||
fetchCellProductTypeList,
|
||||
fetchItemUnitList
|
||||
} from '@/api/admin'
|
||||
import { fetchProductionProductTypeList } from '@/api/production'
|
||||
import {
|
||||
remoteSearchStorageSlotSelectOptions,
|
||||
getLastStorageSlotSearchQuery,
|
||||
@@ -1319,7 +1319,7 @@
|
||||
async function remoteSearchProductTypes(query: string) {
|
||||
productTypeOptionsLoading.value = true
|
||||
try {
|
||||
const res = await fetchCellProductTypeList({
|
||||
const res = await fetchProductionProductTypeList({
|
||||
page: 1,
|
||||
pageSize: 100,
|
||||
keyword: query?.trim() || undefined
|
||||
|
||||
@@ -1117,9 +1117,10 @@
|
||||
fetchAllProcesses,
|
||||
fetchAllProcessCategories,
|
||||
fetchAllSopDocuments,
|
||||
fetchAllOutputTypes
|
||||
fetchAllOutputTypes,
|
||||
fetchProductionProductTypeList
|
||||
} from '@/api/production'
|
||||
import { fetchCellProductTypeList, fetchItemUnitList } from '@/api/admin'
|
||||
import { fetchItemUnitList } from '@/api/admin'
|
||||
import {
|
||||
SHOW_PROCESS_REAGENT_CONSUMABLE,
|
||||
PROCESS_ROUTE_DEFAULT_SUB_TAB
|
||||
@@ -1158,7 +1159,7 @@
|
||||
async function remoteSearchProductTypes(query: string) {
|
||||
productTypeOptionsLoading.value = true
|
||||
try {
|
||||
const res = await fetchCellProductTypeList({
|
||||
const res = await fetchProductionProductTypeList({
|
||||
page: 1,
|
||||
pageSize: 100,
|
||||
keyword: query?.trim() || undefined
|
||||
|
||||
@@ -291,7 +291,7 @@
|
||||
<script setup lang="ts">
|
||||
import { Close, Check, MagicStick } from '@element-plus/icons-vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { fetchCellProductTypeList } from '@/api/admin'
|
||||
import { fetchProductionProductTypeList } from '@/api/production'
|
||||
import { fetchMaxPassageProductSeq, fetchMaxProductSuffixSeq, fetchCheckCellProductCode } from '@/api/cell-product'
|
||||
import { cellProductTypeNeedsPassage } from '@/utils/cell-product-type'
|
||||
import {
|
||||
@@ -365,7 +365,7 @@
|
||||
async function remoteSearchProductTypes(query: string) {
|
||||
productTypeOptionsLoading.value = true
|
||||
try {
|
||||
const res = await fetchCellProductTypeList({
|
||||
const res = await fetchProductionProductTypeList({
|
||||
page: 1,
|
||||
pageSize: 100,
|
||||
keyword: query?.trim() || undefined
|
||||
|
||||
Reference in new issue
Block a user