检测任务详情回显

yangwl
shaoyong 3 months ago
parent 4ae54a2f12
commit ee54740385

@ -64,9 +64,9 @@
<el-select v-model="form.remark" placeholder="请选择不合格描述" clearable>
<el-option
v-for="dict in remarkList"
:key="dict.dictLabel"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictLabel"
:value="dict.dictValue"
></el-option>
</el-select>
</el-form-item>
@ -229,7 +229,7 @@
</template>
<script>
import { getCkeckProjectList,changeCheckDetailStatus,commitActualValue,
import { getCkeckProjectList,changeCheckDetailStatus,getIncome,commitActualValue,
commitCheckResult,getDefectList,getWeightValue,getnoOkVals,getAutoJudge
} from "@/api/quality/income";
import { getDefectValue, commitDefectValue, updateDefectValue} from "@/api/quality/checkTaskDefect";
@ -340,6 +340,7 @@ export default {
this.viewStatus = this.data.checkStatus;
this.queryParams.pageNum = 1;
this.queryParams.pageSize = 10;
this.getCheckInfo();
this.getList();
this.getDefect();
},
@ -353,6 +354,7 @@ export default {
this.viewStatus = "1";
this.queryParams.pageNum = 1;
this.queryParams.pageSize = 10;
this.getCheckInfo();
this.getList();
this.getDefect();
},
@ -422,6 +424,13 @@ export default {
});
},
getCheckInfo() {
getIncome(this.data.recordId).then(response => {
this.form = response.data;
});
},
//
submitBomForm() {
//----
@ -449,6 +458,7 @@ export default {
this.$modal.msgSuccess("检测完成");
this.$emit('saveCheck');
this.showFlag = false;
this.reset();
});
},

Loading…
Cancel
Save