Sfoglia il codice sorgente

名称取部门里面的name

yijing 1 anno fa
parent
commit
9eda58acb2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/bpm/outgoingManagement/outbound.vue

+ 1 - 1
src/views/bpm/outgoingManagement/outbound.vue

@@ -643,9 +643,9 @@ export default {
       }
       if (this.form.createUserId) {
         this.formData.fromId = this.form.createUserId;
-        this.formData.fromUser = this.form.createUserName;
         warehouseDefinition.getGroupById(this.form.createUserId).then((res) => {
           console.log(res, 'createUserId')
+          this.$set(this.formData, 'fromUser', res.name);
           this.$set(this.formData.extInfo, 'verifyDeptCode', res.groupId);
           this.$set(this.formData.extInfo, 'verifyDeptName', res.groupName);
         });