研发图纸文件管理系统-前端项目
he wei
2024-12-03 98ff6711d7fb3d4b37846d62a20bcd5c09e25d07
src/pages/resourceManage/product/list.vue
@@ -84,7 +84,7 @@
                  >
                  <a-button
                    v-if="canDownloadBom"
                    :disabled="record.version != 1 && !isTester"
                    :disabled="record.version == -1 && !isTester"
                    type="primary"
                    @click="checkLock(record)"
                    >下载</a-button
@@ -92,14 +92,13 @@
                  <a-button
                    type="primary"
                    v-if="canUploadBom"
                    :disabled="record.version != 1"
                    :disabled="record.version == -1"
                    @click="showCustom(record)"
                    >定制</a-button
                  >
                  <a-button
                    type="primary"
                    v-if="canFeedback"
                    :disabled="record.version != 1"
                    @click="showFeedback(record)"
                    >反馈</a-button
                  >
@@ -1208,16 +1207,19 @@
      }
      const { pageCurr, pageSize, conditions, columns } = this;
      let params = {};
      let col, index;
      Object.keys(conditions).forEach((v) => {
        switch (v) {
          case "isNormal":
            if (conditions[v]) {
              params["customCode"] = "";
              columns.forEach((val) => {
              columns.forEach((val, idx) => {
                if (val.dataIndex == "customCode") {
                  val.search.value = "";
                  col = { ...val, search: { value: "", backup: "" } };
                  index = idx;
                }
              });
              this.$set(this.columns, index, col);
            }
            break;
          case "customCode":