|
@@ -3,7 +3,7 @@
|
|
|
<div>
|
|
|
<BaseHeaderLayout :leftSpan="12">
|
|
|
<template slot="left">
|
|
|
- <ws-button type="primary" @click="weighing(3)">添加</ws-button>
|
|
|
+ <ws-button type="primary" @click="weighing(3)" v-hasPermission=" `outbound.acquisitionWeightOut.new`">添加</ws-button>
|
|
|
</template>
|
|
|
<!-- <template slot="left"> </template> -->
|
|
|
<template slot="right">
|
|
@@ -58,9 +58,9 @@
|
|
|
<el-table-column prop="status" label="状态"></el-table-column>
|
|
|
<el-table-column width="300" prop="contractNo1" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="weighing(scope.row, 1)" v-if="scope.row.status != '已质检'">毛重</el-button>
|
|
|
- <el-button @click="weighing(scope.row, 2)" v-if="scope.row.status == '已称皮重'">皮重</el-button>
|
|
|
- <el-button @click="del(scope.row)" v-if="scope.row.status == '已称皮重'">删除</el-button>
|
|
|
+ <el-button @click="weighing(scope.row, 1)" v-if="scope.row.status != '已质检'" v-hasPermission="`outbound.acquisitionWeightOut.mao`">毛重</el-button>
|
|
|
+ <el-button @click="weighing(scope.row, 2)" v-if="scope.row.status == '已称皮重'" v-hasPermission="`outbound.acquisitionWeightOut.weight`"> 皮重</el-button>
|
|
|
+ <el-button @click="del(scope.row)" v-if="scope.row.status == '已称皮重'" v-hasPermission="`outbound.acquisitionWeightOut.view`">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|