jinlin
2024-01-15 ab888a5c9fcb6df31b159a222dbfdb2418019aa6
web/src/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate.vue
@@ -257,10 +257,11 @@
    </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() {
@@ -303,6 +304,9 @@
          flowInfoDto: {}
        }
      }
    },
    components: {
      AddOrUpdate
    },
    computed:{
      getRoleName(){
@@ -390,6 +394,12 @@
          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')