Pārlūkot izejas kodu

客户、仓库组件增加查询

lichao 3 gadi atpakaļ
vecāks
revīzija
bade746a83

+ 7 - 7
src/components/selectComponent/configuration/mainList.json

@@ -6,7 +6,7 @@
     "searchMenuSpan": 6,
     "dialogWidth": "60%",
     "searchShowBtn": false,
-    "searchShow": false,
+    "searchShow": true,
     "menu": false,
     "addBtn": false,
     "tree": true,
@@ -22,7 +22,7 @@
         {
             "label": "客户编码",
             "prop": "code",
-            "search": true,
+            "search": false,
             "index": 1,
             "width":100,
             "rules": [
@@ -48,7 +48,7 @@
         },{
             "label": "区域",
             "prop": "belongtoarea",
-            "search": true,
+            "search": false,
             "index": 4,
             "width":180,
             "rules": [
@@ -61,7 +61,7 @@
         },{
             "label": "所属公司",
             "prop": "belongtocompany",
-            "search": true,
+            "search": false,
             "index": 5,
             "width":100,
             "rules": [
@@ -74,7 +74,7 @@
         },{
             "label": "联系人",
             "prop": "attn",
-            "search": true,
+            "search": false,
             "index": 6,
             "width":100,
             "rules": [
@@ -87,7 +87,7 @@
         },{
             "label": "代理品牌",
             "prop": "goodtypes",
-            "search": true,
+            "search": false,
             "index": 7,
             "width":100,
             "rules": [
@@ -100,7 +100,7 @@
         },{
             "label": "客户等级 ",
             "prop": "creditLevel",
-            "search": true,
+            "search": false,
             "index": 8,
             "width":100,
             "rules": [

+ 1 - 1
src/components/selectComponent/customerSelect.vue

@@ -130,7 +130,7 @@ export default {
     }
   },
   created() {
-    this.option.searchShow = this.configuration.searchShow ? this.configuration.searchShow : false
+    // this.option.searchShow = this.configuration.searchShow ? this.configuration.searchShow : false
     this.remoteMethod()
   },
   methods: {

+ 7 - 7
src/components/warehouseSelect/configuration/mainList.json

@@ -6,7 +6,7 @@
   "searchMenuSpan": 6,
   "dialogWidth": "60%",
   "searchShowBtn": false,
-  "searchShow": false,
+  "searchShow": true,
   "menu": false,
   "addBtn": false,
   "tree": true,
@@ -22,7 +22,7 @@
     {
       "label": "库区编码",
       "prop": "code",
-      "search": true,
+      "search": false,
       "index": 1,
       "width": 100,
       "rules": [
@@ -50,7 +50,7 @@
     {
       "label": "地址",
       "prop": "addr",
-      "search": true,
+      "search": false,
       "index": 3,
       "width": 100,
       "rules": [
@@ -64,7 +64,7 @@
     {
       "label": "联系人",
       "prop": "attn",
-      "search": true,
+      "search": false,
       "index": 4,
       "width": 100,
       "rules": [{
@@ -76,7 +76,7 @@
     {
       "label": "电话",
       "prop": "tel",
-      "search": true,
+      "search": false,
       "index": 5,
       "width": 100,
       "rules": [{
@@ -88,7 +88,7 @@
     {
       "label": "是否计费",
       "prop": "iffee",
-      "search": true,
+      "search": false,
       "index": 6,
       "width": 100,
       "rules": [{
@@ -100,7 +100,7 @@
     {
       "label": "库容",
       "prop": "storageCapacity",
-      "search": true,
+      "search": false,
       "index": 7,
       "width": 100,
       "rules": [{

+ 1 - 1
src/components/warehouseSelect/index.vue

@@ -131,7 +131,7 @@ export default {
     }
   },
   created() {
-    this.option.searchShow = this.configuration.searchShow ? this.configuration.searchShow : false
+    // this.option.searchShow = this.configuration.searchShow ? this.configuration.searchShow : false
     this.remoteMethod()
   },
   methods: {