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

85 lines
2.4 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">{{ emisTmsPackDtl.id }}</el-descriptions-item>
<el-descriptions-item label="合包id">{{ emisTmsPackDtl.packId }}</el-descriptions-item>
<el-descriptions-item label="运单id">{{ emisTmsPackDtl.waybillId }}</el-descriptions-item>
<el-descriptions-item label="运单号">{{ emisTmsPackDtl.billCode }}</el-descriptions-item>
<el-descriptions-item label="删除标志(0代表存在">{{ emisTmsPackDtl.delFlag }}</el-descriptions-item>
<el-descriptions-item label="创建者">{{ emisTmsPackDtl.createBy }}</el-descriptions-item>
<el-descriptions-item label="创建时间">{{ emisTmsPackDtl.createTime }}</el-descriptions-item>
<el-descriptions-item label="更新者">{{ emisTmsPackDtl.updateBy }}</el-descriptions-item>
<el-descriptions-item label="更新时间">{{ emisTmsPackDtl.updateTime }}</el-descriptions-item>
<el-descriptions-item label="备注">{{ emisTmsPackDtl.remark }}</el-descriptions-item>
</el-descriptions>
</div>
</template>
<script>
import { getEmisTmsPackDtl } from "@/api/emis/emisTmsPackDtl";
export default {
name: "emisTmsPackDtlView",
props:{
id:undefined
},
dicts: [],
data() {
return {
// 遮罩层
loading: true,
// TMS合包明细表格数据
emisTmsPackDtl: {}
};
},
created() {
this.initData();
},
watch: {
"id": {
handler (newValue, oldValue) {
this.id = newValue;
this.initData();
},
deep: true
}
},
methods: {
/** 查询TMS合包明细列表 */
initData() {
this.loading = true;
getEmisTmsPackDtl(this.id).then(response => {
this.emisTmsPackDtl = 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>