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.

68 lines
1.8 KiB

2 years ago
<!--收货任务卡片-->
<template>
<view class="device-detail">
<view class="card_task nopad">
<com-job-top-info :jobContent="receiptItem"></com-job-top-info>
2 years ago
</view>
<view class="margin_xs_bottom" style="clear: both;">
2 years ago
<view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>
<text>{{receiptItem.asnNumber}}</text>
<!-- <text>发货单{{receiptItem.asnNumber}}</text> -->
2 years ago
</view>
<view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_avn.svg"></image>
2 years ago
<text>{{receiptItem.purchaseReceiptRequestNumber}}</text>
<!-- <text>到货单{{receiptItem.arriveNoticeNumber}}</text> -->
2 years ago
</view>
</view>
<view class="uni-flex uni-row receipt_bot">
<view class="label_order">
<image class="icon_normal" style="vertical-align: middle;" src="@/static/icons_ui/icon_date.svg">
</image>
<text
class="text_darkblue">{{receiptItem.planArriveDate===null?'无':receiptItem.planArriveDate| formatDate}}</text>
</view>
<!-- <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_time.svg"></image>
<text class="text_darkblue">{{receiptItem.timeWindow}}</text>
</view> -->
2 years ago
</view>
</view>
</template>
<script>
import {
getJobStatuStyle,
getJobStatuDesc,
dateFormat
} from '@/common/basic.js';
import comJobTopInfo from '@/mycomponents/comjob/comJobTopInfo.vue'
2 years ago
export default {
name: "comReceipt",
components: {
comJobTopInfo
2 years ago
},
data() {
return {
};
},
props: ['receiptItem'],
filters: {
2 years ago
statusStyle: function(val) {
return getJobStatuStyle(val);
},
statusColor: function(val) {
return getJobStatuDesc(val);
},
formatDate: function(val) {
return dateFormat(val)
}
},
2 years ago
}
</script>
<style scoped lang="scss">
</style>