emis-frontend/src/views/emis/emisTmsSiteBatchLoading/emisTmsSiteBatchLoadingView.vue
2024-03-01 17:24:07 +08:00

85 lines
2.6 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="">
<el-row>
<el-button icon="el-icon-arrow-left" size="small" @click="backClick">返回</el-button>
<el-button size="small" @click="successOrder">操作</el-button>
</el-row>
<el-descriptions title="基本信息:" class="margin-top" :column="1" border>
<el-descriptions-item label="id">{{ emisTmsSiteBatchLoading.id }}</el-descriptions-item>
<el-descriptions-item label="批次号">{{ emisTmsSiteBatchLoading.batchId }}</el-descriptions-item>
<el-descriptions-item label="位置信息">{{ emisTmsSiteBatchLoading.posNo }}</el-descriptions-item>
<el-descriptions-item label="位置描述">{{ emisTmsSiteBatchLoading.posDesc }}</el-descriptions-item>
<el-descriptions-item label="删除标志(0代表存在">{{ emisTmsSiteBatchLoading.delFlag }}</el-descriptions-item>
<el-descriptions-item label="创建者">{{ emisTmsSiteBatchLoading.createBy }}</el-descriptions-item>
<el-descriptions-item label="创建时间">{{ emisTmsSiteBatchLoading.createTime }}</el-descriptions-item>
<el-descriptions-item label="更新者">{{ emisTmsSiteBatchLoading.updateBy }}</el-descriptions-item>
<el-descriptions-item label="更新时间">{{ emisTmsSiteBatchLoading.updateTime }}</el-descriptions-item>
<el-descriptions-item label="备注">{{ emisTmsSiteBatchLoading.remark }}</el-descriptions-item>
</el-descriptions>
</div>
</template>
<script>
import { getEmisTmsSiteBatchLoading } from "@/api/emis/emisTmsSiteBatchLoading";
export default {
name: "emisTmsSiteBatchLoadingView",
props:{
id:undefined
},
dicts: [],
data() {
return {
// 遮罩层
loading: true,
// 一级网点TMS组批次配置表格数据
emisTmsSiteBatchLoading: {}
};
},
created() {
this.initData();
},
watch: {
"id": {
handler (newValue, oldValue) {
this.id = newValue;
this.initData();
},
deep: true
}
},
methods: {
/** 查询一级网点TMS组批次配置列表 */
initData() {
this.loading = true;
getEmisTmsSiteBatchLoading(this.id).then(response => {
this.emisTmsSiteBatchLoading = response.data;
this.loading = false;
});
},
}
};
</script>
<style rel="stylesheet/scss" lang="scss">
.margin-top{
margin-top: 20px;
}
.el-descriptions-item__label.is-bordered-label {
min-width: 80px;
}
.printMeClass {
font-family: SimHei;
label {
font-weight: normal;
}
}
</style>