ysy 2 лет назад
Родитель
Сommit
c15453d46d
1 измененных файлов с 2 добавлено и 23 удалено
  1. 2 23
      src/views/material/product/components/MaterialAdd.vue

+ 2 - 23
src/views/material/product/components/MaterialAdd.vue

@@ -87,19 +87,7 @@
                                 "></el-input>
                         </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 }">
                             <el-input :value="row.categoryName" placeholder="请选择"
@@ -243,21 +231,12 @@ export default {
                     action: 'count'
                 },
                 {
-                    label: '计量单位',
+                    label: '单位',
                     slot: 'unit',
                     action: 'unit'
                 },
 
-                {
-                    label: '重量',
-                    slot: 'netWeight',
-                    action: 'netWeight'
-                },
-                {
-                    label: '重量单位',
-                    slot: 'weightUnit',
-                    action: 'weightUnit'
-                },
+  
 
                 {
                     action: 'action',