| | |
| | |
|
| | | const values = inputData.map(item => item.value);
|
| | |
|
| | | console.log(values);
|
| | |
|
| | |
|
| | | if (values.length > 0) {
|
| | |
|
| | |
| | | });
|
| | |
|
| | | const values = inputData.map(item => item.value);
|
| | | if (values.length > 0) {
|
| | |
|
| | | let firstValue = values[0];
|
| | | if (!(firstValue >= "1" && firstValue <= "105")) {
|
| | | values.shift();
|
| | | this.$message.error("Out of range");
|
| | | return false;
|
| | | }
|
| | | }
|
| | | data.unshift([], []);
|
| | | data.push(values);
|
| | | }
|
| | |
| | | if (values.length > 0) {
|
| | |
|
| | | let firstValue = values[0];
|
| | | if (!(firstValue >= "106" && firstValue <= "210")) {
|
| | | if (!(firstValue >= "105" && firstValue <= "210")) {
|
| | | values.shift();
|
| | | this.$message.error("Out of range");
|
| | | return false;
|