feat(wms): WMS新增物料大类相关接口和页面

- 新增 WMS 物料大类相关接口,包括列表、详情、新增、修改、删除等
- 更新多个页面,使用新的 WMS 物料大类接口(InWMS)替代 MES 物料大类接口
- 优化物料大类下拉框的数据获取逻辑
master
zch 3 months ago
parent ea88772e71
commit 474f4f28e7

@ -0,0 +1,77 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { BaseMaterialCategoryVO, BaseMaterialCategoryForm, BaseMaterialCategoryQuery } from '@/api/wms/baseMaterialCategory/types';
/**
*
* @param query
* @returns {*}
*/
export const listBaseMaterialCategoryInWMS = (query?: BaseMaterialCategoryQuery): AxiosPromise<BaseMaterialCategoryVO[]> => {
return request({
url: '/wms/baseMaterialCategory/list',
method: 'get',
params: query
});
};
/**
*
* @param materialCategoryId
*/
export const getBaseMaterialCategoryInWMS = (materialCategoryId: string | number): AxiosPromise<BaseMaterialCategoryVO> => {
return request({
url: '/wms/baseMaterialCategory/' + materialCategoryId,
method: 'get'
});
};
/**
*
* @param data
*/
export const addBaseMaterialCategoryInWMS = (data: BaseMaterialCategoryForm) => {
return request({
url: '/wms/baseMaterialCategory',
method: 'post',
data: data
});
};
/**
*
* @param data
*/
export const updateBaseMaterialCategoryInWMS = (data: BaseMaterialCategoryForm) => {
return request({
url: '/wms/baseMaterialCategory',
method: 'put',
data: data
});
};
/**
*
* @param materialCategoryId
*/
export const delBaseMaterialCategoryInWMS = (materialCategoryId: string | number | Array<string | number>) => {
return request({
url: '/wms/baseMaterialCategory/' + materialCategoryId,
method: 'delete'
});
};
/**
*
* @param query
* @returns {*}
*/
export function getBaseMaterialCategoryListInWMS (query) {
return request({
url: '/wms/baseMaterialCategory/getBaseMaterialCategoryList',
method: 'get',
params: query
});
};

@ -0,0 +1,86 @@
export interface BaseMaterialCategoryVO {
/**
* ID
*/
materialCategoryId: string | number;
/**
*
*/
materialCategoryCode: string;
/**
*
*/
materialCategoryName: string;
/**
* 1 0
*/
activeFlag: string;
/**
*
*/
remark: string;
}
export interface BaseMaterialCategoryForm extends BaseEntity {
/**
* ID
*/
materialCategoryId?: string | number;
/**
*
*/
materialCategoryCode?: string;
/**
*
*/
materialCategoryName?: string;
/**
* 1 0
*/
activeFlag?: string;
/**
*
*/
remark?: string;
}
export interface BaseMaterialCategoryQuery extends PageQuery {
/**
* ID
*/
materialCategoryId?: string | number;
/**
*
*/
materialCategoryCode?: string;
/**
*
*/
materialCategoryName?: string;
/**
* 1 0
*/
activeFlag?: string;
/**
*
*/
params?: any;
}

@ -0,0 +1,77 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { BaseMaterialInfoVO, BaseMaterialInfoForm, BaseMaterialInfoQuery } from '@/api/wms/baseMaterialInfo/types';
/**
*
* @param query
* @returns {*}
*/
export const listBaseMaterialInfoInWMS = (query?: BaseMaterialInfoQuery): AxiosPromise<BaseMaterialInfoVO[]> => {
return request({
url: '/wms/baseMaterialInfo/list',
method: 'get',
params: query
});
};
/**
*
* @param materialId
*/
export const getBaseMaterialInfoInWMS = (materialId: string | number): AxiosPromise<BaseMaterialInfoVO> => {
return request({
url: '/wms/baseMaterialInfo/' + materialId,
method: 'get'
});
};
/**
*
* @param data
*/
export const addBaseMaterialInfoInWMS = (data: BaseMaterialInfoForm) => {
return request({
url: '/wms/baseMaterialInfo',
method: 'post',
data: data
});
};
/**
*
* @param data
*/
export const updateBaseMaterialInfoInWMS = (data: BaseMaterialInfoForm) => {
return request({
url: '/wms/baseMaterialInfo',
method: 'put',
data: data
});
};
/**
*
* @param materialId
*/
export const delBaseMaterialInfoInWMS = (materialId: string | number | Array<string | number>) => {
return request({
url: '/wms/baseMaterialInfo/' + materialId,
method: 'delete'
});
};
/**
*
* @param query
* @returns {*}
*/
export function getBaseMaterialInfoListInWMS (query) {
return request({
url: '/wms/baseMaterialInfo/getBaseMaterialInfoList',
method: 'get',
params: query
});
};

@ -0,0 +1,805 @@
export interface BaseMaterialInfoVO {
/**
*
*/
materialId: string | number;
/**
*
*/
tenantId: string | number;
/**
* ERP
*/
erpId: string | number;
/**
*
*/
materialCode: string;
/**
*
*/
oldMaterialCode: string;
/**
*
*/
materialName: string;
/**
* ID
*/
materialTypeId: string | number;
/**
* ()
*/
materialCategoryId: string;
materialCategories: string;//暂时保留
/**
*
*/
materialSubclass: string;
/**
* (0 1)
*/
batchFlag: string;
/**
*
*/
batchAmount: number;
/**
* ID
*/
materialUnitId: string | number;
/**
*
*/
materialUnit: string;
/**
*
*/
materialMatkl: string;
/**
*
*/
materialSpec: string;
/**
*
*/
netWeight: number;
/**
*
*/
grossWeight: number;
/**
* (1 0)
*/
alwaysFlag: string;
/**
*
*/
factoryId: string | number;
/**
*
*/
createOrgId: string | number;
/**
* 使
*/
useOrgId: string | number;
/**
* 线
*/
prodLineId: string | number;
/**
* 1 0
*/
activeFlag: string;
/**
* (0 1)
*/
deletedFlag: string;
/**
*
*/
purchasePriceUnitId: string | number;
/**
*
*/
approveDate: string;
/**
* erp
*/
erpModifyDate: string;
/**
*
*/
maxStockAmount: number;
/**
*
*/
minStockAmount: number;
/**
*
*/
safeStockAmount: number;
/**
* (1 0)
*/
applyFlag: string;
/**
* 1ERP 2 3MES
*/
materialClassfication: string;
/**
* (1 0)
*/
autoOutstockFlag: string;
/**
* (1 0)
*/
accessoriesFlag: string;
/**
* (1 0)
*/
lowValueConsumableFlag: string;
/**
*
*/
brand: string;
/**
*
*/
plyrating: string;
/**
*
*/
pattern: string;
/**
*
*/
speedLevel: string;
/**
*
*/
load: string;
/**
* 1 2 3
*/
tireMarkings: string;
/**
*
*/
minParkingTime: number;
/**
*
*/
maxParkingTime: number;
/**
*
*/
standardWeight: number;
/**
*
*/
weightUpperLimit: number;
/**
*
*/
weightLowerLimit: number;
/**
* (0 1)
*/
innerTubeFlag: string;
/**
* (0 1)
*/
saleType: string;
/**
*
*/
remark: string;
/**
*
*/
createDept: number;
/**
*
*/
createBy: number;
/**
*
*/
createTime: string;
/**
*
*/
updateBy: number;
/**
*
*/
updateTime: string;
/**
*
*/
factoryName: string;//连表查询映射字段
//注意"e":以下两个物料类型名称BaseMaterialType实体类中为matrialTypeIdBaseMaterialInfo实体类中为materialTypeId
/**
*
*/
matrialTypeName: string;//连表查询映射字段
/**
*
*/
materialTypeName: string;//连表查询映射字段
/**
*
*/
materialCategoryName: string;
}
export interface BaseMaterialInfoForm extends BaseEntity {
/**
*
*/
materialId?: string | number;
/**
* ERP
*/
erpId?: string | number;
/**
*
*/
materialCode?: string;
/**
*
*/
oldMaterialCode?: string;
/**
*
*/
materialName?: string;
/**
* ID
*/
materialTypeId?: string | number;
/**
* ()
*/
materialCategoryId: string;
materialCategories: string;//暂时保留
/**
*
*/
materialSubclass?: string;
/**
* (0 1)
*/
batchFlag?: string;
/**
*
*/
batchAmount?: number;
/**
* ID
*/
materialUnitId?: string | number;
/**
*
*/
materialUnit?: string;
/**
*
*/
materialMatkl?: string;
/**
*
*/
materialSpec?: string;
/**
*
*/
netWeight?: number;
/**
*
*/
grossWeight?: number;
/**
* (1 0)
*/
alwaysFlag?: string;
/**
*
*/
factoryId?: string | number;
/**
*
*/
createOrgId?: string | number;
/**
* 使
*/
useOrgId?: string | number;
/**
* 线
*/
prodLineId?: string | number;
/**
* 1 0
*/
activeFlag?: string;
/**
* (0 1)
*/
deletedFlag?: string;
/**
*
*/
purchasePriceUnitId?: string | number;
/**
*
*/
approveDate?: string;
/**
* erp
*/
erpModifyDate?: string;
/**
*
*/
maxStockAmount?: number;
/**
*
*/
minStockAmount?: number;
/**
*
*/
safeStockAmount?: number;
/**
* (1 0)
*/
applyFlag?: string;
/**
* 1ERP 2 3MES
*/
materialClassfication?: string;
/**
* (1 0)
*/
autoOutstockFlag?: string;
/**
* (1 0)
*/
accessoriesFlag?: string;
/**
* (1 0)
*/
lowValueConsumableFlag?: string;
/**
*
*/
brand?: string;
/**
*
*/
plyrating?: string;
/**
*
*/
pattern?: string;
/**
*
*/
speedLevel?: string;
/**
*
*/
load?: string;
/**
* 1 2 3
*/
tireMarkings?: string;
/**
*
*/
minParkingTime?: number;
/**
*
*/
maxParkingTime?: number;
/**
*
*/
standardWeight?: number;
/**
*
*/
weightUpperLimit?: number;
/**
*
*/
weightLowerLimit?: number;
/**
* (0 1)
*/
innerTubeFlag?: string;
/**
* (0 1)
*/
saleType?: string;
/**
*
*/
remark?: string;
minParkingDays?: number;
minParkingHours?: number;
minParkingMinutes?: number;
maxParkingDays?: number;
maxParkingHours?: number;
maxParkingMinutes?: number;
/**
*
*/
materialCategoryName: string;
}
export interface BaseMaterialInfoQuery extends PageQuery {
/**
*
*/
materialId?: string | number;
/**
* ERP
*/
erpId?: string | number;
/**
*
*/
materialCode?: string;
/**
*
*/
oldMaterialCode?: string;
/**
*
*/
materialName?: string;
/**
* ID
*/
materialTypeId?: string | number;
/**
* ()
*/
materialCategoryId: string;
materialCategories: string;//暂时保留字典
/**
*
*/
materialSubclass?: string;
/**
* (0 1)
*/
batchFlag?: string;
/**
*
*/
batchAmount?: number;
/**
* ID
*/
materialUnitId?: string | number;
/**
*
*/
materialUnit?: string;
/**
*
*/
materialMatkl?: string;
/**
*
*/
materialSpec?: string;
/**
*
*/
netWeight?: number;
/**
*
*/
grossWeight?: number;
/**
* (1 0)
*/
alwaysFlag?: string;
/**
*
*/
factoryId?: string | number;
/**
*
*/
createOrgId?: string | number;
/**
* 使
*/
useOrgId?: string | number;
/**
* 线
*/
prodLineId?: string | number;
/**
* 1 0
*/
activeFlag?: string;
/**
* (0 1)
*/
deletedFlag?: string;
/**
*
*/
purchasePriceUnitId?: string | number;
/**
*
*/
approveDate?: string;
/**
* erp
*/
erpModifyDate?: string;
/**
*
*/
maxStockAmount?: number;
/**
*
*/
minStockAmount?: number;
/**
*
*/
safeStockAmount?: number;
/**
* (1 0)
*/
applyFlag?: string;
/**
* 1ERP 2 3MES
*/
materialClassfication?: string;
/**
* (1 0)
*/
autoOutstockFlag?: string;
/**
* (1 0)
*/
accessoriesFlag?: string;
/**
* (1 0)
*/
lowValueConsumableFlag?: string;
/**
*
*/
brand?: string;
/**
*
*/
plyrating?: string;
/**
*
*/
pattern?: string;
/**
*
*/
speedLevel?: string;
/**
*
*/
load?: string;
/**
* 1 2 3
*/
tireMarkings?: string;
/**
*
*/
minParkingTime?: number;
/**
*
*/
maxParkingTime?: number;
/**
*
*/
standardWeight?: number;
/**
*
*/
weightUpperLimit?: number;
/**
*
*/
weightLowerLimit?: number;
/**
* (0 1)
*/
innerTubeFlag?: string;
/**
* (0 1)
*/
saleType?: string;
/**
*
*/
params?: any;
/**
*
*/
materialCategoryName: string;
}

@ -10,7 +10,11 @@
</el-form-item> </el-form-item>
<el-form-item label="物料大类" prop="materialCategoryId"> <el-form-item label="物料大类" prop="materialCategoryId">
<el-select v-model="queryParams.materialCategoryId" placeholder="请选择物料大类" clearable > <el-select v-model="queryParams.materialCategoryId" placeholder="请选择物料大类" clearable >
<el-option v-for="dict in mes_material_categories" :key="dict.value" :label="dict.label" :value="dict.value"/> <el-option v-for="item in mategoryOptions"
:key="item.materialCategoryId"
:label="item.materialCategoryName"
:value="item.materialCategoryId"
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
@ -160,11 +164,17 @@
</template> </template>
<script setup name="BaseMaterialInfo" lang="ts"> <script setup name="BaseMaterialInfo" lang="ts">
import { listBaseMaterialInfo, getBaseMaterialInfo, delBaseMaterialInfo, addBaseMaterialInfo, updateBaseMaterialInfo } from '@/api/mes/baseMaterialInfo'; import {
import { BaseMaterialInfoVO, BaseMaterialInfoQuery, BaseMaterialInfoForm } from '@/api/mes/baseMaterialInfo/types'; listBaseMaterialInfoInWMS,
import { getFactoryList } from "@/api/mes/baseFactoryInfo"; getBaseMaterialInfoInWMS,
delBaseMaterialInfoInWMS,
addBaseMaterialInfoInWMS,
updateBaseMaterialInfoInWMS,
} from '@/api/wms/baseMaterialInfo';
import { BaseMaterialInfoVO, BaseMaterialInfoQuery, BaseMaterialInfoForm } from '@/api/wms/baseMaterialInfo/types';
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory';
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { apply_flag, inner_tube_flag, const { apply_flag, inner_tube_flag,
@ -381,12 +391,6 @@ const { materialTypeId, materialCategoryId } = toRefs(props);
const emits = defineEmits(['selection']); // const emits = defineEmits(['selection']); //
/** 下拉框查询工厂信息列表 */
let factoryList = ref([])
const getFactorySelect = async () => {
let res = await getFactoryList(null);
factoryList.value = res.data;
}
/** 查询物料信息列表 */ /** 查询物料信息列表 */
const getList = async () => { const getList = async () => {
@ -400,7 +404,7 @@ const getList = async () => {
} }
proxy?.addDateRange(queryParams.value, dateRangeApproveDate.value, 'ApproveDate'); proxy?.addDateRange(queryParams.value, dateRangeApproveDate.value, 'ApproveDate');
const res = await listBaseMaterialInfo(queryParams.value); const res = await listBaseMaterialInfoInWMS(queryParams.value);
baseMaterialInfoList.value = res.rows; baseMaterialInfoList.value = res.rows;
total.value = res.total; total.value = res.total;
loading.value = false; loading.value = false;
@ -449,7 +453,7 @@ const handleAdd = () => {
const handleUpdate = async (row?: BaseMaterialInfoVO) => { const handleUpdate = async (row?: BaseMaterialInfoVO) => {
reset(); reset();
const _materialId = row?.materialId || ids.value[0] const _materialId = row?.materialId || ids.value[0]
const res = await getBaseMaterialInfo(_materialId); const res = await getBaseMaterialInfoInWMS(_materialId);
Object.assign(form.value, res.data); Object.assign(form.value, res.data);
dialog.visible = true; dialog.visible = true;
dialog.title = "修改物料信息"; dialog.title = "修改物料信息";
@ -461,9 +465,9 @@ const submitForm = () => {
if (valid) { if (valid) {
buttonLoading.value = true; buttonLoading.value = true;
if (form.value.materialId) { if (form.value.materialId) {
await updateBaseMaterialInfo(form.value).finally(() => buttonLoading.value = false); await updateBaseMaterialInfoInWMS(form.value).finally(() => buttonLoading.value = false);
} else { } else {
await addBaseMaterialInfo(form.value).finally(() => buttonLoading.value = false); await addBaseMaterialInfoInWMS(form.value).finally(() => buttonLoading.value = false);
} }
proxy?.$modal.msgSuccess("操作成功"); proxy?.$modal.msgSuccess("操作成功");
dialog.visible = false; dialog.visible = false;
@ -476,14 +480,14 @@ const submitForm = () => {
const handleDelete = async (row?: BaseMaterialInfoVO) => { const handleDelete = async (row?: BaseMaterialInfoVO) => {
const _materialIds = row?.materialId || ids.value; const _materialIds = row?.materialId || ids.value;
await proxy?.$modal.confirm('是否确认删除物料信息编号为"' + _materialIds + '"的数据项?').finally(() => loading.value = false); await proxy?.$modal.confirm('是否确认删除物料信息编号为"' + _materialIds + '"的数据项?').finally(() => loading.value = false);
await delBaseMaterialInfo(_materialIds); await delBaseMaterialInfoInWMS(_materialIds);
proxy?.$modal.msgSuccess("删除成功"); proxy?.$modal.msgSuccess("删除成功");
await getList(); await getList();
} }
/** 导出按钮操作 */ /** 导出按钮操作 */
const handleExport = () => { const handleExport = () => {
proxy?.download('mes/baseMaterialInfo/export', { proxy?.download('wms/baseMaterialInfo/export', {
...queryParams.value ...queryParams.value
}, `baseMaterialInfo_${new Date().getTime()}.xlsx`) }, `baseMaterialInfo_${new Date().getTime()}.xlsx`)
} }
@ -498,13 +502,20 @@ const handleRowClick = (row) => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data;
};
//
let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };
defineExpose({tableRef}) defineExpose({tableRef})
onMounted(() => { onMounted(() => {
getFactorySelect(); getMaterialCategorySelect();
getList(); getList();
getMaterialCategorySelect(); getMaterialCategorySelect();
}); });

@ -274,6 +274,8 @@ import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
import api from '@/api/system/user'; import api from '@/api/system/user';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
let router = useRouter(); let router = useRouter();
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { approve_status, wms_out_type, wms_allocate_status, wms_allocate_create, wms_allocate_way } = toRefs<any>(proxy?.useDict('approve_status' , 'wms_out_type','wms_allocate_status','wms_allocate_create','wms_allocate_way')); const { approve_status, wms_out_type, wms_allocate_status, wms_allocate_create, wms_allocate_way } = toRefs<any>(proxy?.useDict('approve_status' , 'wms_out_type','wms_allocate_status','wms_allocate_create','wms_allocate_way'));
@ -522,7 +524,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -166,7 +166,7 @@
import { listBaseWarehouse, getBaseWarehouse, delBaseWarehouse, addBaseWarehouse, updateBaseWarehouse } from '@/api/wms/baseWarehouse'; import { listBaseWarehouse, getBaseWarehouse, delBaseWarehouse, addBaseWarehouse, updateBaseWarehouse } from '@/api/wms/baseWarehouse';
import { BaseWarehouseVO, BaseWarehouseQuery, BaseWarehouseForm } from '@/api/wms/baseWarehouse/types'; import { BaseWarehouseVO, BaseWarehouseQuery, BaseWarehouseForm } from '@/api/wms/baseWarehouse/types';
import {getWorkshopList} from "@/api/mes/baseWorkshopInfo"; import {getWorkshopList} from "@/api/mes/baseWorkshopInfo";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_wharehouse_type } = toRefs<any>(proxy?.useDict( 'wms_wharehouse_type')); const { wms_wharehouse_type } = toRefs<any>(proxy?.useDict( 'wms_wharehouse_type'));
@ -360,7 +360,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -166,6 +166,8 @@ import { listInstockDetail, getInstockDetail, delInstockDetail, addInstockDetail
import { InstockDetailVO, InstockDetailQuery, InstockDetailForm } from '@/api/wms/instockDetail/types'; import { InstockDetailVO, InstockDetailQuery, InstockDetailForm } from '@/api/wms/instockDetail/types';
import { Printer } from '@element-plus/icons-vue'; import { Printer } from '@element-plus/icons-vue';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_barcode_if } = toRefs<any>(proxy?.useDict( 'wms_barcode_if')); const { wms_barcode_if } = toRefs<any>(proxy?.useDict( 'wms_barcode_if'));
const router = useRoute(); const router = useRoute();
@ -415,7 +417,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -215,6 +215,8 @@ import { listInstockOrder, getInstockOrder, delInstockOrder, addInstockOrder, up
import { InstockOrderVO, InstockOrderQuery, InstockOrderForm } from '@/api/wms/instockOrder/types'; import { InstockOrderVO, InstockOrderQuery, InstockOrderForm } from '@/api/wms/instockOrder/types';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import {getBaseWarehouseList} from "@/api/wms/baseWarehouse"; import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_instock_type, approve_status } = toRefs<any>(proxy?.useDict('wms_instock_type', 'approve_status' )); const { wms_instock_type, approve_status } = toRefs<any>(proxy?.useDict('wms_instock_type', 'approve_status' ));
const instockOrderList = ref<InstockOrderVO[]>([]); const instockOrderList = ref<InstockOrderVO[]>([]);
@ -432,7 +434,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -546,7 +546,7 @@ import {
import MaterialSelectInWMS from "@/views/mes/baseMaterialInfo/addMaterial.vue"; import MaterialSelectInWMS from "@/views/mes/baseMaterialInfo/addMaterial.vue";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const {proxy} = getCurrentInstance() as ComponentInternalInstance; const {proxy} = getCurrentInstance() as ComponentInternalInstance;
const {audit_behave, const {audit_behave,
@ -619,7 +619,7 @@ const submitForm = async() => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -184,7 +184,7 @@ import {
getMaterialList getMaterialList
} from '@/api/wms/linkage' } from '@/api/wms/linkage'
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { material_mategories, wms_barcode_if } = toRefs<any>(proxy?.useDict('material_mategories', 'wms_barcode_if')); const { material_mategories, wms_barcode_if } = toRefs<any>(proxy?.useDict('material_mategories', 'wms_barcode_if'));
@ -404,7 +404,7 @@ const handleExport = () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -183,7 +183,7 @@
import { listInstockRecord, getInstockRecord, delInstockRecord, addInstockRecord, updateInstockRecord } from '@/api/wms/instockRecord'; import { listInstockRecord, getInstockRecord, delInstockRecord, addInstockRecord, updateInstockRecord } from '@/api/wms/instockRecord';
import { InstockRecordVO, InstockRecordQuery, InstockRecordForm } from '@/api/wms/instockRecord/types'; import { InstockRecordVO, InstockRecordQuery, InstockRecordForm } from '@/api/wms/instockRecord/types';
import {getBaseWarehouseList} from "@/api/wms/baseWarehouse"; import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { material_mategories, sys_common_status } = toRefs<any>(proxy?.useDict('material_mategories', 'sys_common_status')); const { material_mategories, sys_common_status } = toRefs<any>(proxy?.useDict('material_mategories', 'sys_common_status'));
@ -368,7 +368,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -183,7 +183,7 @@ import {
getMaterialList getMaterialList
} from '@/api/wms/linkage' } from '@/api/wms/linkage'
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -245,7 +245,7 @@ const data = reactive<PageData<InventoryForm, InventoryQuery>>({
materialId: undefined, materialId: undefined,
locationCode: undefined, locationCode: undefined,
materialCategoryId: undefined, materialCategoryId: undefined,
materialCategoryName: undefined,// materialCategoryName: undefined,//
inventoryQty: undefined, inventoryQty: undefined,
lockState: undefined, lockState: undefined,
inventoryStatus: undefined, inventoryStatus: undefined,
@ -384,12 +384,11 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };
onMounted(() => { onMounted(() => {
getMaterialList().then(e => { getMaterialList().then(e => {
materialList.value = e.data materialList.value = e.data
}) })

@ -173,7 +173,7 @@ import { listInventory, getInventory, delInventory, addInventory, updateInventor
import { InventoryVO, InventoryQuery, InventoryForm } from '@/api/wms/inventory/types'; import { InventoryVO, InventoryQuery, InventoryForm } from '@/api/wms/inventory/types';
import {getBaseWarehouseList} from "@/api/wms/baseWarehouse"; import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { lock_state, inventory_status, material_mategories } = toRefs<any>(proxy?.useDict('lock_state', 'inventory_status', 'material_mategories')); const { lock_state, inventory_status, material_mategories } = toRefs<any>(proxy?.useDict('lock_state', 'inventory_status', 'material_mategories'));
@ -373,7 +373,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -260,7 +260,7 @@ import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
import api from '@/api/system/user'; import api from '@/api/system/user';
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -482,7 +482,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -302,7 +302,7 @@
import { listInventoryCheckRecord, getInventoryCheckRecord, delInventoryCheckRecord, addInventoryCheckRecord, updateInventoryCheckRecord } from '@/api/wms/inventoryCheckRecord'; import { listInventoryCheckRecord, getInventoryCheckRecord, delInventoryCheckRecord, addInventoryCheckRecord, updateInventoryCheckRecord } from '@/api/wms/inventoryCheckRecord';
import { InventoryCheckRecordVO, InventoryCheckRecordQuery, InventoryCheckRecordForm } from '@/api/wms/inventoryCheckRecord/types'; import { InventoryCheckRecordVO, InventoryCheckRecordQuery, InventoryCheckRecordForm } from '@/api/wms/inventoryCheckRecord/types';
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -561,7 +561,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -453,7 +453,7 @@ import {UserVO} from "@/api/system/user/types";
import {listUser} from "@/api/system/user"; import {listUser} from "@/api/system/user";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
@ -514,7 +514,7 @@ listUser().then(e => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -273,7 +273,7 @@ import {getMaterialInfoList} from "@/api/wms/inventory";
import {getBaseLocationList, getWmsBaseLocationVoList} from "@/api/wms/baseLocation"; import {getBaseLocationList, getWmsBaseLocationVoList} from "@/api/wms/baseLocation";
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
import api from '@/api/system/user'; import api from '@/api/system/user';
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { material_mategories, erp_synchronous_status, approve_status, wms_order_status } = toRefs<any>(proxy?.useDict('material_mategories','erp_synchronous_status','approve_status','wms_order_status')); const { material_mategories, erp_synchronous_status, approve_status, wms_order_status } = toRefs<any>(proxy?.useDict('material_mategories','erp_synchronous_status','approve_status','wms_order_status'));
const moveOrderList = ref<MoveOrderVO[]>([]); const moveOrderList = ref<MoveOrderVO[]>([]);
@ -518,7 +518,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -120,6 +120,7 @@
import { getMaterialListVo, getMaterailCount } from '@/api/wms/instockDetail'; import { getMaterialListVo, getMaterailCount } from '@/api/wms/instockDetail';
import { listOutstockDetail, getOutstockDetail, delOutstockDetail, addOutstockDetail, updateOutstockDetail } from '@/api/wms/outstockDetail'; import { listOutstockDetail, getOutstockDetail, delOutstockDetail, addOutstockDetail, updateOutstockDetail } from '@/api/wms/outstockDetail';
import { OutstockDetailVO, OutstockDetailQuery, OutstockDetailForm } from '@/api/wms/outstockDetail/types'; import { OutstockDetailVO, OutstockDetailQuery, OutstockDetailForm } from '@/api/wms/outstockDetail/types';
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -313,7 +314,7 @@ const handleExport = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -224,7 +224,7 @@ import api from '@/api/system/user';
import {getBaseWarehouseList} from "@/api/wms/baseWarehouse"; import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_instock_type, approve_status, material_mategories, wms_out_type } = toRefs<any>(proxy?.useDict('wms_instock_type', 'approve_status', 'material_mategories', 'wms_out_type')); const { wms_instock_type, approve_status, material_mategories, wms_out_type } = toRefs<any>(proxy?.useDict('wms_instock_type', 'approve_status', 'material_mategories', 'wms_out_type'));
@ -449,7 +449,7 @@ const HandleInfo = async (row?: OutstockOrderVO) => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -486,7 +486,7 @@ import {
import MaterialSelectInWMS from "@/views/mes/baseMaterialInfo/addMaterial.vue"; import MaterialSelectInWMS from "@/views/mes/baseMaterialInfo/addMaterial.vue";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
@ -566,7 +566,7 @@ const submitForm = () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -64,7 +64,7 @@
<el-table-column label="库位编码" align="center" prop="locationCode" v-if="columns[5].visible"/> <el-table-column label="库位编码" align="center" prop="locationCode" v-if="columns[5].visible"/>
<el-table-column label="出库数量" align="center" prop="outstockQty" v-if="columns[6].visible"/> <el-table-column label="出库数量" align="center" prop="outstockQty" v-if="columns[6].visible"/>
<el-table-column label="单位" align="center" prop="materialUnit" v-if="columns[4].visible"/> <el-table-column label="单位" align="center" prop="materialUnit" v-if="columns[4].visible"/>
<el-table-column label="物料大类" align="center" prop="materialCategoryId" v-if="columns[7].visible"> <el-table-column label="物料大类" align="center" prop="materialCategoryName" v-if="columns[7].visible">
</el-table-column> </el-table-column>
<el-table-column label="出库人" align="center" prop="createBy" v-if="columns[8].visible"/> <el-table-column label="出库人" align="center" prop="createBy" v-if="columns[8].visible"/>
@ -183,7 +183,7 @@ import { OutstockRecordVO, OutstockRecordQuery, OutstockRecordForm } from '@/api
import { DocumentAdd } from '@element-plus/icons-vue'; import { DocumentAdd } from '@element-plus/icons-vue';
import {getWmsBaseLocationVoList} from "@/api/wms/baseLocation"; import {getWmsBaseLocationVoList} from "@/api/wms/baseLocation";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -370,7 +370,7 @@ const handleExport = () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -130,6 +130,8 @@
import { listPsmInStock, getPsmInStock, delPsmInStock, addPsmInStock, updatePsmInStock } from '@/api/wms/psmInStock'; import { listPsmInStock, getPsmInStock, delPsmInStock, addPsmInStock, updatePsmInStock } from '@/api/wms/psmInStock';
import { PsmInStockVO, PsmInStockQuery, PsmInStockForm } from '@/api/wms/psmInStock/types'; import { PsmInStockVO, PsmInStockQuery, PsmInStockForm } from '@/api/wms/psmInStock/types';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const psmInStockList = ref<PsmInStockVO[]>([]); const psmInStockList = ref<PsmInStockVO[]>([]);
@ -334,7 +336,7 @@ const handleExport = () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -246,7 +246,7 @@ import { listReturnOrder, getReturnOrder, delReturnOrder, addReturnOrder, update
import { ReturnOrderVO, ReturnOrderQuery, ReturnOrderForm } from '@/api/wms/returnOrder/types'; import { ReturnOrderVO, ReturnOrderQuery, ReturnOrderForm } from '@/api/wms/returnOrder/types';
import {getBaseWarehouseList} from "@/api/wms/baseWarehouse"; import {getBaseWarehouseList} from "@/api/wms/baseWarehouse";
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_return_status, erp_synchronous_status, approve_status } = toRefs<any>(proxy?.useDict( 'wms_return_status','erp_synchronous_status','approve_status')); const { wms_return_status, erp_synchronous_status, approve_status } = toRefs<any>(proxy?.useDict( 'wms_return_status','erp_synchronous_status','approve_status'));
@ -486,7 +486,7 @@ const handleExport = () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -253,6 +253,7 @@
import { listWmsPurchaseOrder, getWmsPurchaseOrder, delWmsPurchaseOrder, addWmsPurchaseOrder, updateWmsPurchaseOrder } from '@/api/wms/wmsPurchaseOrder'; import { listWmsPurchaseOrder, getWmsPurchaseOrder, delWmsPurchaseOrder, addWmsPurchaseOrder, updateWmsPurchaseOrder } from '@/api/wms/wmsPurchaseOrder';
import { WmsPurchaseOrderVO, WmsPurchaseOrderQuery, WmsPurchaseOrderForm } from '@/api/wms/wmsPurchaseOrder/types'; import { WmsPurchaseOrderVO, WmsPurchaseOrderQuery, WmsPurchaseOrderForm } from '@/api/wms/wmsPurchaseOrder/types';
import { getBaseSupplierInfoList } from '@/api/mes/baseSupplierInfo' import { getBaseSupplierInfoList } from '@/api/mes/baseSupplierInfo'
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { wms_po_status, wms_po_type, wms_audit_status } = toRefs<any>(proxy?.useDict( 'wms_po_status', 'wms_po_type', 'wms_audit_status')); const { wms_po_status, wms_po_type, wms_audit_status } = toRefs<any>(proxy?.useDict( 'wms_po_status', 'wms_po_type', 'wms_audit_status'));
@ -440,7 +441,7 @@ const getListSelect = async () => {
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

@ -497,7 +497,7 @@ import { WmsPurchaseOrderDetailVO, WmsPurchaseOrderDetailQuery, WmsPurchaseOrder
import { import {
getMaterialList, getInstockMaterialList getMaterialList, getInstockMaterialList
} from '@/api/wms/linkage' } from '@/api/wms/linkage'
import { getBaseMaterialCategoryList } from '@/api/mes/baseMaterialCategory'; import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const {proxy} = getCurrentInstance() as ComponentInternalInstance; const {proxy} = getCurrentInstance() as ComponentInternalInstance;
const { const {
@ -573,7 +573,7 @@ const submitForm = () => {
// //
let mategoryOptions = ref([]); let mategoryOptions = ref([]);
const getMaterialCategorySelect = async () => { const getMaterialCategorySelect = async () => {
const res = await getBaseMaterialCategoryList(null); const res = await getBaseMaterialCategoryListInWMS(null);
mategoryOptions.value = res.data; mategoryOptions.value = res.data;
}; };

Loading…
Cancel
Save