diff --git a/.env.dev b/.env.dev
index 6a0d9a2..be04f34 100644
--- a/.env.dev
+++ b/.env.dev
@@ -2,7 +2,7 @@
# @Author: zwq
# @Date: 2023-08-17 15:10:53
# @LastEditors: zwq
- # @LastEditTime: 2024-02-26 08:44:27
+ # @LastEditTime: 2024-05-11 15:03:43
# @Description:
###
# 开发环境配置
@@ -12,9 +12,9 @@ ENV = 'development'
VUE_APP_TITLE = 南京锂膜管理系统
# 南京锂膜管理系统/开发环境
-# VUE_APP_BASE_API = 'http://192.168.1.118:48080'
-VUE_APP_BASE_API = 'http://192.168.0.31:48081'
-# VUE_APP_BASE_API = 'http://192.168.1.26:48080'
+# VUE_APP_BASE_API = 'http://192.168.1.118:48081'
+# VUE_APP_BASE_API = 'http://192.168.0.31:48081'
+VUE_APP_BASE_API = 'http://192.168.1.20:48081'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/.env.prod b/.env.prod
index ccf9af6..dda5629 100644
--- a/.env.prod
+++ b/.env.prod
@@ -2,7 +2,7 @@
# @Author: zwq
# @Date: 2023-08-17 15:10:53
# @LastEditors: zwq
- # @LastEditTime: 2024-03-13 15:10:27
+ # @LastEditTime: 2024-04-28 11:50:59
# @Description:
###
# 生产环境配置
diff --git a/src/App.vue b/src/App.vue
index b92ea37..500e6a8 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,28 +1,39 @@
+
-
-
-
-
+
+
+
+
diff --git a/src/api/oth/rollMessage.js b/src/api/oth/rollMessage.js
new file mode 100644
index 0000000..cf1cc84
--- /dev/null
+++ b/src/api/oth/rollMessage.js
@@ -0,0 +1,25 @@
+/*
+ * @Author: zwq
+ * @Date: 2024-05-10 10:02:43
+ * @LastEditors: zwq
+ * @LastEditTime: 2024-05-10 10:15:45
+ * @Description:
+ */
+import request from '@/utils/request'
+// 获得分页
+export function getPage(query) {
+ return request({
+ url: '/asrs/warehouse-storehouse-goods-specification/rollMessagePage',
+ method: 'get',
+ params: query
+ })
+}
+// 导出Excel
+export function exportExcel(query) {
+ return request({
+ url: '/asrs/warehouse-storehouse-goods-specification/exportRollMessage',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 218266c..1560b26 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -1,112 +1,166 @@
-
-
-
-
-
-
-
-
-
-
© 中建材智能自动化研究院有限公司
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ © 中建材智能自动化研究院有限公司
+
+
+
+
+
+
diff --git a/src/views/asrs/Piechart/index.vue b/src/views/asrs/Piechart/index.vue
index 4742f7a..ad223ed 100644
--- a/src/views/asrs/Piechart/index.vue
+++ b/src/views/asrs/Piechart/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-22 15:01:54
* @LastEditors: zwq
- * @LastEditTime: 2023-10-13 14:45:48
+ * @LastEditTime: 2024-05-09 11:29:53
* @Description:
-->
@@ -16,7 +16,7 @@
diff --git a/src/views/asrs/Piechart/indexb.vue b/src/views/asrs/Piechart/indexb.vue
index dcf79b7..aa735c8 100644
--- a/src/views/asrs/Piechart/indexb.vue
+++ b/src/views/asrs/Piechart/indexb.vue
@@ -16,7 +16,7 @@
diff --git a/src/views/asrs/chart/PieChart.vue b/src/views/asrs/chart/PieChart.vue
index d3b33f2..7cbb44d 100644
--- a/src/views/asrs/chart/PieChart.vue
+++ b/src/views/asrs/chart/PieChart.vue
@@ -61,7 +61,7 @@ export default {
text: '总数',
subtext: this.totalNumber,
top: '42%', // 控制位置
- left: '50%', // 控制位置
+ left: '40%', // 控制位置
textAlign: 'center', // 让文字居中
textStyle: {
color: 'rgba(203, 195, 195, 1)',
@@ -76,21 +76,25 @@ export default {
formatter: '产品: {b}
数量: {c}
占比: {d}%',
},
legend: {
- bottom: '0%',
- left: 'center',
+ type: 'scroll',
+ orient: 'vertical',
+ right: 10,
+ top: 20,
+ bottom: 20,
},
grid: {
top: 40,
left: '2%',
right: '2%',
- bottom: '3%',
+ bottom: '0%',
containLabel: true,
},
series: [
{
name: 'pie',
type: 'pie',
- radius: ['55%', '80%'],
+ radius: ['45%', '70%'],
+ center: ['40%', '50%'],
avoidLabelOverlap: true, // 防止牵引线堆叠挤在一块
itemStyle: {
borderRadius: 10,
diff --git a/src/views/asrs/delivery/add-or-updata.vue b/src/views/asrs/delivery/add-or-updata.vue
index 24e6ceb..482e2f1 100644
--- a/src/views/asrs/delivery/add-or-updata.vue
+++ b/src/views/asrs/delivery/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zwq
- * @LastEditTime: 2024-04-17 14:13:36
+ * @LastEditTime: 2024-05-09 09:33:08
* @Description:
-->
@@ -24,7 +24,11 @@
filterable
style="display: inline-block"
@change="setShowTrayType"
- placeholder="请选择货物名称">
+ placeholder="请选择货物名称"
+ remote
+ :remote-method="remoteMethod"
+ value-key="id"
+ :loading="loading">
{
this.potArr = response.data;
});
- const params = {
- pageSize: 100,
- pageNo: 1,
- warehouseId: this.aId,
- };
- getGoodSpecificationPage(params).then((response) => {
- this.productArr = response.data.list;
- });
+ },
+ remoteMethod(query) {
+ if (query !== '') {
+ this.loading = true;
+ const params = {
+ pageSize: 100,
+ pageNo: 1,
+ goodSpecificationName: query,
+ // warehouseId: this.warehouseId,
+ };
+ getGoodSpecificationPage(params).then((response) => {
+ this.loading = false;
+ this.productArr = response.data.list;
+ });
+ } else {
+ this.productArr = [];
+ }
},
setNeedTrayNumber(val) {
if (val === 1) {
diff --git a/src/views/asrs/delivery/index.vue b/src/views/asrs/delivery/index.vue
index ecf6f9e..cd8d55b 100644
--- a/src/views/asrs/delivery/index.vue
+++ b/src/views/asrs/delivery/index.vue
@@ -1,20 +1,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{
this.formConfig[0].selectOptions = response.data.list;
});
+ getLineList({ warehouseId: this.listQuery.warehouseId }).then(
+ (response) => {
+ this.formConfig[1].selectOptions = response.data;
+ }
+ );
},
methods: {
buttonClick(val) {
@@ -145,7 +176,9 @@ export default {
this.listQuery.pageNo = 1;
this.listQuery.pageSize = 10;
this.listQuery.productName = val.productName;
- this.listQuery.deliveryType = val.deliveryType;
+ this.listQuery.lineEdgeLibraryCode = val.lineEdgeLibraryCode || null;
+ this.listQuery.region = val.region || null;
+ this.listQuery.productQuality = val.quality || null;
this.getDataList();
break;
default:
diff --git a/src/views/asrs/dockTransfer/index.vue b/src/views/asrs/dockTransfer/index.vue
index 8d95b85..71b23de 100644
--- a/src/views/asrs/dockTransfer/index.vue
+++ b/src/views/asrs/dockTransfer/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2024-02-27 14:43:14
* @LastEditors: zwq
- * @LastEditTime: 2024-04-22 09:10:46
+ * @LastEditTime: 2024-04-25 16:39:32
* @Description:
-->
@@ -32,7 +32,7 @@
:popper-append-to-body="false"
placeholder="请选择位置">
@@ -66,7 +66,7 @@
:popper-append-to-body="false"
placeholder="请选择位置">
@@ -83,7 +83,7 @@
diff --git a/src/views/asrs/rollMessage/index.vue b/src/views/asrs/rollMessage/index.vue
new file mode 100644
index 0000000..c7ff953
--- /dev/null
+++ b/src/views/asrs/rollMessage/index.vue
@@ -0,0 +1,272 @@
+
+
+
+
+
diff --git a/src/views/asrs/warehouseLineMonitoring/index.vue b/src/views/asrs/warehouseLineMonitoring/index.vue
index 8dfaaf0..f8da867 100644
--- a/src/views/asrs/warehouseLineMonitoring/index.vue
+++ b/src/views/asrs/warehouseLineMonitoring/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2024-01-17 09:58:41
* @LastEditors: zwq
- * @LastEditTime: 2024-04-01 10:43:49
+ * @LastEditTime: 2024-04-24 16:58:36
* @Description:
-->
@@ -17,16 +17,17 @@
锁
-
二次分拣区
-
+
+ 二次分拣区
+
+
- 一次分拣区
-
+
+ 一次分拣区
+
+
+
+
+
+
+ 托盘编码: {{ j.trayCode }}
+
+
+ Agv地码: {{ j.agvGroundCode }}
+
+
+
+
+
+
+
+ 托盘编码: {{ j.trayCode }}
+
+
+ Agv地码: {{ j.agvGroundCode }}
+
+
+
+
+
+
+
+ 托盘编码: {{ j.trayCode }}
+
+
+ Agv地码: {{ j.agvGroundCode }}
+
+
+
二次分切区
diff --git a/src/views/asrs/warehouseStorehouseGoodsSpecification/attr-add.vue b/src/views/asrs/warehouseStorehouseGoodsSpecification/attr-add.vue
index a3481e5..4d0b056 100644
--- a/src/views/asrs/warehouseStorehouseGoodsSpecification/attr-add.vue
+++ b/src/views/asrs/warehouseStorehouseGoodsSpecification/attr-add.vue
@@ -49,7 +49,7 @@
v-model="dataForm.number"
:step="1"
:min="1"
- :max="12">
+ step-strictly>
diff --git a/src/views/asrs/warehouseStorehouseGoodsSpecification/index.vue b/src/views/asrs/warehouseStorehouseGoodsSpecification/index.vue
index c45c171..27abc52 100644
--- a/src/views/asrs/warehouseStorehouseGoodsSpecification/index.vue
+++ b/src/views/asrs/warehouseStorehouseGoodsSpecification/index.vue
@@ -30,13 +30,6 @@
label="库位编码">
-
-
- {{
- scope.row.process >= 0 ? processArr[scope.row.process].name : ''
- }}
-
-
@@ -207,13 +200,19 @@ export default {
param: 'quality',
},
{
- type: 'select',
+ type: 'input',
label: '工序',
- selectOptions: processArr,
+ placeholder: '工序',
param: 'processId',
- defaultSelect: '',
- filterable: true,
},
+ // {
+ // type: 'select',
+ // label: '工序',
+ // selectOptions: processArr,
+ // param: 'processId',
+ // defaultSelect: '',
+ // filterable: true,
+ // },
{
type: 'select',
label: '库位状态',
diff --git a/src/views/asrs/warehouseStorehouseGoodsSpecification/indexb.vue b/src/views/asrs/warehouseStorehouseGoodsSpecification/indexb.vue
index 1984d3a..907ed88 100644
--- a/src/views/asrs/warehouseStorehouseGoodsSpecification/indexb.vue
+++ b/src/views/asrs/warehouseStorehouseGoodsSpecification/indexb.vue
@@ -30,11 +30,6 @@
label="库位编码">
-
-
- {{ scope.row.process>=0 ? processArr[scope.row.process].name : '' }}
-
-
@@ -203,13 +198,19 @@ export default {
param: 'quality',
},
{
- type: 'select',
+ type: 'input',
label: '工序',
- selectOptions: processArr,
+ placeholder: '工序',
param: 'processId',
- defaultSelect: '',
- filterable: true,
},
+ // {
+ // type: 'select',
+ // label: '工序',
+ // selectOptions: processArr,
+ // param: 'processId',
+ // defaultSelect: '',
+ // filterable: true,
+ // },
{
type: 'select',
label: '库位状态',
diff --git a/src/views/asrs/warehouseStorehouseStorage/add-or-updata.vue b/src/views/asrs/warehouseStorehouseStorage/add-or-updata.vue
index 5092b9a..70eb6bf 100644
--- a/src/views/asrs/warehouseStorehouseStorage/add-or-updata.vue
+++ b/src/views/asrs/warehouseStorehouseStorage/add-or-updata.vue
@@ -15,8 +15,7 @@
:model="dataForm"
:rules="dataRule"
label-width="100px"
- label-position="top"
- @keyup.enter.native="dataFormSubmit">
+ label-position="top">
@@ -39,6 +38,8 @@
@@ -65,7 +66,7 @@
{
this.$refs['dataForm'].resetFields();
+ this.$refs.input.focus();
if (this.dataForm.id) {
// 获取产品详情
// 获取产品的属性列表
@@ -308,10 +313,12 @@ export default {
});
},
getPotArr(val) {
- getLineList({ 'region': val,'warehouseId':this.warehouseId }).then((response) => {
- this.potArr = response.data;
- this.potDisable = false;
- });
+ getLineList({ region: val, warehouseId: this.warehouseId }).then(
+ (response) => {
+ this.potArr = response.data;
+ this.potDisable = false;
+ }
+ );
},
getList() {
@@ -326,6 +333,11 @@ export default {
this.listQuery.total = response.data.total;
});
},
+ nextTInput() {
+ if (this.productAttributeList.length > 0) {
+ document.getElementById('inputFocus1').focus();
+ }
+ },
inputChange(data) {
switch (data.sType) {
case 1:
@@ -338,6 +350,13 @@ export default {
this.productAttributeList[data._pageIndex - 1][data.prop + 'Name'] =
data.string ? data.string.split('+')[1] : '';
break;
+ case 3:
+ if (data._pageIndex < this.productAttributeList.length) {
+ document
+ .getElementById('inputFocus' + (data._pageIndex + 1))
+ .focus();
+ }
+ break;
default:
console.log(val);
}
diff --git a/src/views/asrs/warehouseStorehouseStorage/attr-add.vue b/src/views/asrs/warehouseStorehouseStorage/attr-add.vue
index fe45ff2..4d0b056 100644
--- a/src/views/asrs/warehouseStorehouseStorage/attr-add.vue
+++ b/src/views/asrs/warehouseStorehouseStorage/attr-add.vue
@@ -45,7 +45,11 @@
:style="{ width: '100%' }" />
-
+
@@ -81,12 +85,8 @@ export default {
productInfo: [
{ required: true, message: '产品不能为空', trigger: 'change' },
],
- number: [
- { required: true, message: '数量不能为空', trigger: 'blur' },
- ],
- grade: [
- { required: true, message: '品质不能为空', trigger: 'change' },
- ],
+ number: [{ required: true, message: '数量不能为空', trigger: 'blur' }],
+ grade: [{ required: true, message: '品质不能为空', trigger: 'change' }],
},
};
},
diff --git a/src/views/asrs/warehouseStorehouseStorage/index.vue b/src/views/asrs/warehouseStorehouseStorage/index.vue
index fd63de4..2961325 100644
--- a/src/views/asrs/warehouseStorehouseStorage/index.vue
+++ b/src/views/asrs/warehouseStorehouseStorage/index.vue
@@ -30,13 +30,6 @@
label="库位编码">
-
-
- {{
- scope.row.process >= 0 ? processArr[scope.row.process].name : ''
- }}
-
-
@@ -66,7 +59,7 @@
v-if="scope.row.warehouseStorehouseState === 0"
type="text"
@click="handleClick({ data: { id: scope.row }, type: 'in' })"
- v-hasPermi="['asrs:warehouse-storehouse-storage:update']">
+ v-hasPermi="['asrs:warehouse-storehouse-storage:in']">
入库
+ v-hasPermi="['asrs:warehouse-storehouse-storage:out']">
出库
-
-
- {{
- scope.row.process >= 0 ? processArr[scope.row.process].name : ''
- }}
-
-
@@ -66,7 +59,7 @@
v-if="scope.row.warehouseStorehouseState === 0"
type="text"
@click="handleClick({ data: { id: scope.row }, type: 'in' })"
- v-hasPermi="['asrs:warehouse-storehouse-storage:update']">
+ v-hasPermi="['asrs:warehouse-storehouse-storageb:in']">
入库
+ v-hasPermi="['asrs:warehouse-storehouse-storageb:out']">
出库
@@ -109,7 +109,7 @@ const potArr3 = [
{ label: '4层', id: 4 },
];
const regionArr = [
- { name: '一次分切区域', id: 1 },
+ { name: '一次分切区域1线', id: 1 },
{ name: '一次分拣区域', id: 2 },
{ name: '二次分切区域', id: 3 },
{ name: '二次分拣区域', id: 4 },
@@ -117,6 +117,9 @@ const regionArr = [
{ name: '涂覆区域', id: 6 },
{ name: '其他', id: 7 },
{ name: '自动包装区域', id: 8 },
+ { name: '一次分切区域2线', id: 9 },
+ { name: '一次分切区域3线', id: 10 },
+ { name: '一次分切区域4线', id: 11 },
];
export default {
mixins: [basicAdd],
diff --git a/src/views/asrs/warehouseStorehouseStorageHistory/index.vue b/src/views/asrs/warehouseStorehouseStorageHistory/index.vue
index c8f3d98..47fde1d 100644
--- a/src/views/asrs/warehouseStorehouseStorageHistory/index.vue
+++ b/src/views/asrs/warehouseStorehouseStorageHistory/index.vue
@@ -24,19 +24,12 @@
+ label="库位名" />
-
-
- {{
- scope.row.process >= 0 ? processArr[scope.row.process].name : ''
- }}
-
-
@@ -45,7 +38,8 @@
+ label="出入库状态"
+ width="100">
{{
@@ -186,7 +180,7 @@ export default {
this.listQuery.warehouseStorehouseName = val.name;
this.listQuery.warehouseStorehouseCode = val.kcode;
this.listQuery.trayCode = val.tcode;
- this.listQuery.warehouseStorehouseStorageState =val.state;
+ this.listQuery.warehouseStorehouseStorageState = val.state;
this.listQuery.createTime = val.searchTime;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : '';
this.listQuery.endTime = val.searchTime ? val.searchTime[1] : '';
@@ -213,6 +207,7 @@ export default {
console.log(val);
}
},
+
},
};
@@ -221,4 +216,11 @@ export default {
padding: 0;
height: 35px;
}
+.el-table .warning-row {
+ background: oldlace;
+}
+
+.el-table .success-row {
+ background: #f0f9eb;
+}
diff --git a/src/views/asrs/warehouseStorehouseStorageHistory/indexb.vue b/src/views/asrs/warehouseStorehouseStorageHistory/indexb.vue
index 03d9cd7..d5faafb 100644
--- a/src/views/asrs/warehouseStorehouseStorageHistory/indexb.vue
+++ b/src/views/asrs/warehouseStorehouseStorageHistory/indexb.vue
@@ -30,13 +30,6 @@
label="库位编码">
-
-
- {{
- scope.row.process >= 0 ? processArr[scope.row.process].name : ''
- }}
-
-
diff --git a/src/views/fpw/chart/PieChart.vue b/src/views/fpw/chart/PieChart.vue
index d8d6ca8..366c875 100644
--- a/src/views/fpw/chart/PieChart.vue
+++ b/src/views/fpw/chart/PieChart.vue
@@ -61,7 +61,7 @@ export default {
text: '总数',
subtext: this.totalNumber,
top: '42%', // 控制位置
- left: '50%', // 控制位置
+ left: '40%', // 控制位置
textAlign: 'center', // 让文字居中
textStyle: {
color: 'rgba(203, 195, 195, 1)',
@@ -75,60 +75,26 @@ export default {
show: true, // 控制鼠标悬浮是否显示数据
formatter: '产品: {b}
数量: {c}
占比: {d}%',
},
- // legend: {
- // orient: 'vartical',
- // top: 'center',
- // left: 'right',
- // icon: 'circle',
- // itemGap: 16, //图例每项之间的间隔
- // textStyle: {
- // // 文字的样式
- // fontSize: 24, // 可控制每个legend项的间距
- // color: '#828282',
- // rich: {
- // oneone: {
- // width: 50,
- // color: '#000000',
- // fontSize: 12,
- // fontWeight: 'bolder',
- // },
- // twotwo: {
- // width: 35,
- // color: '#333',
- // fontSize: 12,
- // },
- // threethree: {
- // width: 20,
- // color: '#959595',
- // fontSize: 12,
- // },
- // },
- // },
- // formatter: (name) => {
- // var target = this.pieData.find((item) => {
- // return item.name === name;
- // }).number;
- // var v = ((target / this.totalNumber) * 100).toFixed(2);
- // return `{oneone|${name}} {twotwo|${target}个} {threethree|${v}%}`;
- // },
- // },
-
legend: {
- bottom: '0%',
- left: 'center',
+ type: 'scroll',
+ orient: 'vertical',
+ right: 10,
+ top: 20,
+ bottom: 20,
},
grid: {
top: 40,
left: '2%',
right: '2%',
- bottom: '3%',
+ bottom: '0%',
containLabel: true,
},
series: [
{
name: 'pie',
type: 'pie',
- radius: ['55%', '80%'],
+ radius: ['45%', '70%'],
+ center: ['40%', '50%'],
avoidLabelOverlap: true, // 防止牵引线堆叠挤在一块
itemStyle: {
borderRadius: 10,
diff --git a/src/views/fpw/finishPiechart/index.vue b/src/views/fpw/finishPiechart/index.vue
index ddb0137..3398a09 100644
--- a/src/views/fpw/finishPiechart/index.vue
+++ b/src/views/fpw/finishPiechart/index.vue
@@ -15,7 +15,7 @@
diff --git a/src/views/index.vue b/src/views/index.vue
index 49721fa..3d70eeb 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-17 15:10:53
* @LastEditors: zwq
- * @LastEditTime: 2023-10-10 11:00:56
+ * @LastEditTime: 2024-04-29 14:23:14
* @Description:
-->
diff --git a/src/views/login.vue b/src/views/login.vue
index 9115659..55a851c 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -197,8 +197,8 @@ export default {
mobileCodeTimer: 0,
loginForm: {
loginType: 'uname',
- username: 'admin',
- password: 'admin123',
+ username: '',
+ password: '',
captchaVerification: '',
mobile: '',
mobileCode: '',