niexiting
11 months ago
7 changed files with 195 additions and 50 deletions
@ -0,0 +1,67 @@ |
|||
<template> |
|||
<view> |
|||
<!-- <view class="item_big_title"> |
|||
[明细] |
|||
</view> --> |
|||
<view class="item"> |
|||
<text class="item_title">箱码 : </text> |
|||
<text class="text_wrap">{{dataContent.packingNumber}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">批次 : </text> |
|||
<text class="text_wrap">{{dataContent.batch}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">数量 : </text> |
|||
<view class="text_wrap"> |
|||
<text class="text_wrap">{{Number(dataContent.qty)}}</text> |
|||
<text class="text_wrap">{{getUnitInfo(dataContent.uom)}}</text> |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">库存状态 : </text> |
|||
<text class="text_wrap">{{getInventoryStatusInfo(dataContent.inventoryStatus)}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">来源库位 : </text> |
|||
<text class="text_wrap">{{dataContent.fromLocationCode}}</text> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import { |
|||
getInventoryStatusName, |
|||
getStdPackUnitInfo, |
|||
getUnitInfo |
|||
} from '@/common/directory.js'; |
|||
export default { |
|||
components: {}, |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
mounted() {}, |
|||
props: { |
|||
dataContent: { |
|||
type: Object, |
|||
default: {} |
|||
} |
|||
}, |
|||
|
|||
methods: { |
|||
getInventoryStatusInfo(value) { |
|||
return getInventoryStatusName(value) |
|||
}, |
|||
getUnitInfo(value){ |
|||
return getUnitInfo(value).label |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
|
|||
</style> |
@ -0,0 +1,67 @@ |
|||
<template> |
|||
<view> |
|||
<!-- <view class="item_big_title"> |
|||
[明细] |
|||
</view> --> |
|||
<view class="item"> |
|||
<text class="item_title">箱码 : </text> |
|||
<text class="text_wrap">{{dataContent.packingNumber}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">批次 : </text> |
|||
<text class="text_wrap">{{dataContent.batch}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">数量 : </text> |
|||
<view class="text_wrap"> |
|||
<text class="text_wrap">{{Number(dataContent.qty)}}</text> |
|||
<text class="text_wrap">{{getUnitInfo(dataContent.uom)}}</text> |
|||
</view> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">库存状态 : </text> |
|||
<text class="text_wrap">{{getInventoryStatusInfo(dataContent.inventoryStatus)}}</text> |
|||
</view> |
|||
<view class="item"> |
|||
<text class="item_title">来源库位 : </text> |
|||
<text class="text_wrap">{{dataContent.fromLocationCode}}</text> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import { |
|||
getInventoryStatusName, |
|||
getStdPackUnitInfo, |
|||
getUnitInfo |
|||
} from '@/common/directory.js'; |
|||
export default { |
|||
components: {}, |
|||
data() { |
|||
return { |
|||
|
|||
} |
|||
}, |
|||
|
|||
mounted() {}, |
|||
props: { |
|||
dataContent: { |
|||
type: Object, |
|||
default: {} |
|||
} |
|||
}, |
|||
|
|||
methods: { |
|||
getInventoryStatusInfo(value) { |
|||
return getInventoryStatusName(value) |
|||
}, |
|||
getUnitInfo(value){ |
|||
return getUnitInfo(value).label |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style> |
|||
|
|||
</style> |
Loading…
Reference in new issue