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.
70 lines
1.6 KiB
70 lines
1.6 KiB
<template>
|
|
<view>
|
|
<win-empty-view v-if="itemList.length==0"></win-empty-view>
|
|
<view class="detail-list" v-for="item in itemList">
|
|
<view class="detail-content ">
|
|
<view class="ljh_box">
|
|
<view class="tit_ljh">{{ item.jobNumber }}</view>
|
|
<view class="uni-flex uni-row space-between">
|
|
<view class="ljh_left desc_ljh">
|
|
<view class="label_normal">
|
|
<view class="label_col">
|
|
<!-- <label class="">
|
|
<image class="icon_normal" src="@/static/icons_ui/icon_xm.svg"></image>
|
|
</label> -->
|
|
<text>{{ item.packingCode }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="ljh_right">
|
|
<text class="tnum">{{item.qty}}</text>
|
|
<text class="tunit">{{item.uom}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<com-item-bottom :dataContent="item"></com-item-bottom>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
getInventoryTypeStyle,
|
|
getInventoryStatusDesc,
|
|
dateFormat
|
|
} from '@/common/basic.js';
|
|
import winEmptyView from '@/mycomponents/wincom/winEmptyView.vue'
|
|
import comItemBottom from '@/mycomponents/comItem/comItemBottom.vue'
|
|
export default {
|
|
name: "comoccupied",
|
|
components: {
|
|
winEmptyView,
|
|
comItemBottom
|
|
},
|
|
data() {
|
|
return {};
|
|
},
|
|
// 此处定义传入的数据
|
|
props: {
|
|
itemList: {
|
|
type: Array,
|
|
value: null
|
|
}
|
|
},
|
|
methods:{
|
|
statusStyle: function(val) {
|
|
return getInventoryTypeStyle(val);
|
|
},
|
|
statusColor: function(val) {
|
|
return getInventoryStatusDesc(val);
|
|
},
|
|
formatDate: function(val) {
|
|
return dateFormat(val)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|