Commit a1a0d1a2 authored by zhoutong's avatar zhoutong

后台装柜补单默认数据,与搜索后数据不一致

出货详情-状态-增加查看审批链接
parent c2fae766
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<div class="status-line"></div> <div class="status-line"></div>
<div class="status-number">{{logList.length - index}}</div> <div class="status-number">{{logList.length - index}}</div>
<div class="status-info"> <div class="status-info">
<div>{{$l(item, 'title')}}</div> <div>{{$l(item, 'title')}} <el-button v-if="item.approvalId>0" type="text" @click="handleApproval(item.bpmProcessId)">{{$t('查看审批')}}</el-button></div>
<div> <div>
<p>{{formatDate(item.createTime)}}</p> <p>{{formatDate(item.createTime)}}</p>
<p>{{item.operator}}</p> <p>{{item.operator}}</p>
...@@ -574,6 +574,9 @@ export default { ...@@ -574,6 +574,9 @@ export default {
); );
} }
}, },
handleApproval(id) {
this.$router.push({path: '/bpm/process-instance/detail', query: {id: id}})
}
}, },
computed: { computed: {
visitedViews() { visitedViews() {
...@@ -636,7 +639,7 @@ export default { ...@@ -636,7 +639,7 @@ export default {
} else { } else {
return getTotlContent(secStatistics); return getTotlContent(secStatistics);
} }
}, }
}, },
}; };
</script> </script>
......
...@@ -203,7 +203,6 @@ export default { ...@@ -203,7 +203,6 @@ export default {
}; };
}, },
created() { created() {
this.queryAllData();
this.getCountry() this.getCountry()
}, },
methods: { methods: {
...@@ -218,6 +217,7 @@ export default { ...@@ -218,6 +217,7 @@ export default {
if(warehouse){ if(warehouse){
this.$set(this.queryParams,'destCountryId', warehouse.guojia) this.$set(this.queryParams,'destCountryId', warehouse.guojia)
} }
this.queryAllData();
}, },
/* 查询已预装 */ /* 查询已预装 */
getSecGoods() { getSecGoods() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment