Commit af6251a5 by chenwq

fix(allocation): 修复选择数据时未校验卷号导致的重复选择问题

在设置商品禁选逻辑中增加对卷号的校验,避免相同商品不同卷号被错误标记为已选择
1 parent a937c331
<template>
<div class="addWrap">
<div class="addWrap" v-loading="loading">
<div class="d2-container-content">
<div style="padding: 10px 20px">
<el-form :inline="true" size="small" :model="editAllocationForm" ref="editAllocationFormRef" :rules="formRules" class="demo-form-inline">
......@@ -528,7 +528,7 @@ export default {
//设置禁选
setDisabled(row) {
const index = this.chooseDataList.findIndex(item => item.goodsId == row.upgradeGoodsId)
const index = this.chooseDataList.findIndex(item => item.goodsId == row.upgradeGoodsId && item.filmRollNo === row.filmRollNo)
if (index == -1) {
return false
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!