Browse Source

花店 花材列表

shish 5 years ago
parent
commit
cb75b91648
2 changed files with 5 additions and 25 deletions
  1. 4 3
      hd/src/components/module/item-list-layer.vue
  2. 1 22
      hd/src/views/item/list.vue

+ 4 - 3
hd/src/components/module/item-list-layer.vue

@@ -37,8 +37,9 @@
         </x-crud>
       </el-checkbox-group>
 
-      <div>      
-        <el-select v-model="sonClassName" size="small" placeholder="请选择分类" @change="selClassFn">
+      <div>
+        <span>花材分类:</span>
+        <el-select style="width:300px;" v-model="sonClassName" size="small" placeholder="请选择分类" @change="selClassFn">
           <el-option v-for="(item, index) in itemClassList" :key="index" :value="item.name">{{ item.name }}</el-option>
         </el-select>
       </div>
@@ -113,7 +114,7 @@ export default {
         return false
       }
       if(this.classId == 0){
-        this.$message.warning('请选择花材')
+        this.$message.warning('请选择分类')
         return false
       }
       this.$emit('confirm', {list:this.checkList,classId:this.sonClassId})

+ 1 - 22
hd/src/views/item/list.vue

@@ -34,27 +34,6 @@
         <span>{{ scope.row.goodsName }}</span>
       </template>
 
-      <template #table-header-addPrice>
-        <div class="set-sort">
-          <span>每扎加价</span>
-          <el-button
-            v-if="!sort.status"
-            icon="el-icon-edit-outline"
-            size="small"
-            type="text"
-            @click="showSort"
-            class="show"
-          ></el-button>
-          <el-button
-            class="hide"
-            v-else
-            size="mini"
-            @click="hideSort"
-            type="primary"
-          >完成</el-button>
-        </div>
-      </template>
-
       <template #table-column-unit="{scope}">
         <span>{{ scope.row.bigUnit }} / {{scope.row.smallUnit}}</span>
       </template>
@@ -227,7 +206,7 @@ export default {
               prop: 'addPrice',
               label: '每扎加价',
               align: 'center',
-              'min-width': 150
+              'min-width': 100
             },
             {
               prop: 'weight',