diff --git a/src/views/business/DialogcChangeNewOrder.vue b/src/views/business/DialogcChangeNewOrder.vue
index 8bf0f0e..39783f9 100644
--- a/src/views/business/DialogcChangeNewOrder.vue
+++ b/src/views/business/DialogcChangeNewOrder.vue
@@ -285,6 +285,14 @@ export default {
this.$message.error('当前往来单位不能为空');
return;
}
+ if (this.$isBlank(this.formData.invWarehouseCode)) {
+ this.$message.error("当前分库不能为空");
+ return;
+ }
+ if (this.curAction.corpType === 1 && this.$isBlank(this.formData.fromSubInvCode)) {
+ this.$message.error('往来单位分库不能为空');
+ return;
+ }
if (this.detailList.length == 0) {
this.$message.error("产品列表不能为空");
return;
diff --git a/src/views/business/stockOrderDelSearch.vue b/src/views/business/stockOrderDelSearch.vue
index 0198398..938f5a8 100644
--- a/src/views/business/stockOrderDelSearch.vue
+++ b/src/views/business/stockOrderDelSearch.vue
@@ -102,17 +102,8 @@
{{ getActionName(scope.row.billType) }}
-
-
- {{ getStorageName(scope.row.locStorageCode) }}
-
-
-
-
-
- {{ getSubStorageName(scope.row.invWarehouseCode) }}
-
-
+
+
diff --git a/src/views/business/stockOrderSearch.vue b/src/views/business/stockOrderSearch.vue
index ba77161..9a8aa19 100644
--- a/src/views/business/stockOrderSearch.vue
+++ b/src/views/business/stockOrderSearch.vue
@@ -102,16 +102,8 @@
{{ getActionName(scope.row.billType) }}
-
-
- {{ getStorageName(scope.row.locStorageCode) }}
-
-
-
-
- {{ getSubStorageName(scope.row.invWarehouseCode) }}
-
-
+
+
{
- console.log(response)
this.loading = false;
- this.list = response.data.list || [];
- this.total = response.data.total || 0;
+ if (response.code === 20000) {
+ this.list = response.data.list || [];
+ this.total = response.data.total || 0;
+ } else {
+ this.$message.error(response.message);
+ }
})
- .catch(() => {
+ .catch((error) => {
+ this.$message.error(error.message)
this.loading = false;
this.list = [];
this.total = 0;