Commit 00f8a2a95ded897d4bc67adec571eca6d058919c

Authored by
1 parent 61d21c38

fix: 系统配置新增bug修改

src/views/project/config/CreateModal.vue
... ... @@ -108,15 +108,18 @@
108 108 span: 24,
109 109 },
110 110 },
111   - {
112   - field: 'relationName',
113   - component: 'Input',
114   - label: '客户名称',
115   - rules: [{ required: true }],
116   - colProps: {
117   - span: 24,
118   - },
119   - },
  111 + // 只在客户公司页面显示“客户名称”
  112 + ...(props.column === 10
  113 + ? [{
  114 + field: 'relationName',
  115 + component: 'Input',
  116 + label: '客户名称',
  117 + rules: [{ required: true }],
  118 + colProps: {
  119 + span: 24,
  120 + },
  121 + }]
  122 + : []),
120 123 ],
121 124 showActionButtonGroup: false,
122 125 actionColOptions: {
... ...