diff --git a/src/components/jeecg/PEditableTable.vue b/src/components/jeecg/PEditableTable.vue index 09c526d..29892bc 100644 --- a/src/components/jeecg/PEditableTable.vue +++ b/src/components/jeecg/PEditableTable.vue @@ -715,8 +715,7 @@ }, //查询类型 dragSortType: { - type: String, - + type: Number,String }, //归口部门 putUnder: { diff --git a/src/views/accessrecords/plan/ProcessMaterialsPlanList.vue b/src/views/accessrecords/plan/ProcessMaterialsPlanList.vue index 95f8c26..c3cec70 100644 --- a/src/views/accessrecords/plan/ProcessMaterialsPlanList.vue +++ b/src/views/accessrecords/plan/ProcessMaterialsPlanList.vue @@ -44,7 +44,7 @@ - + @@ -83,6 +83,7 @@ pictureId:'', procInstId:'', isIf:false, + isPlan: false, proMaterListId: this.$route.query.item, url:{ list:"", @@ -123,10 +124,21 @@ }, },*/ created(){ - console.log("进来没有",this.procInstId) - if (this.$route.query.sourceCapital==2){ - this.isIf=true; - } + console.log("进来没有",this.$route.query.sourceCapital) + this.getAction('/hy/processUdgetPlan/queryById', { + id: this.$route.query.item + }).then((res) => { + if (res.success) { + if (res.result.sourceCapital==2){ + this.isIf=true; + } + if (res.result.sourceCapital==1) { + this.isPlan=true; + } + } + }) + + // console.log(this.proMaterListId); // this.getPicture(); },