diff --git a/src/views/stock/report/materialReport-page.vue b/src/views/stock/report/materialReport-page.vue
index 87b3631..f74fb7c 100644
--- a/src/views/stock/report/materialReport-page.vue
+++ b/src/views/stock/report/materialReport-page.vue
@@ -61,6 +61,11 @@
//表格列
const columns = [
+ {
+ title: '序号',
+ dataIndex: 'key',
+ customRender: ({ index }: { index: number }) => `${index + 1}`,
+ },
{
title: '物料编码',
dataIndex: 'code',
diff --git a/src/views/stock/report/stocktakingReport-page.vue b/src/views/stock/report/stocktakingReport-page.vue
index ed47bee..18410b9 100644
--- a/src/views/stock/report/stocktakingReport-page.vue
+++ b/src/views/stock/report/stocktakingReport-page.vue
@@ -29,8 +29,8 @@
- 全部盘点
- 部分盘点
+ 扫码盘点
+ 人工盘点
@@ -51,7 +51,7 @@
>
- {{ record.auditType === 'ALL' ? '全部盘点' : '部分盘点' }}
+ {{ record.auditType === 'SCAN' ? '扫码盘点' : '人工盘点' }}
@@ -114,7 +114,7 @@
const startDate = ref()
const taker = ref('')
const status = ref>()
- const auditType = ref<'ALL' | 'PARTIAL'>()
+ const auditType = ref<'SCAN' | 'MANUAL'>()
// 加载数据的方法
const loadData = async (page = 1, size = 10) => {
@@ -143,8 +143,9 @@
//表格列
const columns = [
{
- title: '申请序号',
- dataIndex: 'id',
+ title: '序号',
+ dataIndex: 'key',
+ customRender: ({ index }: { index: number }) => `${index + 1}`,
},
{
title: '盘点类型',