|
|
@ -3777,10 +3777,10 @@ const handleSubmit = (formEl: FormInstance | undefined) => { |
|
|
|
|
|
|
|
|
|
|
|
const timer = setTimeout(async () => { |
|
|
|
const timer = setTimeout(async () => { |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (!details.query.shipperId) |
|
|
|
// if (!details.query.shipperId) |
|
|
|
return ElMessage.warning('未选择系统内维护的发货单位,请选择或维护'); |
|
|
|
// return ElMessage.warning('未选择系统内维护的发货单位,请选择或维护'); |
|
|
|
if (!details.query.consigneeId) |
|
|
|
// if (!details.query.consigneeId) |
|
|
|
return ElMessage.warning('未选择系统内维护的收货单位,请选择或维护'); |
|
|
|
// return ElMessage.warning('未选择系统内维护的收货单位,请选择或维护'); |
|
|
|
|
|
|
|
|
|
|
|
// 检测货物名称和件数是否正确填写 |
|
|
|
// 检测货物名称和件数是否正确填写 |
|
|
|
for (let i = 0; i < details.goodsList.length; i++) { |
|
|
|
for (let i = 0; i < details.goodsList.length; i++) { |
|
|
|