emis-sapp/components/buns-post-edit-templates/bpe-goodstatic-tmp.vue

159 lines
3.5 KiB
Vue
Raw Normal View History

2024-01-31 09:18:28 +00:00
<template>
2024-06-11 09:35:55 +00:00
<view class="pb-20">
<view>
<text class="clr-sub pr-10">货物名称</text> {{modelInfo.goodsInfo}}
</view>
<!-- <view class="pt-10">
<text class="clr-sub pr-10">货物大类</text> {{modelInfo.goodsType}}
</view> -->
</view>
2024-05-31 10:42:15 +00:00
<view v-for="(item) in modelInfo.cargoList" class="yditem">
2024-01-31 09:18:28 +00:00
<view class="ydi-lab">
2024-05-31 10:42:15 +00:00
<text class="font-weight">{{item.goodsName}}</text>
2024-01-31 09:18:28 +00:00
</view>
2024-05-31 10:42:15 +00:00
<u-row justify="between" custom-style="flex-wrap: wrap;">
<u-col span="12">
<view class="pt-5">
<text class="clr-sub pr-10">尺寸</text>
{{item.length || '0'}}cm<text class="clr-sub pl-10 pr-10">*</text>
{{item.width || '0'}}cm<text class="clr-sub pl-10 pr-10 ">*</text>
2024-07-10 05:33:52 +00:00
{{item.height || '0'}}cm
2024-05-31 10:42:15 +00:00
</view>
</u-col>
2024-06-11 09:35:55 +00:00
<u-col v-if="item.nationArea" span="6">
<view class="pt-5">
<text class="clr-sub pr-10">产地</text>{{item.nationArea}}
</view>
</u-col>
2024-05-31 10:42:15 +00:00
<u-col span="12">
2024-06-11 09:35:55 +00:00
<u-row justify="between">
<view class="pt-5">
<text class="clr-sub pr-10">件数</text> {{item.cargoQty}}
</view>
<view class="pt-5">
<text class="clr-sub pr-10">体积</text>
{{item.volume || '0'}}m³
</view>
</u-row>
</u-col>
<u-col v-if="item.price" span="6">
2024-05-31 10:42:15 +00:00
<view class="pt-5">
2024-06-11 09:35:55 +00:00
<text class="clr-sub pr-10">单价</text>{{item.price}} CNY
2024-05-31 10:42:15 +00:00
</view>
</u-col>
2024-06-11 09:35:55 +00:00
2024-05-31 10:42:15 +00:00
</u-row>
2024-01-31 09:18:28 +00:00
</view>
2024-05-31 10:42:15 +00:00
<view class="">
2024-01-31 09:18:28 +00:00
<view class="font-28">
<u-row justify="space-between">
2024-05-31 10:42:15 +00:00
<view class="sta-t-item">
<view class="">
<text class="font-weight">{{modelInfo.parcelQty || '-'}}</text>
<text class="clr-sub">件</text>
</view>
<view class="sta-lbl clr-sub">总件数</view>
</view>
<view class="sta-t-item">
<view class="">
<text class="font-weight">{{modelInfo.totalVolume || '-'}}</text>
<text class="clr-sub">m³</text>
</view>
<view class="sta-lbl clr-sub">总体积</view>
</view>
<view class="sta-t-item">
<view class="">
2024-06-11 09:35:55 +00:00
<text class="font-weight">{{modelInfo.billWeight || '-'}}</text>
2024-05-31 10:42:15 +00:00
<text class="clr-sub">kg</text>
</view>
2024-06-11 09:35:55 +00:00
<view class="sta-lbl clr-sub">实际重量</view>
2024-05-31 10:42:15 +00:00
</view>
2024-01-31 09:18:28 +00:00
</u-row>
</view>
2024-06-11 09:35:55 +00:00
<view class="pt-30">
<u-row justify="">
<text class="clr-sub pr-10">包装类型</text>
<tpx-text-dic :value="modelInfo.packType" :list="dicData.emis_tab_packing_type"></tpx-text-dic>
</u-row>
</view>
2024-06-12 01:15:24 +00:00
<view class="pt-30">
<u-row justify="">
<text class="clr-sub pr-10">是否子单</text>
<text class="">{{modelInfo.blGenSubbill=='1'?'是':'否'}}</text>
</u-row>
</view>
<view class="pt-30">
<u-row justify="">
<text class="clr-sub pr-10">合同号</text>
<text class="">{{modelInfo.custOrderId || '-'}}</text>
</u-row>
</view>
2024-01-31 09:18:28 +00:00
</view>
</template>
<script>
export default {
computed: {
2024-06-11 09:35:55 +00:00
dicData() {
return this.$store.getters.dicData
},
2024-05-31 10:42:15 +00:00
modelInfo: {
2024-01-31 09:18:28 +00:00
get(){
return this.value
}
}
},
props: {
value: {
default () {
return { }
}
}
},
data() {
return {
}
},
created() {
},
onHide() {
},
unmounted() {
},
methods: {
}
}
</script>
<style scoped lang="scss">
2024-05-31 10:42:15 +00:00
.sta-t-item{
text-align: center;
}
.sta-lbl{
margin-top: 6rpx;
}
2024-01-31 09:18:28 +00:00
.yditem{
padding: 20rpx 20rpx;
background-color: #F6F6F6;
border-radius: 10rpx;
margin-bottom: 20rpx;
}
.ydi-lab{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
</style>