|
|
@@ -206,7 +206,12 @@
|
|
|
<template v-else>暂未付款</template>
|
|
|
</div>
|
|
|
<div class="" v-else>付款时间:
|
|
|
- <template v-if="getOverTiem(502) > 0">{{getOverTiem(502) | time2 }}</template>
|
|
|
+ <template v-if="getOverTiem(502) > 0 && vendorType !== 'buyer'">
|
|
|
+ {{getOverTiem(502) | time2 }}
|
|
|
+ </template>
|
|
|
+ <template v-else-if="getOverTiem(505) > 0 && vendorType === 'buyer'">
|
|
|
+ {{getOverTiem(505) | time2 }}
|
|
|
+ </template>
|
|
|
<template v-else>暂未付款</template>
|
|
|
</div>
|
|
|
<div class="">发货时间:
|
|
|
@@ -242,52 +247,48 @@
|
|
|
</div>
|
|
|
<!-- 发票信息 -->
|
|
|
<div class="mobile-modal" @touchmove="preventTouchMove($event)" v-if="orderList.invoicetype === 1205 || orderList.invoicetype === 1206" v-show="showinvoiceType">
|
|
|
- <div class="sendGoods_Alert">
|
|
|
- <div class="sendGoods_title">发票信息<span><i class="iconfont icon-guanbi1" @click="showinvoiceType = false"></i></span></div>
|
|
|
+ <div class="mobile-modal-box mobile-link-en mobile-link-en2">
|
|
|
+ <div class="mobile-modal-header">发票信息<i @click="showinvoiceType = false" class="icon-guanbi iconfont"></i></div>
|
|
|
<div class="order-details-invoiceinfo" >
|
|
|
- <div class="invoiceList clearfix" >
|
|
|
- <div class="pull-left">发票类型:</div>
|
|
|
- <div class="pull-right">
|
|
|
- {{orderList.invoicetype === 1205 ? '增值税(专用)发票': '增值税普通发票'}}
|
|
|
+ <div class="order-details-invoiceinfo-content">
|
|
|
+ <!--<div class="invoiceList clearfix" >-->
|
|
|
+ <!--<div class="pull-left">发票类型:</div>-->
|
|
|
+ <!--<div class="pull-right">-->
|
|
|
+ <!--{{orderList.invoicetype === 1205 ? '增值税(专用)发票': '增值税普通发票'}}-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <img src="/images/order/zhuanpiao.png" v-if="orderList.invoicetype === 1205"/>
|
|
|
+ <img src="/images/order/pupiao.png" v-else/>
|
|
|
+ <div class="invoiceList clearfix" style="font-size: 0.28rem;color: #333">
|
|
|
+ {{orderList.invoicetitle}}
|
|
|
+ <!--<div class="pull-left">发票抬头:</div>-->
|
|
|
+ <!--<div class="pull-right">{{orderList.invoicetitle || '空'}}</div>-->
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
+ <div class="pull-left">单位地址:</div>
|
|
|
+ <div class="pull-left">{{invoiceAddress.companyAddress || '空'}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
+ <div class="pull-left">单位电话:</div>
|
|
|
+ <div class="pull-left">{{invoiceAddress.companyPhone || '空'}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
+ <div class="pull-left">税务登记号:</div>
|
|
|
+ <div class="pull-left">{{invoiceAddress.companyTaxNumber || '空'}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
+ <div class="pull-left">{{invoiceAddress.bankName}}:</div>
|
|
|
+ <div class="pull-left">{{invoiceAddress.bankAccount}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix">
|
|
|
+ <div class="pull-left">{{invoiceAddress.name}}:</div>
|
|
|
+ <div class="pull-left">{{invoiceAddress.telephone || '空'}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="invoiceList clearfix">
|
|
|
+ {{invoiceAddress.area}}{{invoiceAddress.detailAddress}}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="invoiceList clearfix">
|
|
|
- <div class="pull-left">发票抬头:</div>
|
|
|
- <div class="pull-right">{{orderList.invoicetitle || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">单位地址:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.companyAddress || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">单位电话:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.companyPhone || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">税务登记号:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.companyTaxNumber || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">开户银行:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.bankName || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">开户银行账户:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.bankAccount || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix" v-if="orderList.invoicetype === 1205">
|
|
|
- <div class="pull-left">收票人:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.name || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix">
|
|
|
- <div class="pull-left">联系电话:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.telephone || '空'}}</div>
|
|
|
- </div>
|
|
|
- <div class="invoiceList clearfix">
|
|
|
- <div class="pull-left">详细地址:</div>
|
|
|
- <div class="pull-right">{{invoiceAddress.area}}{{invoiceAddress.detailAddress}}</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- /end -->
|
|
|
@@ -615,29 +616,36 @@
|
|
|
return
|
|
|
}
|
|
|
this.$http.get(`/trade/bankInfo/vender/enterprise?status=104&type=sup`).then(res => {
|
|
|
- if (res.data && res.data.length > 0) {
|
|
|
- this.onMind('您还未填写收款账户信息 ,请进行完善')
|
|
|
+ if (res.data && res.data[0]) {
|
|
|
+ this.$http.get(`/trade/address/enterprise?ship=false`).then(res => {
|
|
|
+ // 选择发货地址
|
|
|
+ if (res.data[0]) {
|
|
|
+ this.sendGoodstype = 'add'
|
|
|
+ if (item.inid) {
|
|
|
+ this._id = EncryptionFilter(item.inid)
|
|
|
+ this.$http.get(`/trade/inFpu/tobeshipped/${this._id}`).then(res => {
|
|
|
+ this.sendGoodsInfo = res.data[0]
|
|
|
+ this.sendGoodsInfo.area = JSON.parse(res.data[0].jsonSpAddress)
|
|
|
+ this.showSend = true
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$http.get(`/trade/purchase/vendor/tobeshiped/${item.id}`).then(res => {
|
|
|
+ this._id = EncryptionFilter(res.data.inId)
|
|
|
+ this.$http.get(`/trade/inFpu/tobeshipped/${this._id}`).then(res => {
|
|
|
+ this.sendGoodsInfo = res.data[0]
|
|
|
+ this.sendGoodsInfo.area = JSON.parse(res.data[0].jsonSpAddress)
|
|
|
+ this.showSend = true
|
|
|
+ })
|
|
|
+ }, err => {
|
|
|
+ this.onMind('转出货单失败' + err.response.data)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ this.onMind('您还未填写设置发货地址 ,请进行完善')
|
|
|
+ }
|
|
|
+ })
|
|
|
} else {
|
|
|
- this.sendGoodstype = 'add'
|
|
|
- if (item.inid) {
|
|
|
- this._id = EncryptionFilter(item.inid)
|
|
|
- this.$http.get(`/trade/inFpu/tobeshipped/${this._id}`).then(res => {
|
|
|
- this.sendGoodsInfo = res.data[0]
|
|
|
- this.sendGoodsInfo.area = JSON.parse(res.data[0].jsonSpAddress)
|
|
|
- this.showSend = true
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.$http.get(`/trade/purchase/vendor/tobeshiped/${item.id}`).then(res => {
|
|
|
- this._id = EncryptionFilter(res.data.inId)
|
|
|
- this.$http.get(`/trade/inFpu/tobeshipped/${this._id}`).then(res => {
|
|
|
- this.sendGoodsInfo = res.data[0]
|
|
|
- this.sendGoodsInfo.area = JSON.parse(res.data[0].jsonSpAddress)
|
|
|
- this.showSend = true
|
|
|
- })
|
|
|
- }, err => {
|
|
|
- this.onMind('转出货单失败' + err.response.data)
|
|
|
- })
|
|
|
- }
|
|
|
+ this.onMind('您还未填写收款账户信息 ,请进行完善')
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -1764,20 +1772,44 @@
|
|
|
margin-right: 0.1rem;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
+ .mobile-link-en2 {
|
|
|
+ width: 7.04rem;
|
|
|
+ left: 2.5%;
|
|
|
+ }
|
|
|
.order-details-invoiceinfo {
|
|
|
- padding: 0.1rem 0.2rem;
|
|
|
- background: #fff;
|
|
|
+ background: #f3f3f3;
|
|
|
+ padding: 0.2rem;
|
|
|
+ border-bottom-left-radius: 0.07rem;
|
|
|
+ border-bottom-right-radius: 0.07rem;
|
|
|
+ .order-details-invoiceinfo-content {
|
|
|
+ background: #fff;
|
|
|
+ padding: 0.3rem 0.2rem;
|
|
|
+ border-radius: 0.07rem;
|
|
|
+ position: relative;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ img {
|
|
|
+ position: absolute;
|
|
|
+ right: 0px;
|
|
|
+ top: 0px;
|
|
|
+ width: 0.85rem;
|
|
|
+ height: 0.85rem;
|
|
|
+ }
|
|
|
+ }
|
|
|
.invoiceList {
|
|
|
font-size: 0.24rem;
|
|
|
- color: #999;
|
|
|
- height: 0.5rem;
|
|
|
+ color: #666;
|
|
|
line-height: 0.5rem;
|
|
|
- .pull-right {
|
|
|
- max-width: 4.5rem;
|
|
|
- @include overFlowHidden();
|
|
|
- }
|
|
|
.pull-left {
|
|
|
- width: 2.2rem;
|
|
|
+ &:first-child {
|
|
|
+ width: 2.2rem;
|
|
|
+ text-align: right;
|
|
|
+ @include overFlowHidden();
|
|
|
+ }
|
|
|
+ &:last-child{
|
|
|
+ width: 3.9rem;
|
|
|
+ word-break:break-all;
|
|
|
+ word-wrap:break-word;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|