|
@@ -20,7 +20,7 @@
|
|
|
<a-form-model-item label="价格级别" prop="priceLevel">
|
|
|
<v-select
|
|
|
code="PRICE_LEVEL"
|
|
|
- style="width: 50%;"
|
|
|
+ :notIn="notArr"
|
|
|
id="productPriceLevel-level"
|
|
|
v-model="form.priceLevel"
|
|
|
allowClear
|
|
@@ -60,6 +60,7 @@ export default {
|
|
|
labelCol: { span: 4 },
|
|
|
wrapperCol: { span: 18 }
|
|
|
},
|
|
|
+ notArr: [],
|
|
|
form: {
|
|
|
priceLevel: undefined // 价格级别
|
|
|
},
|
|
@@ -95,6 +96,12 @@ export default {
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
this.$emit('close')
|
|
|
} else {
|
|
|
+ // 特约经销商 价格级别不能修改 省、市经销商时,不能选择特约价
|
|
|
+ if (this.$route.params.dealerLevel === 'SPECIAL') {
|
|
|
+ this.form.priceLevel = 'SPECIAL'
|
|
|
+ } else {
|
|
|
+ this.notArr = ['SPECIAL']
|
|
|
+ }
|
|
|
this.form.priceLevel = this.priceLevelVal ? this.priceLevelVal : undefined
|
|
|
}
|
|
|
}
|
|
@@ -105,7 +112,7 @@ export default {
|
|
|
<style lang="less" scoped>
|
|
|
.chooseType-modal{
|
|
|
.fontRed{
|
|
|
- margin:15px 0 0 16%;
|
|
|
+ margin:15px 0 0 4%;
|
|
|
color:#ed1c24;
|
|
|
}
|
|
|
.ant-modal-body {
|