浏览代码

修改质检车牌号可以输入

wangchao 3 年之前
父节点
当前提交
a977dcb995

+ 1 - 0
pages/erpbusiness/acquisitionInspection/grossWeightDetail.vue

@@ -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) {

+ 5 - 2
pages/erpbusiness/bleConnect.vue

@@ -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() {
 			//停止搜索蓝牙设备

+ 1 - 1
pages/erpbusiness/edit_quality_testing.vue

@@ -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>

+ 5 - 1
pages/erpbusiness/exbleConnect.vue

@@ -34,7 +34,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() {
 			//停止搜索蓝牙设备

+ 5 - 1
pages/erpbusiness/jjbleConnect.vue

@@ -34,7 +34,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() {
 			//停止搜索蓝牙设备