diff --git a/src/api/distribution/AddVehicleStowage.js b/src/api/distribution/AddVehicleStowage.js
index b1f96a2c..1af48c9b 100644
--- a/src/api/distribution/AddVehicleStowage.js
+++ b/src/api/distribution/AddVehicleStowage.js
@@ -144,7 +144,7 @@ export const postAddOrderToFinalNodeId = data => {
};
/**
- * 新增调度池订单
+ * 编辑配载计划
*/
export const postUpdateCarsLoadBasicData = data => {
return request({
diff --git a/src/views/distribution/artery/AddVehicleStowage.vue b/src/views/distribution/artery/AddVehicleStowage.vue
index d769cbe2..01e7514f 100644
--- a/src/views/distribution/artery/AddVehicleStowage.vue
+++ b/src/views/distribution/artery/AddVehicleStowage.vue
@@ -164,6 +164,16 @@
+
+
+
+
+
+
+
diff --git a/src/views/distribution/inventory/CreateOrder.vue b/src/views/distribution/inventory/CreateOrder.vue
index f43ba8e2..637db8c2 100644
--- a/src/views/distribution/inventory/CreateOrder.vue
+++ b/src/views/distribution/inventory/CreateOrder.vue
@@ -3777,6 +3777,11 @@ const handleSubmit = (formEl: FormInstance | undefined) => {
const timer = setTimeout(async () => {
try {
+ if (!details.query.shipperId)
+ return ElMessage.warning('未选择系统内维护的发货单位,请选择或维护');
+ if (!details.query.consigneeId)
+ return ElMessage.warning('未选择系统内维护的收货单位,请选择或维护');
+
// 检测货物名称和件数是否正确填写
for (let i = 0; i < details.goodsList.length; i++) {
const val = details.goodsList[i];
diff --git a/src/views/waybill/CreateZeroOrder.vue b/src/views/waybill/CreateZeroOrder.vue
index bdd58526..971527b0 100644
--- a/src/views/waybill/CreateZeroOrder.vue
+++ b/src/views/waybill/CreateZeroOrder.vue
@@ -2945,6 +2945,11 @@ const handleSubmit = async (formEl: FormInstance | undefined) => {
const timer = setTimeout(async () => {
try {
+ if (!details.query.shipperId)
+ return ElMessage.warning('请选择系统内维护的发货单位,请选择或维护');
+ if (!details.query.consigneeId)
+ return ElMessage.warning('请选择系统内维护的收货单位,请选择或维护');
+
let _arr = [];
for (let i = 0; i < details.goodsList.length; i++) {