优化序号问题

This commit is contained in:
binbin_pan 2024-06-19 11:17:48 +08:00
parent 5c3c788d71
commit 8ef3af8059
34 changed files with 114 additions and 77 deletions

View File

@ -97,10 +97,10 @@
<el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="100" type="index">
<template slot-scope="scope">
<el-table-column label="序号" align="center" width="100" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template slot-scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="类型名称" prop="roleName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" prop="roleKey" :show-overflow-tooltip="true" />

View File

@ -386,12 +386,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(outQuery.pageNum, outQuery.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(outQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="类型名称"

View File

@ -131,12 +131,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="领料单号"

View File

@ -126,12 +126,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="领料单号"

View File

@ -163,12 +163,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="退料单号"

View File

@ -128,12 +128,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="退料单号"

View File

@ -87,12 +87,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="类型名称"
@ -316,12 +317,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(codeQuery.pageNum, codeQuery.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -125,12 +125,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="退料单号"

View File

@ -450,12 +450,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(dialogQuery.pageNum, dialogQuery.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="类型名称"

View File

@ -396,12 +396,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(outQuery.pageNum, outQuery.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(outQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="类型名称"

View File

@ -88,12 +88,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="类型名称"
@ -317,12 +318,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(codeQuery.pageNum, codeQuery.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -88,12 +88,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="协议编号"

View File

@ -87,12 +87,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="结算单编号"

View File

@ -49,10 +49,11 @@
align="center"
width="80"
type="index"
:index="indexContinuation(pageNum, pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{ (pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="会话编号"

View File

@ -171,12 +171,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="报废审核单号"

View File

@ -105,12 +105,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="标签种类名称"

View File

@ -282,12 +282,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="机具类型"

View File

@ -309,12 +309,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="机具类型"

View File

@ -176,12 +176,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="工器具类型名称"

View File

@ -108,12 +108,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="工器具名称"

View File

@ -119,12 +119,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="采购单号"

View File

@ -75,12 +75,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="采购单号" align="center" prop="dictId" />
<el-table-column
@ -265,12 +266,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="工器具类型"

View File

@ -71,12 +71,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="基层单位"

View File

@ -73,12 +73,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="物资名称"
@ -272,12 +273,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(dialogParams.pageNum, dialogParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(dialogParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="物资名称"

View File

@ -62,12 +62,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
prop="typeName"

View File

@ -106,12 +106,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="工器具类型"

View File

@ -374,12 +374,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="配件类型"

View File

@ -336,12 +336,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -343,12 +343,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -286,12 +286,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="机具类型"

View File

@ -379,12 +379,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="配件类型"

View File

@ -312,12 +312,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(query.pageNum, query.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(query.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="机具类型"

View File

@ -346,12 +346,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -338,12 +338,13 @@
align="center"
width="80"
type="index"
:index="indexContinuation(queryParams.pageNum, queryParams.pageSize)"
>
<template slot-scope="scope">
<!-- <template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"