|
@@ -271,7 +271,7 @@
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
|
style="width: 160px"
|
|
style="width: 160px"
|
|
|
:disabled="isDetails"
|
|
:disabled="isDetails"
|
|
|
- @change="changeQuality(row.extInfo.appearance, row)"
|
|
|
|
|
|
|
+ @change="changeQuality(row.extInfo.appearance, row, $index)"
|
|
|
>
|
|
>
|
|
|
<el-option
|
|
<el-option
|
|
|
v-for="item in qualityList"
|
|
v-for="item in qualityList"
|
|
@@ -593,13 +593,14 @@
|
|
|
this.list.splice(idx, 1);
|
|
this.list.splice(idx, 1);
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- changeQuality(type, item) {
|
|
|
|
|
- // console.log(type, item, '质检结果');
|
|
|
|
|
|
|
+ changeQuality(type, item, index) {
|
|
|
|
|
+ this.$set(this.item.sampleQuality[index].extInfo, 'isQualified', type);
|
|
|
if (type == 1) {
|
|
if (type == 1) {
|
|
|
item.extInfo.notType = '';
|
|
item.extInfo.notType = '';
|
|
|
item.extInfo.notReason = '';
|
|
item.extInfo.notReason = '';
|
|
|
}
|
|
}
|
|
|
this.qualityChange();
|
|
this.qualityChange();
|
|
|
|
|
+ this.$forceUpdate();
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
qualityChange() {
|
|
qualityChange() {
|
|
@@ -633,9 +634,6 @@
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- console.log(formedWeightCount, '合格品重量');
|
|
|
|
|
- console.log(notFormedWeightCount, '不合格品重量');
|
|
|
|
|
-
|
|
|
|
|
this.$set(this.item.workReportInfo, 'formedNum', formedNum);
|
|
this.$set(this.item.workReportInfo, 'formedNum', formedNum);
|
|
|
this.$set(this.item.workReportInfo, 'notFormedNum', notFormedNum);
|
|
this.$set(this.item.workReportInfo, 'notFormedNum', notFormedNum);
|
|
|
this.$set(
|
|
this.$set(
|