背景
cascader组件回显问题
代码
<el-cascader
:clearable="true"
:disabled="isOnlyChecked || !handlerSelectCustomerFlag"
v-model="NewFrom.specialPrice"
@change="changeInvoiceRulesValue"
:options="options"
></el-cascader>
options: [
{
label: that.$t('semsVue.orderCenter.AGREEMENT_PRICE'),
leaf: true,
value: 1
},
{
label: that.$t('semsVue.CUSTOM_PRICE'),
leaf: true,
value: 2
},
{
label: that.$t('semsVue.CostPriceList.apecialPrice'),
leaf: false,
value: 3
}
],
NewFrom:{
specialPrice: [1], //Invoi