|
|
|
@ -107,7 +107,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|