浏览代码

负责人Id

zhuxinbo 5 年之前
父节点
当前提交
98f7a23f8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/modules/advertiser/modules/ProjectModal.vue

+ 1 - 1
src/views/modules/advertiser/modules/ProjectModal.vue

@@ -147,7 +147,7 @@ export default {
           //时间格式化
           formData.advertiserId = data.key
           formData.advertiserName = data.label
-          formData.responsibleId = that.resId
+          formData.responsibleId = that.resId == '' ? that.userInfo().id : that.resId
           formData.userId = that.userInfo().id
           httpAction(httpurl, formData, method)
             .then(res => {