Prechádzať zdrojové kódy

开票4删除权限

wangzhuo 1 rok pred
rodič
commit
ef1b15d30f

+ 0 - 2
src/views/finance/invoiceAccess/index.vue

@@ -131,7 +131,6 @@
         <el-table-column align="center" class-name="small-padding fixed-width" label="操作">
           <template slot-scope="scope">
             <el-button
-              v-hasPermi="['warehouse:fee:edit']"
               icon="el-icon-edit"
               size="mini"
               type="text"
@@ -139,7 +138,6 @@
             >修改
             </el-button>
             <el-button
-              v-hasPermi="['warehouse:fee:remove']"
               icon="el-icon-delete"
               size="mini"
               type="text"

+ 0 - 2
src/views/finance/invoiceDestroy/index.vue

@@ -131,7 +131,6 @@
         <el-table-column align="center" class-name="small-padding fixed-width" label="操作">
           <template slot-scope="scope">
             <el-button
-                v-hasPermi="['warehouse:fee:edit']"
                 icon="el-icon-edit"
                 size="mini"
                 type="text"
@@ -139,7 +138,6 @@
             >修改
             </el-button>
             <el-button
-                v-hasPermi="['warehouse:fee:remove']"
                 icon="el-icon-delete"
                 size="mini"
                 type="text"

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

@@ -119,7 +119,6 @@
         <el-table-column align="center" class-name="small-padding fixed-width" label="操作">
           <template slot-scope="scope">
             <el-button
-              v-hasPermi="['warehouse:payment:edit']"
               icon="el-icon-edit"
               size="mini"
               type="text"
@@ -127,7 +126,7 @@
             >修改
             </el-button>
             <el-button
-              v-hasPermi="['warehouse:payment:remove']"
+              :disabled="scope.row.payType == 2"
               icon="el-icon-delete"
               size="mini"
               type="text"