feat(wms): 添加物料库存告警接口并修改出库详情页面布局

- 新增查询物料库存告警列表的 API 接口
- 调整出库详情页面的按钮布局和功能- 移除不必要的注释代码
master
zangch@mesnac.com 3 months ago
parent ab9665ee8b
commit 202b73f730

@ -83,3 +83,17 @@ export const getMaterialInfoList = (query) => {
params: query
});
};
/**
*
* @param query
* @returns {*}
*/
export const getListInventoryAlarm = (query?: InventoryQuery): AxiosPromise<InventoryVO[]> => {
return request({
url: '/wms/inventory/getListInventoryAlarm',
method: 'get',
params: query
});
};

@ -23,8 +23,8 @@
<!-- <el-input v-model="queryParams.materialCategoryId" placeholder="请输入物料大类" clearable @keyup.enter="handleQuery" />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button type="primary" icon="Search" @click="handleQuery"></el-button>
<el-button icon="Refresh" @click="resetQuery"></el-button>
<el-button type="primary" icon="Search" @click="handleQuery"></el-button>
<!-- <el-button icon="Refresh" @click="resetQuery"></el-button>-->
</el-form-item>
</el-form>
</el-card>
@ -33,21 +33,21 @@
<el-card shadow="never">
<template #header>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['system:outstockDetail:add']"></el-button>
</el-col>
<el-col :span="1.5">
<el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['system:outstockDetail:edit']"></el-button>
</el-col>
<el-col :span="1.5">
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['system:outstockDetail:remove']"></el-button>
</el-col>
<el-col :span="1.5">
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:outstockDetail:export']"></el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" :columns="columns" :search="true" @queryTable="getList"></right-toolbar>
</el-row>
<!-- <el-row :gutter="10" class="mb8">-->
<!-- <el-col :span="1.5">-->
<!-- <el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['system:outstockDetail:add']"></el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['system:outstockDetail:edit']"></el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['system:outstockDetail:remove']"></el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:outstockDetail:export']"></el-button>-->
<!-- </el-col>-->
<!-- <right-toolbar v-model:showSearch="showSearch" :columns="columns" :search="true" @queryTable="getList"></right-toolbar>-->
<!-- </el-row>-->
</template>
<el-table v-loading="loading" :data="outstockDetailList" @selection-change="handleSelectionChange">

Loading…
Cancel
Save