浏览代码

出入库调拨修改

wengyuwen 4 年之前
父节点
当前提交
e0ab525752

+ 3 - 0
src/views/warehouseBusiness/inStock/index.vue

@@ -4373,6 +4373,8 @@ export default {
         }
         this.kqhouseOptions = response.data.warehouseAreas;
         this.warehouseDrList = response.data.warehousebillsfeesDr;
+        console.log(this.businessTypeOption)
+        console.log(this.warehouseDrList)
         for (let dr in this.warehouseDrList) {
           this.$set(this.warehouseDrList[dr], "fFeeUnitid", this.warehouseDrList[dr].fFeeunitid + "");
           this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
@@ -4383,6 +4385,7 @@ export default {
           this.$set(this.warehouseCrList[cr], "fFeeUnitid", this.warehouseCrList[cr].fFeeunitid + "");
         }
         this.userOptions = response.data.sysUser;
+        this.warehouseDrList[0].fBusinessType = this.form.fBusinessType
         this.open = true;
         this.title = "修改仓入库";
       });

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

@@ -3184,6 +3184,7 @@ export default {
             this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
           }
           this.warehouseCrList = response.data.warehousebillsfeesCr;
+          console.log("zhangs1")
           for (let cr in this.warehouseCrList) {
             this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
           }
@@ -4008,6 +4009,9 @@ export default {
         this.warehouseCrList = response.data.warehousebillsfeesCr;
         for (let cr in this.warehouseCrList) {
           this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
+          this.$set(this.warehouseDrList[cr], "fBusinessType", this.warehouseDrList[cr].fBusinessType + "");
+
+          console.log(this.warehouseDrList[cr].fBusinessType)
         }
         this.userOptions = response.data.sysUser;
         this.open = true;

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

@@ -471,9 +471,6 @@
               </el-select>
             </el-form-item>
           </el-col>
-
-        </el-row>
-        <el-row>
           <el-col :span="8">
             <el-form-item label="单据编号" prop="fBillno">
               <el-input
@@ -639,11 +636,13 @@
               <el-select
                 style="width: 80%"
                 v-model="form.fLabour"
+                @keyup.enter.native="handleQuery"
                 :remote-method="flabourRemoteMethod"
-                filterable
                 remote
+                filterable
                 :disabled="contrOl"
-                placeholder="请输入劳务公司">
+                placeholder="请输入劳务公司"
+              >
                 <el-option
                   v-for="(dict, index) in fCompanyOptIons"
                   :key="index.fId"
@@ -2684,7 +2683,6 @@ export default {
       this.fleetOptions = response.data;
     });
     treeselect().then(response => {
-      console.log(response)
       this.warehouseOptions = response.data
     })
     this.warehousesssMethod()
@@ -3351,6 +3349,15 @@ export default {
     },
     /** 查询仓库主(出入库)列表 */
     getList() {
+      let queryParams = { pageNum: 1, pageSize: 10, fTypeid: 6}
+      listCorps(queryParams).then((response) => {
+        this.fCompanyOptIons = response.rows;
+      });
+      let params = { pageNum: 1, pageSize: 10, fTypeid: 2}
+      listCorps(params).then((response) => {
+        console.log(response)
+        this.fleetOptions = response.rows;
+      });
       this.loading = true;
       getStockTransferList(this.queryParams).then((response) => {
         this.warehousebillsList = response.rows;