Commit 70fc5433 authored by zhengke's avatar zhengke

修改

parent 5cb5f792
...@@ -64,11 +64,18 @@ ...@@ -64,11 +64,18 @@
if (this.row?.Id??0 > 0) { if (this.row?.Id??0 > 0) {
this.msg.Id = this.row.Id; this.msg.Id = this.row.Id;
this.msg.Name = this.row.Name; this.msg.Name = this.row.Name;
if(this.row.StaticType){
let SaArray = this.row.StaticType.split(',');
SaArray.forEach(item => {
this.msg.StaticTypeList.push(+item);
});
}
this.optionTitle = "修改收客渠道" this.optionTitle = "修改收客渠道"
} else { } else {
this.optionTitle = "新增收客渠道" this.optionTitle = "新增收客渠道"
this.msg.Id = 0; this.msg.Id = 0;
this.msg.Name = ''; this.msg.Name = '';
this.msg.StaticTypeList = [];
} }
}, },
//关闭弹窗 //关闭弹窗
......
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