添加:省公司添加省公司名称

This commit is contained in:
wuhui_zzw 2024-02-22 10:29:42 +08:00
parent 8db8328fc5
commit a23d9284a3
2 changed files with 14 additions and 0 deletions

View File

@ -64,6 +64,9 @@
</template>
<!--是否为总部-->
<!--<el-tag v-if="Number(scope.row.is_headquarters) == 1" type="warning" effect="dark" size="small">总部</el-tag>-->
<el-tag v-if="Number(scope.row.agent_type) == 2 && scope.row.province_corporate_name" type="warning" effect="dark" size="small">
{{ scope.row.province_corporate_name || '' }}
</el-tag>
</div>
</div>
</div>

View File

@ -53,6 +53,11 @@
<!-- </el-radio-group>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<el-col :span="12" v-if="info.agent_type == 2">
<el-form-item label="省公司名称:">
<el-input v-model="info.province_corporate_name" placeholder="请填写省公司名称" />
</el-form-item>
</el-col>
<!-- 地区选择仅需要的显示 类型1=总部发起人,2=省发起人,3=省公司外勤,4=省公司内勤,5=区县运营商,6=区县合伙人,7=餐厅,8=配送商 && info.is_headquarters == 0-->
<el-col :span="24" v-if="['5','6','7'].includes(String(info.agent_type))">
<el-form-item label="地区:">
@ -185,6 +190,11 @@
<!-- </el-radio-group>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<el-col :span="12" v-if="children_list[index].agent_type == 2">
<el-form-item label="省公司名称:">
<el-input v-model="children_list[index].province_corporate_name" placeholder="请填写省公司名称" />
</el-form-item>
</el-col>
<!-- 仅总部发起人显示 -->
<el-col :span="12" v-if="children_list[index].agent_type == 1">
<el-form-item label="股份:" prop="agent_stock">
@ -602,6 +612,7 @@ export default {
mer_id: '',
mer_id_list: [],
user: item,
province_corporate_name: '',
};
this.children_list = Object.assign({}, this.children_list);
}