浏览代码

入库回显

wengyuwen 4 年之前
父节点
当前提交
d2eb5302b1
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      src/views/warehouseBusiness/inStock/index.vue

+ 6 - 5
src/views/warehouseBusiness/inStock/index.vue

@@ -655,7 +655,7 @@
                 :disabled="contrOl"
                 placeholder="请输入劳务公司">
                 <el-option
-                  v-for="(dict, index) in fSbuOptions"
+                  v-for="(dict, index) in fLabourOptions"
                   :key="index.fId"
                   :label="dict.fName"
                   :value="dict.fId"
@@ -681,7 +681,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"
@@ -2967,6 +2967,8 @@ export default {
   },
   data() {
     return {
+      fLabourOptions:[],
+      fLeetOptions:[],
       information:'',
       informationId:'',
       inDex:'',
@@ -4210,7 +4212,6 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd(status) {
-      this.changefLourd()
       this.reset()
       this.form = {
           fItemsStatus: null,
@@ -4995,7 +4996,7 @@ export default {
       let queryParams = { pageNum: 1, pageSize: 10, fName: name, fTypeid: 6};
       listCorps(queryParams).then((response) => {
         console.log(response)
-        this.fSbuOptions = response.rows;
+        this.fLabourOptions = response.rows;
       });
     },
     /* 远程模糊查询车队 */
@@ -5005,7 +5006,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;
       });
     },
     /* 远程模糊查询经营单位 */