<!--收货任务卡片--> <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="statusStyle (dataContent.jobStatus ) "> {{statusColor(dataContent.jobStatus) | }} </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?'无':formatDate(dataContent.creationTime)}}</text> </view> </view> </view> </template> <script> import { // getJobStatuStyle, // getJobStatuDesc, dateFormat } from '@/common/basic.js'; export default { name: "comTransferReceipt", data() { return { }; }, props: ['dataContent'], methods:{ // statusStyle: function(val) { // return getJobStatuStyle(val); // }, // statusColor: function(val) { // return getJobStatuDesc(val); // }, formatDate: function(val) { return dateFormat(val) } } } </script> <style scoped lang="scss"> </style>