diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue
index 3f46044..45d9074 100644
--- a/src/views/quality/qcIncome/checkProjectType.vue
+++ b/src/views/quality/qcIncome/checkProjectType.vue
@@ -24,13 +24,13 @@
/>
-
+
-
+
-
-
+
+
+
+
@@ -49,7 +51,7 @@
-
+
@@ -108,7 +110,8 @@ export default {
dicts: ["check_result","qc_rule_prop"],
data() {
return {
- showFlag:false,
+ viewStatus : '0',
+ showFlag : false,
// 选中数组
selectedRows: {},
// 非单个禁用
@@ -153,9 +156,6 @@ export default {
created() {
this.getDefect();
},
- props: {
- checkStatus : undefined,
- },
methods: {
getDefect(){
@@ -170,6 +170,19 @@ export default {
this.typeCode = typeCode;
this.checkType = this.data.checkType;
this.orderNo = this.data.orderNo;
+ this.viewStatus = this.data.checkStatus;
+ this.queryParams.pageNum = 1;
+ this.queryParams.pageSize = 10;
+ this.getList();
+ },
+
+ view(rowdata,typeCode){
+ this.data=rowdata;
+ this.queryParams.belongTo = this.data.recordId;
+ this.typeCode = typeCode;
+ this.checkType = this.data.checkType;
+ this.orderNo = this.data.orderNo;
+ this.viewStatus = "1";
this.queryParams.pageNum = 1;
this.queryParams.pageSize = 10;
this.getList();
diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue
index 8974b43..fb2cdb6 100644
--- a/src/views/quality/qcProduce/index.vue
+++ b/src/views/quality/qcProduce/index.vue
@@ -227,12 +227,6 @@
@click="handleCheckProject(scope.row)"
v-hasPermi="['quality:qcProduce:edit']"
>检验
-
-
+
@@ -428,7 +427,7 @@ export default {
dicts: ["unit","check_status","check_result"],
data() {
return {
- showFlag:false,
+ showFlag:false,
// 遮罩层
loading: true,
// 选中数组
@@ -699,7 +698,7 @@ export default {
},
//工单选择确认
onSelectWorkOrder(obj) {
- this.form.orderNo = obj.workorderCode;
+ this.form.orderNo = obj.orderNo;
this.form.materialName = obj.materialName;
this.form.materialCode = obj.materialCode;
this.form.quality = obj.quality;
@@ -742,7 +741,7 @@ export default {
//查看检验项目弹窗
handleView(row){
this.$refs.itemSelectProject.showFlag = true;
- this.$refs.itemSelectProject.init(row,'produce');
+ this.$refs.itemSelectProject.view(row,'produce');
},
//提交检测结果
saveCheck(){