chenrui 2 лет назад
Родитель
Сommit
437467a2a1

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

@@ -115,7 +115,7 @@
                 @click="handleExport"
                 :disabled="disabled"
                 :loading="exportLoading"
-                v-if="$hasPermissions('B_salerReturnDetailTable_export')"
+                v-if="$hasPermissions('B_urchaseDetailReturn_export')"
                 id="salesReturnDetailList-export">导出</a-button>
               <a @click="advanced=!advanced" style="margin-left: 5px">
                 {{ advanced ? '收起' : '展开' }}

+ 2 - 2
src/views/reportData/urchaseReturn/list.vue

@@ -48,7 +48,7 @@
                 @click="handleExport"
                 :disabled="disabled"
                 :loading="exportLoading"
-                v-if="$hasPermissions('B_salesReturns_report')"
+                v-if="$hasPermissions('B_urchaseReturn_Export')"
                 id="urchaseReturn-export">导出</a-button>
             </a-col>
           </a-row>
@@ -161,7 +161,7 @@ export default {
         { title: '申请退货数量', dataIndex: 'totalQty', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '操作员', dataIndex: 'submitorName', width: 130, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
       ]
-      if (this.$hasPermissions('B_isShowPrice')) { //  售价权限
+      if (this.$hasPermissions('B_isShowCost')) { //  售价权限
         arr.splice(8, 0, { title: '退货金额', dataIndex: 'totalCost', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
       }
       return arr