Commit 7b824ebf by LJM

js

parent b81b7213
Showing with 8 additions and 0 deletions
...@@ -128,6 +128,12 @@ export default { ...@@ -128,6 +128,12 @@ export default {
this.input_flag = true; this.input_flag = true;
} else if (type == 2) { } else if (type == 2) {
this.input_flag_num = true; this.input_flag_num = true;
let num = Number(val);
if (num > 100) {
this.formParams.print_num = 100;
} else {
this.formParams.print_num = val;
}
} }
} else { } else {
if (type == 1) { if (type == 1) {
...@@ -160,6 +166,8 @@ export default { ...@@ -160,6 +166,8 @@ export default {
}); });
return false; return false;
} }
} else {
this.formParams.print_num = 1;
} }
this.request(API.latePrint, 'POST', this.formParams, true).then(res => { this.request(API.latePrint, 'POST', this.formParams, true).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment