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.
 
 
 
 
 
 

62 lines
1.6 KiB

<!--收货任务卡片-->
<template>
<view class="device-detail">
<view class="card_task nopad">
<view class="task_num">
<view class="ljh_box nopad margin_bottom">
<view class="tit_ljh tit_jxs">
<text class="state-style fl margin_xs_top" style="color: #fff;"
:class="dataContent.jobStatus | statusStyle">
{{dataContent.jobStatus | statusColor}}
</text>
<text style="font-weight: normal; ">{{dataContent.number }}1</text>
</view>
</view>
</view>
</view>
<view class="margin_xs_bottom pda_receipt_label">
<view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_avn.svg"></image>
<text class="text_darkblue">调入人:{{dataContent.acceptUserName}}</text>
</view>
</view>
<view class="margin_xs_bottom pda_receipt_label">
<view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_date.svg"></image>
<text
class="text_darkblue">创建时间:{{dataContent.creationTime===null?'无':dataContent.creationTime| formatDate}}</text>
</view>
</view>
</view>
</template>
<script>
import {
getJobStatuStyle,
getJobStatuDesc,
dateFormat
} from '@/common/basic.js';
export default {
name: "comTransferReceipt",
data() {
return {
};
},
props: ['dataContent'],
filters: {
statusStyle: function(val) {
return getJobStatuStyle(val);
},
statusColor: function(val) {
return getJobStatuDesc(val);
},
formatDate: function(val) {
return dateFormat(val)
}
},
}
</script>
<style scoped lang="scss">
</style>