|
|
@@ -267,11 +267,11 @@
|
|
|
size="mini"
|
|
|
class="content_num"
|
|
|
filterable
|
|
|
- v-model="row.extInfo.appearance"
|
|
|
+ v-model="row.extInfo.isQualified"
|
|
|
placeholder="请选择"
|
|
|
style="width: 160px"
|
|
|
:disabled="isDetails"
|
|
|
- @change="changeQuality(row.extInfo.appearance, row, $index)"
|
|
|
+ @change="changeQuality(row.extInfo.isQualified, row, $index)"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in qualityList"
|
|
|
@@ -301,7 +301,7 @@
|
|
|
v-model="row.extInfo.notType"
|
|
|
placeholder="请选择"
|
|
|
style="width: 160px"
|
|
|
- :disabled="isDetails || row.extInfo.appearance != 2"
|
|
|
+ :disabled="isDetails || row.extInfo.isQualified != 2"
|
|
|
@change="qualityChange"
|
|
|
>
|
|
|
<el-option
|
|
|
@@ -318,7 +318,7 @@
|
|
|
</span>
|
|
|
<div
|
|
|
v-if="
|
|
|
- row.extInfo.appearance != 1 &&
|
|
|
+ row.extInfo.isQualified != 1 &&
|
|
|
row.extInfo.notType &&
|
|
|
row.extInfo.notType != 5 &&
|
|
|
row.extInfo.notType != 8
|
|
|
@@ -594,7 +594,7 @@
|
|
|
},
|
|
|
|
|
|
changeQuality(type, item, index) {
|
|
|
- this.$set(this.item.sampleQuality[index].extInfo, 'isQualified', type);
|
|
|
+ // this.$set(this.item.sampleQuality[index].extInfo, 'isQualified', type);
|
|
|
if (type == 1) {
|
|
|
item.extInfo.notType = '';
|
|
|
item.extInfo.notReason = '';
|
|
|
@@ -613,15 +613,15 @@
|
|
|
if (item.extInfo.batchReportInfo.length == 0) {
|
|
|
const data = item.extInfo;
|
|
|
if (
|
|
|
- data.appearance == 1 ||
|
|
|
- data.appearance == 3 ||
|
|
|
- !data.appearance
|
|
|
+ data.isQualified == 1 ||
|
|
|
+ data.isQualified == 3 ||
|
|
|
+ !data.isQualified
|
|
|
) {
|
|
|
formedNum++;
|
|
|
formedWeightCount += Number(data.reportWeight);
|
|
|
}
|
|
|
|
|
|
- if (data.appearance == 2) {
|
|
|
+ if (data.isQualified == 2) {
|
|
|
notFormedNum++;
|
|
|
notFormedWeightCount += Number(data.reportWeight);
|
|
|
}
|