|
@@ -182,6 +182,7 @@
|
|
}
|
|
}
|
|
|
|
|
|
basicInfo.value = res.data.data[0];
|
|
basicInfo.value = res.data.data[0];
|
|
|
|
+ dayWork.value.furnaceNoInfo = basicInfo.value;
|
|
console.log(basicInfo.value);
|
|
console.log(basicInfo.value);
|
|
console.log(furnaceNumberInfoList.value)
|
|
console.log(furnaceNumberInfoList.value)
|
|
}
|
|
}
|
|
@@ -194,7 +195,7 @@
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
//过滤出工序交集
|
|
//过滤出工序交集
|
|
let filteredData = res.data.filter((item1) =>
|
|
let filteredData = res.data.filter((item1) =>
|
|
- store.dayworkInfo.processSequence.some((item2) => item2.processCode === item1.processCode)
|
|
|
|
|
|
+ store.planDetails.processSequence.some((item2) => item2.processCode === item1.processCode)
|
|
);
|
|
);
|
|
for (let i = 0; i < filteredData.length; i++) {
|
|
for (let i = 0; i < filteredData.length; i++) {
|
|
processList.value[i] = {
|
|
processList.value[i] = {
|
|
@@ -203,6 +204,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
selectedProcess.value = filteredData[0].processId;
|
|
selectedProcess.value = filteredData[0].processId;
|
|
|
|
+ dayWork.value.processId = selectedProcess.value;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -290,11 +292,11 @@
|
|
}
|
|
}
|
|
|
|
|
|
function handleFurnaceNumberChange() {
|
|
function handleFurnaceNumberChange() {
|
|
-
|
|
|
|
|
|
+ dayWork.value.furnaceNoInfo = basicInfo.value;
|
|
}
|
|
}
|
|
|
|
|
|
function handleProcessChange() {
|
|
function handleProcessChange() {
|
|
-
|
|
|
|
|
|
+ dayWork.value.processId = selectedProcess.value;
|
|
}
|
|
}
|
|
|
|
|
|
// function handleScanCode() {
|
|
// function handleScanCode() {
|
|
@@ -338,10 +340,8 @@
|
|
// }
|
|
// }
|
|
|
|
|
|
function handleAdd() {
|
|
function handleAdd() {
|
|
- // dayWork.value.dayworkCarriers = vehicleList.value;
|
|
|
|
console.log(dayWork.value)
|
|
console.log(dayWork.value)
|
|
- // console.log(batchNoCheck.value)
|
|
|
|
- // console.log(vehicleList.value)
|
|
|
|
|
|
+ console.log(basicInfo.value)
|
|
if (checkLotCode(dayWork.value.lotCode)) {
|
|
if (checkLotCode(dayWork.value.lotCode)) {
|
|
saveDayWork(dayWork.value).then(res => {
|
|
saveDayWork(dayWork.value).then(res => {
|
|
console.log(res)
|
|
console.log(res)
|