diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue index 342d9827..7b7dbe1f 100644 --- a/src/views/inout/IoCreateOrder.vue +++ b/src/views/inout/IoCreateOrder.vue @@ -130,7 +130,7 @@ - import {getBusTypeList, getBusTypeListByUser} from "@/api/basic/busType"; -import {filterSubByInv, filterSubAll} from "@/api/system/invSubWarehouse"; +import {filterSubByInv, filterSubAll, findByFrom} from "@/api/system/invSubWarehouse"; export default { name: "BusTypePreModify", @@ -151,13 +151,13 @@ export default { trigger: "blur" } ], - defaultInvCode: [ - { - required: true, - message: "目标往来仓库不能为空", - trigger: "blur" - } - ], + // defaultInvCode: [ + // { + // required: true, + // message: "目标往来仓库不能为空", + // trigger: "blur" + // } + // ], }, } }, @@ -206,10 +206,10 @@ export default { getFromInv() { let params = { - code: this.inputQuery.invCode, + locInvCode: this.inputQuery.invCode, filter: 2 }; - filterSubByInv(params).then((res) => { + findByFrom(params).then((res) => { if (res.code === 20000) { this.fromInvs = res.data; }