7430_devToTest #2490
|
@ -20,7 +20,7 @@ class Controller extends Component {
|
|||
include: [
|
||||
{relation: 'supplier'},
|
||||
{relation: 'worker'},
|
||||
{relation: 'ExpeditionTruck',
|
||||
{relation: 'roadmapStop',
|
||||
scope: {
|
||||
include: [
|
||||
{relation: 'warehouse'}
|
||||
|
@ -48,7 +48,7 @@ class Controller extends Component {
|
|||
description: this.roadmapStop.description
|
||||
};
|
||||
|
||||
this.$http.post(`roadmapStops`, data)
|
||||
this.$http.post(`RoadmapStops`, data)
|
||||
.then(() => {
|
||||
this.loadData();
|
||||
this.vnApp.showSuccess(this.$t('Data saved!'));
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
}
|
||||
},
|
||||
"relations": {
|
||||
"RoadmapStop": {
|
||||
"roadmapStop": {
|
||||
"type": "belongsTo",
|
||||
"model": "RoadmapStop",
|
||||
"foreignKey": "truckFk"
|
||||
|
|
Loading…
Reference in New Issue