| | |
| | | } from "@/api/productManage/silkRegisterForm.js"; |
| | | import { |
| | | getCheckDetails, |
| | | saveCheck |
| | | saveCheck, |
| | | getNewCheckDetails |
| | | } from "@/api/productManage/silkInspectForm.js"; |
| | | import pageMixin from "@/components/makepager/pager/mixin/pageMixin"; |
| | | //import CommonFormTableView from "@/components/makepager/CommonFormTableView"; |
| | |
| | | marketProcessOrderNumber: "", |
| | | inspector: "", |
| | | }; |
| | | if (this.inspectID) { |
| | | getCheckDetails({ id: id ? id : this.inspectID }).then((response) => { |
| | | if (this.registerId) { |
| | | getNewCheckDetails({ id: id ? id : this.registerId }).then((response) => { |
| | | if (response.code === 200) { |
| | | let config = JSON.parse( |
| | | JSON.stringify(response.data.info ? response.data.info : {}) |
| | |
| | | // } else { |
| | | // this.is_public = false |
| | | // } |
| | | this.$router.push({ |
| | | /*this.$router.push({ |
| | | path: "/productManage/silkRegisterForm/addPage", |
| | | query: { |
| | | activeName: this.activeName, |
| | | inspectID: this.inspectID, |
| | | id: this.registerId, |
| | | title:this.title |
| | | title:this.title |
| | | }, |
| | | }); |
| | | });*/ |
| | | this.getDetailsData(); |
| | | this.keyword = ""; |
| | | }, |
| | |
| | | type: "success", |
| | | }); |
| | | this.activeName = "second" |
| | | this.getDetailsData(); |
| | | // this.$router.push({ |
| | | // path: "/productManage/silkRegisterForm", |
| | | // }); |
| | |
| | | } |
| | | } else { |
| | | console.log("error submit!!"); |
| | | |
| | | return false; |
| | | } |
| | | }); |