Commit b18cbf59 by 陈羽

update: 分配企业按钮顺序更换

parent 6fb9aa3e
......@@ -45,9 +45,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
</template>
</el-table-column>
</el-table>
......
......@@ -45,9 +45,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
</template>
</el-table-column>
</el-table>
......
......@@ -43,9 +43,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
</template>
</el-table-column>
</el-table>
......
......@@ -47,9 +47,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
</template>
</el-table-column>
</el-table>
......
......@@ -48,9 +48,9 @@
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="scope.row.fromMaterialId == '-1'">分配企业</el-button>
</template>
</el-table-column>
</el-table>
......
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