|
|
|
<!--收货任务卡片-->
|
|
|
|
<template>
|
|
|
|
<view class="device-detail">
|
|
|
|
<view class="card_task nopad">
|
|
|
|
<com-job-top-info :jobContent="receiptItem"></com-job-top-info>
|
|
|
|
</view>
|
|
|
|
<view class="margin_xs_bottom" style="clear: both;">
|
|
|
|
<view class="label_order">
|
|
|
|
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>
|
|
|
|
<text>{{receiptItem.asnNumber}}</text>
|
|
|
|
<!-- <text>发货单:{{receiptItem.asnNumber}}</text> -->
|
|
|
|
</view>
|
|
|
|
<view class="label_order">
|
|
|
|
<image class="icon_normal" src="@/static/icons_ui/icon_avn.svg"></image>
|
|
|
|
<text>{{receiptItem.purchaseReceiptRequestNumber}}</text>
|
|
|
|
<!-- <text>到货单:{{receiptItem.arriveNoticeNumber}}</text> -->
|
|
|
|
</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> -->
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import {
|
|
|
|
getJobStatuStyle,
|
|
|
|
getJobStatuDesc,
|
|
|
|
dateFormat
|
|
|
|
} from '@/common/basic.js';
|
|
|
|
import comJobTopInfo from '@/mycomponents/comjob/comJobTopInfo.vue'
|
|
|
|
export default {
|
|
|
|
name: "comReceipt",
|
|
|
|
components: {
|
|
|
|
comJobTopInfo
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
};
|
|
|
|
},
|
|
|
|
props: ['receiptItem'],
|
|
|
|
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>
|