Explorar el Código

拆卸状态展示

腾讯ocr渠道不签约
yangteng hace 2 meses
padre
commit
2482bb492e
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6
    0
      subpackage/after-sale/deviceInfo/deviceInfo.vue

+ 6
- 0
subpackage/after-sale/deviceInfo/deviceInfo.vue Ver fichero

<view class="cell-left">是否激活</view> <view class="cell-left">是否激活</view>
<view class="cell-right">{{ obu.isJHStr }}</view> <view class="cell-right">{{ obu.isJHStr }}</view>
</view> </view>
<view class="cell">
<view class="cell-left">拆卸状态</view>
<view class="cell-right">{{obu.loadStatus=='01'?'正常':'已拆卸'}}</view>
</view>
<view class="cell"> <view class="cell">
<view class="cell-left">版本号</view> <view class="cell-left">版本号</view>
<view class="cell-right">{{ obu.version }}</view> <view class="cell-right">{{ obu.version }}</view>
isJH: "", isJH: "",
isJHStr: "", isJHStr: "",
outsideDimensions: "", outsideDimensions: "",
loadStatus:""
}) })
const state = reactive({ const state = reactive({
vehicleId: "", vehicleId: "",
obu.isJH = res[1].substring(53, 54) obu.isJH = res[1].substring(53, 54)
obu.isJHStr = res[1].substring(53, 54) == "1" ? "是" : res[1].substring(53, 54) == "0" ? obu.isJHStr = res[1].substring(53, 54) == "1" ? "是" : res[1].substring(53, 54) == "0" ?
"否" : "其他:" + res[1].substring(53, 54); "否" : "其他:" + res[1].substring(53, 54);
obu.loadStatus=res[1].substring(52, 54)=='01'?'正常':'已拆卸',


console.log("开始执行车辆信息识读"); console.log("开始执行车辆信息识读");
let rand = res[1].substring(18, 20) >= 50?'40':'00'; let rand = res[1].substring(18, 20) >= 50?'40':'00';

Cargando…
Cancelar
Guardar