diff --git a/src/api/warehouse/warehouseRetentionRecord.js b/src/api/warehouse/warehouseRetentionRecord.js
index 4bc5c88e..df93faa2 100644
--- a/src/api/warehouse/warehouseRetentionRecord.js
+++ b/src/api/warehouse/warehouseRetentionRecord.js
@@ -8,9 +8,9 @@ export const getList = (current, size, params) => {
...params,
current,
size,
- }
- })
-}
+ },
+ });
+};
export const getwaybillList = (current, size, params) => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/waybill',
@@ -19,45 +19,45 @@ export const getwaybillList = (current, size, params) => {
...params,
current,
size,
- }
- })
-}
+ },
+ });
+};
-export const getDetail = (id) => {
+export const getDetail = id => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/detail',
method: 'get',
params: {
- id
- }
- })
-}
+ id,
+ },
+ });
+};
-export const remove = (ids) => {
+export const remove = ids => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/remove',
method: 'post',
params: {
ids,
- }
- })
-}
+ },
+ });
+};
-export const add = (row) => {
+export const add = row => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/submit',
method: 'post',
- data: row
- })
-}
+ data: row,
+ });
+};
-export const update = (row) => {
+export const update = row => {
return request({
url: '/api/logpm-warehouse/warehouseRetentionRecord/submit',
method: 'post',
- data: row
- })
-}
+ data: row,
+ });
+};
//滞留运单导出
export const $_warehouseRetentionRecord = params => {
@@ -69,7 +69,6 @@ export const $_warehouseRetentionRecord = params => {
});
};
-;
// 滞留导出
export const $_RetentionWarehouseRetentionRecord = params => {
return request({
@@ -78,4 +77,12 @@ export const $_RetentionWarehouseRetentionRecord = params => {
params,
responseType: 'blob',
});
-};
\ No newline at end of file
+};
+
+export const $_warehouseRetentionRecordPage = params => {
+ return request({
+ url: '/api/logpm-warehouse/warehouseRetentionRecord/page',
+ method: 'get',
+ params,
+ });
+};
diff --git a/src/page/index/index.vue b/src/page/index/index.vue
index f06e9713..f4890d9a 100644
--- a/src/page/index/index.vue
+++ b/src/page/index/index.vue
@@ -15,7 +15,7 @@
-
+
@@ -77,8 +77,11 @@ export default {
},
created() {
getMyCurrentWarehouse().then(res => {
- console.log(res, '初始化请求参数');
- console.log(res.data.data.name, '仓库名称');
+ if (res.data.data == null) {
+ console.log('当前没有数据');
+ localStorage.setItem('WarehouseName', undefined);
+ return;
+ }
localStorage.setItem('WarehouseName', res.data.data.name);
});
},
diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 0e2c84ef..1c629557 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -120,10 +120,10 @@ export default {
};
},
mounted() {
- getMyWarehouseList().then(res => {
- let arr = [{ name: this.dataName ? this.dataName : '', id: '0' }];
- this.datalist = arr.concat(res.data.data);
- });
+ // getMyWarehouseList().then(res => {
+ // let arr = [{ name: this.dataName ? this.dataName : '', id: '0' }];
+ // this.datalist = arr.concat(res.data.data);
+ // });
this.checkwarehousevalue = Number(localStorage.getItem('checkwarehousevalue'));
},
filters: {},
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 532cf9fb..1d0a5d9c 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -1049,6 +1049,18 @@ export default [
},
],
},
+ {
+ path: '/Aftersales/AbnormalworkOrder',
+ component: Layout,
+ redirect: '/Aftersales/AbnormalworkOrder',
+ children: [
+ {
+ path: '/Aftersales/AbnormalworkOrder',
+ name: '异常工单',
+ component: () => import('@/views/Aftersales/AbnormalworkOrder.vue'),
+ },
+ ],
+ },
// {
// path: '/distribution/turndelivery/devtmp',
// component: Layout,
diff --git a/src/views/Aftersales/AbnormalworkOrder.vue b/src/views/Aftersales/AbnormalworkOrder.vue
new file mode 100644
index 00000000..4f3123dd
--- /dev/null
+++ b/src/views/Aftersales/AbnormalworkOrder.vue
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Query
+
+
+
+
+
+
+
+
+
diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
index 257db009..6fe33a81 100644
--- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
+++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
@@ -78,12 +78,12 @@
总货位:
{{ boxdetails.cargoNub }}
-
+
占用货位:
{{ boxdetails.employNub }}
-
+
未用货位:
{{ boxdetails.unusedNub }}
@@ -92,82 +92,99 @@
禁用货位:
{{ boxdetails.disableNub }}
-
+
货物总数:
{{ boxdetails.goodsNub }}