小小儁爺
2026-04-27 dad67a844999c001d05666bc5d1f42b9fbb3cf58
src/views/qualityManager/qualityPlaning.vue
@@ -818,7 +818,6 @@
              :header-cell-style="this.$headerCellStyle"
              :cell-style="this.$cellStyle"
              row-key="partcode"
              @sort-change="sortChange"
              @select="handleSelectionChange"
              @select-all="handleAllChange"
            >
@@ -838,20 +837,16 @@
              <el-table-column
                prop="partcode"
                label="存货编码"
                sortable="custom"
              />
              <el-table-column
                prop="partname"
                label="存货名称"
                sortable="custom"
                show-tooltip-when-overflow
                min-width="200"
              />
              <el-table-column
                prop="partspec"
                label="规格型号"
                sortable="custom"
              >
                <template slot-scope="{row}">
                  {{ row.partspec ? row.partspec : '/' }}
@@ -860,7 +855,6 @@
              <el-table-column
                prop="idinventoryclassname"
                label="所属类别"
                sortable="custom"
              />
            </el-table>
@@ -1291,6 +1285,8 @@
        }
      })
      this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
      this.$nextTick(() => {
        this.dialogForm.qualityinsptcode = row.code
        this.dialogForm.qualityinsptname = row.name
@@ -1487,6 +1483,7 @@
          descr: i.descr
        })
      })
      this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
      this.CheckItemSelectAllArr = JSON.parse(JSON.stringify(this.CheckItemSelectArr))
    },
    // 数值判定
@@ -1588,6 +1585,7 @@
      this.isCancel = true
      this.checkitem = []
      this.CheckItemSelectArr = JSON.parse(JSON.stringify(this.CheckItemSelectAllArr))
      this.CheckItemSelectArr = [...new Map(this.CheckItemSelectArr.map(item => [item.code, item])).values()]
      this.$refs.dialogForm.clearValidate()
    },
    // 对话框取消