|
@@ -51,7 +51,7 @@
|
|
|
<td>1</td>
|
|
|
<td>
|
|
|
<el-input-number
|
|
|
- v-model="modalForm.printCount"
|
|
|
+ v-model="modalForm.totalSubjects"
|
|
|
style="width: 80px"
|
|
|
:min="1"
|
|
|
:max="999999"
|
|
@@ -60,7 +60,17 @@
|
|
|
:controls="false"
|
|
|
></el-input-number>
|
|
|
</td>
|
|
|
- <td>{{ infoExamPrintPlan.backupCount }}</td>
|
|
|
+ <td>
|
|
|
+ <el-input-number
|
|
|
+ v-model="modalForm.backupCount"
|
|
|
+ style="width: 80px"
|
|
|
+ :min="infoExamPrintPlan.backupCount"
|
|
|
+ :max="999999"
|
|
|
+ :step="1"
|
|
|
+ step-strictly
|
|
|
+ :controls="false"
|
|
|
+ ></el-input-number>
|
|
|
+ </td>
|
|
|
<td>
|
|
|
<el-select
|
|
|
v-model="modalForm.printHouseId"
|
|
@@ -252,8 +262,9 @@ export default {
|
|
|
paperNumber: "",
|
|
|
courseName: "",
|
|
|
courseCode: "",
|
|
|
- printCount: 1,
|
|
|
+ totalSubjects: 1,
|
|
|
printHouseId: "",
|
|
|
+ backupCount: null,
|
|
|
},
|
|
|
tableData: [],
|
|
|
curRow: {},
|
|
@@ -311,7 +322,10 @@ export default {
|
|
|
methods: {
|
|
|
...mapMutations("exam", ["updateTaskInfo"]),
|
|
|
initData() {
|
|
|
- if (this.IS_MODEL2) return;
|
|
|
+ if (this.IS_MODEL2) {
|
|
|
+ this.modalForm.backupCount = this.infoExamPrintPlan.backupCount;
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
this.modalForm = Object.assign(this.modalForm, {
|
|
|
paperNumber: this.infoExamTask.paperNumber,
|
|
@@ -361,8 +375,8 @@ export default {
|
|
|
if (!this.checkTime()) return Promise.reject();
|
|
|
|
|
|
if (this.IS_MODEL2) {
|
|
|
- if (!this.modalForm.printCount) {
|
|
|
- this.$message.error("请输入印刷分数!");
|
|
|
+ if (!this.modalForm.totalSubjects) {
|
|
|
+ this.$message.error("请输入印刷份数!");
|
|
|
return Promise.reject();
|
|
|
}
|
|
|
if (!this.modalForm.printHouseId) {
|