diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue
index b067777..e4cea86 100644
--- a/src/views/quality/qcIncome/checkProjectType.vue
+++ b/src/views/quality/qcIncome/checkProjectType.vue
@@ -121,6 +121,7 @@ import { getCkeckProjectList,changeCheckDetailStatus,commitActualValue,commitChe
export default {
name: "itemSelectUser",
dicts: ["check_result","qc_rule_prop"],
+ props: ['defectType'],
data() {
return {
viewStatus : '0',
@@ -172,7 +173,8 @@ export default {
methods: {
getDefect(){
- getDefectList('material').then(response => {
+ console.log(this.defectType);
+ getDefectList(this.defectType).then(response => {
this.defectList = response;
});
},
diff --git a/src/views/quality/qcIncome/index.vue b/src/views/quality/qcIncome/index.vue
index 5e3171d..eb81334 100644
--- a/src/views/quality/qcIncome/index.vue
+++ b/src/views/quality/qcIncome/index.vue
@@ -355,6 +355,7 @@
diff --git a/src/views/quality/qcInventory/index.vue b/src/views/quality/qcInventory/index.vue
index 97c5355..a48448c 100644
--- a/src/views/quality/qcInventory/index.vue
+++ b/src/views/quality/qcInventory/index.vue
@@ -325,6 +325,7 @@
diff --git a/src/views/quality/qcWarehousing/index.vue b/src/views/quality/qcWarehousing/index.vue
index 4b494f1..3d1865f 100644
--- a/src/views/quality/qcWarehousing/index.vue
+++ b/src/views/quality/qcWarehousing/index.vue
@@ -394,6 +394,7 @@