|
@@ -2,19 +2,12 @@
|
|
<!-- 物料采集详情界面 -->
|
|
<!-- 物料采集详情界面 -->
|
|
<div class="popUp" v-if="modelValue">
|
|
<div class="popUp" v-if="modelValue">
|
|
<div class="header" style="height: 3vh">
|
|
<div class="header" style="height: 3vh">
|
|
- <div class="headerTittle" style="font-weight: border; font-size: 28px">
|
|
|
|
- 物料采集详情
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="headerTittle" style="font-weight: border; font-size: 28px">物料采集详情</div>
|
|
</div>
|
|
</div>
|
|
- <div
|
|
|
|
- class="header"
|
|
|
|
- style="display: flex; justify-content: center; margin: 20px"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="header" style="display: flex; justify-content: center; margin: 20px">
|
|
<div class="box" @click.stop>
|
|
<div class="box" @click.stop>
|
|
<div class="boxItem">
|
|
<div class="boxItem">
|
|
- <div class="describeText">
|
|
|
|
- 需采集物料:{{ showInfo.materialName }}
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="describeText">需采集物料:{{ showInfo.materialName }}</div>
|
|
<div class="describeText">物料编码:{{ showInfo.materialCode }}</div>
|
|
<div class="describeText">物料编码:{{ showInfo.materialCode }}</div>
|
|
<div class="describeText">型号:{{ showInfo.spec }}</div>
|
|
<div class="describeText">型号:{{ showInfo.spec }}</div>
|
|
<div class="describeText">单管需要:{{ showInfo.totalNum }}</div>
|
|
<div class="describeText">单管需要:{{ showInfo.totalNum }}</div>
|
|
@@ -24,9 +17,7 @@
|
|
<div class="body">
|
|
<div class="body">
|
|
<div class="container1" @click.stop>
|
|
<div class="container1" @click.stop>
|
|
<div class="boxTittle">
|
|
<div class="boxTittle">
|
|
- 批次号列表(共 {{
|
|
|
|
- batchNoTableData.length
|
|
|
|
- }} 批次,完成绑定 {{
|
|
|
|
|
|
+ 批次号列表(共 {{ batchNoTableData.length }} 批次,完成绑定 {{
|
|
batchNoOkSum
|
|
batchNoOkSum
|
|
}} 批次,本次完成绑定<span style="color: green">
|
|
}} 批次,本次完成绑定<span style="color: green">
|
|
|
|
|
|
@@ -36,41 +27,16 @@
|
|
<el-divider style="margin-top: 20px !important" />
|
|
<el-divider style="margin-top: 20px !important" />
|
|
<div style="display: flex; margin-bottom: 20px; align-items: center">
|
|
<div style="display: flex; margin-bottom: 20px; align-items: center">
|
|
<div class="seqSearchInput">
|
|
<div class="seqSearchInput">
|
|
- <el-input
|
|
|
|
- v-model="searchBatchNo"
|
|
|
|
- placeholder="搜索批次号"
|
|
|
|
- class="searchInput"
|
|
|
|
- clearable
|
|
|
|
- />
|
|
|
|
|
|
+ <el-input v-model="searchBatchNo" placeholder="搜索批次号" class="searchInput" clearable />
|
|
</div>
|
|
</div>
|
|
- <el-button
|
|
|
|
- @click="batchNoOk = true"
|
|
|
|
- :type="batchNoOk ? 'primary' : ''"
|
|
|
|
- >数量绑定完成</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- :type="!batchNoOk ? 'primary' : ''"
|
|
|
|
- @click="batchNoOk = false"
|
|
|
|
- >还可绑定</el-button
|
|
|
|
- >
|
|
|
|
- <el-button style="width: 300px" type="success" @click="autoAll"
|
|
|
|
- >按需全批次自动绑定</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button @click="batchNoOk = true" :type="batchNoOk ? 'primary' : ''">数量绑定完成</el-button>
|
|
|
|
+ <el-button :type="!batchNoOk ? 'primary' : ''" @click="batchNoOk = false">还可绑定</el-button>
|
|
|
|
+ <el-button style="width: 300px" type="success" @click="autoAll">按需全批次自动绑定</el-button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <el-table
|
|
|
|
- border
|
|
|
|
- class="seqTable"
|
|
|
|
- :data="showTableData"
|
|
|
|
- :row-class-name="tableRowClassName1"
|
|
|
|
- style="flex: 1"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table border class="seqTable" :data="showTableData" :row-class-name="tableRowClassName1" style="flex: 1">
|
|
<el-table-column align="center" label="批次号" prop="batchNo" />
|
|
<el-table-column align="center" label="批次号" prop="batchNo" />
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="总可绑数量"
|
|
|
|
- prop="surplusNum"
|
|
|
|
- />
|
|
|
|
|
|
+ <el-table-column align="center" label="总可绑数量" prop="surplusNum" />
|
|
<el-table-column align="center" label="本次绑定管号">
|
|
<el-table-column align="center" label="本次绑定管号">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-scrollbar max-height="300px">
|
|
<el-scrollbar max-height="300px">
|
|
@@ -80,14 +46,7 @@
|
|
filterable
|
|
filterable
|
|
placeholder="管号"
|
|
placeholder="管号"
|
|
v-model="batchNoTableData[scope.$index].selectSeqNo"
|
|
v-model="batchNoTableData[scope.$index].selectSeqNo"
|
|
- @change="
|
|
|
|
- (value) =>
|
|
|
|
- setSelectSeq(
|
|
|
|
- value,
|
|
|
|
- scope.$index,
|
|
|
|
- batchNoTableData[scope.$index].batchNo
|
|
|
|
- )
|
|
|
|
- "
|
|
|
|
|
|
+ @change="(value) => setSelectSeq(value, scope.$index, batchNoTableData[scope.$index].batchNo)"
|
|
@clear="clear(scope.$index)"
|
|
@clear="clear(scope.$index)"
|
|
@remove-tag="(tagValue) => removeTag(tagValue, scope.$index)"
|
|
@remove-tag="(tagValue) => removeTag(tagValue, scope.$index)"
|
|
>
|
|
>
|
|
@@ -97,9 +56,7 @@
|
|
:label="item.seqNo"
|
|
:label="item.seqNo"
|
|
:value="item.seqNo"
|
|
:value="item.seqNo"
|
|
:disabled="
|
|
:disabled="
|
|
- item.selectBatchNoList.includes(
|
|
|
|
- batchNoTableData[scope.$index].batchNo
|
|
|
|
- )
|
|
|
|
|
|
+ item.selectBatchNoList.includes(batchNoTableData[scope.$index].batchNo)
|
|
? false
|
|
? false
|
|
: tabledata[scope.$index].num <= 0
|
|
: tabledata[scope.$index].num <= 0
|
|
? true
|
|
? true
|
|
@@ -116,11 +73,7 @@
|
|
<el-table-column align="center" width="200" label="绑定管号详情">
|
|
<el-table-column align="center" width="200" label="绑定管号详情">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-scrollbar max-height="300px">
|
|
<el-scrollbar max-height="300px">
|
|
- <el-form
|
|
|
|
- :model="item"
|
|
|
|
- v-for="(item, index) in scope.row.selectSeq"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-form :model="item" v-for="(item, index) in scope.row.selectSeq" :key="index">
|
|
<el-form-item
|
|
<el-form-item
|
|
:rules="{
|
|
:rules="{
|
|
message: '该选项为必选',
|
|
message: '该选项为必选',
|
|
@@ -140,9 +93,7 @@
|
|
prop="num"
|
|
prop="num"
|
|
>
|
|
>
|
|
<el-input-number
|
|
<el-input-number
|
|
- v-model="
|
|
|
|
- batchNoTableData[scope.$index].selectSeq[index].num
|
|
|
|
- "
|
|
|
|
|
|
+ v-model="batchNoTableData[scope.$index].selectSeq[index].num"
|
|
:min="0"
|
|
:min="0"
|
|
:max="
|
|
:max="
|
|
batchNoTableData[scope.$index].selectSeq[index].num +
|
|
batchNoTableData[scope.$index].selectSeq[index].num +
|
|
@@ -157,19 +108,13 @@
|
|
</el-scrollbar>
|
|
</el-scrollbar>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="剩余可绑数量" prop="num">
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="剩余可绑数量" prop="num"> </el-table-column>
|
|
<el-table-column align="center" width="160" label="操作">
|
|
<el-table-column align="center" width="160" label="操作">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button
|
|
<el-button
|
|
style="width: 120px"
|
|
style="width: 120px"
|
|
type="primary"
|
|
type="primary"
|
|
- @click="
|
|
|
|
- toAutoItem(
|
|
|
|
- scope.$index,
|
|
|
|
- batchNoTableData[scope.$index].batchNo
|
|
|
|
- )
|
|
|
|
- "
|
|
|
|
|
|
+ @click="toAutoItem(scope.$index, batchNoTableData[scope.$index].batchNo)"
|
|
>按需自动绑定</el-button
|
|
>按需自动绑定</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
@@ -181,16 +126,13 @@
|
|
</template>
|
|
</template>
|
|
</el-table>
|
|
</el-table>
|
|
<div class="btns">
|
|
<div class="btns">
|
|
- <el-button type="primary" @click="submitInfoStatus = true"
|
|
|
|
- >绑定确认</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button type="primary" @click="submitInfoStatus = true">绑定确认</el-button>
|
|
<el-button @click="handleClose">取消</el-button>
|
|
<el-button @click="handleClose">取消</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container2" @click.stop>
|
|
<div class="container2" @click.stop>
|
|
<div class="boxTittle">
|
|
<div class="boxTittle">
|
|
- 管号列表(共 {{ seqList.length }} 个,完成绑定
|
|
|
|
- {{ seqNoOkSum }} 个,本次完成绑定<span style="color: green">
|
|
|
|
|
|
+ 管号列表(共 {{ seqList.length }} 个,完成绑定 {{ seqNoOkSum }} 个,本次完成绑定<span style="color: green">
|
|
|
|
|
|
{{ seqNoDataList.filter((item) => item.remainingNum <= 0).length }}
|
|
{{ seqNoDataList.filter((item) => item.remainingNum <= 0).length }}
|
|
</span
|
|
</span
|
|
@@ -199,19 +141,10 @@
|
|
<el-divider />
|
|
<el-divider />
|
|
<div style="display: flex; margin-bottom: 20px; align-items: center">
|
|
<div style="display: flex; margin-bottom: 20px; align-items: center">
|
|
<div class="seqSearchInput">
|
|
<div class="seqSearchInput">
|
|
- <el-input
|
|
|
|
- v-model="searchSeqNo"
|
|
|
|
- placeholder="搜索管号"
|
|
|
|
- class="searchInput"
|
|
|
|
- clearable
|
|
|
|
- />
|
|
|
|
|
|
+ <el-input v-model="searchSeqNo" placeholder="搜索管号" class="searchInput" clearable />
|
|
</div>
|
|
</div>
|
|
- <el-button @click="seqNoOk = true" :type="seqNoOk ? 'primary' : ''"
|
|
|
|
- >完成绑定</el-button
|
|
|
|
- >
|
|
|
|
- <el-button :type="!seqNoOk ? 'primary' : ''" @click="seqNoOk = false"
|
|
|
|
- >未完成</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button @click="seqNoOk = true" :type="seqNoOk ? 'primary' : ''">完成绑定</el-button>
|
|
|
|
+ <el-button :type="!seqNoOk ? 'primary' : ''" @click="seqNoOk = false">未完成</el-button>
|
|
</div>
|
|
</div>
|
|
<el-table
|
|
<el-table
|
|
border
|
|
border
|
|
@@ -221,16 +154,9 @@
|
|
style="flex: 1"
|
|
style="flex: 1"
|
|
>
|
|
>
|
|
<el-table-column align="center" label="管号" prop="seqNo" />
|
|
<el-table-column align="center" label="管号" prop="seqNo" />
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="已绑定批次号及数量"
|
|
|
|
- prop="batchNo"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column align="center" label="已绑定批次号及数量" prop="batchNo">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <template
|
|
|
|
- v-if="scope.row.batchNo.length > 0"
|
|
|
|
- v-for="item in scope.row.batchNo"
|
|
|
|
- >
|
|
|
|
|
|
+ <template v-if="scope.row.batchNo.length > 0" v-for="item in scope.row.batchNo">
|
|
<div class="selectInfo">
|
|
<div class="selectInfo">
|
|
<div class="batchNo">批次号: {{ item.batchNo }}</div>
|
|
<div class="batchNo">批次号: {{ item.batchNo }}</div>
|
|
<div class="num">数量: {{ item.num }}</div>
|
|
<div class="num">数量: {{ item.num }}</div>
|
|
@@ -239,22 +165,10 @@
|
|
<span v-else>-</span>
|
|
<span v-else>-</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- label="剩余需要绑定数量"
|
|
|
|
- sortable
|
|
|
|
- prop="remainingNum"
|
|
|
|
- align="center"
|
|
|
|
- />
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- v-if="!seqNoOk"
|
|
|
|
- label="本次绑定批次号及数量"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column label="剩余需要绑定数量" sortable prop="remainingNum" align="center" />
|
|
|
|
+ <el-table-column align="center" v-if="!seqNoOk" label="本次绑定批次号及数量">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
- <template
|
|
|
|
- v-if="scope.row.selectList.length > 0"
|
|
|
|
- v-for="item in scope.row.selectList"
|
|
|
|
- >
|
|
|
|
|
|
+ <template v-if="scope.row.selectList.length > 0" v-for="item in scope.row.selectList">
|
|
<div class="selectInfo">
|
|
<div class="selectInfo">
|
|
<div class="batchNo">批次号: {{ item.batchNo }}</div>
|
|
<div class="batchNo">批次号: {{ item.batchNo }}</div>
|
|
<div class="num">数量: {{ item.num }}</div>
|
|
<div class="num">数量: {{ item.num }}</div>
|
|
@@ -273,6 +187,7 @@
|
|
</div>
|
|
</div>
|
|
<saveBatchInfoPop
|
|
<saveBatchInfoPop
|
|
v-model="submitInfoStatus"
|
|
v-model="submitInfoStatus"
|
|
|
|
+ :isMixMaterial="props.isMixMaterial"
|
|
:showInfo="showInfo"
|
|
:showInfo="showInfo"
|
|
@close="handleClose"
|
|
@close="handleClose"
|
|
@data-list="dataList"
|
|
@data-list="dataList"
|
|
@@ -286,6 +201,7 @@ import { useProcessStore } from "@/store";
|
|
import { getunProcessedList } from "@/api/prosteps";
|
|
import { getunProcessedList } from "@/api/prosteps";
|
|
import { includes } from "lodash-es";
|
|
import { includes } from "lodash-es";
|
|
import internal from "stream";
|
|
import internal from "stream";
|
|
|
|
+import { isMixMaterial } from "@/api/prosteps/wuliaocaiji";
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
modelValue: {
|
|
modelValue: {
|
|
type: Boolean,
|
|
type: Boolean,
|
|
@@ -294,6 +210,10 @@ const props = defineProps({
|
|
showInfo: {
|
|
showInfo: {
|
|
type: Object,
|
|
type: Object,
|
|
},
|
|
},
|
|
|
|
+ isMixMaterial: {
|
|
|
|
+ type: Boolean,
|
|
|
|
+ default: false,
|
|
|
|
+ },
|
|
});
|
|
});
|
|
const batchNoOk = ref(false);
|
|
const batchNoOk = ref(false);
|
|
const submitInfoStatus = ref(false);
|
|
const submitInfoStatus = ref(false);
|
|
@@ -307,9 +227,9 @@ const batchNoOkSum = computed(() => {
|
|
});
|
|
});
|
|
provide("batchNoTableData", batchNoTableData);
|
|
provide("batchNoTableData", batchNoTableData);
|
|
const removeTag = (tagValue, index) => {
|
|
const removeTag = (tagValue, index) => {
|
|
- batchNoTableData.value[index].selectSeq = batchNoTableData.value[
|
|
|
|
- index
|
|
|
|
- ].selectSeq.filter((item) => item.seqNo != tagValue);
|
|
|
|
|
|
+ batchNoTableData.value[index].selectSeq = batchNoTableData.value[index].selectSeq.filter(
|
|
|
|
+ (item) => item.seqNo != tagValue
|
|
|
|
+ );
|
|
};
|
|
};
|
|
const clear = (index) => {
|
|
const clear = (index) => {
|
|
batchNoTableData.value[index].selectSeq = [];
|
|
batchNoTableData.value[index].selectSeq = [];
|
|
@@ -336,10 +256,7 @@ const setBatchNoTableData = () => {
|
|
for (let i = 0; i < resetArray.length; i++) {
|
|
for (let i = 0; i < resetArray.length; i++) {
|
|
//设置数字
|
|
//设置数字
|
|
if (myMap.has(resetArray[i].batchNo)) {
|
|
if (myMap.has(resetArray[i].batchNo)) {
|
|
- myMap.set(
|
|
|
|
- resetArray[i].batchNo,
|
|
|
|
- Number(myMap.get(resetArray[i].batchNo)) + Number(resetArray[i].num)
|
|
|
|
- );
|
|
|
|
|
|
+ myMap.set(resetArray[i].batchNo, Number(myMap.get(resetArray[i].batchNo)) + Number(resetArray[i].num));
|
|
} else {
|
|
} else {
|
|
myMap.set(resetArray[i].batchNo, resetArray[i].num);
|
|
myMap.set(resetArray[i].batchNo, resetArray[i].num);
|
|
}
|
|
}
|
|
@@ -360,9 +277,7 @@ const setBatchNoTableData = () => {
|
|
item.seqNo = listObj[item.batchNo];
|
|
item.seqNo = listObj[item.batchNo];
|
|
item.ok = item.surplusNum > 0 ? false : true;
|
|
item.ok = item.surplusNum > 0 ? false : true;
|
|
item.soNum = item.surplusNum;
|
|
item.soNum = item.surplusNum;
|
|
- item.surplusNum = myMap.get(item.batchNo)
|
|
|
|
- ? item.surplusNum + myMap.get(item.batchNo)
|
|
|
|
- : item.surplusNum;
|
|
|
|
|
|
+ item.surplusNum = myMap.get(item.batchNo) ? item.surplusNum + myMap.get(item.batchNo) : item.surplusNum;
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
|
|
@@ -392,7 +307,7 @@ const setSeqNoList = (seqList) => {
|
|
}
|
|
}
|
|
array[i].remainingNum = sum;
|
|
array[i].remainingNum = sum;
|
|
if (array[i].remainingNum <= 0) {
|
|
if (array[i].remainingNum <= 0) {
|
|
- array[i].remainingNum=0;
|
|
|
|
|
|
+ array[i].remainingNum = 0;
|
|
array[i].ok = true;
|
|
array[i].ok = true;
|
|
} else {
|
|
} else {
|
|
array[i].ok = false;
|
|
array[i].ok = false;
|
|
@@ -406,18 +321,13 @@ const showOKseqData = computed(() => {
|
|
resArray = seqNoList.value.filter((item) => item.ok == true);
|
|
resArray = seqNoList.value.filter((item) => item.ok == true);
|
|
if (searchSeqNo.value) {
|
|
if (searchSeqNo.value) {
|
|
const lowerCaseSearchValue = searchSeqNo.value.toLowerCase();
|
|
const lowerCaseSearchValue = searchSeqNo.value.toLowerCase();
|
|
- resArray.filter(
|
|
|
|
- (item) =>
|
|
|
|
- item.seqNo && item.seqNo.toLowerCase().includes(lowerCaseSearchValue)
|
|
|
|
- );
|
|
|
|
|
|
+ resArray.filter((item) => item.seqNo && item.seqNo.toLowerCase().includes(lowerCaseSearchValue));
|
|
}
|
|
}
|
|
return resArray;
|
|
return resArray;
|
|
});
|
|
});
|
|
const seqNoDataList = computed(() => {
|
|
const seqNoDataList = computed(() => {
|
|
let resArray = [];
|
|
let resArray = [];
|
|
- resArray = JSON.parse(JSON.stringify(seqNoList.value)).filter(
|
|
|
|
- (item) => item.ok != true
|
|
|
|
- );
|
|
|
|
|
|
+ resArray = JSON.parse(JSON.stringify(seqNoList.value)).filter((item) => item.ok != true);
|
|
//对本次采集过滤
|
|
//对本次采集过滤
|
|
const selectArray = [];
|
|
const selectArray = [];
|
|
//此处batchNoTableData为本计算属性主驱动
|
|
//此处batchNoTableData为本计算属性主驱动
|
|
@@ -442,10 +352,7 @@ const seqNoDataList = computed(() => {
|
|
});
|
|
});
|
|
if (searchSeqNo.value) {
|
|
if (searchSeqNo.value) {
|
|
const lowerCaseSearchValue = searchSeqNo.value.toLowerCase();
|
|
const lowerCaseSearchValue = searchSeqNo.value.toLowerCase();
|
|
- resArray = resArray.filter(
|
|
|
|
- (item) =>
|
|
|
|
- item.seqNo && item.seqNo.toLowerCase().includes(lowerCaseSearchValue)
|
|
|
|
- );
|
|
|
|
|
|
+ resArray = resArray.filter((item) => item.seqNo && item.seqNo.toLowerCase().includes(lowerCaseSearchValue));
|
|
}
|
|
}
|
|
return resArray;
|
|
return resArray;
|
|
});
|
|
});
|
|
@@ -531,11 +438,7 @@ const showTableData = computed(() => {
|
|
let array = JSON.parse(JSON.stringify(tabledata.value));
|
|
let array = JSON.parse(JSON.stringify(tabledata.value));
|
|
if (searchBatchNo.value) {
|
|
if (searchBatchNo.value) {
|
|
const lowerCaseSearchValue = searchBatchNo.value.toLowerCase();
|
|
const lowerCaseSearchValue = searchBatchNo.value.toLowerCase();
|
|
- array = array.filter(
|
|
|
|
- (item) =>
|
|
|
|
- item.batchNo &&
|
|
|
|
- item.batchNo.toLowerCase().includes(lowerCaseSearchValue)
|
|
|
|
- );
|
|
|
|
|
|
+ array = array.filter((item) => item.batchNo && item.batchNo.toLowerCase().includes(lowerCaseSearchValue));
|
|
}
|
|
}
|
|
return array;
|
|
return array;
|
|
});
|
|
});
|
|
@@ -583,9 +486,9 @@ const searchSeqNo = ref("");
|
|
const setSelectSeq = (value, index, batchNo) => {
|
|
const setSelectSeq = (value, index, batchNo) => {
|
|
const value1 = ref(value);
|
|
const value1 = ref(value);
|
|
const array = [];
|
|
const array = [];
|
|
- batchNoTableData.value[index].selectSeq = batchNoTableData.value[
|
|
|
|
- index
|
|
|
|
- ].selectSeq.filter((item) => value1.value.includes(item.seqNo));
|
|
|
|
|
|
+ batchNoTableData.value[index].selectSeq = batchNoTableData.value[index].selectSeq.filter((item) =>
|
|
|
|
+ value1.value.includes(item.seqNo)
|
|
|
|
+ );
|
|
for (let i = 0; i < batchNoTableData.value[index].selectSeq.length; i++) {
|
|
for (let i = 0; i < batchNoTableData.value[index].selectSeq.length; i++) {
|
|
array.push(batchNoTableData.value[index].selectSeq[i].seqNo);
|
|
array.push(batchNoTableData.value[index].selectSeq[i].seqNo);
|
|
}
|
|
}
|
|
@@ -624,7 +527,7 @@ const tableRowClassName1 = ({ row, rowIndex }) => {
|
|
};
|
|
};
|
|
const tableRowClassName2 = ({ row, rowIndex }) => {
|
|
const tableRowClassName2 = ({ row, rowIndex }) => {
|
|
if (row.remainingNum <= 0) {
|
|
if (row.remainingNum <= 0) {
|
|
- row.remainingNum=0;
|
|
|
|
|
|
+ row.remainingNum = 0;
|
|
return "success-row";
|
|
return "success-row";
|
|
} else {
|
|
} else {
|
|
}
|
|
}
|