|
|
@@ -54,7 +54,7 @@
|
|
|
<th class="tag" scope="row" scope="row">状态</th>
|
|
|
<td style="border-right:thick double #aaaaaa;">@{{package.status}}</td>
|
|
|
<th class="tag" scope="row" scope="row">操作时间</th>
|
|
|
- <td>@{{package.created_at}}</td>
|
|
|
+ <td>@{{package.weighed_at}}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</h1>
|
|
|
@@ -81,7 +81,7 @@
|
|
|
{id:'',logistic_number:'',delivery_number:'',
|
|
|
weight:'',owner:'',paperBox:'',
|
|
|
measuringMachine:'',recipient:'',measuringMachine_status:'',
|
|
|
- status:'',created_at:'',bulk:'',logistic:''},
|
|
|
+ status:'',weighed_at:'',bulk:'',logistic:''},
|
|
|
measuringMachines:[
|
|
|
@foreach($measuringMachines as $measuringMachine)
|
|
|
{id:'{{$measuringMachine->id}}',name:'{{$measuringMachine->name}}',code:'{{$measuringMachine->code}}',status:'{{$measuringMachine->status}}',},
|
|
|
@@ -150,13 +150,12 @@
|
|
|
});
|
|
|
},
|
|
|
updateData(_this,package){
|
|
|
- console.log(package)
|
|
|
_this.package.id=package.id;
|
|
|
_this.package.logistic_number=package.logistic_number;_this.package.delivery_number=package.delivery_number;
|
|
|
_this.package.weight=package.weight;_this.package.owner=package.owner_name;
|
|
|
_this.package.paperBox=package.paperBox_name;_this.package.measuringMachine=package.measuringMachine_name;
|
|
|
_this.package.recipient=package.recipient;_this.package.status=package.status;
|
|
|
- _this.package.created_at=package.created_at;_this.package.bulk=package.bulk;
|
|
|
+ _this.package.weighed_at=package.weighed_at;_this.package.bulk=package.bulk;
|
|
|
_this.package.logistic=package.logistic_name;
|
|
|
_this.package.measuringMachine_status=package.measuringMachine_status;
|
|
|
}
|