diff --git a/src/views/warehouse/end-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/end-material/warehouseRealtimeLocation/index.vue index b7176d9e..bcf0cd57 100644 --- a/src/views/warehouse/end-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/end-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@ diff --git a/src/views/warehouse/mixins/basic-page.js b/src/views/warehouse/mixins/basic-page.js index 86d05471..c0f73ed3 100644 --- a/src/views/warehouse/mixins/basic-page.js +++ b/src/views/warehouse/mixins/basic-page.js @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2022-08-24 11:19:43 * @LastEditors: zwq - * @LastEditTime: 2023-11-03 16:06:21 + * @LastEditTime: 2023-11-14 15:59:53 * @Description: */ export default { @@ -38,8 +38,10 @@ export default { getDataList() { this.dataListLoading = true; this.urlOptions.getDataListURL(this.listQuery).then(response => { - this.tableData = response.data.list; - this.listQuery.total = response.data.total; + if(response.hasOwnProperty('data')){ + this.tableData = response.data.list; + this.listQuery.total = response.data.total; + } this.dataListLoading = false; }); }, diff --git a/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue index 64d43daf..56bd9a47 100644 --- a/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/out-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@ diff --git a/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue index da46a2d8..eda55804 100644 --- a/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/package-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@ diff --git a/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue index b0c93ded..00779a9c 100644 --- a/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/part-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@ diff --git a/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue b/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue index aa2c9d51..5da72b0d 100644 --- a/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue +++ b/src/views/warehouse/raw-material/warehouseRealtimeLocation/index.vue @@ -17,7 +17,7 @@