| | |
| | | </FormTemplateDialog> |
| | | <!-- 修订--> |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :rowOid="rowOid" :templateOid="templateOid" :title="'修改编码信息'" |
| | | :disabledProp="disabledProp" :templateOid="templateOid" :title="'数据修订'" |
| | | :visible.sync="amendvisible" status="amend" |
| | | type="edit" @submit="amendSumbit"></FormTemplateDialog> |
| | | type="add" @submit="amendSumbit"></FormTemplateDialog> |
| | | <!-- 新增--> |
| | | <FormTemplateDialog :TreeValue="TreeValue" :codeClassifyOid="this.codeClassifyOid" |
| | | :codeRuleOid="this.codeRuleOid" :disabledProp="disabledProp" :templateOid="templateOid" |
| | |
| | | <FormTemplateDialog :codeClassifyOid="this.codeClassifyOid" :codeRuleOid="this.codeRuleOid" |
| | | :disabledProp="disabledProp" :templateOid="templateOid" :title="'修改编码信息'" |
| | | :visible.sync="editvisible" |
| | | rowOid="rowOid" |
| | | :rowOid="rowOid" |
| | | type="edit" @submit="EditSumbit"></FormTemplateDialog> |
| | | <!-- 批量编辑--> |
| | | <!-- <MasterEditBulk :visible.sync="bulkeditvisible" ></MasterEditBulk>--> |
| | |
| | | |
| | | if (foundItem) { |
| | | this.amendvisible = true; |
| | | this.rowOid = this.selectRow[0].oid; |
| | | } else { |
| | | if (this.selectRow.length !== 1) { |
| | | this.$message.warning("请选择一条数据"); |
| | | if (this.selectRow.length <= 0) { |
| | | this.$message.warning("请至少选择一条数据"); |
| | | } else { |
| | | console.log(this.selectRow) |
| | | this.amendvisible = true; |
| | | this.rowOid = this.selectRow[0].oid; |
| | | |
| | | } |
| | | } |
| | | }, |