|
@@ -106,7 +106,7 @@
|
|
|
<a href="javascript:void(0);" @click="detail(record)">详情</a>
|
|
|
</span> -->
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
- <a @click="handleApply(record)" v-if="apply == 1 && (record.status=='保存' || record.status=='' || record.status==undefined)">发起申请</a>
|
|
|
+ <a @click="handleApply(record)" v-if="apply == 1 && (record.status=='保存' || record.status=='' || !record.status)">发起申请</a>
|
|
|
</span>
|
|
|
</a-table>
|
|
|
</a-card>
|
|
@@ -190,11 +190,13 @@ export default {
|
|
|
// current: 0,
|
|
|
// pageSize: 0
|
|
|
},
|
|
|
+ apply:"",
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
|
loading: false // 表格加载
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ this.apply = this.$route.query.apply;
|
|
|
this.getCostList()
|
|
|
},
|
|
|
methods: {
|