|
|
@@ -41,25 +41,25 @@
|
|
|
class="input-barcode" autocomplete="off" @keydown.enter="_handlerScan(scanBarcode)" />
|
|
|
<div class="weight-input-wrapper">
|
|
|
<van-field v-model.lazy="totalWeight" ref="weightRef" label-align="left" required placeholder="请输入商品重量KG" label="重 量:"
|
|
|
- autocomplete="off" type="number" @input="handleWeightInput" @focus="handleWeightFocus" @keydown="handleWeightKeydown"
|
|
|
+ autocomplete="off" type="number" @input="handleWeightInput" @focus="handleWeightFocus" @keydown="handleWeightKeydown"
|
|
|
:class="{ 'weight-confirmed': weightConfirmed }">
|
|
|
<template #button>
|
|
|
<div>KG</div>
|
|
|
</template>
|
|
|
</van-field>
|
|
|
- <van-button
|
|
|
- v-if="bluetoothConnected"
|
|
|
- type="warning"
|
|
|
- size="small"
|
|
|
+ <van-button
|
|
|
+ v-if="bluetoothConnected"
|
|
|
+ type="warning"
|
|
|
+ size="small"
|
|
|
class="weight-reset-btn"
|
|
|
@click="resetWeight"
|
|
|
>
|
|
|
重置
|
|
|
</van-button>
|
|
|
- <van-button
|
|
|
- v-if="bluetoothConnected"
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
+ <van-button
|
|
|
+ v-if="bluetoothConnected"
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
class="weight-confirm-btn"
|
|
|
@click="confirmWeight"
|
|
|
>
|
|
|
@@ -367,7 +367,7 @@ onMounted(() => {
|
|
|
const warehouse = store.warehouse
|
|
|
//收货容器号
|
|
|
// JH-WH99-990
|
|
|
-const waveNo = ref('JH-WH99-990')
|
|
|
+const waveNo = ref('')
|
|
|
const isUniqueCode=ref(false)
|
|
|
const isQualityCheck=ref(false)
|
|
|
// 错误提示
|