|
@@ -4,34 +4,34 @@
|
|
<a-page-header :ghost="false" :backIcon="false" class="salesReturnDetail-cont" :style="{ padding: !outBizSn ? '16px 24px' : '0px 24px' }">
|
|
<a-page-header :ghost="false" :backIcon="false" class="salesReturnDetail-cont" :style="{ padding: !outBizSn ? '16px 24px' : '0px 24px' }">
|
|
<template slot="subTitle" v-if="!outBizSn">
|
|
<template slot="subTitle" v-if="!outBizSn">
|
|
<a href="javascript:;" @click="handleBack"><a-icon type="left"></a-icon> 返回列表</a>
|
|
<a href="javascript:;" @click="handleBack"><a-icon type="left"></a-icon> 返回列表</a>
|
|
|
|
+ <span style="margin: 0 10px 0 20px;color: #666;font-size: 14px;font-weight: 600;">退货单号:{{ detailData&&detailData.salesReturnNo||'--' }}</span>
|
|
|
|
+ <a-button type="link" class="button-default" @click="isShowBisiceInfo=!isShowBisiceInfo">
|
|
|
|
+ <a-icon :type="isShowBisiceInfo ? 'eye-invisible' : 'eye'"/> {{ isShowBisiceInfo?'隐藏':'查看' }}信息
|
|
|
|
+ </a-button>
|
|
</template>
|
|
</template>
|
|
<template slot="extra" v-if="$hasPermissions('B_salesReturnPrint')">
|
|
<template slot="extra" v-if="$hasPermissions('B_salesReturnPrint')">
|
|
<Print :disabled="localDataSource.length==0" @handlePrint="handlePrint"></Print>
|
|
<Print :disabled="localDataSource.length==0" @handlePrint="handlePrint"></Print>
|
|
</template>
|
|
</template>
|
|
</a-page-header>
|
|
</a-page-header>
|
|
<!-- 基础信息 -->
|
|
<!-- 基础信息 -->
|
|
- <a-card size="small" :bordered="false" class="salesReturnDetail-cont">
|
|
|
|
- <a-collapse :activeKey="['1']">
|
|
|
|
- <a-collapse-panel key="1" header="基础信息">
|
|
|
|
- <a-descriptions size="small" :column="3">
|
|
|
|
- <a-descriptions-item label="客户名称">{{ detailData&&detailData.buyerNameCurrent?detailData.buyerName?detailData.buyerName==detailData.buyerNameCurrent?detailData.buyerNameCurrent:detailData.buyerNameCurrent+'('+detailData.buyerName+')':detailData.buyerNameCurrent:'--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="客户地址">
|
|
|
|
- <div v-if="detailData&&(detailData.provinceName || detailData.cityName || detailData.countyName || detailData.customerAddr)">
|
|
|
|
- {{ detailData&&detailData.provinceName || '' }}
|
|
|
|
- {{ detailData&&detailData.cityName || '' }}
|
|
|
|
- {{ detailData&&detailData.countyName || '' }}
|
|
|
|
- {{ detailData&&detailData.customerAddr || '' }}
|
|
|
|
- </div>
|
|
|
|
- <span v-else>--</span>
|
|
|
|
- </a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="联系电话">{{ detailData&&detailData.contactTel || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="退货单号">{{ detailData&&detailData.salesReturnNo || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="业务状态">{{ detailData&&detailData.stateDictValue || '--' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="是否抓单">{{ detailData&&detailData.grabFlag==1?'抓单':'不抓单' }}</a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="备注">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
|
|
|
|
- </a-descriptions>
|
|
|
|
- </a-collapse-panel>
|
|
|
|
- </a-collapse>
|
|
|
|
|
|
+ <a-card size="small" :bordered="false" title="基础信息" v-show="isShowBisiceInfo" class="salesReturnDetail-cont">
|
|
|
|
+ <a-descriptions size="small" :column="3">
|
|
|
|
+ <a-descriptions-item label="客户名称">{{ detailData&&detailData.buyerNameCurrent?detailData.buyerName?detailData.buyerName==detailData.buyerNameCurrent?detailData.buyerNameCurrent:detailData.buyerNameCurrent+'('+detailData.buyerName+')':detailData.buyerNameCurrent:'--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="客户地址">
|
|
|
|
+ <div v-if="detailData&&(detailData.provinceName || detailData.cityName || detailData.countyName || detailData.customerAddr)">
|
|
|
|
+ {{ detailData&&detailData.provinceName || '' }}
|
|
|
|
+ {{ detailData&&detailData.cityName || '' }}
|
|
|
|
+ {{ detailData&&detailData.countyName || '' }}
|
|
|
|
+ {{ detailData&&detailData.customerAddr || '' }}
|
|
|
|
+ </div>
|
|
|
|
+ <span v-else>--</span>
|
|
|
|
+ </a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="联系电话">{{ detailData&&detailData.contactTel || '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="退货单号">{{ detailData&&detailData.salesReturnNo || '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="业务状态">{{ detailData&&detailData.stateDictValue || '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="是否抓单">{{ detailData&&detailData.grabFlag==1?'抓单':'不抓单' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="备注">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
|
|
|
|
+ </a-descriptions>
|
|
</a-card>
|
|
</a-card>
|
|
<a-card size="small" :bordered="false" class="pages-wrap">
|
|
<a-card size="small" :bordered="false" class="pages-wrap">
|
|
<!-- alert -->
|
|
<!-- alert -->
|
|
@@ -85,6 +85,7 @@ export default {
|
|
spinning: false,
|
|
spinning: false,
|
|
disabled: false,
|
|
disabled: false,
|
|
countData: null,
|
|
countData: null,
|
|
|
|
+ isShowBisiceInfo: false,
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|