|
@@ -87,19 +87,7 @@
|
|
|
"></el-input>
|
|
"></el-input>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- <template v-slot:netWeight="{ row }">
|
|
|
|
|
- <el-input v-model="row.netWeight" placeholder="请输入" @input="(value) =>
|
|
|
|
|
- (row.netWeight = value.replace(
|
|
|
|
|
- /^(-)*(\d+)\.(\d\d\d\d\d\d).*$/,
|
|
|
|
|
- '$1$2.$3'
|
|
|
|
|
- ))
|
|
|
|
|
- "></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
|
|
|
- <template v-slot:weightUnit="{ row }">
|
|
|
|
|
- <DictSelection dictName="重量单位" v-model="row.weightUnit"></DictSelection>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
|
|
|
<template v-slot:categoryName="{ row, $index }">
|
|
<template v-slot:categoryName="{ row, $index }">
|
|
|
<el-input :value="row.categoryName" placeholder="请选择"
|
|
<el-input :value="row.categoryName" placeholder="请选择"
|
|
@@ -243,21 +231,12 @@ export default {
|
|
|
action: 'count'
|
|
action: 'count'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '计量单位',
|
|
|
|
|
|
|
+ label: '单位',
|
|
|
slot: 'unit',
|
|
slot: 'unit',
|
|
|
action: 'unit'
|
|
action: 'unit'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- {
|
|
|
|
|
- label: '重量',
|
|
|
|
|
- slot: 'netWeight',
|
|
|
|
|
- action: 'netWeight'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '重量单位',
|
|
|
|
|
- slot: 'weightUnit',
|
|
|
|
|
- action: 'weightUnit'
|
|
|
|
|
- },
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
action: 'action',
|
|
action: 'action',
|