spring
2025-04-15 d9b0421105565ea402b315d657bed27025cc4afb
src/views/structural/capabilityAndLaboratory/capability/index.vue
@@ -152,6 +152,7 @@
        { label: '检验项分类EN', prop: 'inspectionItemClassEn' },
        { label: '检验对象', prop: 'sample' },
        { label: '单价(元)', prop: 'price' },
        { label: '频次', prop: 'frequency' },
        { label: '试验室', prop: 'sonLaboratory' },
        { label: '要求描述', prop: 'askTell' },
        { label: '要求值', prop: 'ask' },
@@ -282,17 +283,20 @@
              clickFun: (row) => {
                this.bindPartFirst(row);
              },
              disabled: (row) => {
                return !!row.product
              }
            },
            // {
            //   name: '车间绑定',
            //   type: 'text',
            //   clickFun: (row) => {
            //     this.bindWokshop1(row);
            //   },
            //   disabled: (row) => {
            //     return row.objectType != '原辅材' && row.objectType != '包材'
            //   }
            // },
            {
              name: '车间绑定',
              type: 'text',
              clickFun: (row) => {
                this.bindWokshop1(row);
              },
              disabled: (row) => {
                return row.objectType != '原辅材' && row.objectType != '包材'
              }
            },
          ]
        }
      ],
@@ -413,7 +417,7 @@
    this.getDicts("product_classification").then((response) => {
      this.productClassification = this.dictToValue(response.data);
    });
    // this.selectWorkShop()
    this.selectWorkShop()
  },
  computed: {
    title() {