| | |
| | | <div class="table-operator"> |
| | | <Tooltip |
| | | placement="top" |
| | | title="选择叶子节点后再执行新增" |
| | | title="选择没有下级分类的节点后再执行新增" |
| | | > |
| | | <a-button @click="handleAdd(nodeSelected)" type="primary" icon="plus" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '2'">新增</a-button> |
| | | </Tooltip> |
| | |
| | | align:"center", |
| | | dataIndex: 'inNumber' |
| | | }, |
| | | // { |
| | | // title:'备注', |
| | | // align:"center", |
| | | // dataIndex: 'remark' |
| | | // }, |
| | | { |
| | | title:'入库时间', |
| | | align:"center", |
| | | dataIndex: 'inboundTime' |
| | | }, |
| | | { |
| | | title:'创建人', |
| | | align:"center", |
| | |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectionRows = selectionRows |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { toolCode: this.selectionRows[0].toolCodeId,paraTypeFlag:this.paraTypeFlag}).then((res) => { |
| | | getAction(this.url.queryParaByToolCode, { toolCode: this.selectionRows[0].toolCodeId,paraTypeFlag:this.selectionRows[0].paraTypeFlag}).then((res) => { |
| | | if (res.success) { |
| | | if(this.paraTypeFlag === "1"){ |
| | | if(this.selectionRows[0].paraTypeFlag === "1"){ |
| | | this.$refs.paraCommonToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "2"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "2"){ |
| | | this.$refs.paraHoleToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "3"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "3"){ |
| | | this.$refs.paraThreadingToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "4"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "4"){ |
| | | this.$refs.paraMillToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "5"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "5"){ |
| | | this.$refs.paraTurningToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "6"){ |
| | | }else if(this.selectionRows[0].paraTypeFlag === "6"){ |
| | | this.$refs.paraBladeList.getPara(res.result); |
| | | } |
| | | } else { |