|
@@ -50,7 +50,7 @@
|
|
|
<el-row>
|
|
|
<el-col :xs="24" :sm="12" :lg="12" :span="6">
|
|
|
<el-form-item label="业务分类:" prop="businessCate" label-width="140px" class="postInfo-container-item">
|
|
|
- <el-select clearable v-model="declareForm.commissionRateId" placeholder="请选择业务分类" style="width: 92%;"
|
|
|
+ <el-select clearable v-model="declareForm.commissionRateId" placeholder="请选择业务分类" style="width: 80%;"
|
|
|
:disabled="!nodeBusinessInfo.currentNodeCode == 'DEPARTMENT_LEADER_CHECK'">
|
|
|
<el-option v-for="(c, id) in cates" :value="c.id" :label="c.name">{{ c.name }}</el-option>
|
|
|
</el-select>
|
|
@@ -237,13 +237,13 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getMajorMarketCate() {
|
|
|
- this.$api.businessCommissionRate.cateList("BUSINESS_MAJOR", "MARKETER").then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.cates = res.data;
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
+ // getMajorMarketCate() {
|
|
|
+ // this.$api.businessCommissionRate.cateList("BUSINESS_MAJOR", "MARKETER").then(res => {
|
|
|
+ // if (res.code === 200) {
|
|
|
+ // this.cates = res.data;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // },
|
|
|
getDeclareDetail() {
|
|
|
this.$api.commissonDeclare.detail(this.businessId).then(res => {
|
|
|
if (res.code === 200) {
|
|
@@ -263,7 +263,7 @@ export default {
|
|
|
this.$refs.board.commit(state);
|
|
|
},
|
|
|
getMajorMarketCate() {
|
|
|
- this.$api.businessCommissionRate.cateList("MAJOR_BUSINESS", "MARKETER").then(res => {
|
|
|
+ this.$api.businessCommissionRate.cateList("MAJOR_BUSINESS", this.nodeBusinessInfo.mainBusiness === 'COMMISSION_DECLARE_MAJOR_EVALUATE' ? 'EVALUATOR' : 'MARKETER').then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.cates = res.data;
|
|
|
}
|