@@ -100,6 +100,7 @@
that.detailData.goodsName == that.purchasePriceList[i]
.goodsName
) {
+
let count = (that.purchasePriceList[i].saleLimit -
res.data.data / 1000).toFixed(2)
if (Number(count) - that.detailData.grossWeight / 1000 <= 0) {
@@ -33,8 +33,11 @@
},
computed: mapState(['sysinfo', 'Bluetooth']),
onLoad() {
- // console.log(this.Bluetooth)
-
+ console.log("····················")
+ console.log("this.Bluetooth",this.Bluetooth)
+ if(this.Bluetooth.BLEInformation.deviceId){
+ this.openControl()
+ }
onUnload() {
//停止搜索蓝牙设备
@@ -23,7 +23,7 @@
<view class="c-row ">
<view class="title">车牌号</view>
<view class="con-list">
- <input v-model='gridList.carNumber' @click.stop="handleShowKeyboard":disabled="true" placeholder="请输入车牌号" name="input"></input>
+ <input v-model='gridList.carNumber' @click.stop="handleShowKeyboard" placeholder="请输入车牌号" name="input"></input>
<master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false" :defaultValue="gridList.carNumber" @keyboardClick="handleClick"></master-keyboard>
<!-- <input :disabled='flag==1' v-model='gridList.carNumber' placeholder="请输入车牌号" name="input"></input> -->
</view>
@@ -34,7 +34,11 @@
// console.log(this.Bluetooth)
+ console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~")