@@ -31,10 +31,11 @@ export default function useColumns() {
is: "el-input-number",
clearable: true,
min: 1,
- max: (prop) => {
- let { ways } = prop;
- return ways === 'ZJH' ? 7 : 12
- },
+ max: 7,
+ // max: (prop) => {
+ // let { ways } = prop;
+ // return ways === 'ZJH' ? 7 : 12
+ // },
}
},
{
@@ -97,7 +97,6 @@ export default {
v-model="scope.row[scope.item.key]"
:size="$attrs.size"
:source.sync="scope.row"
- :max="scope.attr.max(scope.row)"
@input="changeDeadline(scope.row)"
>
</component>