清单版本

This commit is contained in:
shenyanpei
2021-09-02 18:02:48 +08:00
parent cb9513fb45
commit 08237cbf1f
2 changed files with 5 additions and 1 deletions
@@ -1377,10 +1377,12 @@ export default {
}, {
_this: this, loading: "loading"
}, res => {
this.detailedListVersion = res.data[0].detailedListVersion
if (res.data) {
this.$router.push({
name: "LocalProductDetail",
query: {
detailedListVersion: this.detailedListVersion,
tabName: this.ifMaintaince
}
});
@@ -47,7 +47,7 @@
<div class="action-bar">
<el-row>
<el-col :span="12">
<span style="font-size: 16px;font-weight: bold">清单版本: {{ }}</span>
<span style="font-size: 16px;font-weight: bold">清单版本: {{ detailedListVersion ? $moment(detailedListVersion).format('YYYY-MM-DD HH:mm:ss') : '-' }}</span>
</el-col>
<el-col :span="12" style="text-align: end">
<el-button
@@ -473,6 +473,7 @@ export default {
},
data() {
return {
detailedListVersion: '',
standSortOptions: [],
standCommonlySearch: {
standSort: '',
@@ -959,6 +960,7 @@ export default {
...mapGetters(['getLocalPro'])
},
mounted() {
this.detailedListVersion = this.$route.query.detailedListVersion
this.$nextTick(() => {
this.Height = $('.contaiiner').height() - $('.contaiinerCard').height() - 190
window.onresize = () => {