更新
This commit is contained in:
		@@ -17,10 +17,11 @@ export function inventoryOverview(id) {
 | 
				
			|||||||
  })
 | 
					  })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
// 熟化时间提醒
 | 
					// 熟化时间提醒
 | 
				
			||||||
export function rollTimeRemind(day) {
 | 
					export function rollTimeRemind(query) {
 | 
				
			||||||
  return request({
 | 
					  return request({
 | 
				
			||||||
    url: '/asrs/warehouse-storehouse-goods-specification/xday?xDays=' + day,
 | 
					    url: '/asrs/warehouse-storehouse-goods-specification/xday',
 | 
				
			||||||
    method: 'get'
 | 
					    method: 'get',
 | 
				
			||||||
 | 
					    params: query
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
// 导出熟化时间提醒 Excel
 | 
					// 导出熟化时间提醒 Excel
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -102,7 +102,11 @@ export default {
 | 
				
			|||||||
			};
 | 
								};
 | 
				
			||||||
			listData(queryParams).then((response) => {
 | 
								listData(queryParams).then((response) => {
 | 
				
			||||||
				if (response.data.list.length > 0) {
 | 
									if (response.data.list.length > 0) {
 | 
				
			||||||
					rollTimeRemind(response.data.list[0].value).then((response) => {
 | 
					          const params = {
 | 
				
			||||||
 | 
					            xDays:response.data.list[0].value,
 | 
				
			||||||
 | 
					            warehouseId:componentName==='rollTimeRemind'?'1696803324030865409':'1698950657556340737'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
										rollTimeRemind(params).then((response) => {
 | 
				
			||||||
						remindCount = response.length;
 | 
											remindCount = response.length;
 | 
				
			||||||
						console.log(componentName);
 | 
											console.log(componentName);
 | 
				
			||||||
						const elx = document
 | 
											const elx = document
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -122,7 +122,7 @@ export default {
 | 
				
			|||||||
		},
 | 
							},
 | 
				
			||||||
		getRealAlarm() {
 | 
							getRealAlarm() {
 | 
				
			||||||
			axios
 | 
								axios
 | 
				
			||||||
				.post('http://172.22.22.190/wcs-njlm/business/wcsTask/isAlarm34')
 | 
									.post('http://172.22.22.190/wcs-njlm/business/wcsTask/isAlarm')
 | 
				
			||||||
				.then((res) => {
 | 
									.then((res) => {
 | 
				
			||||||
					res.data.forEach((item, index) => {
 | 
										res.data.forEach((item, index) => {
 | 
				
			||||||
						if (index < 4) {
 | 
											if (index < 4) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2023-08-24 14:47:58
 | 
					 * @Date: 2023-08-24 14:47:58
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2024-04-19 14:30:04
 | 
					 * @LastEditTime: 2024-10-30 13:52:15
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
@@ -56,6 +56,14 @@ const tableProps = [
 | 
				
			|||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const tableProps1 = [
 | 
					const tableProps1 = [
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							prop: 'cpGrade',
 | 
				
			||||||
 | 
							label: '质检初判等级',
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							prop: 'fpGrade',
 | 
				
			||||||
 | 
							label: '质检复判等级',
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		prop: 'cureTime',
 | 
							prop: 'cureTime',
 | 
				
			||||||
		label: '需要熟化时间(小时)',
 | 
							label: '需要熟化时间(小时)',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,7 +39,7 @@
 | 
				
			|||||||
					:label="'第' + i + '页'"
 | 
										:label="'第' + i + '页'"
 | 
				
			||||||
					:name="i + '页'">
 | 
										:name="i + '页'">
 | 
				
			||||||
					<el-tag
 | 
										<el-tag
 | 
				
			||||||
						style="margin: 5px; border: 1px solid #67c23a;cursor: pointer;"
 | 
											style="margin: 5px; border: 1px solid #67c23a; cursor: pointer"
 | 
				
			||||||
						v-for="(item, index) in containerCodeArr.slice(
 | 
											v-for="(item, index) in containerCodeArr.slice(
 | 
				
			||||||
							(i - 1) * pageSize,
 | 
												(i - 1) * pageSize,
 | 
				
			||||||
							i * pageSize
 | 
												i * pageSize
 | 
				
			||||||
@@ -114,7 +114,11 @@ export default {
 | 
				
			|||||||
		init() {},
 | 
							init() {},
 | 
				
			||||||
		setDay() {
 | 
							setDay() {
 | 
				
			||||||
			this.containerCodeArr = [];
 | 
								this.containerCodeArr = [];
 | 
				
			||||||
			rollTimeRemind(this.xDays.value).then((response) => {
 | 
								const params = {
 | 
				
			||||||
 | 
									xDays: this.xDays.value,
 | 
				
			||||||
 | 
									warehouseId: this.warehouseId,
 | 
				
			||||||
 | 
								};
 | 
				
			||||||
 | 
								rollTimeRemind(params).then((response) => {
 | 
				
			||||||
				this.containerCodeArr = response;
 | 
									this.containerCodeArr = response;
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
@@ -161,21 +165,25 @@ export default {
 | 
				
			|||||||
		},
 | 
							},
 | 
				
			||||||
		/** 跳转膜卷信息页面 */
 | 
							/** 跳转膜卷信息页面 */
 | 
				
			||||||
		toRollMessagePage(trayCode) {
 | 
							toRollMessagePage(trayCode) {
 | 
				
			||||||
      this.$confirm(`是否跳转到膜卷信息页面? 托盘编码:[ ${trayCode} ]`, "提示", {
 | 
								this.$confirm(
 | 
				
			||||||
        confirmButtonText: "确定",
 | 
									`是否跳转到膜卷信息页面? 托盘编码:[ ${trayCode} ]`,
 | 
				
			||||||
        cancelButtonText: "取消",
 | 
									'提示',
 | 
				
			||||||
        type: "success ",
 | 
									{
 | 
				
			||||||
      })
 | 
										confirmButtonText: '确定',
 | 
				
			||||||
 | 
										cancelButtonText: '取消',
 | 
				
			||||||
 | 
										type: 'success ',
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								)
 | 
				
			||||||
				.then(() => {
 | 
									.then(() => {
 | 
				
			||||||
					this.$router.push({
 | 
										this.$router.push({
 | 
				
			||||||
        path: "rollMessage",
 | 
											path: 'rollMessage',
 | 
				
			||||||
						query: {
 | 
											query: {
 | 
				
			||||||
          trayCode: trayCode
 | 
												trayCode: trayCode,
 | 
				
			||||||
        }
 | 
											},
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
				})
 | 
									})
 | 
				
			||||||
				.catch(() => {});
 | 
									.catch(() => {});
 | 
				
			||||||
    }
 | 
							},
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
 * @Author: zwq
 | 
					 * @Author: zwq
 | 
				
			||||||
 * @Date: 2024-02-27 14:43:14
 | 
					 * @Date: 2024-02-27 14:43:14
 | 
				
			||||||
 * @LastEditors: zwq
 | 
					 * @LastEditors: zwq
 | 
				
			||||||
 * @LastEditTime: 2024-10-09 14:40:07
 | 
					 * @LastEditTime: 2024-10-30 14:00:57
 | 
				
			||||||
 * @Description:
 | 
					 * @Description:
 | 
				
			||||||
-->
 | 
					-->
 | 
				
			||||||
<template>
 | 
					<template>
 | 
				
			||||||
@@ -114,7 +114,11 @@ export default {
 | 
				
			|||||||
		init() {},
 | 
							init() {},
 | 
				
			||||||
		setDay() {
 | 
							setDay() {
 | 
				
			||||||
			this.containerCodeArr = [];
 | 
								this.containerCodeArr = [];
 | 
				
			||||||
			rollTimeRemind(this.xDays.value).then((response) => {
 | 
								const params = {
 | 
				
			||||||
 | 
									xDays: this.xDays.value,
 | 
				
			||||||
 | 
									warehouseId: this.warehouseId,
 | 
				
			||||||
 | 
								};
 | 
				
			||||||
 | 
								rollTimeRemind(params).then((response) => {
 | 
				
			||||||
				this.containerCodeArr = response;
 | 
									this.containerCodeArr = response;
 | 
				
			||||||
			});
 | 
								});
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -201,6 +201,18 @@ export default {
 | 
				
			|||||||
					placeholder: '品质',
 | 
										placeholder: '品质',
 | 
				
			||||||
					param: 'quality',
 | 
										param: 'quality',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检初判等级',
 | 
				
			||||||
 | 
										placeholder: '质检初判等级',
 | 
				
			||||||
 | 
										param: 'cpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检复判等级',
 | 
				
			||||||
 | 
										placeholder: '质检复判等级',
 | 
				
			||||||
 | 
										param: 'fpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					type: 'input',
 | 
										type: 'input',
 | 
				
			||||||
					label: '工序',
 | 
										label: '工序',
 | 
				
			||||||
@@ -283,6 +295,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.getDataList();
 | 
										this.getDataList();
 | 
				
			||||||
@@ -312,6 +326,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.handleExport(this.listQuery,'库位产品导出');
 | 
										this.handleExport(this.listQuery,'库位产品导出');
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -201,6 +201,18 @@ export default {
 | 
				
			|||||||
					placeholder: '品质',
 | 
										placeholder: '品质',
 | 
				
			||||||
					param: 'quality',
 | 
										param: 'quality',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检初判等级',
 | 
				
			||||||
 | 
										placeholder: '质检初判等级',
 | 
				
			||||||
 | 
										param: 'cpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检复判等级',
 | 
				
			||||||
 | 
										placeholder: '质检复判等级',
 | 
				
			||||||
 | 
										param: 'fpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					type: 'input',
 | 
										type: 'input',
 | 
				
			||||||
					label: '工序',
 | 
										label: '工序',
 | 
				
			||||||
@@ -284,6 +296,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.getDataList();
 | 
										this.getDataList();
 | 
				
			||||||
@@ -313,6 +327,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.handleExport(this.listQuery,'库位产品导出');
 | 
										this.handleExport(this.listQuery,'库位产品导出');
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -234,6 +234,18 @@ export default {
 | 
				
			|||||||
					placeholder: '品质',
 | 
										placeholder: '品质',
 | 
				
			||||||
					param: 'quality',
 | 
										param: 'quality',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检初判等级',
 | 
				
			||||||
 | 
										placeholder: '质检初判等级',
 | 
				
			||||||
 | 
										param: 'cpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检复判等级',
 | 
				
			||||||
 | 
										placeholder: '质检复判等级',
 | 
				
			||||||
 | 
										param: 'fpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					type: 'input',
 | 
										type: 'input',
 | 
				
			||||||
					label: '工序',
 | 
										label: '工序',
 | 
				
			||||||
@@ -319,6 +331,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.getDataList();
 | 
										this.getDataList();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -234,6 +234,18 @@ export default {
 | 
				
			|||||||
					placeholder: '品质',
 | 
										placeholder: '品质',
 | 
				
			||||||
					param: 'quality',
 | 
										param: 'quality',
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检初判等级',
 | 
				
			||||||
 | 
										placeholder: '质检初判等级',
 | 
				
			||||||
 | 
										param: 'cpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
 | 
									{
 | 
				
			||||||
 | 
										type: 'input',
 | 
				
			||||||
 | 
										label: '质检复判等级',
 | 
				
			||||||
 | 
										placeholder: '质检复判等级',
 | 
				
			||||||
 | 
										param: 'fpGrade',
 | 
				
			||||||
 | 
									},
 | 
				
			||||||
				{
 | 
									{
 | 
				
			||||||
					type: 'input',
 | 
										type: 'input',
 | 
				
			||||||
					label: '工序',
 | 
										label: '工序',
 | 
				
			||||||
@@ -320,6 +332,8 @@ export default {
 | 
				
			|||||||
					this.listQuery.rollCode = val.rollCode;
 | 
										this.listQuery.rollCode = val.rollCode;
 | 
				
			||||||
					this.listQuery.grade = val.quality;
 | 
										this.listQuery.grade = val.quality;
 | 
				
			||||||
					this.listQuery.process = val.processId;
 | 
										this.listQuery.process = val.processId;
 | 
				
			||||||
 | 
										this.listQuery.fpGrade = val.fpGrade;
 | 
				
			||||||
 | 
										this.listQuery.cpGrade = val.cpGrade;
 | 
				
			||||||
					this.listQuery.warehouseStorehouseState =
 | 
										this.listQuery.warehouseStorehouseState =
 | 
				
			||||||
						val.warehouseStorehouseStateId;
 | 
											val.warehouseStorehouseStateId;
 | 
				
			||||||
					this.getDataList();
 | 
										this.getDataList();
 | 
				
			||||||
@@ -327,7 +341,7 @@ export default {
 | 
				
			|||||||
				case 'reset':
 | 
									case 'reset':
 | 
				
			||||||
					this.$refs.searchBarForm.resetForm();
 | 
										this.$refs.searchBarForm.resetForm();
 | 
				
			||||||
					this.listQuery = {
 | 
										this.listQuery = {
 | 
				
			||||||
						warehouseId: this.bId,
 | 
											warehouseId: this.aId,
 | 
				
			||||||
						pageSize: 10,
 | 
											pageSize: 10,
 | 
				
			||||||
						pageNo: 1,
 | 
											pageNo: 1,
 | 
				
			||||||
						total: 1,
 | 
											total: 1,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -133,7 +133,7 @@ export default {
 | 
				
			|||||||
		},
 | 
							},
 | 
				
			||||||
		getInfo() {
 | 
							getInfo() {
 | 
				
			||||||
			axios
 | 
								axios
 | 
				
			||||||
				.post('http://172.22.22.190/wcs-njlm/business/wcsTask/isAlarm34')
 | 
									.post('http://172.22.22.190/wcs-njlm/business/wcsTask/isAlarm')
 | 
				
			||||||
				.then((res) => {
 | 
									.then((res) => {
 | 
				
			||||||
          console.log('实时报警')
 | 
					          console.log('实时报警')
 | 
				
			||||||
          console.log(res.data)
 | 
					          console.log(res.data)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user