Merge pull request '报价区域新增网点无反应bug' (#130) from master-dev into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-frontend/pulls/130
This commit is contained in:
wuteng 2025-11-03 18:27:33 +08:00
commit d70268c70e
2 changed files with 9 additions and 3 deletions

View File

@ -275,7 +275,10 @@ export default {
/** 新增按钮操作 */
handleAdd(row) {
this.currentId=null;
this.formOpType = 1;
this.formOpType =0;
setTimeout(() => {
this.formOpType = 1;
}, 500);
},
handleSelect(){
this.$emit("on-changed",this.currentId);

View File

@ -240,7 +240,10 @@ export default {
/** 新增按钮操作 */
handleAdd(row) {
this.currentId=null;
this.formOpType = 1;
this.formOpType = 0;
setTimeout(() => {
this.formOpType = 1;
}, 500);
},
handleSelect(){
this.$emit("on-changed",this.currentId);
@ -251,7 +254,7 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
this.currentId= row.areaId;
this.formOpType = 2;
this.formOpType = 2;
},
handleFormChanged(){
this.getList();