|
@@ -5,9 +5,27 @@
|
|
|
<!-- 自定义的二级文字标题 -->
|
|
|
<template slot="subTitle">
|
|
|
<a id="salesEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
|
|
|
- <span style="margin: 0 15px;color: #666;">客户名称:{{ detailData&&detailData.buyerName }}</span>
|
|
|
+ <span style="margin: 0 15px;color: #666;font-weight: bold;">单号:{{ detailData&&detailData.salesBillNo }}</span>
|
|
|
+ <span v-if="detailData&&detailData.salesBillNoSource">(原:{{ detailData&&detailData.salesBillNoSource || '--' }})</span>
|
|
|
+ <span style="margin-left:15px;color:#00aaff;cursor:pointer;" @click="showDetail=!showDetail">
|
|
|
+ <a-icon title="查看信息" type="eye"/> 查看信息
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
|
+ <!-- 单据详情 -->
|
|
|
+ <a-card size="small" :bordered="false" class="salesEdit-cont" v-show="showDetail">
|
|
|
+ <a-descriptions size="small" :column="3">
|
|
|
+ <a-descriptions-item label="客户名称">{{ detailData&&detailData.buyerName || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="收货地址" :span="2">{{ shippingAddress||'--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="收货人">{{ detailData&&detailData.salesBillExtEntity&&detailData.salesBillExtEntity.consigneeName || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="收货电话">{{ detailData&&detailData.salesBillExtEntity&&detailData.salesBillExtEntity.consigneeTel || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="收款方式">{{ detailData&&detailData.settleStyleSnDictValue || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="审核时间">{{ detailData&&detailData.auditDate || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="业务状态">{{ detailData&&detailData.billStatusDictValue || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="财务状态">{{ detailData&&detailData.financialStatusDictValue || '--' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="备注" :span="3">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
<!-- 正常产品 -->
|
|
|
<a-card size="small" :bordered="false" class="salesEdit-cont" v-if="salesBillSn">
|
|
|
<productNormalList ref="productNormalList" :detailData="detailData" :warehouseSn="warehouseSn" :salesBillSn="salesBillSn"></productNormalList>
|
|
@@ -23,7 +41,7 @@
|
|
|
<div>
|
|
|
<strong style="margin-right:10px;font-size:16px;">{{item.activeName}}</strong> ({{item.activeDesc}})
|
|
|
<span style="margin-left:10px;color:#00aaff;" @click="(event) => {showDesc(event, item.activeId)}">
|
|
|
- <a-icon title="查看活动详情" type="eye"/> 查看详情
|
|
|
+ <a-icon title="查看活动详情" type="eye"/> 详情
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -33,11 +51,14 @@
|
|
|
</a-spin>
|
|
|
<div class="affix-cont">
|
|
|
<div class="footer-price">
|
|
|
- <div>产品总款数:<strong>12</strong>;总数量:<strong>111</strong>;总售价:<strong>17898.88</strong></div>
|
|
|
+ <div></div>
|
|
|
<div>
|
|
|
<div class="totalPrice">合计:¥<span>121.60</span></div>
|
|
|
<div>
|
|
|
- <span style="margin-right:10px;">优惠金额:¥<strong>121.60</strong></span>
|
|
|
+ 产品总款数:<strong>12</strong>;
|
|
|
+ 总数量:<strong>111</strong>;
|
|
|
+ 总售价:<strong>17898.88</strong>;
|
|
|
+ <span style="margin-right:10px;">优惠金额:<strong>121.60</strong></span>
|
|
|
<a-popover title="优惠明细">
|
|
|
<a-button shape="round" size="small">优惠明细</a-button>
|
|
|
<div slot="content">
|
|
@@ -111,6 +132,7 @@ export default {
|
|
|
totalAmount: ''
|
|
|
},
|
|
|
priceUpdateModal: false, // 价格更新弹窗
|
|
|
+ showDetail: false
|
|
|
}
|
|
|
},
|
|
|
methods: {
|