This commit is contained in:
朱文强 2024-12-13 12:58:44 +08:00
parent 30837f9858
commit 22eb908397
11 changed files with 116 additions and 31 deletions

View File

@ -17,10 +17,11 @@ export function inventoryOverview(id) {
})
}
// 熟化时间提醒
export function rollTimeRemind(day) {
export function rollTimeRemind(query) {
return request({
url: '/asrs/warehouse-storehouse-goods-specification/xday?xDays=' + day,
method: 'get'
url: '/asrs/warehouse-storehouse-goods-specification/xday',
method: 'get',
params: query
})
}
// 导出熟化时间提醒 Excel

View File

@ -102,7 +102,11 @@ export default {
};
listData(queryParams).then((response) => {
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;
console.log(componentName);
const elx = document

View File

@ -122,7 +122,7 @@ export default {
},
getRealAlarm() {
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) => {
res.data.forEach((item, index) => {
if (index < 4) {

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-24 14:47:58
* @LastEditors: zwq
* @LastEditTime: 2024-04-19 14:30:04
* @LastEditTime: 2024-10-30 13:52:15
* @Description:
-->
<template>
@ -56,6 +56,14 @@ const tableProps = [
];
const tableProps1 = [
{
prop: 'cpGrade',
label: '质检初判等级',
},
{
prop: 'fpGrade',
label: '质检复判等级',
},
{
prop: 'cureTime',
label: '需要熟化时间(小时)',

View File

@ -39,7 +39,7 @@
:label="'第' + i + '页'"
:name="i + '页'">
<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(
(i - 1) * pageSize,
i * pageSize
@ -114,7 +114,11 @@ export default {
init() {},
setDay() {
this.containerCodeArr = [];
rollTimeRemind(this.xDays.value).then((response) => {
const params = {
xDays: this.xDays.value,
warehouseId: this.warehouseId,
};
rollTimeRemind(params).then((response) => {
this.containerCodeArr = response;
});
},
@ -134,7 +138,7 @@ export default {
}
break;
case 'export':
this.handleExport('膜卷熟化时间信息',val.day);
this.handleExport('膜卷熟化时间信息', val.day);
break;
default:
console.log(val);
@ -145,7 +149,7 @@ export default {
updateData(this.xDays).then((response) => {});
},
/** 导出按钮操作 */
handleExport(name,day) {
handleExport(name, day) {
//
this.$modal
.confirm('是否确认导出膜卷熟化时间信息')
@ -160,22 +164,26 @@ export default {
.catch(() => {});
},
/** 跳转膜卷信息页面 */
toRollMessagePage(trayCode){
this.$confirm(`是否跳转到膜卷信息页面? 托盘编码:[ ${trayCode} ]`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "success ",
})
toRollMessagePage(trayCode) {
this.$confirm(
`是否跳转到膜卷信息页面? 托盘编码:[ ${trayCode} ]`,
'提示',
{
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'success ',
}
)
.then(() => {
this.$router.push({
path: "rollMessage",
query:{
trayCode: trayCode
}
path: 'rollMessage',
query: {
trayCode: trayCode,
},
});
})
.catch(() => { });
}
.catch(() => {});
},
},
};
</script>

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2024-02-27 14:43:14
* @LastEditors: zwq
* @LastEditTime: 2024-10-09 14:40:07
* @LastEditTime: 2024-10-30 14:00:57
* @Description:
-->
<template>
@ -114,7 +114,11 @@ export default {
init() {},
setDay() {
this.containerCodeArr = [];
rollTimeRemind(this.xDays.value).then((response) => {
const params = {
xDays: this.xDays.value,
warehouseId: this.warehouseId,
};
rollTimeRemind(params).then((response) => {
this.containerCodeArr = response;
});
},

View File

@ -201,6 +201,18 @@ export default {
placeholder: '品质',
param: 'quality',
},
{
type: 'input',
label: '质检初判等级',
placeholder: '质检初判等级',
param: 'cpGrade',
},
{
type: 'input',
label: '质检复判等级',
placeholder: '质检复判等级',
param: 'fpGrade',
},
{
type: 'input',
label: '工序',
@ -283,6 +295,8 @@ export default {
this.listQuery.grade = val.quality;
this.listQuery.rollCode = val.rollCode;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.getDataList();
@ -312,6 +326,8 @@ export default {
this.listQuery.grade = val.quality;
this.listQuery.rollCode = val.rollCode;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.handleExport(this.listQuery,'库位产品导出');

View File

@ -201,6 +201,18 @@ export default {
placeholder: '品质',
param: 'quality',
},
{
type: 'input',
label: '质检初判等级',
placeholder: '质检初判等级',
param: 'cpGrade',
},
{
type: 'input',
label: '质检复判等级',
placeholder: '质检复判等级',
param: 'fpGrade',
},
{
type: 'input',
label: '工序',
@ -284,6 +296,8 @@ export default {
this.listQuery.grade = val.quality;
this.listQuery.rollCode = val.rollCode;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.getDataList();
@ -313,6 +327,8 @@ export default {
this.listQuery.grade = val.quality;
this.listQuery.rollCode = val.rollCode;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.handleExport(this.listQuery,'库位产品导出');

View File

@ -234,6 +234,18 @@ export default {
placeholder: '品质',
param: 'quality',
},
{
type: 'input',
label: '质检初判等级',
placeholder: '质检初判等级',
param: 'cpGrade',
},
{
type: 'input',
label: '质检复判等级',
placeholder: '质检复判等级',
param: 'fpGrade',
},
{
type: 'input',
label: '工序',
@ -319,6 +331,8 @@ export default {
this.listQuery.rollCode = val.rollCode;
this.listQuery.grade = val.quality;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.getDataList();

View File

@ -234,6 +234,18 @@ export default {
placeholder: '品质',
param: 'quality',
},
{
type: 'input',
label: '质检初判等级',
placeholder: '质检初判等级',
param: 'cpGrade',
},
{
type: 'input',
label: '质检复判等级',
placeholder: '质检复判等级',
param: 'fpGrade',
},
{
type: 'input',
label: '工序',
@ -320,6 +332,8 @@ export default {
this.listQuery.rollCode = val.rollCode;
this.listQuery.grade = val.quality;
this.listQuery.process = val.processId;
this.listQuery.fpGrade = val.fpGrade;
this.listQuery.cpGrade = val.cpGrade;
this.listQuery.warehouseStorehouseState =
val.warehouseStorehouseStateId;
this.getDataList();
@ -327,7 +341,7 @@ export default {
case 'reset':
this.$refs.searchBarForm.resetForm();
this.listQuery = {
warehouseId: this.bId,
warehouseId: this.aId,
pageSize: 10,
pageNo: 1,
total: 1,

View File

@ -133,7 +133,7 @@ export default {
},
getInfo() {
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) => {
console.log('实时报警')
console.log(res.data)