| | |
| | | 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); |
| | |
| | | component: () => |
| | | import("@/views/business/productOrder/components/add.vue"), |
| | | name: "Add", |
| | | meta: { title: "成品下单详情", activeMenu: "/business/materialOrder",keepAlive: true }, |
| | | meta: { title: "成品下单详情", activeMenu: "/business/productOrder",keepAlive: true }, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | </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> |