Explorar o código

名称取部门里面的name

yijing hai 1 ano
pai
achega
9eda58acb2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         });