| | |
| | | </template> |
| | | </zt-dialog> |
| | | </template> |
| | | |
| | | <add-or-update ref="addOrUpdate" @refreshDataList="getQuery()"/> |
| | | <script> |
| | | import qs from "qs"; |
| | | import Cookies from "js-cookie"; |
| | | import AddOrUpdate from '../configItemWarehouse/ConfigItemWarehouse-AddOrUpdate' |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | flowInfoDto: {} |
| | | } |
| | | } |
| | | }, |
| | | components: { |
| | | AddOrUpdate |
| | | }, |
| | | computed:{ |
| | | getRoleName(){ |
| | |
| | | this.dataForm.flowInfoDto = flowInfo; |
| | | } |
| | | let res = await this.$http[!this.dataForm.id ? 'post' : 'put']('/itemCirculatOrder/ItemCirculatOrder/', this.dataForm) |
| | | if(this.stepMarker==='wplz_wprk'){ |
| | | /* alert(this.dataForm.projectId)*/ |
| | | this.$nextTick(()=>{ |
| | | this.$refs.addOrUpdate.$refs.dialog.init(null, {id: null, projectId: this.dataForm.projectId, libraryType: '1'}) |
| | | }) |
| | | } |
| | | if (res.success) { |
| | | /* if (submitType == 'tj') { |
| | | console.log(res, 'bbbb') |