diff --git a/src/pages/materialsStation/toolsLease/codeOut.vue b/src/pages/materialsStation/toolsLease/codeOut.vue index b3b82ef..a3e841e 100644 --- a/src/pages/materialsStation/toolsLease/codeOut.vue +++ b/src/pages/materialsStation/toolsLease/codeOut.vue @@ -115,6 +115,7 @@ :localdata="codeRange" @change="changeCode" @click="handleMaCode" + :keepOpen="true" > @@ -820,4 +821,4 @@ const ocrClick = () => { } } } - + \ No newline at end of file diff --git a/src/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/src/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue index 0a450e3..90261e4 100644 --- a/src/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue +++ b/src/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue @@ -37,7 +37,7 @@ /> - + { - if (this.showSelector) { + // 只有当keepOpen为false时才关闭下拉框 + if (this.showSelector && !this.keepOpen) { this.showInput = false this.showSelector = false } @@ -447,4 +461,4 @@ export default { display: none; } } - + \ No newline at end of file