feat(wms): 添加入库状态字段并优化字典数据获取

- 在入库打印列表中添加入库状态列
- 更新字典数据获取,增加 wms_inbound_status 字典
- 修改列配置,将"质检要求"改为"质检状态"
master
zangch@mesnac.com 3 months ago
parent 21b7598896
commit 055440eba1

@ -133,6 +133,12 @@
</template>
</el-table-column>
<el-table-column label="入库状态" align="center" prop="inboundStatus" v-if="columns[10].visible">
<template #default="scope">
<dict-tag :options="wms_inbound_status" :value="scope.row.inboundStatus"/>
</template>
</el-table-column>
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-tooltip content="修改" placement="top">
@ -208,7 +214,7 @@ import {
import { getBaseMaterialCategoryListInWMS } from '@/api/wms/baseMaterialCategory';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
const { material_mategories, wms_barcode_if, inspection_request } = toRefs<any>(proxy?.useDict('material_mategories', 'wms_barcode_if', 'inspection_request'));
const { material_mategories, wms_barcode_if, inspection_request, wms_inbound_status } = toRefs<any>(proxy?.useDict('material_mategories', 'wms_barcode_if', 'inspection_request', 'wms_inbound_status'));
const instockPrintList = ref<InstockPrintVO[]>([]);
const buttonLoading = ref(false);
const loading = ref(true);
@ -352,6 +358,7 @@ const columns = ref<FieldOption[]>([
// { key: 10, label: ``, visible: false },
{ key: 8, label: `打印时间`, visible: true },
{ key: 9, label: `质检要求`, visible: true },
{ key: 10, label: `质检状态`, visible: true}
// { key: 13, label: `id`, visible: inboundStatusdVisble.value },
// { key: 14, label: `(0-,1-,2-)`, visible: inboundStatusdVisble.value },
// { key: 15, label: ``, visible: inboundStatusdVisble.value },

Loading…
Cancel
Save