Commit 8d28e487 authored by 黄奎's avatar 黄奎

页面修改

parent b8c4c857
...@@ -176,12 +176,17 @@ ...@@ -176,12 +176,17 @@
// 线路必填 // 线路必填
if (!this.postData.LineId) { if (!this.postData.LineId) {
this.$message.error('请选择线路') this.$message.error('请选择线路')
return return;
} }
this.postData.AssistantId = ""; this.postData.AssistantId = "";
if (this.postData.Assistantlist && this.postData.Assistantlist.length > 0) { if (this.postData.Assistantlist && this.postData.Assistantlist.length > 0) {
this.postData.AssistantId = this.postData.Assistantlist.join(','); this.postData.AssistantId = this.postData.Assistantlist.join(',');
} }
if (this.postData.OPId <= 0 || this.postData.OPId == '') {
this.$message.error('请选择主OP')
return;
}
data.forEach(item => { data.forEach(item => {
item.IsDefault = item.queryMsg.IsDefault ? 1 : 0; item.IsDefault = item.queryMsg.IsDefault ? 1 : 0;
item.otherPrice = item.OtherPrice; item.otherPrice = item.OtherPrice;
......
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