spring
2025-03-21 9e0426e8e28dd530663cdbe80f258d1622cc9e7d
src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -290,7 +290,7 @@
                this.bindWokshop1(row);
              },
              disabled: (row) => {
                return row.objectType != '原材料'
                return row.objectType != '原辅料' && row.objectType != '包材'
              }
            },
          ]
@@ -348,7 +348,7 @@
                this.bindWokshop(row);
              },
              showHide: (row) => {
                if (this.currentObj.objectType != '原材料') {
                if (this.currentObj.objectType != '原辅料' && row.objectType != '包材') {
                  return false
                } else {
                  return true
@@ -586,7 +586,7 @@
    // 产品维护
    upProduct(row) {
      this.currentObj = row;
      if (this.currentObj.objectType == '原材料') {
      if (this.currentObj.objectType == '原辅料') {
        if (this.productColumn.length < 4) {
          this.productColumn.splice(2, 0, { label: '车间名称', prop: 'workShopName' })
        }