Browse Source

工具的代码

master
DouDou 1 year ago
parent
commit
e123b782db
  1. 2
      src/views/modules/tooling/components/com_tool_property_show.vue
  2. 10
      src/views/modules/tooling/manuf_tool.vue

2
src/views/modules/tooling/components/com_tool_property_show.vue

@ -74,7 +74,7 @@ export default {
this.pageData.toolId = toolInfo.toolId;
this.pageData.toolInstance = '';
}else if(dataType === 'TLI'){
this.showFlag = false;
this.showFlag = true;
this.dataNo = toolInfo.toolId+"#"+toolInfo.toolInstance;
this.propertyNo = toolInfo.propertyNo;
this.propertyType = 'TLI';

10
src/views/modules/tooling/manuf_tool.vue

@ -109,14 +109,14 @@
<el-table-column
header-align="center"
align="center"
width="150"
width="180"
fixed="right"
label="操作">
<template slot-scope="scope">
<a type="text" size="small" @click="editToolInstanceModal(scope.row)">编辑</a>
<a type="text" size="small" @click="editToolInstanceDateModal(scope.row, 'toolInstance')">属性</a>
<a type="text" size="small" @click="editToolInstanceDateModal(scope.row)">生命周期</a>
<a type="text" size="small" @click="deleteToolInstanceConfirm(scope.row)">删除</a>
<a type="text" size="small" @click="editToolInstanceModal(scope.row)">编辑 </a>
<a type="text" size="small" v-if = "scope.row.propertyNo && scope.row.propertyNo !== ''" @click="editToolInstancePropertyModal(scope.row)">属性 </a>
<a type="text" size="small" @click="editToolInstanceDateModal(scope.row)">生命周期 </a>
<a type="text" size="small" @click="deleteToolInstanceConfirm(scope.row)">删除 </a>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save