浏览代码

修改bug

chenrui 6 月之前
父节点
当前提交
b7e5341a66

+ 2 - 2
src/views/numsGoodsShelves/onlinePayInvoice/detail.vue

@@ -4,7 +4,7 @@
       <a-page-header :ghost="false" :backIcon="false" class="onlinePayDetail-cont">
         <!-- 自定义的二级文字标题 -->
         <template slot="subTitle">
-          <span class="billno">【数字货架】:{{ $route.params.shelfName ||'--' }}</span>
+          <span class="billno">货架名称:{{ $route.params.shelfName ||'--' }}</span>
           <a-button id="onlinePayDetail-seeInfo-btn" type="link" class="button-default" @click="isShowBisiceInfo=!isShowBisiceInfo" style="margin-left:10px;vertical-align:middle;">
             <a-icon :type="isShowBisiceInfo ? 'eye-invisible' : 'eye'"/>
             {{ isShowBisiceInfo?'隐藏':'查看' }}信息
@@ -84,7 +84,7 @@
           </div>
           <div style="margin-bottom:8px;">
             账单总金额:<strong>{{ countData&&(countData.totalAmount || countData.totalAmount==0) ? toThousands(countData.totalAmount) : '--' }}</strong>;
-            其中收款金额:<strong>{{ countData&&(countData.skAmount || countData.skAmount==0) ? toThousands(countData.skAmount) : '--' }}</strong>;
+            其中收款金额:<strong>{{ countData&&(countData.paymentAmount || countData.paymentAmount==0) ? toThousands(countData.paymentAmount) : '--' }}</strong>;
             退款中金额:<strong>{{ countData&&(countData.refundingAmount || countData.refundingAmount==0) ? toThousands(countData.refundingAmount) : '--' }}</strong>;
             已退款金额:<strong>{{ countData&&(countData.refundedAmount || countData.refundedAmount ==0) ? toThousands(countData.refundedAmount) : '--' }}</strong>;
           </div>

+ 2 - 1
src/views/numsGoodsShelves/onlinePayInvoice/list.vue

@@ -35,7 +35,8 @@
         ref="table"
         :style="{ height: tableHeight+77+'px' }"
         size="small"
-        :rowKey="(record) => record.id"
+        :rowKey="(record) => record.no"
+        :rowKeyName = "no"
         :columns="columns"
         :data="loadData"
         :scroll="{ y:tableHeight }"