|
|
@@ -209,13 +209,13 @@
|
|
|
</template>
|
|
|
<template v-else-if="column.prop === 'weight'">
|
|
|
<el-input
|
|
|
- type="number"
|
|
|
v-model="scope.row.weight"
|
|
|
:disabled="status"
|
|
|
+ oninput="value = value.replace(/[^\d.]/g, '')"
|
|
|
:min="0"
|
|
|
@input="inputWeight(scope.row, scope.$index)"
|
|
|
- v-direction="{ x: 3, y: scope.$index }"
|
|
|
size="mini"
|
|
|
+ v-direction="{ x: 3, y: scope.$index }"
|
|
|
></el-input>
|
|
|
</template>
|
|
|
<template v-else>
|