Browse Source

重置产品分类bug修复

lilei 4 năm trước cách đây
mục cha
commit
fbb2a7bf13
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/views/productManagement/productInfoJg/list.vue

+ 4 - 1
src/views/productManagement/productInfoJg/list.vue

@@ -23,7 +23,7 @@
             <a-col :md="6" :sm="24">
               <a-form-item label="产品品牌">
                 <a-select
-                  placeholder="请选择"
+                  placeholder="请选择产品品牌"
                   id="productInfoList-productBrandSn"
                   allowClear
                   v-model="queryParam.productBrandSn"
@@ -39,6 +39,7 @@
                 <a-cascader
                   @change="changeProductType"
                   change-on-select
+                  v-model="productType"
                   :options="productTypeList"
                   :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productInfoList-productType"
@@ -105,6 +106,7 @@ export default {
   data () {
     return {
       advanced: false, // 高级搜索 展开/关闭
+      productType: [],
       queryParam: { //  查询条件
         code: '', //  产品编码
         name: '', //  产品名称
@@ -164,6 +166,7 @@ export default {
       this.queryParam.productTypeSn2 = ''
       this.queryParam.productTypeSn3 = ''
       this.queryParam.onlineFalg = undefined
+      this.productType = []
       this.$refs.table.refresh(true)
     },
     filterOption (input, option) {