Kaynağa Gözat

咨询成交商品池增加筛选事件,以及增加搜索字段

lucky 2 yıl önce
ebeveyn
işleme
716f8e17b7
1 değiştirilmiş dosya ile 16 ekleme ve 2 silme
  1. 16 2
      src/views/goodStore/dealGoodsPool/index.vue

+ 16 - 2
src/views/goodStore/dealGoodsPool/index.vue

@@ -39,18 +39,28 @@
               <el-input
               <el-input
                 :size="searchSize"
                 :size="searchSize"
                 style="100%"
                 style="100%"
-                v-model="parmValue.good_code"
+                v-model="parmValue.spuCode"
                 :maxlength="40"
                 :maxlength="40"
                 placeholder="商品编码"
                 placeholder="商品编码"
+                @blur="
+                  pageInfo.curr = 1;
+                  parmValue.page = 1;
+                  searchList();
+                "
               ></el-input>
               ></el-input>
             </el-col>
             </el-col>
             <el-col :span="6" style="width: 280px; padding: 0 0 0 10px">
             <el-col :span="6" style="width: 280px; padding: 0 0 0 10px">
               <el-input
               <el-input
                 :size="searchSize"
                 :size="searchSize"
                 style="100%"
                 style="100%"
-                v-model="parmValue.supplier_name"
+                v-model="parmValue.good_name"
                 :maxlength="40"
                 :maxlength="40"
                 placeholder="商品名称"
                 placeholder="商品名称"
+                @blur="
+                  pageInfo.curr = 1;
+                  parmValue.page = 1;
+                  searchList();
+                "
               ></el-input>
               ></el-input>
             </el-col>
             </el-col>
             <el-col
             <el-col
@@ -256,6 +266,8 @@ export default {
         end: "",
         end: "",
         status: "",
         status: "",
         creater: "",
         creater: "",
+        spuCode:"",
+        good_name:""
       },
       },
 
 
       // 表格 - 数据
       // 表格 - 数据
@@ -327,6 +339,8 @@ export default {
         end: "",
         end: "",
         status: "",
         status: "",
         creater: "",
         creater: "",
+        spuCode:"",
+        good_name:""
       };
       };
       this.searchList();
       this.searchList();
     },
     },