|
|
@@ -44,6 +44,8 @@ |
|
|
|
:disabled="state.isEnableOCRData" maxlength="18" /> |
|
|
|
</u-form-item> |
|
|
|
<u-form-item label="地址"> |
|
|
|
<!-- <textarea placeholder='请输入地址' v-model="state.form.address" auto-height style="height: 260rpx;" |
|
|
|
:disabled="state.isEnableOCRData" maxlength="50" ></textarea> --> |
|
|
|
<u-input placeholder='请输入地址' :autoHeight='true' v-model="state.form.address" |
|
|
|
:disabled="state.isEnableOCRData" maxlength="50" /> |
|
|
|
</u-form-item> |
|
|
@@ -418,15 +420,19 @@ |
|
|
|
state.form.approvedCount = allData['approvedCount'] |
|
|
|
state.form.maintenaceMass = allData['maintenaceMass'] |
|
|
|
allData['vehicleDimensions'] |
|
|
|
let arr = allData['vehicleDimensions'].split("X"); |
|
|
|
state.outlineL = parseInt(arr[0]); //外廓 长 |
|
|
|
state.outlineW = parseInt(arr[1]); //外廓 宽 |
|
|
|
console.log("arr[2]",arr[2]) |
|
|
|
if(arr[2].indexOf('mm')){ |
|
|
|
state.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高 |
|
|
|
}else{ |
|
|
|
let arr=[] |
|
|
|
if(allData['vehicleDimensions'].includes('x')){ |
|
|
|
arr = allData['vehicleDimensions'].split("x"); |
|
|
|
console.log("arr[2]",arr[2]) |
|
|
|
state.outlineH = parseInt(arr[2]); //外廓 高 |
|
|
|
|
|
|
|
}else{ |
|
|
|
arr = allData['vehicleDimensions'].split("X"); |
|
|
|
console.log("arr[2]",arr[2]) |
|
|
|
state.outlineH = parseInt(arr[2].substring(0, arr[2].length - 2)); //外廓 高 |
|
|
|
} |
|
|
|
state.outlineL = parseInt(arr[0]); //外廓 长 |
|
|
|
state.outlineW = parseInt(arr[1]); //外廓 宽 |
|
|
|
state.form.totalMassShow = allData['totalMass'] |
|
|
|
state.form.totalMass = allData['totalMass'] |
|
|
|
state.form.axleCount = allData['axleCount'] ? allData['axleCount'] : 2 |