Bladeren bron

财务撤销权限增加

lichao 3 jaren geleden
bovenliggende
commit
03ecd388e3

+ 2 - 1
src/views/finance/Invoicing/index.vue

@@ -598,7 +598,8 @@
               size="mini"
               @click="revokeCharge"
               v-if="queryParams.fBillstatus === '6'"
-              >撤销付费</el-button
+              v-hasPermi="['finance:invoice:revoke']"
+              >撤销开票</el-button
             >
             <!--        <el-button type="info" size="small" @click="printing">打印</el-button>-->
             <!--        <el-button type="danger" size="small" :disabled="notChange" v-show="Lander == Operator">撤销审批</el-button>-->

+ 2 - 1
src/views/finance/charge/index.vue

@@ -583,6 +583,7 @@
             size="mini"
             @click="revokeCharge"
             v-if="queryParams.fBillstatus === '6'"
+            v-hasPermi="['finance:charge:revoke']"
           >撤销收费</el-button
           >
           <!--        <el-button type="info" size="small" @click="printing">打印</el-button>-->
@@ -2456,7 +2457,7 @@ export default {
       if (Cookies.get("sysType") == 1) {
         //大木
         getCharge(row.fId).then((response) => {
-          this.Operator = response.data.tFee.createBy;
+          this.Operator = response.data.tFee.createBy? response.data.tFee.createBy: '';
           if (response.data.feeDoList != 0) {
             response.data.feeDoList.map((e) => {
               if (e.fBsdate) {

+ 1 - 0
src/views/finance/contrast/index.vue

@@ -661,6 +661,7 @@
                 size="mini"
                 @click="backrRconciliation"
                 v-if="queryParams.fBillstatus === '6'"
+                v-hasPermi="['finance:contrast:revoke']"
                 >撤销对账</el-button
               >
               <!--          <el-button type="info" size="small" @click="exportData">导出</el-button>-->

+ 1 - 0
src/views/finance/payment/index.vue

@@ -598,6 +598,7 @@
               size="mini"
               @click="revokeCharge"
               v-if="queryParams.fBillstatus === '6'"
+              v-hasPermi="['finance:payment:revoke']"
               >撤销付费</el-button
             >
             <!--        <el-button type="info" size="small" @click="printing">打印</el-button>-->