|  | @@ -462,12 +462,11 @@
 | 
											
												
													
														|  |            <el-col :span="8">
 |  |            <el-col :span="8">
 | 
											
												
													
														|  |              <el-form-item label="仓库" prop="fWarehouseid">
 |  |              <el-form-item label="仓库" prop="fWarehouseid">
 | 
											
												
													
														|  |                <el-select
 |  |                <el-select
 | 
											
												
													
														|  | -                v-model="queryParams.fWarehouseid"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                v-model="form.fWarehouseid"
 | 
											
												
													
														|  |                  filterable
 |  |                  filterable
 | 
											
												
													
														|  |                  remote
 |  |                  remote
 | 
											
												
													
														|  |                  clearable
 |  |                  clearable
 | 
											
												
													
														|  |                  style="width: 80%"
 |  |                  style="width: 80%"
 | 
											
												
													
														|  | -                :remote-method="warehouseRemoteMethod"
 |  | 
 | 
											
												
													
														|  |                  @keyup.enter.native="handleQuery"
 |  |                  @keyup.enter.native="handleQuery"
 | 
											
												
													
														|  |                  placeholder="请输入"
 |  |                  placeholder="请输入"
 | 
											
												
													
														|  |                >
 |  |                >
 | 
											
										
											
												
													
														|  | @@ -1130,7 +1129,18 @@
 | 
											
												
													
														|  |                    />
 |  |                    />
 | 
											
												
													
														|  |                  </template>
 |  |                  </template>
 | 
											
												
													
														|  |                </el-table-column>
 |  |                </el-table-column>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |                <el-table-column
 |  |                <el-table-column
 | 
											
												
													
														|  | 
 |  | +                prop="fWarehouseid"
 | 
											
												
													
														|  | 
 |  | +                header-align="center"
 | 
											
												
													
														|  | 
 |  | +                width="140px"
 | 
											
												
													
														|  | 
 |  | +                align="center"
 | 
											
												
													
														|  | 
 |  | +                label="*库区"
 | 
											
												
													
														|  | 
 |  | +              >
 | 
											
												
													
														|  | 
 |  | +                <treeselect :disabled="browseStatus" style="width:80%" v-model="form.fWarehouseid" :options="warehousesOptions" :show-count="true" placeholder="请选择归属库区" />
 | 
											
												
													
														|  | 
 |  | +              </el-table-column>
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +                <el-table-column
 | 
											
												
													
														|  |                  prop="fWarehouselocid"
 |  |                  prop="fWarehouselocid"
 | 
											
												
													
														|  |                  header-align="center"
 |  |                  header-align="center"
 | 
											
												
													
														|  |                  width="140px"
 |  |                  width="140px"
 | 
											
										
											
												
													
														|  | @@ -3246,9 +3256,12 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      /** 查询部门下拉树结构 */
 |  |      /** 查询部门下拉树结构 */
 | 
											
												
													
														|  |      getTreeselect() {
 |  |      getTreeselect() {
 | 
											
												
													
														|  | -      treeselect().then(response => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      treeselect(this.form.fWarehouseid).then(response => {
 | 
											
												
													
														|  | 
 |  | +        console.log(response)
 | 
											
												
													
														|  |          this.warehousesOptions = response.data;
 |  |          this.warehousesOptions = response.data;
 | 
											
												
													
														|  | 
 |  | +        console.log(this.warehouseOptions)
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      // 出库件数的计算
 |  |      // 出库件数的计算
 | 
											
												
													
														|  |      qtyChange(row) {
 |  |      qtyChange(row) {
 | 
											
										
											
												
													
														|  | @@ -3761,7 +3774,7 @@ export default {
 | 
											
												
													
														|  |          pageSize:10,
 |  |          pageSize:10,
 | 
											
												
													
														|  |          fLineno:this.form.fCorpid,
 |  |          fLineno:this.form.fCorpid,
 | 
											
												
													
														|  |          fFeeid:this.dataList[0].fGoodsid
 |  |          fFeeid:this.dataList[0].fGoodsid
 | 
											
												
													
														|  | -        
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        operationAgreement(data).then((response) => {
 |  |        operationAgreement(data).then((response) => {
 | 
											
												
													
														|  |          this.tasklegList = response.rows;
 |  |          this.tasklegList = response.rows;
 | 
											
										
											
												
													
														|  | @@ -3785,6 +3798,7 @@ export default {
 | 
											
												
													
														|  |          this.$message({ message: "计划件数不能为0", type: "warning", });
 |  |          this.$message({ message: "计划件数不能为0", type: "warning", });
 | 
											
												
													
														|  |          return false;
 |  |          return false;
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | 
 |  | +      this.getTreeselect()
 | 
											
												
													
														|  |        let fTruckno = null
 |  |        let fTruckno = null
 | 
											
												
													
														|  |        let fDriverTel = null
 |  |        let fDriverTel = null
 | 
											
												
													
														|  |        let fDriverName = null
 |  |        let fDriverName = null
 | 
											
										
											
												
													
														|  | @@ -4648,10 +4662,10 @@ export default {
 | 
											
												
													
														|  |                return false
 |  |                return false
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |            let formDatae = new window.FormData()
 |  |            let formDatae = new window.FormData()
 | 
											
												
													
														|  |            // 附件数据
 |  |            // 附件数据
 | 
											
												
													
														|  |            this.form.fBillingway = this.form.fFeetunit
 |  |            this.form.fBillingway = this.form.fFeetunit
 | 
											
												
													
														|  | 
 |  | +          console.log(this.form)
 | 
											
												
													
														|  |            formDatae.append('tWarehouseBills', JSON.stringify(this.form))
 |  |            formDatae.append('tWarehouseBills', JSON.stringify(this.form))
 | 
											
												
													
														|  |            // 库存明细
 |  |            // 库存明细
 | 
											
												
													
														|  |            formDatae.append('tWarehousebillsitems', JSON.stringify(this.dataList))
 |  |            formDatae.append('tWarehousebillsitems', JSON.stringify(this.dataList))
 |