parent
67273abd4c
commit
89bea05d49
|
@ -229,10 +229,10 @@ export default {
|
||||||
this.form.portName = vehiclePort.name;
|
this.form.portName = vehiclePort.name;
|
||||||
this.form.portId = resData.pd.portId.toString();
|
this.form.portId = resData.pd.portId.toString();
|
||||||
}
|
}
|
||||||
const vehicleOwnership = this.VEHICLE_BELONG_TYPE_LIST.find(item => item.id === resData.pd.portId.toString());
|
const vehicleOwnership = this.VEHICLE_BELONG_TYPE_LIST.find(item => item.id === resData.pd.VEHICLE_BELONG_TYPE.toString());
|
||||||
if (vehicleOwnership) {
|
if (vehicleOwnership) {
|
||||||
this.form.VEHICLE_OWNERSHIP_TYPE = vehicleOwnership.name;
|
this.form.VEHICLE_BELONG_TYPE = vehicleOwnership.id;
|
||||||
this.form.VEHICLE_OWNERSHIP_TYPE_NAME = resData.pd.VEHICLE_OWNERSHIP_TYPE.toString();
|
this.form.VEHICLE_BELONG_TYPE_NAME = vehicleOwnership.name;
|
||||||
}
|
}
|
||||||
const auditor = this.userList.find(item => item.userId === resData.pd.QY_AUDITOR);
|
const auditor = this.userList.find(item => item.userId === resData.pd.QY_AUDITOR);
|
||||||
if (auditor) {
|
if (auditor) {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>车辆所属部门:{{ item.JG_DEPT_NAME }}</text>
|
<text>车辆所属部门:{{ item.JG_DEPT_NAME }}</text>
|
||||||
<text>车辆归属人:{{ item.JG_USER_NAME }}</text>
|
<text>车辆归属人:{{ item.JG_USER_NAME ? item.JG_USER_NAME : "单位车辆" }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>车辆进/出港状态:{{ item.vehicleArrivalStatus || '出港' }}</text>
|
<text>车辆进/出港状态:{{ item.vehicleArrivalStatus || '出港' }}</text>
|
||||||
|
|
Loading…
Reference in New Issue