fix:玻纤采购入库编号问题
This commit is contained in:
parent
e3a810ebd4
commit
d305d8a391
|
|
@ -464,21 +464,19 @@ export default {
|
|||
if(numbers!=''&&numbers!=null&&numbers!=undefined){
|
||||
that.mioitems[i] = Number(numbers)+i;
|
||||
let obj = {};
|
||||
obj.number = that.form.batch+'0'+(i+1);
|
||||
obj.number = that.mioitems[i];
|
||||
that.mioitemw.push(obj);
|
||||
}else{
|
||||
that.mioitems[i] = '';
|
||||
}
|
||||
}
|
||||
}else if(that.form.type == "do_out"){
|
||||
for(let i=0;i<that.form.count;i++){
|
||||
let obj = {};
|
||||
obj.number = that.form.batch+'0'+(i+1);
|
||||
that.mioitemw.push(obj);
|
||||
}
|
||||
}
|
||||
// else if(that.form.type == "do_out"){
|
||||
|
||||
// for(let i=0;i<that.form.count;i++){
|
||||
// let obj = {};
|
||||
// obj.number = that.form.batch+'0'+(i+1);
|
||||
// that.mioitemw.push(obj);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
},
|
||||
firstNumberChange(){
|
||||
|
|
@ -488,13 +486,10 @@ export default {
|
|||
for(let i=0;i<that.form.count;i++){
|
||||
that.mioitems[i] = Number(numbers)+i;
|
||||
let obj = {};
|
||||
obj.number = that.form.batch+'0'+(i+1);
|
||||
obj.number = that.mioitems[i];
|
||||
that.mioitemw.push(obj);
|
||||
}
|
||||
},
|
||||
validateInput(i){
|
||||
this.mioitems[i] = this.mioitems[i].replace(/\D/g, '');
|
||||
},
|
||||
//提交
|
||||
submit() {
|
||||
let that = this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue