|
@@ -60,15 +60,15 @@
|
|
|
>
|
|
>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
-<!-- <el-button-->
|
|
|
|
|
-<!-- v-no-more-click-->
|
|
|
|
|
-<!-- size="mini"-->
|
|
|
|
|
-<!-- type="primary"-->
|
|
|
|
|
-<!-- icon="el-icon-plus"-->
|
|
|
|
|
-<!-- @click="handleAdd"-->
|
|
|
|
|
-<!-- v-hasPermi="['mes:hw:type:add']"-->
|
|
|
|
|
-<!-- >新增</el-button-->
|
|
|
|
|
-<!-- >-->
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-no-more-click
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ icon="el-icon-plus"
|
|
|
|
|
+ @click="handleAdd"
|
|
|
|
|
+ v-hasPermi="['mes:hw:type:add']"
|
|
|
|
|
+ >新增</el-button
|
|
|
|
|
+ >
|
|
|
<el-table
|
|
<el-table
|
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
|
:data="machinerytypeList"
|
|
:data="machinerytypeList"
|
|
@@ -138,9 +138,10 @@
|
|
|
v-hasPermi="['mes:hw:type:add']"
|
|
v-hasPermi="['mes:hw:type:add']"
|
|
|
>新增</el-button
|
|
>新增</el-button
|
|
|
>
|
|
>
|
|
|
|
|
+<!-- v-if="scope.row.parentTypeId != 0"-->
|
|
|
<el-button
|
|
<el-button
|
|
|
v-no-more-click
|
|
v-no-more-click
|
|
|
- v-if="scope.row.parentTypeId != 0"
|
|
|
|
|
|
|
+
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|