Commit 4cbe0f49 authored by dragondean@qq.com's avatar dragondean@qq.com

去掉唛头首尾空格

parent e5902c86
......@@ -410,7 +410,7 @@
<div class="card-title" slot="header">{{ $t('通用') }}</div>
<div class="form-section">
<el-form-item :label="$t('唛头')" prop="marks" class="w-500">
<el-input v-model="form.marks"></el-input>
<el-input v-model="form.marks" @blur="trimMarks"></el-input>
</el-form-item>
<el-form-item :label="$t('单证报关')" :span="2" prop="customsType">
<template #label>
......@@ -2029,6 +2029,10 @@ export default {
this.form.departureId = this.selectedRouter?.startCityId
}
},
// 去掉唛头首尾空格
trimMarks(){
this.form.marks = this.form.marks.trim()
}
}
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment