<template>
  <view class="accessories_nfo_card" @tap.stop="toUrl">
    <view class="accessories_nfo_ac">
      <view class="accessories_nfo_title"> 转销售单号: </view>
      <view class="accessories_nfo_info">
        <view>
          {{ item.changeSalesNo }}
        </view>
      </view>
      <view class="accessories_nfo_title colorts">
        {{ item.flagName }}
      </view>
    </view>
    <view class="accessories_nfo_ac">
      <view class="accessories_nfo_title"> 转单时间: </view>
      <view class="accessories_nfo_info">
        <view>
          {{ item.createTime }}
        </view>
      </view>
    </view>
    <view class="accessories_nfo_ac">
      <view class="accessories_nfo_title"> 销售单号: </view>
      <view class="accessories_nfo_info">
        <view>
          {{ item.salesId }}
        </view>
      </view>
    </view>
    <view class="accessories_nfo_ac">
      <view class="accessories_nfo_title"> 总金额: </view>
      <view class="accessories_nfo_info">
        <view>
          {{ item.totalAmount }}
        </view>
      </view>
    </view>
    <view class="accessories_nfo_ac">
      <view class="accessories_nfo_title"> 网点: </view>
      <view class="accessories_nfo_info">
        <view> {{ item.websitName }}({{ item.websitId }}) </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    item: {
      type: Object,
      default: () => ({})
    }
  },
  data() {
    return {}
  },
  methods: {
    toUrl() {
      this.$navToPage({
        url: `/packageAttachment/pages/forwardSaleOrder/details?changeSalesNo=${this.item.changeSalesNo}`
      })
    }
  }
}
</script>

<style scoped lang="scss">
@import '@/static/style/accessories_nfo_card.scss';
</style>
