|
@@ -76,6 +76,11 @@
|
|
|
{{ $index }}
|
|
{{ $index }}
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
+ <template v-slot:unit="{ row }">
|
|
|
|
|
+ {{ row.unit }}
|
|
|
|
|
+ </template>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<template v-slot:demandQuantity="{ row }">
|
|
<template v-slot:demandQuantity="{ row }">
|
|
|
<el-input v-model="row.demandQuantity" placeholder="请输入" @input="(value) =>
|
|
<el-input v-model="row.demandQuantity" placeholder="请输入" @input="(value) =>
|
|
|
(row.demandQuantity = value.replace(
|
|
(row.demandQuantity = value.replace(
|
|
@@ -333,21 +338,21 @@ export default {
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
- prop: 'measuringUnit',
|
|
|
|
|
- label: '计量单位',
|
|
|
|
|
|
|
+ prop: 'inventoryQuantity',
|
|
|
|
|
+ label: '库存',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
- prop: 'weightUnit',
|
|
|
|
|
- label: '重量单位',
|
|
|
|
|
|
|
+ prop: 'unit',
|
|
|
|
|
+ label: '计量单位',
|
|
|
showOverflowTooltip: true,
|
|
showOverflowTooltip: true,
|
|
|
-
|
|
|
|
|
|
|
+ action: 'unit',
|
|
|
|
|
+ slot: 'unit',
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '需求数量',
|
|
label: '需求数量',
|
|
|
slot: 'demandQuantity',
|
|
slot: 'demandQuantity',
|