Browse Source

修改制试表格问题

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

3
src/components/jeecg/PEditableTable.vue

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

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

@ -44,7 +44,7 @@
<a-tab-pane tab="采购申请表" key="3" forceRender>
<process-materials-plan-statement :materWared="this.$route.query.item" :procInstId="this.$route.query.procInstId"/>
</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"/>
</a-tab-pane>
<a-tab-pane tab="代储代销物资采购通知书" key="5" forceRender v-if="this.isIf">
@ -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){
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();
},

Loading…
Cancel
Save