bug: 🐛 解决打包报错
This commit is contained in:
parent
c4c2a8bd67
commit
bdd0d478df
@ -61,6 +61,11 @@
|
|||||||
|
|
||||||
//表格列
|
//表格列
|
||||||
const columns = [
|
const columns = [
|
||||||
|
{
|
||||||
|
title: '序号',
|
||||||
|
dataIndex: 'key',
|
||||||
|
customRender: ({ index }: { index: number }) => `${index + 1}`,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '物料编码',
|
title: '物料编码',
|
||||||
dataIndex: 'code',
|
dataIndex: 'code',
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
|
|
||||||
<a-col :span="6" style="width: 180px">
|
<a-col :span="6" style="width: 180px">
|
||||||
<a-select v-model:value="auditType" :allow-clear="true" placeholder="盘点类型" style="width: 100%">
|
<a-select v-model:value="auditType" :allow-clear="true" placeholder="盘点类型" style="width: 100%">
|
||||||
<a-select-option value="ALL">全部盘点</a-select-option>
|
<a-select-option value="SCAN">扫码盘点</a-select-option>
|
||||||
<a-select-option value="PARTIAL">部分盘点</a-select-option>
|
<a-select-option value="MANUAL">人工盘点</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="6">
|
<a-col :span="6">
|
||||||
@ -51,7 +51,7 @@
|
|||||||
>
|
>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.dataIndex === 'auditType'">
|
<template v-if="column.dataIndex === 'auditType'">
|
||||||
{{ record.auditType === 'ALL' ? '全部盘点' : '部分盘点' }}
|
{{ record.auditType === 'SCAN' ? '扫码盘点' : '人工盘点' }}
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.dataIndex === 'reviewResult'">
|
<template v-if="column.dataIndex === 'reviewResult'">
|
||||||
<!-- 不同状态不同颜色 -->
|
<!-- 不同状态不同颜色 -->
|
||||||
@ -114,7 +114,7 @@
|
|||||||
const startDate = ref<Dayjs>()
|
const startDate = ref<Dayjs>()
|
||||||
const taker = ref('')
|
const taker = ref('')
|
||||||
const status = ref<Array<'PASS' | 'REJECT' | 'WAIT_SCAN' | 'WAIT_SUBMIT' | 'WAIT_REVIEW'>>()
|
const status = ref<Array<'PASS' | 'REJECT' | 'WAIT_SCAN' | 'WAIT_SUBMIT' | 'WAIT_REVIEW'>>()
|
||||||
const auditType = ref<'ALL' | 'PARTIAL'>()
|
const auditType = ref<'SCAN' | 'MANUAL'>()
|
||||||
|
|
||||||
// 加载数据的方法
|
// 加载数据的方法
|
||||||
const loadData = async (page = 1, size = 10) => {
|
const loadData = async (page = 1, size = 10) => {
|
||||||
@ -143,8 +143,9 @@
|
|||||||
//表格列
|
//表格列
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
title: '申请序号',
|
title: '序号',
|
||||||
dataIndex: 'id',
|
dataIndex: 'key',
|
||||||
|
customRender: ({ index }: { index: number }) => `${index + 1}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '盘点类型',
|
title: '盘点类型',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user