diff --git a/src/views/system/jd-instruction/fadan-quick-record.vue b/src/views/system/jd-instruction/fadan-quick-record.vue
index ed1da42..3901817 100644
--- a/src/views/system/jd-instruction/fadan-quick-record.vue
+++ b/src/views/system/jd-instruction/fadan-quick-record.vue
@@ -14,23 +14,19 @@
-
-
-
+
+ {{ item.label }}
+
+
{
+ const m = String(o.modelNumber || '').trim()
+ if (!m) return false
+ if (!q) return true
+ return m.toLowerCase().includes(q)
+ })
+ .slice(0, 100)
+ cb(
+ rows.map(o => ({
+ value: String(o.modelNumber).trim(),
+ label: this.modelOptionLabel(o)
+ }))
+ )
+ },
+ /** 仅从联想列表点选时回填金额;型号本身为输入框,选后仍可继续编辑 */
+ onModelSuggestionSelect(item) {
+ if (!item || !item.value) return
+ const key = String(item.value).trim()
const hit = this.modelOptions.find(o => o && String(o.modelNumber || '').trim() === key)
if (!hit) return
const payRaw = hit.lastPaymentAmount
@@ -499,13 +513,15 @@ export default {
min-width: 0;
}
-.model-select-full {
+.model-input-full {
width: 100%;
}
-.model-select-full ::v-deep .el-input__inner,
-.model-select-full ::v-deep .el-input__prefix {
- line-height: normal;
+.model-suggest-label {
+ display: block;
+ line-height: 1.45;
+ white-space: normal;
+ word-break: break-all;
}
.btn-row {