Commit 205c5c03 by caoyanzhi

update: 按钮权限

parent dcbf36a5
......@@ -91,8 +91,8 @@ module.exports = {
new ESLintPlugin({
extensions: ['js', 'vue'],
files: 'src',
fix: true,
lintDirtyModulesOnly: true,
fix: false,
lintDirtyModulesOnly: false,
exclude: ['assets'],
formatter: 'visualstudio',
}),
......
......@@ -193,8 +193,8 @@
<i
class="el-icon-edit"
@click="handleTable(scope.row, 'cash')"
v-if="scope.row.canEdit && $getButtonLimit($buttonCode.giftPointsAndCush)"
:limit-code="$buttonCode.giftPointsAndCush"
v-if="scope.row.canEdit && $getButtonLimit($buttonCode.giftEditPointsAndCush)"
:limit-code="$buttonCode.giftEditPointsAndCush"
/>
</p>
</template>
......@@ -210,9 +210,9 @@
{{ scope.row.cashCost }}
<i
class="el-icon-edit"
v-if="scope.row.canEdit && $getButtonLimit($buttonCode.giftPointsAndCush)"
v-if="scope.row.canEdit && $getButtonLimit($buttonCode.giftEditPointsAndCush)"
@click="handleTable(scope.row, 'cash')"
:limit-code="$buttonCode.giftPointsAndCush"
:limit-code="$buttonCode.giftEditPointsAndCush"
/>
</p>
</template>
......@@ -242,9 +242,9 @@
<span v-else>{{ scope.row.virtualStock }}</span>
<i
class="el-icon-edit"
v-if="scope.row.giftType === 1 && scope.row.canEdit && $getButtonLimit($buttonCode.giftStock)"
v-if="scope.row.giftType === 1 && scope.row.canEdit && $getButtonLimit($buttonCode.giftEditStock)"
@click="handleTable(scope.row, 'stock')"
:limit-code="$buttonCode.giftStock"
:limit-code="$buttonCode.giftEditStock"
/>
</p>
</template>
......
......@@ -99,8 +99,8 @@
plain
@click="setPicked"
style="margin:0 10px 0 0"
v-if="$getButtonLimit($buttonCode.deliverSetSetting)"
:limit-code="$buttonCode.deliverSetSetting"
v-if="$getButtonLimit($buttonCode.deliverSet)"
:limit-code="$buttonCode.deliverSet"
>
自提设置
</el-button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment