Commit c60283df by liangjianmin

0-15

parent 0bc62913
Showing with 4 additions and 2 deletions
...@@ -85,10 +85,10 @@ export default { ...@@ -85,10 +85,10 @@ export default {
print_text: '总箱数', print_text: '总箱数',
platform: '', platform: '',
wstyptll_id: '', wstyptll_id: '',
batchArr: [0, 1, 2, 3, 4, 5, 6], batchArr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
flag: false, flag: false,
numberList: [], numberList: [],
numberArr: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], numberArr: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
numberIndex: 0, numberIndex: 0,
form: { form: {
batch: 0, //批次 batch: 0, //批次
...@@ -157,11 +157,13 @@ export default { ...@@ -157,11 +157,13 @@ export default {
this.numberList = []; this.numberList = [];
this.form.numbers = []; this.form.numbers = [];
for (var i = 0; i < this.form.number; i++) { for (var i = 0; i < this.form.number; i++) {
if (i < this.form.number - 1) {
this.numberList.push(i); this.numberList.push(i);
this.form.numbers.push({ this.form.numbers.push({
value: '' value: ''
}); });
} }
}
} else { } else {
this.flag = false; this.flag = false;
this.numberList = []; this.numberList = [];
......
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