|
@@ -5,7 +5,7 @@
|
|
|
<p>化学品申购</p>
|
|
|
<p class="reset-button-one button-p" @click="backPage">返回</p>
|
|
|
<!--已拒绝/已撤销时显示-->
|
|
|
- <p class="inquire-button-one button-p" v-if="dataInfo.approvalStatus==2||dataInfo.approvalStatus==3" @click="goEditPage">编辑</p>
|
|
|
+ <p class="inquire-button-one button-p" v-if="(dataInfo.approvalStatus==2||dataInfo.approvalStatus==3)&&approvalPagePropsData.myDataType==1" @click="goEditPage">编辑</p>
|
|
|
</div>
|
|
|
<div class="page-max-box scrollbar-box">
|
|
|
<div class="text-box-one">
|
|
@@ -462,6 +462,17 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ let type = true;
|
|
|
+ let configInfoList = [];
|
|
|
+ for(let i=0;i<response.data.configInfoList.length;i++){
|
|
|
+ if(type){
|
|
|
+ configInfoList.push(response.data.configInfoList[i]);
|
|
|
+ }
|
|
|
+ if(response.data.configInfoList[i].applyTaskStatus == 2){
|
|
|
+ type = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.$set(response.data,'configInfoList',configInfoList);
|
|
|
this.$set(this,'dataInfo',response.data);
|
|
|
this.$set(this,'pageType',1);
|
|
|
});
|
|
@@ -569,6 +580,17 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ let type = true;
|
|
|
+ let configInfoList = [];
|
|
|
+ for(let i=0;i<response.data.configInfoList.length;i++){
|
|
|
+ if(type){
|
|
|
+ configInfoList.push(response.data.configInfoList[i]);
|
|
|
+ }
|
|
|
+ if(response.data.configInfoList[i].applyTaskStatus == 2){
|
|
|
+ type = false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.$set(response.data,'configInfoList',configInfoList);
|
|
|
this.$set(this,'dataInfo',response.data);
|
|
|
this.$set(this,'pageType',1);
|
|
|
});
|