提交 6188f1f4 编写于 作者: huangwensu's avatar huangwensu

额外投递新增

上级 dacf0803
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
clearable clearable
filterable filterable
placeholder="请选择额外投递" placeholder="请选择额外投递"
@change="changeTag" @change="changeTag($event, index)"
style="width:200px; margin-bottom: 10px;"> style="width:200px; margin-bottom: 10px;">
<el-option <el-option
v-for="(eItem,eIndex) in tagSelect" v-for="(eItem,eIndex) in tagSelect"
...@@ -573,7 +573,9 @@ export default { ...@@ -573,7 +573,9 @@ export default {
changeTag(val, index) { changeTag(val, index) {
if(val == '000000') { if(val == '000000') {
this.tagVisible = true; this.tagVisible = true;
this.dialogVisible = false; this.form.actionTagResqs[index].tagCode = '';
}else {
this.form.actionTagResqs[index].tagCode = val;
} }
}, },
confirmAddTag() { confirmAddTag() {
...@@ -583,6 +585,7 @@ export default { ...@@ -583,6 +585,7 @@ export default {
"post", `/basic-data/bi/actionTag/insert`, this.tagForm, "post", `/basic-data/bi/actionTag/insert`, this.tagForm,
res => { res => {
this.tagVisible = false; this.tagVisible = false;
this.getTagList();
} }
); );
} }
......
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
clearable clearable
filterable filterable
placeholder="请选择额外投递" placeholder="请选择额外投递"
@change="changeTag" @change="changeTag($event, index)"
style="width:200px; margin-bottom: 10px;"> style="width:200px; margin-bottom: 10px;">
<el-option <el-option
v-for="(eItem,eIndex) in tagSelect" v-for="(eItem,eIndex) in tagSelect"
...@@ -439,7 +439,7 @@ ...@@ -439,7 +439,7 @@
width="30%"> width="30%">
<el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;"> <el-row :gutter="30" class="row search" type="flex" style="margin-bottom:0;">
<el-form ref="tagForm" <el-form ref="tagForm"
rules="tagRules" :rules="tagRules"
:model="tagForm" :model="tagForm"
label-width="150px" label-width="150px"
label-suffix=":" label-suffix=":"
...@@ -661,7 +661,9 @@ export default { ...@@ -661,7 +661,9 @@ export default {
changeTag(val, index) { changeTag(val, index) {
if(val == '000000') { if(val == '000000') {
this.tagVisible = true; this.tagVisible = true;
this.dialogVisible = false; this.form.actionTagResqs[index].tagCode = '';
}else {
this.form.actionTagResqs[index].tagCode = val;
} }
}, },
confirmAddTag() { confirmAddTag() {
...@@ -671,6 +673,7 @@ export default { ...@@ -671,6 +673,7 @@ export default {
"post", `/basic-data/bi/actionTag/insert`, this.tagForm, "post", `/basic-data/bi/actionTag/insert`, this.tagForm,
res => { res => {
this.tagVisible = false; this.tagVisible = false;
this.getTagList();
} }
); );
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册