Commit cd41b807 authored by 邓春圆's avatar 邓春圆

重货和泡货未选择就不传

parent d335aa5a
...@@ -799,6 +799,9 @@ export default { ...@@ -799,6 +799,9 @@ export default {
return return
} }
// 重货标准和泡货标准,未打开就不传,提交前清空一下
if(!this.showZhong) this.form.weightUnit = ''
if(!this.showPao) this.form.lightUnit = ''
const form = {...this.form, type: this.form.type?.join(','), transportType: (this.form.transportType || [])?.join(','), taxRate: Number(this.form.taxRate)} const form = {...this.form, type: this.form.type?.join(','), transportType: (this.form.transportType || [])?.join(','), taxRate: Number(this.form.taxRate)}
// 检查路线是否启用了但是没选择目的仓 // 检查路线是否启用了但是没选择目的仓
......
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