Commit 373302de authored by zhengke's avatar zhengke

修改

parent e39e00ea
<template>
<div class="fxDistribution PdistributorLevel">
<div class="head-title">
粉象返佣等级
粉象分销等级
<el-button @click="AddDig" style="float:right;margin-top: -5px;" size="small" type="primary">
新增
</el-button>
......@@ -146,6 +146,23 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="年份">
<el-select v-model="addMsg.Year" placeholder="请选择">
<el-option label="1" :value="1"></el-option>
<el-option label="2" :value="2"></el-option>
<el-option label="3" :value="3"></el-option>
<el-option label="4" :value="4"></el-option>
<el-option label="5" :value="5"></el-option>
<el-option label="6" :value="6"></el-option>
<el-option label="7" :value="7"></el-option>
<el-option label="8" :value="8"></el-option>
<el-option label="9" :value="9"></el-option>
<el-option label="10" :value="10"></el-option>
</el-select>
<span></span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="是否可以升级">
<el-select v-model="addMsg.IsUpgrade" placeholder="请选择">
......@@ -154,6 +171,8 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="小数类型">
<el-select v-model="addMsg.DecimalType" placeholder="请选择">
......@@ -162,8 +181,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="升级所需下级等级">
<el-select v-model="addMsg.UpgradeId" placeholder="请选择">
......@@ -172,12 +189,16 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="升级所需下级等级数量">
<el-input v-model="addMsg.UpgradeNum" style="width:218px;"
@keyup.native="checkInteger(addMsg,'UpgradeNum')"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
</el-col>
</el-row>
<el-row>
<el-col :span="24">
......@@ -239,7 +260,8 @@
UpgradeNum: 0, //升级所需下级等级数量
UpgradeId: 1, //升序所需下级等级id
DecimalType:1, //小数类型
Description:'' //描述
Description:'', //描述
Year:1 //年份
},
//分销商选择等级
numList: [],
......@@ -292,7 +314,6 @@
}
})
})
}
})
},
......@@ -324,7 +345,8 @@
UpgradeNum: 0, //升级所需下级等级数量
UpgradeId: 1, //升序所需下级等级id
DecimalType:1, //小数类型
Description:'' //描述
Description:'', //描述
Year:1 //年份
}
},
//修改
......@@ -359,6 +381,7 @@
if (valid) {
this.apipost("/api/user/SetFXDistributorGradeInfo", this.addMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getList();
this.dialogVisible = false;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment