You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.2 KiB
78 lines
1.2 KiB
12 months ago
|
<template>
|
||
|
<view class="">
|
||
|
<uni-popup ref="popup">
|
||
|
<recordDetailCommonInfo :dataContent='dataContent'></recordDetailCommonInfo>
|
||
|
</uni-popup>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {
|
||
|
getInventoryStatusName,
|
||
|
getStdPackUnitInfo
|
||
|
} from '@/common/directory.js';
|
||
|
|
||
|
import recordDetailCommonInfo from '@/mycomponents/detail/recordDetailCommonInfo.vue'
|
||
|
export default {
|
||
|
components: {
|
||
|
recordDetailCommonInfo
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
dataContent: {}
|
||
|
}
|
||
|
},
|
||
|
props: {
|
||
|
title: {
|
||
|
type: String,
|
||
|
default: ""
|
||
|
},
|
||
|
|
||
|
},
|
||
|
methods: {
|
||
|
openScanPopup(val) {
|
||
|
this.dataContent = val;
|
||
|
this.$refs.popup.open('bottom')
|
||
|
},
|
||
|
closeScanPopup() {
|
||
|
this.$refs.popup.close()
|
||
|
},
|
||
|
getInventoryStatusInfo(value) {
|
||
|
return getInventoryStatusName(value).label
|
||
|
},
|
||
|
getStdPackUnit(uom) {
|
||
|
let item = getStdPackUnitInfo(uom);
|
||
|
if (item == '') {
|
||
|
return uom;
|
||
|
} else {
|
||
|
return item.label
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
.popup_box {
|
||
|
width: 500rpx;
|
||
|
height: 500rpx;
|
||
|
}
|
||
|
|
||
|
.item_big_title {
|
||
|
color: #2196F3;
|
||
|
font-size: 35rpx;
|
||
|
margin-top: 15rpx;
|
||
|
margin-bottom: 15rpx;
|
||
|
}
|
||
|
|
||
|
.item {
|
||
|
padding-top: 5rpx;
|
||
|
padding-bottom: 5rpx;
|
||
|
}
|
||
|
|
||
|
.item_title {
|
||
|
color: #000000;
|
||
|
font-size: 32rpx;
|
||
|
}
|
||
|
</style>
|