lilei 9 ماه پیش
والد
کامیت
90a7522645
1فایلهای تغییر یافته به همراه30 افزوده شده و 1 حذف شده
  1. 30 1
      src/views/salesManagement/salesReturn/detail.vue

+ 30 - 1
src/views/salesManagement/salesReturn/detail.vue

@@ -14,7 +14,13 @@
         </template>
       </a-page-header>
       <!-- 基础信息 -->
-      <a-card size="small" :bordered="false" title="基础信息" v-show="outBizSn||sisShowBisiceInfo" class="salesReturnDetail-cont">
+      <a-card
+        size="small"
+        :bordered="false"
+        title="基础信息"
+        v-if="outBizSn"
+        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="客户地址">
@@ -33,6 +39,29 @@
           <a-descriptions-item label="备注">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
         </a-descriptions>
       </a-card>
+      <a-card size="small" :bordered="false" v-else 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>
       <a-card size="small" :bordered="false" class="pages-wrap">
         <!-- alert -->
         <a-alert type="info" style="margin-bottom: 10px;" v-if="detailData">