Commit 56e7eb27 by zhangxw

绩效配置,选择产品添加清除选择

1 parent c1e6d617
......@@ -53,7 +53,7 @@
<el-cascader style="width: 136px" :ref="`cascader${colIndex}`" :options="v.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList" filterable
v-model="v['productType']"
@visible-change="handleVisibleChange($event, colIndex)" aria-hidden="false"
@change="changeGoodsType($event, colIndex)"
@change="changeGoodsType($event, colIndex)" clearable
:props="{ checkStrictly: true, expandTrigger: 'hover', label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-form-item>
......
......@@ -15,7 +15,7 @@
<template slot-scope="scope">
<el-form-item :prop="`campusList[${scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader style="width: 160px" :options="scope.row.productTypeFocus ? productGoodsTypeList : baseData.goodsTypeList" filterable
v-model="scope.row['productType']"
v-model="scope.row['productType']" clearable
@change="changeGoodsType($event, subIndex, scope.$index, 'productType')" aria-hidden="false"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'productType')"
:props="{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
......@@ -70,7 +70,7 @@
<el-form-item :prop="`campusList[${scope.$index}].conditionProductType`" :rules="rules.conditionProductType" label-width="0">
<el-cascader style="width: 160px" :options="scope.row.conditionProductTypeFocus ? conditionProductGoodsTypeList : baseData.goodsTypeList" filterable v-model="scope.row['conditionProductType']"
@change="changeGoodsType($event, subIndex, scope.$index, 'conditionProductType')" aria-hidden="false"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'conditionProductType')"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'conditionProductType')" clearable
:props="{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-form-item>
......@@ -111,7 +111,7 @@
<el-form-item :prop="`fixedList[${scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader style="width: 160px" :options="scope.row.focusFlag ? fixedGoodsTypeList : baseData.goodsTypeList" filterable v-model="scope.row['productType']"
@change="changeGoodsType($event, subIndex, scope.$index, 'productType', 'fixedList')" aria-hidden="false"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'fixedProductType')"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'fixedProductType')" clearable
:props="{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-form-item>
......@@ -149,7 +149,7 @@
<el-form-item :prop="`customerList[${scope.$index}].productType`" :rules="rules.productType" label-width="0">
<el-cascader style="width: 160px" :options="scope.row.focusFlag ? customerGoodsTypeList : baseData.goodsTypeList" filterable v-model="scope.row['productType']"
@change="changeGoodsType($event, subIndex, scope.$index, 'productType', 'customerList')" aria-hidden="false"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'cusProductType')"
@visible-change="handleVisibleChange($event, subIndex, scope.$index, 'cusProductType')" clearable
:props="{ checkStrictly: true, label: 'categoryName', value: 'categoryType' }" :show-all-levels="false">
</el-cascader>
</el-form-item>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!