Browse Source

修改制试表格问题

dev
long 2 years ago
parent
commit
51b04703ad
  1. 3
      src/components/jeecg/PEditableTable.vue
  2. 22
      src/views/accessrecords/plan/ProcessMaterialsPlanList.vue

3
src/components/jeecg/PEditableTable.vue

@ -715,8 +715,7 @@
}, },
// //
dragSortType: { dragSortType: {
type: String, type: Number,String
}, },
// //
putUnder: { putUnder: {

22
src/views/accessrecords/plan/ProcessMaterialsPlanList.vue

@ -44,7 +44,7 @@
<a-tab-pane tab="采购申请表" key="3" forceRender> <a-tab-pane tab="采购申请表" key="3" forceRender>
<process-materials-plan-statement :materWared="this.$route.query.item" :procInstId="this.$route.query.procInstId"/> <process-materials-plan-statement :materWared="this.$route.query.item" :procInstId="this.$route.query.procInstId"/>
</a-tab-pane> </a-tab-pane>
<a-tab-pane tab="采购通知书" key="4" forceRender> <a-tab-pane tab="采购通知书" key="4" forceRender v-if="this.isPlan">
<process-materials-plan-statement2 :materWared="this.$route.query.item" :procInstId="this.$route.query.procInstId"/> <process-materials-plan-statement2 :materWared="this.$route.query.item" :procInstId="this.$route.query.procInstId"/>
</a-tab-pane> </a-tab-pane>
<a-tab-pane tab="代储代销物资采购通知书" key="5" forceRender v-if="this.isIf"> <a-tab-pane tab="代储代销物资采购通知书" key="5" forceRender v-if="this.isIf">
@ -83,6 +83,7 @@
pictureId:'', pictureId:'',
procInstId:'', procInstId:'',
isIf:false, isIf:false,
isPlan: false,
proMaterListId: this.$route.query.item, proMaterListId: this.$route.query.item,
url:{ url:{
list:"", list:"",
@ -123,10 +124,21 @@
}, },
},*/ },*/
created(){ created(){
console.log("进来没有",this.procInstId) console.log("进来没有",this.$route.query.sourceCapital)
if (this.$route.query.sourceCapital==2){ this.getAction('/hy/processUdgetPlan/queryById', {
this.isIf=true; 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); // console.log(this.proMaterListId);
// this.getPicture(); // this.getPicture();
}, },

Loading…
Cancel
Save