ysy 2 年之前
父節點
當前提交
1cafdc20d3

+ 4 - 4
src/views/material/product/components/MaterialAdd.vue

@@ -205,12 +205,12 @@ export default {
           label: '型号'
         },
         {
-          prop: 'measuringUnit',
-          label: '量单位'
+          prop: 'weightUnit',
+          label: '量单位'
         },
         {
-          prop: 'packingUnit',
-          label: '包装单位'
+          prop: 'netWeight',
+          label: '净重'
         },
 
         {

+ 11 - 12
src/views/material/product/components/MaterialModal.vue

@@ -106,7 +106,7 @@
                     </el-col>
 
 
-             
+
 
                 </el-row>
 
@@ -137,12 +137,11 @@
                 </el-row>
 
                 <el-row class="rx-cc">
-                    <el-button size="small" type="danger" icon="el-icon-delete" @click="removeBom(index)"
-                            >删除</el-button>
+                    <el-button size="small" type="danger" icon="el-icon-delete" @click="removeBom(index)">删除</el-button>
 
-                        <el-button type="primary" size="small" @click="save">
-                            保存
-                        </el-button>
+                    <el-button type="primary" size="small" @click="save">
+                        保存
+                    </el-button>
                 </el-row>
             </el-card>
 
@@ -245,12 +244,12 @@ export default {
                     label: '型号'
                 },
                 {
-                    prop: 'measuringUnit',
-                    label: '量单位'
+                    prop: 'weightUnit',
+                    label: '量单位'
                 },
                 {
-                    prop: 'packingUnit',
-                    label: '包装单位'
+                    prop: 'netWeight',
+                    label: '净重'
                 },
 
                 {
@@ -328,12 +327,12 @@ export default {
                 pageNum: 1,
                 size: 100
             });
- 
+
             this.versionList = res.list
         },
 
         handleAdd() {
-         this.materialShow = true
+            this.materialShow = true
         },
 
         removeBom(index) {