howie пре 2 година
родитељ
комит
3662183c20
2 измењених фајлова са 9 додато и 6 уклоњено
  1. 3 3
      src/utils/panel.js
  2. 6 3
      src/views/supply/pickup/check.vue

+ 3 - 3
src/utils/panel.js

@@ -11,7 +11,7 @@ export default {
             left: 0,
             top: 25,
             height: 27,
-            width: 656,
+            width: 640,
             field: "company",
             fontSize: 19,
             fontWeight: "600",
@@ -76,7 +76,7 @@ export default {
             top: 55,
             height: 13,
             lineHeight: 13,
-            width: 656,
+            width: 640,
             fontSize: 12.5,
             title: "经销商",
             fontFamily: "黑体,宋体,微软雅黑",
@@ -192,7 +192,7 @@ export default {
             left: 23,
             top: 123,
             height: 410,
-            width: 656,
+            width: 640,
             fontSize: 12.5,
             field: "table",
             fontFamily: "黑体,宋体,微软雅黑",

+ 6 - 3
src/views/supply/pickup/check.vue

@@ -44,7 +44,8 @@
             </el-col>
             <el-col :xs="24" :sm="8" :lg="6">
               <el-form-item label="经销商" prop="customerId">
-                <el-select v-model="screenForm.customerId" v-select-loadmore:[myData]="loadmore"  placeholder="选择经销商" clearable filterable >
+                <!-- v-select-loadmore:[myData]="loadmore" -->
+                <el-select v-model="screenForm.customerId"   placeholder="选择经销商" clearable filterable >
                   <el-option v-for="item in dealerList"
                     :key="item.id"
                     :label="item.name"
@@ -655,8 +656,10 @@ export default {
       return currentdate;
     },
     async getDealerList() {
-      const res = await getDealerList({ pageNum: 30, pageSize: 50 });
-      this.dealerList = [...this.dealerList,...res.data.records];
+      const res = await getDealerList({ pageNum: 1, pageSize: -1 });
+      // this.dealerList = [...this.dealerList,...res.data.records];
+
+      this.dealerList = res.data.records;
       this.listTotal = res.data.total
     },
     loadmore() {