fix:6车间新增报工时,无法多次修改领用数量问题修改
This commit is contained in:
parent
be10887892
commit
0f46fb6b53
|
|
@ -715,7 +715,10 @@ export default {
|
|||
return this;
|
||||
},
|
||||
countUseChange(){
|
||||
if(this.form.count_real>this.form.count_use){
|
||||
if(this.count_cando<this.form.count_use){
|
||||
this.form.count_real = this.form.count_use = this.count_cando;
|
||||
this.form.count_ok = this.form.count_use - this.form.count_notok;
|
||||
}else{
|
||||
this.form.count_real = this.form.count_use;
|
||||
this.form.count_ok = this.form.count_use - this.form.count_notok;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue