|
@@ -3,7 +3,12 @@
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-page-header :ghost="false" :backIcon="false" class="salesDetail-cont">
|
|
<a-page-header :ghost="false" :backIcon="false" class="salesDetail-cont">
|
|
<template slot="subTitle" v-if="!bizSn">
|
|
<template slot="subTitle" v-if="!bizSn">
|
|
- <a href="javascript:;" @click="handleBack"><a-icon type="left"></a-icon> 返回列表</a>
|
|
|
|
|
|
+ <a id="salesEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
|
|
|
|
+ <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>
|
|
</template>
|
|
<template slot="extra">
|
|
<template slot="extra">
|
|
<a-button
|
|
<a-button
|
|
@@ -42,26 +47,20 @@
|
|
</template>
|
|
</template>
|
|
</a-page-header>
|
|
</a-page-header>
|
|
<!-- 基础信息 -->
|
|
<!-- 基础信息 -->
|
|
- <a-card size="small" :bordered="false" class="salesDetail-cont">
|
|
|
|
- <a-collapse :activeKey="['1']">
|
|
|
|
- <a-collapse-panel key="1" header="基础信息">
|
|
|
|
- <a-descriptions size="small" :column="3">
|
|
|
|
- <a-descriptions-item label="销售单号" :span="2">
|
|
|
|
- {{ detailData&&detailData.salesBillNo || '--' }}
|
|
|
|
- <span v-if="detailData&&detailData.salesBillNoSource">(原:{{ detailData&&detailData.salesBillNoSource || '--' }})</span>
|
|
|
|
- </a-descriptions-item>
|
|
|
|
- <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.settleStyleSnDictValue || '--' }}</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.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-collapse-panel>
|
|
|
|
- </a-collapse>
|
|
|
|
|
|
+ <a-card size="small" :bordered="false" class="pages-wrap" style="margin-bottom: 8px;" v-show="showDetail">
|
|
|
|
+ <div style="padding: 0;">
|
|
|
|
+ <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>
|
|
|
|
+ </div>
|
|
</a-card>
|
|
</a-card>
|
|
<a-card size="small" :bordered="false" class="pages-wrap">
|
|
<a-card size="small" :bordered="false" class="pages-wrap">
|
|
<!-- alert -->
|
|
<!-- alert -->
|
|
@@ -282,6 +281,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
localDataSource: [],
|
|
localDataSource: [],
|
|
|
|
+ showDetail: false,
|
|
openModal: false,
|
|
openModal: false,
|
|
detailData: null, // 详情数据
|
|
detailData: null, // 详情数据
|
|
nowType: null,
|
|
nowType: null,
|