From 0ae327c0c3e6bf00e332f231c50a3bcbb0a7fb4c Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期四, 23 五月 2024 22:22:24 +0800 Subject: [PATCH] 380新产品,优化 --- jcdm-ui/src/views/main/kb/BalanceShaft/index.vue | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/jcdm-ui/src/views/main/kb/BalanceShaft/index.vue b/jcdm-ui/src/views/main/kb/BalanceShaft/index.vue index 00af22c..a96d750 100644 --- a/jcdm-ui/src/views/main/kb/BalanceShaft/index.vue +++ b/jcdm-ui/src/views/main/kb/BalanceShaft/index.vue @@ -286,3 +286,40 @@ /* left: 50px; !* 璁剧疆璺濈椤甸潰宸︿晶鐨勪綅缃� *!*/ /*}*/ </style> + +<!--<template>--> +<!-- <div>--> +<!-- <div--> +<!-- v-for="(scanCode, index) in scanCodes"--> +<!-- :key="index"--> +<!-- >--> +<!-- <input--> +<!-- :ref="`scanCodeInput${index}`"--> +<!-- type="text"--> +<!-- @input="handleScanCodeInput(index, $event)"--> +<!-- />--> +<!-- </div>--> +<!-- </div>--> +<!--</template>--> + +<!--<script>--> +<!--export default {--> +<!-- data() {--> +<!-- return {--> +<!-- scanCodes: ['', '', ''], // 鍋囪鏈�3涓壂鐮佹--> +<!-- };--> +<!-- },--> +<!-- methods: {--> +<!-- handleScanCodeInput(index, event) {--> +<!-- const value = event.target.value;--> +<!-- // 褰撴壂鐮佸唴瀹规敼鍙樻椂锛屽彲浠ュ湪杩欓噷娣诲姞妫�鏌ユ壂鐮佺殑閫昏緫--> +<!-- if (value.length === 4) { // 鍋囪鎵爜闀垮害鏄�4--> +<!-- // 绉诲姩鍒颁笅涓�涓壂鐮佹--> +<!-- if (index < this.scanCodes.length - 1) {--> +<!-- this.$refs[`scanCodeInput${index + 1}`][0].focus();--> +<!-- }--> +<!-- }--> +<!-- },--> +<!-- },--> +<!--};--> +<!--</script>--> -- Gitblit v1.9.3