| | |
| | | } |
| | | |
| | | 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 () { |
| | | if (this.active == 1) { |
| | | this.$router.go(-1) |
| | | } else { |
| | | this.closeOpenPage() |
| | | } |
| | | }, |
| | | closeOpenPage() { |
| | | this.$router.go(-1) |
| | | } |
| | | this.$tab.closeOpenPage() |
| | | }, |
| | | } |
| | | } |
| | | </script> |