Commit 6f34ef97 authored by huangyuanyuan's avatar huangyuanyuan

update

parent 3990f351
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
>   >  
<input <input
type="button" type="button"
@click="outerVisible = true,isleaveBtn=false,getCompany(),dialogTitle='新增线控管理'" @click="outerVisible = true,isleaveBtn=false,getCompany(),dialogTitle='新增线控管理',companyshow=false,Ltshow=false"
class="normalBtn" class="normalBtn"
:value="$t('pub.addBtn')" :value="$t('pub.addBtn')"
> >
...@@ -288,7 +288,7 @@ export default { ...@@ -288,7 +288,7 @@ export default {
}, },
Edit(item){ Edit(item){
this.dialogTitle='编辑线控管理'; this.dialogTitle='编辑线控管理';
this.getLineTeamList(item.lineId) this.getLineTeamList(item.Line_id)
this.outerVisible=true; this.outerVisible=true;
this.addMsg.ID=item.ID; this.addMsg.ID=item.ID;
...@@ -382,7 +382,12 @@ export default { ...@@ -382,7 +382,12 @@ export default {
}, },
addData() { addData() {
this.isleaveBtn = false; this.isleaveBtn = false;
if(this.addMsg.BranchIdList.length==0){
this.addMsg.BranchIdList=[-1];
}
if(this.addMsg.LtIdList.length==0){
this.addMsg.LtIdList=[-1];
}
this.apipost('line_post_SetLineEmployee', this.addMsg, res => { this.apipost('line_post_SetLineEmployee', this.addMsg, res => {
this.outerVisible=false; this.outerVisible=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment