Commit 6eef906d authored by 邓春圆's avatar 邓春圆

线路是否在客户端显示 回显

parent 635e9da1
...@@ -846,7 +846,8 @@ export default { ...@@ -846,7 +846,8 @@ export default {
this.serviceOpen = true; this.serviceOpen = true;
this.lineform.lineId = row.lineId; this.lineform.lineId = row.lineId;
this.lineform.transportType = row.transportType; this.lineform.transportType = row.transportType;
this.lineform.isClientShow = row.isClientShow; this.lineform.isClientShow = row.isClientShow ? 1 : 0;
this.lineform.makeBillNode = row.makeBillNode; this.lineform.makeBillNode = row.makeBillNode;
}, },
...@@ -863,7 +864,7 @@ export default { ...@@ -863,7 +864,7 @@ export default {
makeBillNode:this.lineform.makeBillNode makeBillNode:this.lineform.makeBillNode
}).then(res => { }).then(res => {
this.$modal.msgSuccess(this.$t("操作成功")); this.$modal.msgSuccess(this.$t("操作成功"));
this.getRouteList()
for(let index in this.routeList) { for(let index in this.routeList) {
let routeItem = this.routeList[index]; let routeItem = this.routeList[index];
if(routeItem.lineId && routeItem.lineId == this.lineform.lineId) { if(routeItem.lineId && routeItem.lineId == this.lineform.lineId) {
...@@ -1060,11 +1061,7 @@ export default { ...@@ -1060,11 +1061,7 @@ export default {
this.changeContinents(response.data.zhou); this.changeContinents(response.data.zhou);
this.changeCountry(response.data.guojia); this.changeCountry(response.data.guojia);
this.changeProvince(response.data.sheng); this.changeProvince(response.data.sheng);
this.isUpdate = true; this.isUpdate = true;
this.open = true; this.open = true;
this.title = this.$t("修改仓库"); this.title = this.$t("修改仓库");
}); });
......
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