|
@@ -104,6 +104,7 @@
|
|
|
<a-button type="danger" size="small" @click='addList'>新增</a-button>
|
|
|
<a-button size="small" @click='addEdit'>修改</a-button>
|
|
|
<a-button size="small" @click="delecteList()">删除</a-button>
|
|
|
+ <a-button size="small" @click="detailList">详情</a-button>
|
|
|
<a-button size="small" @click="examineApprove">审批</a-button>
|
|
|
<a-button size="small" @click="abstainExamineApprove">弃审</a-button>
|
|
|
<a-button size="small" @click="exportList('材料请购单')">导出</a-button>
|
|
@@ -522,6 +523,17 @@
|
|
|
this.queryParam.pageSize = pagination.pageSize
|
|
|
this.getTableList()
|
|
|
},
|
|
|
+ detailList(){
|
|
|
+ if(this.selectedRowKeys.length==0){
|
|
|
+ this.$message.warning('请选择数据!')
|
|
|
+ }else if(this.selectedRowKeys.length>1){
|
|
|
+ this.$message.warning('请选择一条数据!')
|
|
|
+ }else{
|
|
|
+ this.$refs.materialProcurementDetail.visible=true
|
|
|
+ //获取主表信息
|
|
|
+ this.$refs.materialProcurementDetail.getMainData(this.selectedRowKeys[0])
|
|
|
+ }
|
|
|
+ },
|
|
|
//双击
|
|
|
clickRow(record, index){
|
|
|
return {
|