项目类别
@@ -10,7 +10,7 @@
@@ -60,12 +60,12 @@
总金额
-
-
@@ -73,7 +73,7 @@
@@ -624,7 +624,8 @@ export default {
if (lfind > -1) {
this.addAbs([this.dict.asbItemQuick[lfind]])
}
- }
+ }
+
},
// quickChoosedAsb(v){
// let lfind = -1
@@ -799,6 +800,19 @@ export default {
this.onSubmit('');
}
},
+
+ //快速选择完后,重新将光标定位到 asbItemId
+ "asbItemId"(newVal, oldVal) {
+ if (newVal != oldVal && newVal != '') {
+ //重新定位光标
+ this.$nextTick(() => {
+ console.log("1this.$refs['asbItemId'].focus()");
+ this.$refs['asbItemId'].focus(); //total asbItemId
+ console.log("2this.$refs['asbItemId'].focus()");
+ });
+ }
+ },
+
},
};
@@ -807,7 +821,7 @@ export default {
.mainareaBox {
border: 1px solid #000;
- height: v-bind("(window.pageHeight > 735 ? (window.pageHeight - 535) : 200) + 'px'");
+ height: v-bind("(window.pageHeight > 720 ? (window.pageHeight - 460) : 260) + 'px'");
margin-top: 5px;
}