|
|
|
@ -61,7 +61,7 @@
|
|
|
|
|
<el-row style="margin-top: -10px">
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item label="申购仓库:" prop="locStorageCode">
|
|
|
|
|
<el-select v-model="formData.targetInvCode" placeholder="请选择当前申购仓库" @change="setWarehouseName"
|
|
|
|
|
<el-select v-model="formData.targetInvCode" placeholder="请选择申购仓库" @change="setWarehouseName"
|
|
|
|
|
style="width: 90%" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in subInvList"
|
|
|
|
@ -184,7 +184,7 @@ import {
|
|
|
|
|
addApplyId,
|
|
|
|
|
updateDetail
|
|
|
|
|
} from "@/api/purchase/purApply";
|
|
|
|
|
import {filterSubByInv} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {filterGroupBySpuse, filterSubByInv} from "@/api/system/invSubWarehouse";
|
|
|
|
|
import {addPlanId} from "@/api/purchase/purPlan";
|
|
|
|
|
import SelectRecelveListDialog from "@/views/inout/receive/selectReveiceListDialog";
|
|
|
|
|
import {parseTime} from "@/utils/coTools";
|
|
|
|
@ -489,9 +489,10 @@ export default {
|
|
|
|
|
findSubInvs() {
|
|
|
|
|
this.subInvList = [];
|
|
|
|
|
let query = {
|
|
|
|
|
filter: 3
|
|
|
|
|
filter: 3,
|
|
|
|
|
spUse: true,
|
|
|
|
|
};
|
|
|
|
|
filterSubByInv(query)
|
|
|
|
|
filterGroupBySpuse(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.subInvList = response.data || [];
|
|
|
|
|
if (this.subInvList != null && this.subInvList.length == 1) {
|
|
|
|
|