|
@@ -595,7 +595,7 @@
|
|
|
Number(this.form.lossNumber || 0) >
|
|
Number(this.form.lossNumber || 0) >
|
|
|
this.form.sampleQualifiedNumber
|
|
this.form.sampleQualifiedNumber
|
|
|
) {
|
|
) {
|
|
|
- this.form.retainedSampleUnqualified =
|
|
|
|
|
|
|
+ this.form.retainedSampleQuantity =
|
|
|
this.form.sampleQualifiedNumber - this.form.lossNumber;
|
|
this.form.sampleQualifiedNumber - this.form.lossNumber;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -605,17 +605,12 @@
|
|
|
sampleQuantity = sampleQuantity - this.form[key];
|
|
sampleQuantity = sampleQuantity - this.form[key];
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
- console.log(
|
|
|
|
|
- this.form.sampleNoQualificationRate,
|
|
|
|
|
- 'this.form.sampleNoQualificationRate'
|
|
|
|
|
- );
|
|
|
|
|
|
|
|
|
|
this.form.sampleNoQualificationRate =
|
|
this.form.sampleNoQualificationRate =
|
|
|
- (
|
|
|
|
|
- (this.from.sampleNoQualifiedNumber / this.form.sampleQuantity) *
|
|
|
|
|
- 100
|
|
|
|
|
- ).toFixed(2) + '%';
|
|
|
|
|
-
|
|
|
|
|
|
|
+ ((this.form.sampleNoQualifiedNumber / this.form.sampleQuantity) * 100).toFixed(
|
|
|
|
|
+ 2
|
|
|
|
|
+ ) + '%';
|
|
|
|
|
+
|
|
|
this.form.sampleQualificationRate =
|
|
this.form.sampleQualificationRate =
|
|
|
(
|
|
(
|
|
|
(this.form.sampleQualifiedNumber / this.form.sampleQuantity) *
|
|
(this.form.sampleQualifiedNumber / this.form.sampleQuantity) *
|
|
@@ -1068,6 +1063,7 @@
|
|
|
// data.remainingSampleCount - data.sampleQuantity;
|
|
// data.remainingSampleCount - data.sampleQuantity;
|
|
|
this.form.taskMonadInfo = data;
|
|
this.form.taskMonadInfo = data;
|
|
|
this.form.hours = data.hours;
|
|
this.form.hours = data.hours;
|
|
|
|
|
+ this.getSampleQuantity()
|
|
|
console.log(this.schemeList, 'this.schemeList');
|
|
console.log(this.schemeList, 'this.schemeList');
|
|
|
},
|
|
},
|
|
|
// 切换检验方式为全检后生成样品
|
|
// 切换检验方式为全检后生成样品
|
|
@@ -1304,8 +1300,8 @@
|
|
|
this.form[key] =
|
|
this.form[key] =
|
|
|
this.form[key] || this.getSampleQuantityYp(key) || 0;
|
|
this.form[key] || this.getSampleQuantityYp(key) || 0;
|
|
|
});
|
|
});
|
|
|
- } else {
|
|
|
|
|
- this.getSampleQuantity();
|
|
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.getSampleQuantity()
|
|
|
}
|
|
}
|
|
|
// this.getSampleQuantityYp()
|
|
// this.getSampleQuantityYp()
|
|
|
},
|
|
},
|