feat: 半屏扫码、改密退出与表格并升至1.1.19
This commit is contained in:
@@ -9,11 +9,23 @@
|
||||
<text class="title" style="width:200px;">仓库名称:{{ StoreName }}</text>
|
||||
<text class="title" style="width:200px;">仓位名称:{{ StoreStationName }}</text>
|
||||
</u-form-item>
|
||||
<PlusBarcodePanel
|
||||
v-if="usePhoneScanFallback"
|
||||
:visible.sync="phoneScanPanelOpen"
|
||||
hint-text="连续扫码盘点,扫完可继续下一条"
|
||||
:scan-time-space="1200"
|
||||
@success="onPlusBarcodeSuccess"
|
||||
/>
|
||||
<u-form-item label-width="150" label="条码资料:">
|
||||
<input type="text" v-model="QRBarCode" maxlength="-1" style="width:200px;"
|
||||
@confirm="GoodsCheckBillDetailScan" />
|
||||
<text
|
||||
v-if="usePhoneScanFallback && phoneScanPanelOpen"
|
||||
class="phone-scan-close"
|
||||
@click.stop="handlePhoneScan"
|
||||
>关闭扫码</text>
|
||||
<u-icon
|
||||
v-if="usePhoneScanFallback"
|
||||
v-else-if="usePhoneScanFallback"
|
||||
name="scan"
|
||||
size="44"
|
||||
color="#2979ff"
|
||||
@@ -78,9 +90,11 @@ import util, {
|
||||
playErrorAudio
|
||||
} from '../../common/util';
|
||||
import scanMixin from '@/common/scanMixin.js';
|
||||
import PlusBarcodePanel from '@/components/common/PlusBarcodePanel.vue';
|
||||
import wybTable from '@/components/wyb-table/wyb-table.vue';
|
||||
//let that = '';
|
||||
export default {
|
||||
components: { PlusBarcodePanel },
|
||||
mixins: [scanMixin],
|
||||
data() {
|
||||
return {
|
||||
@@ -178,7 +192,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handlePhoneScan() {
|
||||
this.openPhoneScan();
|
||||
this.togglePhoneScanPanel();
|
||||
},
|
||||
onPlusBarcodeSuccess(scanResult) {
|
||||
this.handleScanResult(scanResult, this._scanCallback);
|
||||
},
|
||||
|
||||
// 添加通用错误提示方法
|
||||
@@ -375,6 +392,18 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.phone-scan-close {
|
||||
margin-left: 8px;
|
||||
padding: 0 12px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
border: 1px solid #2979ff;
|
||||
border-radius: 4px;
|
||||
color: #2979ff;
|
||||
background: #eaf2ff;
|
||||
font-size: 34rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
page {
|
||||
background-color: #F8F8F8;
|
||||
padding-bottom: 260rpx;
|
||||
|
||||
Reference in New Issue
Block a user