Commit f0225682 authored by dragondean@qq.com's avatar dragondean@qq.com

去除唛头首尾空格

parent aa827028
......@@ -750,7 +750,7 @@
required
:error="$t('delivery.marksRules')"
>
<el-input v-model="form.marks" placeholder="" class="w-150" />
<el-input v-model="form.marks" placeholder="" class="w-150" @blur="trimMarks" />
</el-form-item>
</el-descriptions-item>
<!--单证报关-->
......@@ -2677,6 +2677,10 @@ export default {
async handleCancel(){
await this.$confirm(this.$t("是否需要返回?"))
this.$router.back()
},
// 去除唛头首尾空格
trimMarks(){
this.form.marks = this.form.marks.trim()
}
}
}
......
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