浏览代码

出库回显

wengyuwen 4 年之前
父节点
当前提交
45f83b19b4
共有 2 个文件被更改,包括 12 次插入8 次删除
  1. 6 4
      src/views/warehouseBusiness/outStock/index.vue
  2. 6 4
      src/views/warehouseBusiness/stockTransfer/index.vue

+ 6 - 4
src/views/warehouseBusiness/outStock/index.vue

@@ -617,7 +617,7 @@
                 placeholder="请输入劳务公司"
               >
                 <el-option
-                  v-for="(dict, index) in fSbuOptions"
+                  v-for="(dict, index) in flabourOptions"
                   :key="index.fId"
                   :label="dict.fName"
                   :value="dict.fId"
@@ -644,7 +644,7 @@
                 placeholder="请输入车队"
               >
                 <el-option
-                  v-for="(dict, index) in fSbuOptions"
+                  v-for="(dict, index) in fleetOptions"
                   :key="index.fId"
                   :label="dict.fName"
                   :value="dict.fId"
@@ -2727,6 +2727,8 @@ export default {
   },
   data() {
     return {
+      flabourOptions:[],
+      fleetOptions:[],
       activeIndex: '1',
       activeIndex2: '1',
       //控制选择库位弹出
@@ -4677,7 +4679,7 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 6 };
       listCorps(queryParams).then((response) => {
-        this.fSbuOptions = response.rows;
+        this.flabourOptions = response.rows;
       });
     },
     /* 远程模糊查询车队 */
@@ -4687,7 +4689,7 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 2 };
       listCorps(queryParams).then((response) => {
-        this.fSbuOptions = response.rows;
+        this.fleetOptions = response.rows;
       });
     },
     /* 远程模糊查询商品 */

+ 6 - 4
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -644,7 +644,7 @@
                 placeholder="请输入劳务公司"
               >
                 <el-option
-                  v-for="(dict, index) in fMblnoOptions"
+                  v-for="(dict, index) in flabourOptions"
                   :key="index.fId"
                   :label="dict.fName"
                   :value="dict.fId"
@@ -669,7 +669,7 @@
                 placeholder="请输入车队"
               >
                 <el-option
-                  v-for="(dict, index) in fMblnoOptions"
+                  v-for="(dict, index) in fleetOptions"
                   :key="index.fId"
                   :label="dict.fName"
                   :value="dict.fId"
@@ -2378,6 +2378,8 @@ export default {
   },
   data() {
     return {
+      flabourOptions:[],
+      fleetOptions:[],
       activeIndex: '1',
       activeIndex2: '1',
       //控制选择库位弹出
@@ -4374,7 +4376,7 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 6};
       listCorps(queryParams).then((response) => {
-        this.fSbuOptions = response.rows;
+        this.flabourOptions = response.rows;
       });
     },
     /* 远程模糊查询车队 */
@@ -4384,7 +4386,7 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 2 };
       listCorps(queryParams).then((response) => {
-        this.fSbuOptions = response.rows;
+        this.fleetOptions = response.rows;
       });
     },
     /* 远程模糊查询用户 */