|
@@ -462,14 +462,20 @@
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="仓库" prop="fWarehouseid">
|
|
|
<el-select
|
|
|
- v-model="form.fWarehouseid"
|
|
|
- placeholder="请输入模糊查找"
|
|
|
+ v-model="queryParams.fWarehouseid"
|
|
|
+ filterable
|
|
|
+ remote
|
|
|
+ clearable
|
|
|
+ style="width: 80%"
|
|
|
+ :remote-method="warehouseRemoteMethod"
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ placeholder="请输入"
|
|
|
>
|
|
|
<el-option
|
|
|
- v-for="(dict, index) in Options"
|
|
|
- :key="index.userName"
|
|
|
- :label="dict.nickName"
|
|
|
- :value="dict.userName"
|
|
|
+ v-for="(dict, index) in warehouseOptions"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="dict.fName"
|
|
|
+ :value="dict.fId"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -2873,7 +2879,7 @@ import { listCorps } from "@/api/basicdata/corps";
|
|
|
|
|
|
import { listFees, getFees } from "@/api/basicdata/fees";
|
|
|
|
|
|
-import {listWarehouse, treeselect} from "@/api/basicdata/warehouse";
|
|
|
+import {listWarehouse, treeselect , listWarehousesss } from "@/api/basicdata/warehouse";
|
|
|
|
|
|
import { listArea } from "@/api/basicdata/area";
|
|
|
|
|
@@ -4091,6 +4097,7 @@ export default {
|
|
|
this.browseStatus = status;
|
|
|
this.queryUser();
|
|
|
this.goodsRemoteMethod()
|
|
|
+ this.warehousesssMethod()
|
|
|
this.open = true;
|
|
|
this.detailsHidden = false;
|
|
|
this.dataList = [];
|
|
@@ -4823,6 +4830,13 @@ export default {
|
|
|
this.goodsOptions = response.rows;
|
|
|
});
|
|
|
},
|
|
|
+ /* 获取所有仓库信息 */
|
|
|
+ warehousesssMethod() {
|
|
|
+ let queryParams = { pageNum: 1, pageSize: 10, fStatus: 0, delFlag: 0 };
|
|
|
+ listWarehousesss(queryParams).then((response) => {
|
|
|
+ this.warehouseOptions = response.rows;
|
|
|
+ });
|
|
|
+ },
|
|
|
// 选择费用信息时获取计价单位
|
|
|
changeFeeId (row) {
|
|
|
for (let li in this.fWbuOptions) {
|