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.
 
 
 
 
 
 

98 lines
2.9 KiB

<!-- 执行上架任务标签 -->
<template>
<view class="device-detail" style="padding: 0 !important;">
<view class="card_task">
<view class="task_num">
<image class="icon_normal" src="@/static/icons_ui/icon_tasknum.svg"></image>
<text>{{datacontent.number}}</text>
</view>
<view class="ljh_box nopad">
<view class="tit_ljh">
<text class="state-style" :class="statusStyle(datacontent.jobStatus) ">
{{statusColor(datacontent.jobStatus)}}
</text>
<text>{{datacontent.itemCode}}</text>
</view>
<view class="uni-flex uni-row space-between">
<view class="ljh_left desc_ljh">
<view class="font_xs text_lightblue">{{datacontent.itemName}}</view>
<view class="font_xs text_lightblue">{{datacontent.item.desc2}} </view>
</view>
<view class="ljh_right">
<text class="tnum">{{datacontent.recommendQty}}</text>
<text class="tunit">{{datacontent.recommendQty.uom}}</text>
</view>
</view>
</view>
</view>
<view class="cen_card margin_xs_bottom">
<view class="label_box uni-flex uni-row">
<view class="label_info margin_xs_top">
<label class=""><image class="icon_normal" src="@/static/icons_ui/icon_tm.svg"></image></label>
<text>{{datacontent.recommendContainerCode}}</text>
</view>
</view>
</view>
<view class="uni-flex uni-row bot_card">
<view class="bot_card_item item_long">
<label class="icon_bg icon_bg_xm"><image class="icon_normal" src="@/static/icons_ui/icon_xm.svg"></image></label>
<text>{{datacontent.recommendPackingCode}}</text>
</view>
<!-- 箱码 -->
<view class="bot_card_item" style="width:35%;">
<label class="icon_bg icon_bg_kw"><image class="icon_normal" src="@/static/icons_ui/icon_kw.svg"></image></label>
<text>{{datacontent.recommendLocationCode}}</text>
</view>
<!-- 库位 -->
<view class="bot_card_item">
<label class="icon_bg icon_bg_pc"><image class="icon_normal" src="@/static/icons_ui/icon_pc.svg"></image></label>
<text>{{datacontent.recommendLot}}</text>
</view>
<!-- 批次 -->
<view class="bot_card_item item_short">
<!-- <label class="icon_state" :class="item.status | statusStyle"></label>
<text class="state_point" :class="item.status | statusStyle">
{{ item.status | statusColor}}
</text> -->
</view>
<!-- 状态 -->
</view>
</view>
</template>
<script>
import {
getJobStatuStyle,
getJobStatuDesc
} from '@/common/basic.js';
export default {
data() {
return {}
},
props: {
datacontent: {
type: Object,
value: null
}
},
methods:{
statusStyle: function(val) {
return getJobStatuStyle(val);
},
statusColor: function(val) {
return getJobStatuDesc(val);
},
// putawayjobTypeStyle: function(val) {
// return getJobStatuStyle(val);
// },
// putawayjobTypeDesc: function(val) {
// return getJobStatuDesc(val);
// }
}
}
</script>
<style>
</style>