|
@@ -48,6 +48,29 @@
|
|
|
<el-table-column prop="className" label="考试对象"> </el-table-column>
|
|
|
<el-table-column prop="studentCount" label="人数" width="60">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column prop="backupCount" label="备份数量" width="90">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input-number
|
|
|
+ v-model="scope.row.backupCount"
|
|
|
+ style="width:60px"
|
|
|
+ :min="1"
|
|
|
+ :max="99999"
|
|
|
+ :step="1"
|
|
|
+ step-strictly
|
|
|
+ :controls="false"
|
|
|
+ ></el-input-number>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="examPlace" label="考点名称">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model.trim="scope.row.examPlace" clearable></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="examRoom" label="考场名称">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model.trim="scope.row.examRoom" clearable></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="printHouseName" label="印刷室">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
@@ -257,6 +280,7 @@ export default {
|
|
|
printHouseId: clazz.printHouseId,
|
|
|
printHouseName: clazz.printHouseName,
|
|
|
extendFields: "",
|
|
|
+ backupCount: this.datas.examPrintPlan.backupCount,
|
|
|
...this.modalForm
|
|
|
};
|
|
|
let extendFieldModal = {};
|
|
@@ -283,8 +307,9 @@ export default {
|
|
|
this.tableData.map(item => item.studentCount)
|
|
|
);
|
|
|
this.packageInfos.paperReleaseCount = this.packageInfos.studentCount;
|
|
|
- this.packageInfos.paperBackupCount =
|
|
|
- this.packageInfos.packageCount * this.datas.examPrintPlan.backupCount;
|
|
|
+ this.packageInfos.paperBackupCount = calcSum(
|
|
|
+ this.tableData.map(item => item.backupCount)
|
|
|
+ );
|
|
|
this.packageInfos.paperCount =
|
|
|
this.packageInfos.paperReleaseCount +
|
|
|
this.packageInfos.paperBackupCount;
|