|
|
@ -2811,7 +2811,8 @@ const handleSubmit = async (formEl: FormInstance | undefined) => { |
|
|
|
if (_arr.includes(val.goodsName)) return ElMessage.warning('存在重复的货物名称,请移除'); |
|
|
|
if (_arr.includes(val.goodsName)) return ElMessage.warning('存在重复的货物名称,请移除'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!(details.query.totalFreight > 0)) return ElMessage.warning('请输入大于零的运费'); |
|
|
|
// if (!(details.query.totalFreight > 0)) return ElMessage.warning('请输入大于零的运费'); |
|
|
|
|
|
|
|
if (totalCost.value === 0) return ElMessage.warning('合计费用不能等于0'); |
|
|
|
|
|
|
|
|
|
|
|
console.log('submit!'); |
|
|
|
console.log('submit!'); |
|
|
|
const submitData = { |
|
|
|
const submitData = { |
|
|
|