Browse Source

修改bug

chenrui 2 years ago
parent
commit
9a35cab498
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/reportData/urchaseDetailReturn/detailList.vue

+ 7 - 1
src/views/reportData/urchaseDetailReturn/detailList.vue

@@ -151,7 +151,7 @@
           </span>
           <span v-else>--</span>
         </template>
-        <template slot="footer" v-if="totalData && $hasPermissions('B_isShowCost')">
+        <!-- <template slot="footer" v-if="totalData && $hasPermissions('B_isShowCost')">
           <a-row>
             <a-col span="2">合计:</a-col>
             <a-col span="22">
@@ -183,6 +183,12 @@
               </a-row>
             </a-col>
           </a-row>
+        </template> -->
+        <template slot="footer">
+          <a-row :gutter="15">
+            <a-col :md="4" :sm="24">申请退货数量:{{ (totalData && (totalData.qty || totalData.qty==0)) ? totalData.qty : '--' }}</a-col>
+            <a-col :md="4" :sm="24" v-if="$hasPermissions('B_isShowCost')">退货金额:{{ (totalData && (totalData.totalCost || totalData.totalCost==0)) ? totalData.totalCost : '--' }}</a-col>
+          </a-row>
         </template>
       </s-table>
     </a-spin>