优化序号问题

This commit is contained in:
binbin_pan 2024-06-19 11:06:10 +08:00
parent c82f214e93
commit d6e6d0deef
31 changed files with 109 additions and 84 deletions

View File

@ -16,7 +16,7 @@
</el-form-item>
</el-form>
<el-table :data="maTypeDetails" style="width: 100%">
<el-table-column label="序号" align="center" type="index" />
<el-table-column label="序号" align="center" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)" />
<el-table-column label="类型名称" align="center" prop="typeName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true" />
<el-table-column label="单位" align="center" prop="unitName" :show-overflow-tooltip="true" />

View File

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

View File

@ -104,12 +104,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
(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
}}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="领料单号"
@ -399,12 +400,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

@ -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
(queryParams.pageNum - 1) * queryParams.pageSize + 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
(queryParams.pageNum - 1) * queryParams.pageSize + 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

@ -460,12 +460,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

@ -389,12 +389,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

@ -134,12 +134,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

@ -498,9 +498,9 @@
width="80"
type="index"
>
<template scope="scope">
<template slot-scope="scope">
<span>{{
(scrapRecordParams.pageNum - 1) * 10 +
(scrapRecordParams.pageNum - 1) * scrapRecordParams.pageSize +
scope.$index +
1
}}</span>

View File

@ -172,12 +172,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

@ -291,12 +291,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

@ -301,12 +301,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

@ -75,10 +75,10 @@
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="工器具名称" align="center" prop="dictName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="dictName" :show-overflow-tooltip="true" />

View File

@ -85,10 +85,10 @@
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="采购单号" align="center" prop="dictName" :show-overflow-tooltip="true" />
<el-table-column label="采购日期" align="center" prop="dictName" :show-overflow-tooltip="true" />

View File

@ -43,10 +43,10 @@
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template 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 label="采购日期" align="center" prop="createTime" width="180">
@ -158,10 +158,10 @@
</el-row>
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="工器具类型" align="center" prop="dictName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="dictName" :show-overflow-tooltip="true" />

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

@ -36,10 +36,10 @@
<!-- 列表 -->
<el-table :data="houseList">
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column prop="typeName" label="机具名称" min-width="280" align="center" />
<el-table-column prop="typeModelName" label="规格型号" min-width="280" align="center" />

View File

@ -72,10 +72,10 @@
<el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="工器具类型" align="center" prop="dictName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="dictName" :show-overflow-tooltip="true" />

View File

@ -248,10 +248,10 @@
</el-row>
<el-table v-loading="loading" :data="detailTableList" @selection-change="handleSelectionChange" height="400">
<el-table-column type="selection" width="55" align="center" :selectable="selectable" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(query.pageNum, query.pageSize)">
<!-- <template scope="scope">
<span>{{ (query.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="配件类型" align="center" prop="typeName" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="specificationType" :show-overflow-tooltip="true" />

View File

@ -331,10 +331,10 @@
@selection-change="handleSelectionChange"
>
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column
label="设备类型"

View File

@ -197,10 +197,10 @@
</el-row>
<el-table v-loading="loading" :data="detailTableList" @selection-change="handleSelectionChange" height="400">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="80" type="index">
<template scope="scope">
<el-table-column label="序号" align="center" width="80" type="index" :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)">
<!-- <template scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</template> -->
</el-table-column>
<el-table-column label="设备类型" align="center" prop="typeName2" :show-overflow-tooltip="true" />
<el-table-column label="规格型号" align="center" prop="typeName" :show-overflow-tooltip="true" />

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

@ -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

@ -293,12 +293,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

@ -349,12 +349,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="设备类型"