| | |
| | | path: "customsInspection", |
| | | component: () => |
| | | import("@/views/business/materialOrder/customsInspection"), |
| | | name: "customsInspection", |
| | | name: "CustomsInspection", |
| | | meta: { |
| | | title: "原材料下单详情", |
| | | activeMenu: "/business/materialOrder", |
| | | keepAlive: true |
| | | }, |
| | | }, |
| | | { |
| | | // 铜材料下单 |
| | | path: "copperOrder", |
| | | component: () => import("@/views/business/materialOrder/copperOrder"), |
| | | name: "copperOrder", |
| | | meta: { title: "铜材料下单", activeMenu: "/business/materialOrder" }, |
| | | name: "CopperOrder", |
| | | meta: { title: "铜材料下单", activeMenu: "/business/materialOrder",keepAlive: true }, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | path: "add", |
| | | component: () => |
| | | import("@/views/business/productOrder/components/add.vue"), |
| | | name: "add", |
| | | meta: { title: "成品下单详情", activeMenu: "/business/materialOrder" }, |
| | | name: "Add", |
| | | meta: { title: "成品下单详情", activeMenu: "/business/materialOrder",keepAlive: true }, |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | } |
| | | |
| | | export default { |
| | | name: 'CopperOrder', |
| | | components: {}, |
| | | dicts: ['check_type', 'urgency_level'], |
| | | data() { |
| | |
| | | this.noNeedCheckLoad = false |
| | | if (res.code == 201) return |
| | | this.$message.success('已提交') |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.noNeedCheckLoad = false |
| | | }) |
| | |
| | | if (res.code == 201) return |
| | | this.$message.success('已提交') |
| | | this.bsm3Dia = false; |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.saveLoad = false |
| | | }) |
| | |
| | | }, |
| | | goBack () { |
| | | this.$router.go(-1) |
| | | } |
| | | }, |
| | | closeOpenPage() { |
| | | this.$router.go(-1) |
| | | this.$tab.closeOpenPage() |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | width="32%"> |
| | | <span>{{ dialogMessage }}</span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="goBack()">确 定</el-button> |
| | | <el-button type="primary" @click="dialogVisible= false,closeOpenPage()">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog |
| | |
| | | this.standardMethodListId = null |
| | | } |
| | | }, |
| | | mounted() { |
| | | created() { |
| | | this.active = this.$route.query.active |
| | | this.orderType = this.$route.query.orderType |
| | | this.currentId = this.$route.query.currentId |
| | |
| | | if (res.code == 201) return |
| | | this.noNeedCheckDia = false |
| | | this.$message.success('已提交') |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.noNeedCheckLoad = false |
| | | }) |
| | |
| | | if (res.code == 201) return |
| | | this.$message.success('已提交') |
| | | this.bsm3Dia = false; |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.saveLoad = false |
| | | }) |
| | |
| | | }, |
| | | goBack () { |
| | | this.$router.go(-1) |
| | | } |
| | | }, |
| | | closeOpenPage() { |
| | | this.$router.go(-1) |
| | | this.$tab.closeOpenPage() |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-row> |
| | | <el-button @click="issuedDialogVisible=false;goBack">取 消</el-button> |
| | | <el-button @click="issuedDialogVisible=false;closeOpenPage">取 消</el-button> |
| | | <el-button :loading="upLoad" type="primary" @click="submitForm2">确 定</el-button> |
| | | </el-row> |
| | | </span> |
| | |
| | | import {selectCustomPageList} from "@/api/system/customer"; |
| | | |
| | | export default { |
| | | name: 'Add', |
| | | components: { |
| | | limsTable, |
| | | cableConfig, |
| | |
| | | this.saveLoad = false |
| | | this.$message.success('已提交') |
| | | this.bsm3Dia = false; |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.saveLoad = false |
| | | }) |
| | |
| | | this.saveLoad = false |
| | | this.$message.success('已提交') |
| | | this.bsm3Dia = false; |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e=>{ |
| | | this.saveLoad = false |
| | | }) |
| | |
| | | this.$message.success('提交成功') |
| | | this.upLoad = false |
| | | this.issuedDialogVisible = false |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }).catch(e => { |
| | | this.$message.error('提交失败') |
| | | this.upLoad = false |
| | |
| | | state: 2, |
| | | id: this.currentId, |
| | | tell: this.tell |
| | | }, { |
| | | headers: { |
| | | 'Content-Type': 'application/json' |
| | | } |
| | | }).then(res => { |
| | | this.noLoading = false; |
| | | this.tell = ''; |
| | | this.$message.success('提交成功') |
| | | this.issuedDialogVisible = false; |
| | | this.goBack() |
| | | this.closeOpenPage() |
| | | }) |
| | | }, |
| | | filterHandler(value, row, column) { |
| | |
| | | }, |
| | | goBack () { |
| | | this.$router.go(-1) |
| | | } |
| | | }, |
| | | closeOpenPage() { |
| | | this.$router.go(-1) |
| | | this.$tab.closeOpenPage() |
| | | }, |
| | | } |
| | | } |
| | | </script> |