| | |
| | | if (!(await this.initBox())) return |
| | | this.resetDetailTable(row) |
| | | this.setEditForm(row) |
| | | this.setContinueAddNew() |
| | | //设置è¿ç¨æ¥è¯¢è¡¨åçé»è®¤key/value |
| | | this.getRemoteFormDefaultKeyValue() |
| | | //ç¹å»ç¼è¾æé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | | this.modelOpenProcess(row) |
| | | }, |
| | | async linkDataNew(row, remark) { |
| | | this.boxOptions.title = remark |
| | | //ç¹å»tableåå
æ ¼å¿«æ·é¾æ¥æ¾ç¤ºç¼è¾æ°æ® |
| | | this.currentAction = this.const.EDIT |
| | | this.currentRow = row |
| | | if (!(await this.initBox())) return |
| | | this.resetDetailTable(row) |
| | | this.setEditForm(row) |
| | | this.setContinueAdd(false) |
| | | //设置è¿ç¨æ¥è¯¢è¡¨åçé»è®¤key/value |
| | | this.getRemoteFormDefaultKeyValue() |
| | |
| | | _button.name = isAdd ? this.continueAddName : 'ä¿ å' |
| | | } |
| | | }, |
| | | setContinueAddNew() { |
| | | this.boxButtons.forEach((btn) => { |
| | | btn.hidden=true |
| | | }) |
| | | }, |
| | | resetAdd() { |
| | | if (this.hasDetail) { |
| | | this.$refs.detail && |