parent
d5d11746d3
commit
efa93d04d5
@ -86,7 +86,7 @@
|
||||
<td><input textarea disabled type="text" value="{{ord.address.id}}"></td>
|
||||
<td>
|
||||
<select [(ngModel)]="selectedStatus">
|
||||
<option selected>{{ord.status_h}}</option>
|
||||
<option>{{ord.status_h}}</option>
|
||||
<option>К готовке</option>
|
||||
<option>Готовится</option>
|
||||
<option>Готово</option>
|
||||
|
||||
@ -279,6 +279,7 @@ export class OrdersComponent implements OnInit {
|
||||
next: (result) => {
|
||||
let data = result.result;
|
||||
this.order = data;
|
||||
this.selectedStatus = this.order[0].status_h
|
||||
},
|
||||
error: (err) => {
|
||||
console.log('ERROR: ', err);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user