gaoluyang
2025-03-13 07f8fc2e20080c81734023f7536942e7e6c0cfa7
原材料报检-新增弹框取消按钮报错
已修改3个文件
12 ■■■■ 文件已修改
src/plugins/download.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/rawMaterialInspection/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/plugins/download.js
@@ -89,7 +89,13 @@
        if (state) {
          url1 = Vue.prototype.javaApi + '/img/' + text;
        } else {
          url1 = Vue.prototype.javaApi + '/word/' + text
          if (text.startsWith("/word/")) {
            url1 = Vue.prototype.javaApi + text
          } else if (text.startsWith("word/")) {
            url1 = Vue.prototype.javaApi + '/' + text
          } else {
            url1 = Vue.prototype.javaApi + '/word/' + text
          }
        }
        // 使用 fetch 获取文件
        const response = await fetch(url1);
src/router/index.js
@@ -133,7 +133,7 @@
        component: () =>
          import("@/views/business/productOrder/components/add.vue"),
        name: "Add",
        meta: { title: "成品下单详情", activeMenu: "/business/materialOrder",keepAlive: true },
        meta: { title: "成品下单详情", activeMenu: "/business/productOrder",keepAlive: true },
      },
    ],
  },
src/views/business/rawMaterialInspection/index.vue
@@ -144,7 +144,7 @@
      </el-form>
      <span slot="footer" class="dialog-footer">
        <el-row>
          <el-button @click="resetForm">取 消</el-button>
          <el-button @click="resetFormData">取 消</el-button>
          <el-button :loading="submitDeclareLoading" type="primary" @click="submitDeclare">确 定</el-button>
        </el-row>
      </span>